/* PaleoDiet.co.uk — rebuilt stylesheet.
   Palette, type and button shapes carried over from the original Divi theme. */

:root{
  --green-dark:#3a590d;
  --green-darker:#2d4509;
  --green:#94c84b;
  --green-soft:#f2f8e9;
  --orange:#f29c07;
  --orange-dark:#d98a00;
  --ink:#181818;
  --body:#4a4a4a;
  --muted:#6b6b6b;
  --line:#e4e4e4;
  --bg:#ffffff;
  --bg-alt:#e4e4e7;   /* the grey the original uses between white sections */
  --radius:9px;
  --radius-lg:16px;
  --shadow:0 2px 10px rgba(24,24,24,.06);
  --shadow-lift:0 12px 34px rgba(24,24,24,.12);
  --wrap:1180px;
  --gut:clamp(1.25rem,4vw,2.5rem);
  --section:clamp(3.5rem,7vw,6rem);
  --h1:clamp(2.1rem,1.25rem + 3.6vw,3.25rem);
  --h2:clamp(1.7rem,1.1rem + 2.4vw,2.5rem);
  --h3:clamp(1.3rem,1.05rem + 1vw,1.7rem);
  --h4:clamp(1.1rem,1rem + .45vw,1.3rem);
}

/* ---------- fonts ---------- */
@font-face{font-family:Montserrat;src:url(/fonts/montserrat-800.woff2) format('woff2');font-weight:800;font-style:normal;font-display:swap}
@font-face{font-family:Montserrat;src:url(/fonts/montserrat-700.woff2) format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Open Sans';src:url(/fonts/open-sans-400.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Open Sans';src:url(/fonts/open-sans-600.woff2) format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Open Sans';src:url(/fonts/open-sans-700.woff2) format('woff2');font-weight:700;font-style:normal;font-display:swap}

/* ---------- base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
/* clear the sticky header when jumping to an anchor */
:target,section[id],[id]{scroll-margin-top:5.5rem}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
body{
  margin:0;background:var(--bg);color:var(--body);
  font:400 17px/1.75 'Open Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;overflow-wrap:break-word;
}
h1,h2,h3,h4,h5,h6{font-family:Montserrat,Helvetica,Arial,sans-serif;color:var(--ink);margin:0 0 .5em;line-height:1.18;letter-spacing:-.01em}
h1{font-size:var(--h1);font-weight:800}
h2{font-size:var(--h2);font-weight:800}
h3{font-size:var(--h3);font-weight:700}
h4{font-size:var(--h4);font-weight:700}
h5,h6{font-size:1.05rem;font-weight:700}
p{margin:0 0 1.15em}
a{color:var(--green-dark);text-decoration-thickness:1px;text-underline-offset:2px}
a:hover{color:var(--orange)}
img,svg,iframe{max-width:100%;height:auto;display:block}
ul,ol{padding-left:1.25em}
li{margin:.35em 0}
hr{border:0;border-top:1px solid var(--line);margin:2.5rem 0}
:focus-visible{outline:3px solid var(--orange);outline-offset:3px;border-radius:4px}
.skip{position:absolute;left:-9999px;top:0;background:var(--orange);color:#fff;padding:.75rem 1.25rem;z-index:1000;font-weight:700}
.skip:focus{left:.5rem;top:.5rem}
.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------- layout ---------- */
.wrap{width:min(var(--wrap),100% - var(--gut)*2);margin-inline:auto}
.wrap-narrow{width:min(760px,100% - var(--gut)*2);margin-inline:auto}
.section{padding-block:var(--section)}
.section--alt{background:var(--bg-alt)}
.section--lime{background:var(--green)}
.section--lime h1,.section--lime h2{color:#fff}
.section--lime .eyebrow{color:var(--green-dark)}
.section--lime .lede{color:#2f4a0a}
.section--green{background:var(--green-dark);color:#e9f0dc}
.section--green h1,.section--green h2,.section--green h3,.section--green h4{color:#fff}
.section--green a{color:#fff}

/* A tinted section sets a light text colour for its own copy. Anything sitting
   on a white card inside it must NOT inherit that, or the text goes pale on
   white — so every card resets to the normal ink. */
.section--green .card,.section--green .post-card,.section--green .product,
.section--green .quote,.section--green .faq,
.section--lime .card,.section--lime .post-card,.section--lime .product,
.section--lime .quote,.section--lime .faq,
.optin .card,.optin .post-card,.optin .product,.optin .quote{
  color:var(--body);
}
.section--green .card h1,.section--green .card h2,.section--green .card h3,.section--green .card h4,
.section--green .post-card h1,.section--green .post-card h2,.section--green .post-card h3,
.section--green .product h1,.section--green .product h2,.section--green .product h3,
.section--green .quote h2,.section--green .quote h3,
.section--lime .card h1,.section--lime .card h2,.section--lime .card h3,.section--lime .card h4,
.section--lime .post-card h1,.section--lime .post-card h2,.section--lime .post-card h3,
.section--lime .product h1,.section--lime .product h2,.section--lime .product h3,
.section--lime .quote h2,.section--lime .quote h3,
.optin .card h2,.optin .card h3,.optin .post-card h3,.optin .product h3{
  color:var(--ink);
}
.section--green .post-card__meta,.section--lime .post-card__meta,
.section--green .quote .where,.section--lime .quote .where{color:var(--muted)}
.section--green .post-card h3 a,.section--lime .post-card h3 a{color:var(--ink)}
.section--green .post-card h3 a:hover,.section--lime .post-card h3 a:hover{color:var(--orange)}
.section--green .readmore,.section--lime .readmore{color:var(--orange)}
.section--green .card a:not(.btn),.section--lime .card a:not(.btn){color:var(--green-dark)}
.grid{display:grid;gap:clamp(1.5rem,3vw,2.75rem)}
.grid--2{grid-template-columns:repeat(auto-fit,minmax(min(100%,22rem),1fr))}
.grid--3{grid-template-columns:repeat(auto-fit,minmax(min(100%,17.5rem),1fr))}
/* plain stacked points, used beside a full-height photo */
.stack{display:grid;gap:1.75rem;margin-top:2rem}

/* three-column block: points either side of a central graphic */
.trio{display:grid;gap:2.5rem;grid-template-columns:1fr;margin-top:clamp(2rem,5vw,3.5rem)}
.trio__col{display:grid;gap:2.25rem;align-content:start}
.trio__col h3{font-size:1.1rem;margin-bottom:.45rem;display:flex;align-items:center;gap:.8rem}
.trio__icon{
  flex:0 0 auto;width:2.7rem;height:2.7rem;border-radius:50%;background:var(--green);
  display:grid;place-items:center;
}
.trio__icon svg{width:1.5rem;height:1.5rem;fill:#fff}
.trio__col p{margin:0;font-size:.97rem}
.trio__media{margin:0;align-self:center;justify-self:center;max-width:420px}
.trio__media img{width:100%}
@media (min-width:64rem){
  .trio{grid-template-columns:1fr minmax(300px,0.95fr) 1fr;gap:clamp(1.5rem,3vw,3rem)}
  .trio__col--left{text-align:right}
  /* icons face the pyramid: on the right of the left-hand titles, left of the others */
  .trio__col--left h3{flex-direction:row-reverse;justify-content:flex-start}
  .trio__col--left h3,.trio__col--left p{margin-left:auto}
  .trio__col--left p{max-width:26ch}
  .trio__col:not(.trio__col--left) p{max-width:26ch}
}
@media (max-width:63.99rem){
  .trio__media{order:-1}
}
.h2--green{color:var(--green)}
.stack h3{font-size:1.15rem;margin-bottom:.4rem}
.stack p{margin:0;font-size:.98rem}
.split{display:grid;gap:clamp(1.75rem,4vw,3.5rem);align-items:center;grid-template-columns:1fr}
@media (min-width:62rem){.split{grid-template-columns:1fr 1fr}.split--media-first>.split__media{order:-1}}
.eyebrow{font-family:Montserrat,sans-serif;font-weight:700;text-transform:uppercase;letter-spacing:.14em;font-size:.82rem;color:var(--orange);margin:0 0 .6rem}
.section--green .eyebrow{color:var(--green)}
.lede{font-size:1.1rem;color:var(--muted);max-width:60ch}
.section--green .lede{color:#d6e3c2}
.center{text-align:center}
.center .lede{margin-inline:auto}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  font-family:'Open Sans',sans-serif;font-weight:700;font-size:1rem;line-height:1.2;
  padding:14px 32px;border-radius:var(--radius);border:2px solid transparent;cursor:pointer;
  background:var(--orange);color:#fff;text-decoration:none;
  transition:background .18s ease,transform .18s ease,box-shadow .18s ease;
}
.btn:hover{background:var(--orange-dark);color:#fff;transform:translateY(-2px);box-shadow:0 8px 20px rgba(242,156,7,.3)}
.btn--ghost{background:transparent;border-color:#fff;color:#fff}
.btn--ghost:hover{background:#fff;color:var(--green-dark);box-shadow:none}
.btn--green{background:var(--green-dark)}
.btn--green:hover{background:var(--green-darker);box-shadow:0 8px 20px rgba(58,89,13,.3)}
.btn-row{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1.75rem}
.center .btn-row{justify-content:center}

/* ---------- header ---------- */
.site-header{position:sticky;top:0;z-index:60;background:#fff;border-bottom:1px solid var(--line)}
.site-header__inner{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding-block:.9rem}
.brand{display:inline-flex;align-items:center;flex:0 0 auto}
.brand img{width:clamp(170px,26vw,300px);height:auto}
.nav{display:none}
.nav ul{display:flex;gap:clamp(1rem,2.2vw,2.1rem);list-style:none;margin:0;padding:0}
.nav a{
  font-family:'Open Sans',sans-serif;font-weight:700;font-size:.95rem;color:var(--ink);
  text-decoration:none;padding:.4rem 0;border-bottom:2px solid transparent;
}
.nav a:hover,.nav a[aria-current=page]{color:var(--orange);border-bottom-color:var(--orange)}
.nav-toggle{
  display:inline-flex;flex-direction:column;justify-content:center;gap:5px;
  width:46px;height:46px;padding:0 10px;background:none;border:1px solid var(--line);border-radius:var(--radius);cursor:pointer;
}
.nav-toggle span{display:block;height:2px;background:var(--ink);border-radius:2px;transition:transform .2s ease,opacity .2s ease}
.nav-toggle[aria-expanded=true] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded=true] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded=true] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media (min-width:60rem){
  .nav{display:block}
  .nav-toggle{display:none}
}
.mobile-nav{display:none;border-top:1px solid var(--line);background:#fff}
.mobile-nav.is-open{display:block}
.mobile-nav ul{list-style:none;margin:0;padding:.5rem 0 1rem}
.mobile-nav a{display:block;padding:.85rem .25rem;font-weight:700;color:var(--ink);text-decoration:none;border-bottom:1px solid var(--line)}
.mobile-nav a[aria-current=page]{color:var(--orange)}
@media (min-width:60rem){.mobile-nav{display:none!important}}

/* ---------- hero ---------- */
.hero{
  position:relative;background:var(--green) url(/images/paleo-pattern-1600.webp) center/cover no-repeat;
  color:#fff;padding-block:clamp(3.5rem,9vw,7rem);
}
/* just enough to hold the white type on the pattern, as on the original */
.hero::after{content:'';position:absolute;inset:0;background:rgba(58,89,13,.16)}
.hero__inner{position:relative;z-index:1}
.hero h1{color:#fff;max-width:16ch;text-shadow:0 2px 10px rgba(32,50,6,.45)}
.hero p{color:#fff;max-width:46ch;font-size:1.1rem;text-shadow:0 1px 6px rgba(32,50,6,.5)}
.hero .breadcrumbs{color:#e4eed3}
.hero .breadcrumbs a{color:#e4eed3;text-decoration-color:rgba(255,255,255,.5)}
.hero .breadcrumbs a:hover{color:#fff}
.hero--page{padding-block:clamp(2.75rem,6vw,4.5rem)}
.hero--page h1{max-width:22ch}
.hero--page p{max-width:60ch}

/* About page: the dark green opening block */
.about-top{padding-block:clamp(3rem,6vw,5rem)}
.about-top h1{color:#fff;margin-bottom:.6em}
.about-top p{color:#fff}
.about-top .breadcrumbs,.about-top .breadcrumbs a{color:#cfdcbb}
.about-top .breadcrumbs a:hover{color:#fff}
.about-top__q{font-weight:700;margin-top:1.5rem}
.about-top__art img{width:100%}

/* an indented list with no markers, as on the sibling sites */
.plain-list{list-style:none;padding:0;margin:1.25rem 0 0}
.plain-list li{margin:0 0 .85rem;padding-left:2.5rem;color:#fff}

/* ---------- cards ---------- */
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:clamp(1.5rem,3vw,2rem);box-shadow:var(--shadow);height:100%}
.card h3,.card h4{margin-top:0}
.card p:last-child{margin-bottom:0}
.card--plain{border:0;box-shadow:none;background:transparent;padding:0}
.card.center p{margin-inline:auto;max-width:46ch}
.card__icon{
  display:grid;place-items:center;width:3.25rem;height:3.25rem;border-radius:50%;
  background:var(--green-dark);color:#fff;margin:0 auto 1.25rem;
}
.card__icon svg{width:1.6rem;height:1.6rem}
/* two per row from tablet up, rather than three-then-one */
@media (min-width:48rem){.cards-2x2{grid-template-columns:repeat(2,minmax(0,1fr))}}
.icon-tick{
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
  width:2.4rem;height:2.4rem;border-radius:50%;background:var(--green-soft);color:var(--green-dark);margin-bottom:1rem;
}
.section--green .icon-tick{background:rgba(255,255,255,.14);color:#fff}
.icon-tick svg{width:1.15rem;height:1.15rem}

/* tick list (replaces Divi's "R" bullet glyphs) */
.ticks{list-style:none;padding:0;margin:1.25rem 0 0;display:grid;gap:.7rem}
.ticks li{display:flex;gap:.75rem;align-items:flex-start;margin:0}
.ticks li::before{
  content:'';flex:0 0 auto;width:1.45rem;height:1.45rem;margin-top:.18rem;border-radius:50%;
  background:var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a590d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/.85rem no-repeat;
}
.section--green .ticks li::before{background-color:rgba(255,255,255,.16);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}

/* Guides page: the light green opening block */
.guides-top__eyebrow{color:#fff;opacity:.9}
.guides-top__lede{color:#f2f8e9;margin-inline:auto}
.guides-top{margin-top:clamp(2rem,5vw,3.5rem);align-items:center}
.guides-top__art{position:relative;margin:0}
.guides-top__art img{position:relative;z-index:1;width:100%}
/* the offset white panel the original tucks behind the photo (desktop only —
   on a phone the photo is full width, so the panel would just stick out) */
@media (min-width:62rem){
  .guides-top__art::before{
    content:'';position:absolute;z-index:0;left:-1.75rem;bottom:-1.75rem;
    width:70%;height:70%;background:#fff;
  }
}
.guides-top__points{display:grid;gap:clamp(1.25rem,2.5vw,2rem)}
.guides-top__points .card{padding:clamp(1.25rem,2.5vw,1.75rem) clamp(1.5rem,3vw,2rem)}
.guides-top__points h2{
  font-size:1.2rem;margin-bottom:.5rem;display:flex;align-items:center;gap:.7rem;
}
.guides-top__points p{margin:0;font-size:.97rem}
.tick-icon{
  flex:0 0 auto;display:grid;place-items:center;width:1.9rem;height:1.9rem;border-radius:50%;
  background:var(--green);color:#fff;
}
.tick-icon svg{width:1.05rem;height:1.05rem}

/* ---------- media ---------- */
.media{border-radius:var(--radius-lg);overflow:hidden}
.media img{width:100%}
figure{margin:0}

/* Adilo player */
.video{position:relative;aspect-ratio:16/9;border-radius:var(--radius-lg);overflow:hidden;background:#111;box-shadow:var(--shadow-lift)}
.video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* ---------- product cards ---------- */
.product{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);transition:transform .2s ease,box-shadow .2s ease;height:100%}
.product:hover{transform:translateY(-4px);box-shadow:var(--shadow-lift)}
.product__img{background:var(--green-soft);display:grid;place-items:center;padding:1.25rem}
.product__img img{width:100%;max-width:330px}
.product__body{padding:1.5rem;display:flex;flex-direction:column;flex:1 1 auto}
.product__title{margin:0 0 .75rem}
.product__title img{max-width:200px}
.product__desc{font-size:.97rem;flex:1 1 auto}
.product__bonus{font-size:.92rem;font-weight:600;color:var(--green-dark);margin:0 0 .35rem}
.price{font-family:Montserrat,sans-serif;font-weight:800;font-size:1.45rem;color:var(--ink);margin:1rem 0 1.15rem}
.price s{color:var(--muted);font-weight:700;font-size:1.05rem;margin-right:.5rem;text-decoration-thickness:2px}
.product .btn{width:100%}

/* ---------- opt-in ---------- */
.optin{background:var(--green-dark);color:#fff}
.optin h2,.optin h3{color:#fff}
.optin .lede{color:#eef4e3;max-width:none}
.optin__title{
  font-size:clamp(2rem,1.2rem + 3vw,3rem);text-transform:uppercase;letter-spacing:.01em;margin-bottom:.45em;
}
.optin__cover img{width:100%}
.optin__panel .ticks{margin:1.6rem 0 2rem}
.optin__panel .ticks li{color:#fff;font-weight:600}

/* ring-style ticks, as on the ebook block */
.ticks--ring li::before{
  width:1.7rem;height:1.7rem;margin-top:.05rem;background-color:transparent;
  border:2px solid var(--orange);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f29c07' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size:.95rem;
}
.section--green .ticks--ring li::before,.optin .ticks--ring li::before{
  background-color:transparent;border-color:var(--orange);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f29c07' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.signup{background:#fff;border-radius:var(--radius-lg);padding:clamp(1.5rem,3.5vw,2.25rem);box-shadow:var(--shadow-lift);color:var(--body)}
.signup h3{margin-top:0}

/* bare variant: no card, field names inside the inputs, full-width button */
.signup--bare{background:transparent;box-shadow:none;padding:0;color:#fff}
.signup--bare .field{margin-bottom:.9rem}
.signup--bare .field input{
  border:0;border-radius:5px;padding:1.05rem 1.15rem;font-size:1rem;
  box-shadow:0 1px 3px rgba(0,0,0,.12);
}
.signup--bare .field input::placeholder{color:#8a8a8a;opacity:1}
.signup--bare .btn{
  width:100%;border-radius:5px;padding:1.05rem 1.5rem;
  text-transform:uppercase;letter-spacing:.09em;font-size:.95rem;
}
.signup--bare .btn:hover{transform:none}
.signup--bare .form-note{color:#cfdcbb}

.field{display:grid;gap:.35rem;margin-bottom:1rem}
.field label{font-weight:600;font-size:.92rem;color:var(--ink)}
.field input,.field textarea,.field select{
  font:inherit;font-size:1rem;color:var(--ink);background:#fff;
  border:1px solid #cfd3c6;border-radius:var(--radius);padding:.8rem .9rem;width:100%;
}
.field input:focus,.field textarea:focus{border-color:var(--orange);outline:none;box-shadow:0 0 0 3px rgba(242,156,7,.2)}
.field textarea{min-height:150px;resize:vertical}
.form-note{font-size:.85rem;color:var(--muted);margin:.85rem 0 0}
.form-msg{margin:1rem 0 0;padding:.85rem 1rem;border-radius:var(--radius);font-size:.95rem;font-weight:600;display:none}
.form-msg.is-on{display:block}
.form-msg--ok{background:var(--green-soft);color:var(--green-dark);border:1px solid var(--green)}
.form-msg--err{background:#fdecec;color:#a32020;border:1px solid #f3b4b4}
.hp{position:absolute;left:-9999px;opacity:0;height:0;width:0}

/* ---------- faq ---------- */
.faq{display:grid;gap:.85rem;max-width:56rem;margin-inline:auto}
.faq details{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow);overflow:hidden}
.faq summary{
  cursor:pointer;list-style:none;padding:1.15rem 3rem 1.15rem 1.35rem;position:relative;
  font-family:Montserrat,sans-serif;font-weight:700;color:var(--ink);font-size:1.05rem;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:'';position:absolute;right:1.35rem;top:50%;width:.7rem;height:.7rem;margin-top:-.45rem;
  border-right:2.5px solid var(--orange);border-bottom:2.5px solid var(--orange);
  transform:rotate(45deg);transition:transform .2s ease;
}
.faq details[open] summary::after{transform:rotate(-135deg);margin-top:-.2rem}
.faq .faq__a{padding:0 1.35rem 1.35rem}
.faq .faq__a p:last-child{margin-bottom:0}

/* ---------- testimonials ---------- */
.quote{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:clamp(1.5rem,3vw,2rem);box-shadow:var(--shadow);display:flex;flex-direction:column;height:100%}
.quote blockquote{margin:0 0 1.25rem;font-size:1.02rem;color:var(--body)}
.quote figcaption{display:flex;align-items:center;gap:.9rem;margin-top:auto}
.quote figcaption img{width:54px;height:54px;min-width:54px;border-radius:50%;object-fit:cover;flex:0 0 auto;background:var(--green-soft)}
.quote .who{font-family:Montserrat,sans-serif;font-weight:700;color:var(--ink);line-height:1.3}
.quote .where{font-size:.88rem;color:var(--muted)}
.stars{display:flex;gap:2px;margin-bottom:.9rem;color:var(--orange)}
.stars svg{width:1.05rem;height:1.05rem;fill:currentColor}

/* ---------- post cards ---------- */
.posts{display:grid;gap:clamp(1.5rem,3vw,2.25rem);grid-template-columns:repeat(auto-fill,minmax(min(100%,19rem),1fr))}
.post-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);transition:transform .2s ease,box-shadow .2s ease}
.post-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lift)}
.post-card__img{aspect-ratio:16/10;background:var(--green-soft)}
.post-card__img img{width:100%;height:100%;object-fit:cover}
.post-card__body{padding:1.35rem 1.4rem 1.5rem;display:flex;flex-direction:column;flex:1 1 auto}
.post-card__body h3{font-size:1.2rem;margin-bottom:.5rem}
.post-card__body h3 a{color:var(--ink);text-decoration:none}
.post-card__body h3 a:hover{color:var(--orange)}
.post-card__meta{font-size:.82rem;color:var(--muted);margin:0 0 .65rem;text-transform:uppercase;letter-spacing:.06em;font-weight:600}
.post-card__excerpt{font-size:.95rem;flex:1 1 auto}
.readmore{font-weight:700;color:var(--orange);text-decoration:none;margin-top:1rem;display:inline-flex;gap:.35rem;align-items:center}
.readmore:hover{color:var(--orange-dark);gap:.6rem}

/* ---------- article ---------- */
.article{padding-block:clamp(2.5rem,5vw,4rem)}
.article__hero{width:min(1000px,100% - var(--gut)*2);margin:0 auto clamp(1.75rem,4vw,2.75rem);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lift)}
.article__hero img{width:100%;aspect-ratio:16/9;object-fit:cover}
.article__body{font-size:1.06rem}
.article__body h2{margin-top:2.25em}
.article__body h3{margin-top:1.9em}
.article__body ul,.article__body ol{margin:0 0 1.35em}
.article__body li{margin:.5em 0}
.article__body>p:first-of-type{font-size:1.14rem;color:var(--ink)}
.recipe-meta{display:flex;flex-wrap:wrap;gap:.6rem;list-style:none;padding:0;margin:0 0 2rem}
.recipe-meta li{background:var(--green-soft);color:var(--green-dark);border-radius:999px;padding:.45rem 1rem;font-size:.86rem;font-weight:700;margin:0}
.breadcrumbs{font-size:.86rem;color:var(--muted);margin:0 0 1rem}
.breadcrumbs a{color:var(--muted)}
.breadcrumbs a:hover{color:var(--orange)}
.post-meta{font-size:.88rem;color:var(--muted);margin:0 0 1.5rem;text-transform:uppercase;letter-spacing:.06em;font-weight:600}
.author-box{display:flex;gap:1.1rem;align-items:center;background:var(--bg-alt);border-radius:var(--radius-lg);padding:1.35rem;margin-top:3rem}
.author-box img{width:72px;height:72px;border-radius:50%;object-fit:cover;flex:0 0 auto}
.author-box p{margin:0;font-size:.95rem}
.author-box strong{display:block;font-family:Montserrat,sans-serif;color:var(--ink)}

/* ---------- footer ---------- */
.site-footer{
  background:var(--green-dark);color:#cfdcbb;padding-block:clamp(3rem,6vw,4.5rem) 0;font-size:.95rem;
  /* a hairline so the footer still reads as its own band when the section
     above it is also dark green, as on the Guides page */
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14);
}
.site-footer h2{font-family:Montserrat,sans-serif;font-size:1.05rem;font-weight:700;color:#fff;margin:0 0 1rem;text-transform:uppercase;letter-spacing:.08em}
.site-footer a{color:#cfdcbb;text-decoration:none}
.site-footer a:hover{color:var(--orange)}
.site-footer__grid{display:grid;gap:2.25rem;grid-template-columns:1fr}
@media (min-width:48rem){.site-footer__grid{grid-template-columns:1.6fr 1fr 1fr 1fr}}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{margin:.5rem 0}
.site-footer__logo{width:230px;margin-bottom:1.1rem}
.site-footer__bar{margin-top:clamp(2.5rem,5vw,3.5rem);border-top:1px solid rgba(255,255,255,.16);padding-block:1.35rem;font-size:.86rem;display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;justify-content:space-between}

/* ---------- misc ---------- */
.legal h2{margin-top:2.25em}
.legal h3{margin-top:1.8em}
.prose p,.prose li{max-width:72ch}
.pill-link{display:inline-block;margin-top:.5rem;font-weight:700;color:var(--orange);text-decoration:none}
.pill-link:hover{color:var(--orange-dark)}
.err{text-align:center;padding-block:clamp(4rem,10vw,7rem)}
.err h1{font-size:clamp(3.5rem,12vw,6rem);color:var(--green-dark)}
