*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Segoe UI',Roboto,Oxygen,Ubuntu,sans-serif;line-height:1.75;color:#333;background:#f0f2f5}
.main-75736d{max-width:860px;margin:0 auto;padding:0 20px}
.module-ba74c7{background:#fff;padding:28px 0;margin-bottom:32px;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.module-ba74c7 h1{font-size:22px;font-weight:700;margin-bottom:2px}
.module-ba74c7 p{font-size:14px;color:#666}
.module-ba74c7 a{color:#333;text-decoration:none;font-size:18px;font-weight:700}
.block-6d8538{display:flex;flex-direction:column;gap:20px}
.panel-6c728f{background:#fff;border-radius:12px;box-shadow:0 1px 6px rgba(0,0,0,.06);padding:24px 28px;transition:transform .15s,box-shadow .15s}
.panel-6c728f:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,.1)}
.panel-6c728f h2{font-size:19px;margin-bottom:6px}
.panel-6c728f h2 a{color:#1a1a1a;text-decoration:none}
.panel-6c728f .block-31a780{font-size:12px;color:#999;margin-bottom:8px}
.panel-6c728f p{font-size:14px;color:#555;margin-bottom:12px}
.nav-3b953a{display:inline-block;background:#5865f2;color:#fff;padding:6px 16px;border-radius:20px;font-size:13px;font-weight:600;text-decoration:none}
.nav-3b953a:hover{background:#4752c4}
.container-1e258b{padding-bottom:60px}
.container-1e258b h1{font-size:30px;font-weight:700;margin-bottom:8px}
.container-1e258b time{font-size:12px;color:#999;display:block;margin-bottom:24px}
.container-1e258b h2{font-size:22px;margin:32px 0 12px}
.container-1e258b h3{font-size:18px;margin:24px 0 8px}
.container-1e258b p{margin-bottom:16px}
.container-1e258b ul,.container-1e258b ol{margin:0 0 16px 24px}
.container-1e258b a{color:#5865f2}
.container-1e258b img{max-width:100%;height:auto;border-radius:12px;margin:16px 0}
.layout-7cd56c{padding:24px 0;margin-top:40px;text-align:center;font-size:12px;color:#999}
.layout-7cd56c a{color:#999;text-decoration:none}
.content-66b2d3{background:#e8eaf0;border-radius:8px;padding:12px 16px;margin-bottom:20px;font-size:13px;color:#888;font-style:italic}
.nav-135e95{background:#fff8e1;border-radius:8px;padding:12px 16px;margin-top:24px;font-size:12px;color:#9e8600}
.page-4afbff{display:inline-block;background:#f0f2f7;border-radius:12px;padding:4px 12px;margin:-18px 0 24px;font-size:12px;color:#777}
.inner-37c2ae{text-align:center;margin:0 0 24px}
.outer-d86e1c{max-width:100%;height:auto;border-radius:12px}
.module-e21943{margin-top:32px;padding-top:20px;border-top:1px solid #e0e0e0}
.module-e21943 h3{font-size:16px;font-weight:700;margin-bottom:12px}
.crd-related-list{display:flex;flex-direction:column;gap:8px}
.crd-related-link{display:block;background:#fff;border-radius:8px;padding:10px 14px;color:#333;text-decoration:none;box-shadow:0 1px 3px rgba(0,0,0,.06);font-size:14px}
.crd-related-link:hover{box-shadow:0 2px 8px rgba(0,0,0,.1)}
.section-f57966{display:flex;flex-direction:column;gap:8px;margin-top:20px}
.content-3eceb6{display:block;background:#fff;border-radius:8px;padding:10px 16px;color:#1a1a1a;text-decoration:none;box-shadow:0 1px 3px rgba(0,0,0,.05);font-size:15px}
.content-3eceb6:hover{box-shadow:0 2px 8px rgba(0,0,0,.1)}
/* === Theme === */
:root{--primary:#5E4A6E;--accent:#B89345;--bg:#ECE6D8;--fg:#1F1A26;--border:#C8C2B0;--r:13px;--fb:'Cardo';--fh:'Marcellus'}
/* === Custom === */
@import url('https://fonts.googleapis.com/css2?family=Cardo:ital,wght@0,400;0,700;1,400&family=Marcellus&display=swap');

:root body {
  font-family: var(--fb), Cambria, 'Times New Roman', serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.74;
  font-size: 17px;
}
::selection { background: var(--primary); color: var(--bg); }
:root hr { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }

:root header {
  background: var(--bg);
  border-bottom: 3px solid var(--primary);
  padding: 44px 0 24px;
  margin-bottom: 40px;
}
:root header h1,
:root header span a {
  font-family: var(--fh), Cambria, serif;
  color: var(--primary);
  font-weight: 400;
  letter-spacing: .01em;
  text-decoration: none;
}
:root header h1 { font-size: 30px; line-height: 1.16; }
:root header span a { font-size: 26px; font-weight: 700; }
:root header p {
  color: var(--accent);
  font-size: 14px;
  font-style: italic;
  font-family: var(--fb), Cambria, serif;
  margin-top: 6px;
}

:root main { padding-bottom: 80px; }

:root main > h1 {
  font-family: var(--fh), Cambria, serif;
  font-size: 34px;
  line-height: 1.18;
  color: var(--primary);
  margin: 0 0 14px;
  font-weight: 400;
  letter-spacing: .005em;
}
:root main > time {
  display: block;
  font-family: var(--fh), Cambria, serif;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

:root main > article > p { margin-bottom: 18px; font-size: 17px; }
:root main > article > h2 {
  font-family: var(--fh), Cambria, serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--primary);
  margin: 52px 0 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--accent);
  letter-spacing: .005em;
}
:root main > article > h3 {
  font-family: var(--fh), Cambria, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin: 36px 0 10px;
  font-style: normal;
}
:root main > article ul,
:root main > article ol { margin: 0 0 18px 22px; }
:root main > article li { margin-bottom: 6px; }
:root main > article blockquote {
  border-left: 4px solid var(--accent);
  padding: 14px 18px;
  margin: 32px 0;
  font-style: italic;
  color: var(--primary);
  background: rgba(184, 147, 69, .10);
  font-size: 17.5px;
  line-height: 1.68;
}

:root main > article > p a,
:root main > article > p a:visited {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
:root main > article > p a:hover {
  color: var(--accent);
  text-decoration-color: var(--primary);
}

:root main > article > p a[href^="/ref/"],
:root main > article > p a[href^="/try/"],
:root main > article > p a[href^="/check/"] {
  background: rgba(184,147,69,.12);
  color: var(--primary);
  border: 1px solid var(--accent);
  padding: 3px 10px;
  border-radius: var(--r);
  text-decoration: none;
  font-weight: 700;
  font-family: var(--fh), Cambria, serif;
  font-size: 16px;
  letter-spacing: .02em;
}
:root main > article > p a[href^="/ref/"]:hover,
:root main > article > p a[href^="/try/"]:hover,
:root main > article > p a[href^="/check/"]:hover {
  background: var(--primary);
}

:root article > div[role="img"] {
  margin: 0 0 28px;
}
:root article > div[role="img"] > img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r);
  box-shadow: 0 3px 14px rgba(31, 26, 38, .12);
}

:root article > section {
  background: rgba(94, 74, 110, .07);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 16px 20px;
  margin-top: 32px;
  font-size: 14.5px;
  color: var(--fg);
  font-family: var(--fb), Cambria, serif;
  font-style: italic;
  line-height: 1.6;
}
:root article > section b {
  color: var(--primary);
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .14em;
  display: inline-block;
  margin-right: 8px;
  font-family: var(--fh), Cambria, serif;
}

:root main > div > div:not(.crd-related-list) {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--r);
  padding: 24px 26px;
  box-shadow: 0 2px 8px rgba(31, 26, 38, .05);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
:root main > div > div:not(.crd-related-list):hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(94, 74, 110, .12);
  border-left-color: var(--primary);
}
:root main > div > div:not(.crd-related-list) > p:first-child {
  font-family: var(--fh), Cambria, serif;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
:root main > div > div:not(.crd-related-list) > h2 {
  font-family: var(--fh), Cambria, serif;
  font-size: 21px;
  font-weight: 400;
  margin-bottom: 6px;
  line-height: 1.26;
  letter-spacing: .005em;
}
:root main > div > div:not(.crd-related-list) > h2 a {
  color: var(--primary);
  text-decoration: none;
}
:root main > div > div:not(.crd-related-list) > h2 a:hover { color: var(--accent); }
:root main > div > div:not(.crd-related-list) > p:not(:first-child) {
  font-size: 15.5px;
  color: var(--fg);
  opacity: .82;
  margin-bottom: 12px;
}
:root main > div > div:not(.crd-related-list) > a:last-child {
  font-family: var(--fh), Cambria, serif;
  font-size: 12.5px;
  color: var(--primary);
  background: transparent;
  border: 1px solid var(--primary);
  padding: 6px 16px;
  border-radius: var(--r);
  text-decoration: none;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: inline-block;
}
:root main > div > div:not(.crd-related-list) > a:last-child:hover {
  background: var(--primary);
  color: var(--bg);
}

:root main > div:has(> .crd-related-list) {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--accent);
}
:root main > div:has(> .crd-related-list) > h3 {
  font-family: var(--fh), Cambria, serif;
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 14px;
  letter-spacing: .04em;
}
:root .crd-related-list { display: flex; flex-direction: column; gap: 8px; }
:root .crd-related-link {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 10px 14px;
  color: var(--fg);
  text-decoration: none;
  font-size: 14.5px;
  font-family: var(--fb), Cambria, serif;
  display: block;
  transition: border-color .15s ease, background .15s ease;
}
:root .crd-related-link:hover {
  border-color: var(--primary);
  background: rgba(94, 74, 110, .04);
}

:root footer {
  background: transparent;
  border-top: 1px solid var(--accent);
  padding: 26px 0 36px;
  margin-top: 60px;
  text-align: center;
  font-family: var(--fb), Cambria, serif;
  font-size: 12px;
  color: var(--fg);
  opacity: .72;
  letter-spacing: .04em;
  font-style: normal;
}
:root footer a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px dotted var(--border);
  font-style: normal;
}
:root footer a:hover { color: var(--primary); border-bottom-color: var(--primary); }

/* === R4 fixes (2026-06-05T10:00:05.176867+00:00) === */
/* consecutive pill links: 6px left margin between adjacent pills */
:root main > article > p a[href^="/ref/"] + a[href^="/try/"],
:root main > article > p a[href^="/ref/"] + a[href^="/check/"],
:root main > article > p a[href^="/try/"] + a[href^="/check/"],
:root main > article > p a[href^="/check/"] + a[href^="/ref/"] {
  margin-left: 6px;
}

/* === R3 fixes (2026-06-05T09:20:03.448775+00:00) === */
/* affiliate pills: translucent tint + border (R3) */
/* h3 margin: 36px top (R3) */
/* card excerpt: 15.5px / .82 opacity (R3) */
/* header site name: 26px bold (R3) */
/* footer: .72 opacity, no italic (R3) */

/* === R2 fixes (2026-06-05T08:40:04.070211+00:00) === */
.page-4afbff {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: .10em;
  opacity: 0.65;
  margin-top: 1px;
}

/* === QA round-1 fixes (2026-07-17T17:18:31+0800) === */
:root { --rust: #B34F2A; }

/* --- Masthead: full-bleed photo + plum overlay, editorial wordmark --- */
:root header {
  background:
    linear-gradient(180deg, rgba(40, 28, 48, .72) 0%, rgba(40, 28, 48, .88) 100%),
    url("/theme-assets/hero-masthead.jpg") center/cover no-repeat,
    #2B1F33;
  border-bottom: 3px solid var(--accent);
  padding: 62px 0 38px;
  margin-bottom: 44px;
}
:root header h1,
:root header span a { color: #F4EFE3; }
:root header h1 { font-size: 40px; line-height: 1.14; letter-spacing: .02em; }
:root header span a { font-size: 26px; }
:root header p {
  color: #DCBE6E;
  font-size: 15px;
  line-height: 1.5;
  max-width: 640px;
}
/* signature: a low-GI glucose-trace monogram under the wordmark */
:root header > div::after {
  content: "";
  display: block;
  width: 66px;
  height: 16px;
  margin-top: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='66' height='16'%3E%3Cpath d='M2 12 Q11 2 20 8 T38 7 T64 3' fill='none' stroke='%23B89345' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") left center/contain no-repeat;
}

/* --- Homepage: magazine grid (hero -> Editor's Picks band -> chronological log) --- */
:root main > div:has(> div > h2) {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 8px;
}
@media (min-width: 760px) {
  :root main > div:has(> div > h2) {
    grid-template-columns: repeat(6, 1fr);
    gap: 34px 26px;
  }
}

/* Hero — the loud voice (first card, full width) */
:root main > div:has(> div > h2) > div:not(.crd-related-list):first-child {
  position: relative;
  border-left-width: 6px;
  padding: 34px 38px 30px;
  background: linear-gradient(180deg, rgba(94, 74, 110, .06), rgba(94, 74, 110, 0));
}
@media (min-width: 760px) {
  :root main > div:has(> div > h2) > div:not(.crd-related-list):first-child {
    grid-column: 1 / -1;
    margin-bottom: 6px;
  }
}
:root main > div:has(> div > h2) > div:first-child::before {
  content: "LATEST FROM THE KITCHEN LAB";
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary);
  color: #F4EFE3;
  font-family: var(--fh), Cambria, serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  padding: 7px 12px;
  border-radius: 0 var(--r) 0 var(--r);
}
:root main > div:has(> div > h2) > div:first-child > p:first-child::after {
  content: " · BY ERIN CALLAHAN";
}
:root main > div:has(> div > h2) > div:first-child > h2 {
  font-size: 30px;
  line-height: 1.2;
  max-width: 15ch;
}
@media (min-width: 760px) {
  :root main > div:has(> div > h2) > div:first-child > h2 {
    font-size: 42px;
    max-width: 20ch;
  }
}
:root main > div:has(> div > h2) > div:first-child > p:not(:first-child) {
  font-size: 18px;
  opacity: .92;
  max-width: 60ch;
}
:root main > div:has(> div > h2) > div:first-child > p:not(:first-child)::first-letter {
  float: left;
  font-family: var(--fh), Cambria, serif;
  font-size: 54px;
  line-height: .8;
  padding: 4px 10px 0 0;
  color: var(--rust);
}

/* Editor's Picks band — second confident moment (cards 2-4) */
:root main > div:has(> div > h2) > div:nth-child(2),
:root main > div:has(> div > h2) > div:nth-child(3),
:root main > div:has(> div > h2) > div:nth-child(4) {
  border-left: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  background: rgba(94, 74, 110, .045);
}
@media (min-width: 760px) {
  :root main > div:has(> div > h2) > div:nth-child(2),
  :root main > div:has(> div > h2) > div:nth-child(3),
  :root main > div:has(> div > h2) > div:nth-child(4) {
    grid-column: span 2;
  }
  :root main > div:has(> div > h2) > div:nth-child(2) { position: relative; }
  :root main > div:has(> div > h2) > div:nth-child(2)::before {
    content: "EDITOR'S PICKS — START HERE";
    position: absolute;
    top: -28px;
    left: 1px;
    font-family: var(--fh), Cambria, serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
  }
}

/* Chronological log — change of gear (cards 5+) */
@media (min-width: 760px) {
  :root main > div:has(> div > h2) > div:nth-child(n+5) { grid-column: span 3; }
  :root main > div:has(> div > h2) > div:nth-child(5) { position: relative; }
  :root main > div:has(> div > h2) > div:nth-child(5)::before {
    content: "THE FULL KITCHEN LOG";
    position: absolute;
    top: -28px;
    left: 1px;
    font-family: var(--fh), Cambria, serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--primary);
  }
}

/* --- Article page: hero band, massive title, dinkus, hanging quote --- */
:root main:has(> article)::before {
  content: "";
  display: block;
  height: 150px;
  margin: 4px 0 22px;
  border-radius: var(--r);
  background:
    linear-gradient(rgba(40, 28, 48, .10), rgba(40, 28, 48, .10)),
    url("/theme-assets/article-hero.jpg") center/cover no-repeat,
    #CFC4AE;
  box-shadow: 0 3px 14px rgba(31, 26, 38, .12);
}
:root main:has(> article) > h1 {
  font-size: 34px;
  line-height: 1.16;
  margin: 6px 0 10px;
}
@media (min-width: 760px) {
  :root main:has(> article) > h1 { font-size: 44px; }
}
:root main:has(> article) > article > p:first-child::first-letter {
  float: left;
  font-family: var(--fh), Cambria, serif;
  font-size: 58px;
  line-height: .78;
  padding: 6px 12px 0 0;
  color: var(--rust);
}
:root main > article > h2::before {
  content: "\2737";
  display: block;
  text-align: center;
  color: var(--accent);
  font-size: 15px;
  letter-spacing: .3em;
  margin: 4px 0 20px;
  opacity: .8;
}
:root main > article blockquote {
  position: relative;
  padding: 16px 20px 16px 30px;
}
:root main > article blockquote::before {
  content: "\201C";
  position: absolute;
  left: 6px;
  top: 2px;
  font-family: var(--fh), Georgia, serif;
  font-size: 52px;
  line-height: 1;
  color: var(--accent);
  opacity: .32;
}

/* --- Affiliate CTA chips: clearer monetization treatment + fixed hover --- */
:root main > article > p a[href^="/ref/"],
:root main > article > p a[href^="/try/"],
:root main > article > p a[href^="/check/"] {
  background: rgba(184, 147, 69, .18);
  border: 1.5px solid var(--accent);
  color: var(--primary);
}
:root main > article > p a[href^="/ref/"]::after,
:root main > article > p a[href^="/try/"]::after,
:root main > article > p a[href^="/check/"]::after {
  content: " \2197";
  font-size: 12px;
}
:root main > article > p a[href^="/ref/"]:hover,
:root main > article > p a[href^="/try/"]:hover,
:root main > article > p a[href^="/check/"]:hover {
  background: var(--primary);
  color: #F4EFE3;
  border-color: var(--primary);
}


/* === QA tail polish (2026-07-24T16:01:34.920327+00:00) — style Lambda [SB-20] compact tail across templates === */
/* The tail wrapper is always the LAST block child of <main> on the homepage,
   containing title-only rows of older articles. Various templates use different
   inner structures (ul>li / p / direct <a>) — this handles all three. */

:root main > *:last-child:not(:has(h2)):not(:has(h1)):not(:has(article)) {
  grid-column: 1 / -1;
  max-width: min(720px, 92vw);
  margin: 88px auto 0;
  padding: 40px 0 32px;
  border-top: 2px double rgba(0, 0, 0, .16);
  background: transparent;
  box-shadow: none;
}

:root main > *:last-child:not(:has(h2)):not(:has(h1)):not(:has(article))::before {
  content: "\2014  MORE FROM THE ARCHIVE  \2014";
  display: block;
  text-align: center;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  opacity: .5;
  margin-bottom: 36px;
}

/* Any list / paragraph rows: 2-col on desktop, single on mobile */
:root main > *:last-child ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 48px;
}
@media (max-width: 899px) {
  :root main > *:last-child ul { columns: 1; }
}

:root main > *:last-child li,
:root main > *:last-child > p,
:root main > *:last-child > a {
  padding: 10px 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  line-height: 1.4;
  border-bottom: 1px dotted rgba(0, 0, 0, .12);
  break-inside: avoid;
  display: block;
}

:root main > *:last-child li a,
:root main > *:last-child p a,
:root main > *:last-child > a {
  text-decoration: none;
  font-weight: 600;
}

:root main > *:last-child li a:hover,
:root main > *:last-child p a:hover,
:root main > *:last-child > a:hover {
  text-decoration: underline;
}

/* dates (first inline child of li/p) — subtle mono */
:root main > *:last-child p > :first-child,
:root main > *:last-child li > :first-child:not(a) {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 11px;
  letter-spacing: .1em;
  opacity: .5;
  margin-right: 10px;
}
