*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.7;color:#111;background:#fff}
.astro-hZfe2v2B{max-width:900px;margin:0 auto;padding:0 28px}
.astro-NOFTVG0m{background:#111;color:#fff;padding:64px 0;margin-bottom:48px}
.astro-NOFTVG0m h1{font-size:42px;font-weight:800;letter-spacing:-1px;margin-bottom:8px}
.astro-NOFTVG0m p{font-size:18px;opacity:.7}
.astro-NOFTVG0m a{color:#fff;text-decoration:none;font-size:22px;font-weight:800}
.astro-YzHlLVWk{padding:0}
.astro-ivgecYGq{padding:32px 0;border-left:4px solid #111;padding-left:24px;margin-bottom:28px}
.astro-ivgecYGq h2{font-size:24px;font-weight:700;margin-bottom:6px}
.astro-ivgecYGq h2 a{color:#111;text-decoration:none}
.astro-ivgecYGq h2 a:hover{text-decoration:underline}
.astro-ivgecYGq .astro-rX8l42sn{font-size:12px;font-weight:600;text-transform:uppercase;color:#888;letter-spacing:1px;margin-bottom:8px}
.astro-ivgecYGq p{font-size:15px;color:#444;margin-bottom:10px}
.astro-6TM2YjuB{display:inline-block;background:#111;color:#fff;padding:8px 20px;font-size:13px;font-weight:700;text-decoration:none;text-transform:uppercase;letter-spacing:1px}
.astro-6TM2YjuB:hover{background:#333}
.astro-fgMMX6Rn{padding-bottom:60px}
.astro-fgMMX6Rn h1{font-size:38px;font-weight:800;letter-spacing:-1px;margin-bottom:10px}
.astro-fgMMX6Rn time{font-size:12px;font-weight:600;text-transform:uppercase;color:#888;letter-spacing:1px;display:block;margin-bottom:28px}
.astro-fgMMX6Rn h2{font-size:26px;font-weight:700;margin:40px 0 14px}
.astro-fgMMX6Rn h3{font-size:20px;font-weight:700;margin:32px 0 10px}
.astro-fgMMX6Rn p{margin-bottom:18px;font-size:17px}
.astro-fgMMX6Rn ul,.astro-fgMMX6Rn ol{margin:0 0 18px 24px}
.astro-fgMMX6Rn a{color:#111;font-weight:600;text-decoration:underline}
.astro-fgMMX6Rn img{max-width:100%;height:auto;margin:20px 0}
.astro-T0HVJa4u{background:#111;color:#888;padding:28px 0;margin-top:48px;text-align:center;font-size:12px}
.astro-T0HVJa4u a{color:#888;text-decoration:none}
.astro-58Eu2pti{background:#222;color:#aaa;padding:14px 20px;margin-bottom:24px;font-size:13px;font-style:italic}
.astro-zylu01Fs{background:#1a1a1a;color:#888;padding:14px 20px;margin-top:32px;font-size:12px;border-top:3px solid #444}
.astro-BaXcdHP7{font-size:12px;font-weight:600;text-transform:uppercase;color:#666;letter-spacing:1px;margin:-20px 0 28px;padding-left:12px;border-left:2px solid #ccc}
.astro-oP6cMkz8{margin:0 0 24px}
.astro-ma5hF2LF{width:100%;height:auto;border-radius:0}
.astro-RtkvVi9W{border-left:4px solid #111;padding-left:24px;margin-top:48px}
.astro-RtkvVi9W h3{font-size:18px;font-weight:700;text-transform:uppercase;letter-spacing:1px;margin-bottom:12px}
.astro-RtkvVi9W ul{list-style:none;padding:0}
.astro-RtkvVi9W li{padding:6px 0}
.astro-RtkvVi9W a{color:#111;text-decoration:underline;font-weight:600}
.astro-T6eyrSyS{border-left:4px solid #ddd;padding-left:24px;margin-top:36px}
.astro-T6eyrSyS ul{list-style:none;padding:0}
.astro-T6eyrSyS li{padding:6px 0;font-size:16px}
.astro-T6eyrSyS a{color:#111;text-decoration:none;font-weight:600}
.astro-T6eyrSyS a:hover{text-decoration:underline}
.astro-T6eyrSyS .astro-rX8l42sn{margin:0 0 0 8px}
/* === Theme === */
:root{--primary:#4A5C2E;--accent:#C8A052;--bg:#EFE7CD;--fg:#1F2410;--border:#C4B596;--r:10px;--fb:'Crimson Pro';--fh:'Oswald'}
/* === Custom === */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,400;0,600;1,400&family=Oswald:wght@500;700&display=swap');

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

:root > body > div:first-child {
  background: var(--primary);
  color: var(--bg);
  padding: 64px 0 44px;
  margin-bottom: 48px;
  border-bottom: 6px solid var(--accent);
}
:root > body > div:first-child h1 {
  font-family: var(--fh), system-ui, sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--bg);
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 10px;
  text-transform: uppercase;
}
:root > body > div:first-child p {
  font-family: var(--fb), Cambria, serif;
  font-size: 17px;
  color: rgba(239, 231, 205, .82);
  font-style: italic;
  opacity: 1;
}
:root > body > div:first-child a {
  font-family: var(--fh), system-ui, sans-serif;
  font-size: 24px;
  color: var(--bg);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

:root main > hgroup > h1 {
  font-family: var(--fh), system-ui, sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.12;
  margin: 8px 0 10px;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
:root main > hgroup > time {
  display: block;
  font-family: var(--fh), system-ui, sans-serif;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 32px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
}

:root main > article > p { margin-bottom: 18px; font-size: 17px; line-height: 1.75; }
:root main > article > h2 {
  font-family: var(--fh), system-ui, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 2.2em; margin-bottom: 0.5em;
  letter-spacing: 0;
  text-transform: uppercase;
  border-top: 3px solid var(--primary);
  padding-top: 12px;
}
:root main > article > h3 {
  font-family: var(--fh), system-ui, sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--accent);
  margin-top: 1.5em; margin-bottom: 0.4em;
  text-transform: uppercase;
  letter-spacing: .04em;
}
:root main > article ul,
:root main > article ol { margin-top: 1em; margin-bottom: 1em; padding-left: 1.5em; }
:root main > article li { margin-bottom: 6px; }
:root main > article blockquote {
  border-left: 4px solid var(--accent);
  padding: 10px 0 10px 20px;
  margin: 28px 0;
  font-style: italic;
  color: var(--fg);
  background: rgba(200, 160, 82, .07);
  border-radius: 0 var(--r) var(--r) 0;
}

: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;
  font-weight: 600;
}
:root main > article > p a:hover {
  color: var(--accent);
  text-decoration-color: var(--primary);
}

:root main > article > p a[href^="/check/"],
:root main > article > p a[href^="/ref/"],
:root main > article > p a[href^="/try/"] {
  background: var(--accent);
  color: var(--fg);
  padding: 2px 10px;
  border-radius: var(--r);
  text-decoration: none;
  font-weight: 700;
  font-family: var(--fh), system-ui, sans-serif;
  font-size: 14px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
:root main > article > p a[href^="/check/"]:hover,
:root main > article > p a[href^="/ref/"]:hover,
:root main > article > p a[href^="/try/"]:hover {
  background: var(--primary);
  color: var(--bg);
}

:root main > article > section:has(> img) {
  margin: 0 0 32px;
}
:root main > article > section > img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r);
  box-shadow: 0 4px 16px rgba(31, 36, 16, .14);
}

:root main > article > aside {
  background: rgba(74, 92, 46, .07);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 14px 20px;
  margin: 36px 0 0;
  font-size: 14px;
  color: var(--fg);
  font-family: var(--fb), Cambria, serif;
  font-style: italic;
  line-height: 1.65;
}

:root main > div:has(> h2) {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 6px solid var(--primary);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 24px 26px;
  margin-bottom: 22px;
  box-shadow: 0 1px 6px rgba(31, 36, 16, .05);
  transition: transform .15s ease, box-shadow .15s ease;
}
:root main > div:has(> h2):hover {
  transform: translateX(2px);
  box-shadow: 0 3px 14px rgba(31, 36, 16, .10);
}
:root main > div:has(> h2) > p:first-child {
  font-family: var(--fh), system-ui, sans-serif;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 700;
}
:root main > div:has(> h2) > h2 {
  font-family: var(--fh), system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.18;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
:root main > div:has(> h2) > h2 a {
  color: var(--fg);
  text-decoration: none;
}
:root main > div:has(> h2) > h2 a:hover { color: var(--primary); }
:root main > div:has(> h2) > p:not(:first-child) {
  font-family: var(--fb), Cambria, serif;
  font-size: 15px;
  color: var(--fg);
  opacity: .85;
  margin-bottom: 12px;
}
:root main > div:has(> h2) > a:last-child {
  font-family: var(--fh), system-ui, sans-serif;
  font-size: 12px;
  color: var(--bg);
  background: var(--primary);
  padding: 7px 18px;
  border-radius: var(--r);
  text-decoration: none;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  display: inline-block;
  transition: background .15s ease;
}
:root main > div:has(> h2) > a:last-child:hover { background: var(--accent); color: var(--fg); }

:root main > div:has(> ul) {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 2px solid var(--primary);
}
:root main > div:has(> ul) > h3 {
  font-family: var(--fh), system-ui, sans-serif;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
}
:root main > div:has(> ul) > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
:root main > div:has(> ul) > ul > li {
  padding: 10px 0;
  border-bottom: 1px dotted var(--border);
}
:root main > div:has(> ul) > ul > li:last-child { border-bottom: 0; }
:root main > div:has(> ul) > ul > li > a {
  color: var(--fg);
  text-decoration: none;
  font-family: var(--fb), Cambria, serif;
  font-size: 15.5px;
  line-height: 1.4;
}
:root main > div:has(> ul) > ul > li > a:hover { color: var(--primary); }

:root footer {
  background: transparent;
  border-top: 1px solid var(--border);
  padding: 24px 0 36px;
  margin-top: 48px;
  text-align: center;
  font-family: var(--fh), system-ui, sans-serif;
  font-size: 12px;
  color: var(--fg);
  opacity: .62;
  letter-spacing: .08em;
  text-transform: uppercase;
}
:root footer a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px dotted var(--border);
}
:root footer a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* === R3 fixes (2026-06-07T23:00:05.622318+00:00) === */

/* H3: dark warm brown + amber left border for scan-ability */
:root main > article > h3 {
  color: #5C4A1E;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}

/* Body + article paragraphs: 18px for extended reading comfort */
:root body { font-size: 18px; }
:root main > article > p { font-size: 18px; }

/* Opening paragraph: visual invitation into Kate's hook writing */
:root main > article > p:first-of-type {
  font-size: 19px;
  line-height: 1.6;
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin-bottom: 28px;
}

/* Author page article directory: stronger separation from bio zone */
:root main > div:has(> ul) {
  margin-top: 64px;
  padding-top: 36px;
  border-top: 3px solid var(--accent);
}

/* === R4 fixes (2026-06-07T23:40:04.149651+00:00) === */

/* H2 section headers: remove uppercase — green border-top already marks section breaks */
:root main > article > h2 { text-transform: none; }

/* H3 subheads: remove uppercase — amber left border + dark brown already signal subsection */
:root main > article > h3 { text-transform: none; }

/* Opening paragraph: remove italic — amber border-left alone is the right entry-point cue */
:root main > article > p:first-of-type { font-style: normal; }

/* === R2 fixes (2026-06-07T22:20:04.713657+00:00) === */

/* homepage article list items — breathing room + subtle divider */
.astro-ivgecYGq {
  padding-bottom: 1.5em;
  border-bottom: 1px solid rgba(74, 93, 78, 0.15);
  margin-bottom: 1.5em;
}

/* site name in header nav — anchors the brand identity */
header h1 {
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

/* === R5 codex refix (iter1) — surgical fixes for M2/M3/M6/M7/M8 (+S1/S2/S6) ===
   Homepage = flat single-column stack of <div> cards (main > div:has(> h2))
   followed by an archive tail (main > div:has(> ul)). Article page main has
   <hgroup>/<article> and its only direct <div> children carry <time>/<h3>,
   never a direct <h2>. So `main:has(> div > h2)` is a homepage-only guard that
   keeps the section labels + hero strips off article pages (M11-safe). */

/* --- M3: card padding >=32px horizontal, >=24px vertical (was 24px 26px) ---
   --- M8: airier card gap (was 22px) + roomier internal rhythm --- */
:root main > div:has(> h2) {
  padding: 30px 34px;
  margin-bottom: 38px;
}
:root main > div:has(> h2) > p:first-child { margin-bottom: 12px; }
:root main > div:has(> h2) > h2 { margin-bottom: 14px; }
:root main > div:has(> h2) > p:not(:first-child) {
  margin-bottom: 18px;
  line-height: 1.7;
}

/* --- M2: full-width uppercase section-label band ABOVE the first card,
   living OUTSIDE the card frame (absolute in the reserved gap) --- */
:root main:has(> div > h2) > div:nth-of-type(1) {
  position: relative;
  margin-top: 60px;
}
:root main:has(> div > h2) > div:nth-of-type(1)::before {
  content: "EDITOR'S PICKS \2014  READ THESE FIRST";
  position: absolute;
  left: -6px;
  right: 0;
  top: -46px;
  font-family: var(--fh), system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .22em;
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

/* --- S1/S2: give the lead Editor's Pick a louder typographic anchor --- */
:root main:has(> div > h2) > div:nth-of-type(1) > h2 {
  font-size: 34px;
  line-height: 1.12;
}
:root main:has(> div > h2) > div:nth-of-type(1) > p:not(:first-child) {
  font-size: 16.5px;
}

/* --- M6 (position 1): atmospheric hero strip between Editor's Picks and the
   Journal, carrying THE JOURNAL section label (M2). No theme-asset photo
   exists on this site (all /theme-assets/* 404), so the band is a layered
   palette gradient with a dark overlay + white tracked label. --- */
:root main:has(> div > h2) > div:nth-of-type(4) {
  position: relative;
  margin-top: 266px;
}
:root main:has(> div > h2) > div:has(> ul) {
  position: relative;
  margin-top: 266px;
  padding: 0;
  border: 0;
}
:root main:has(> div > h2) > div:nth-of-type(4)::before,
:root main:has(> div > h2) > div:has(> ul)::before {
  position: absolute;
  left: -6px;
  right: 0;
  top: -222px;
  height: 188px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r);
  box-shadow: 0 6px 20px rgba(31, 36, 16, .18);
  /* Atmospheric hero-photo strip (M6). No /theme-assets/*hero*.jpg exists on
     this site, so the "photograph" is a layered scene gradient: a directional
     dawn sun, drifting mist over water and a corner vignette give it real
     depth so it reads as an atmospheric strip, not a flat dark-green panel. */
  background-color: #232e18;
  background-image:
    /* dark readability overlay — light over the misty top, deepening toward the base + label */
    linear-gradient(180deg, rgba(16, 22, 9, .28) 0%, rgba(13, 18, 7, .5) 56%, rgba(8, 12, 5, .7) 100%),
    /* warm low sun — the palette's moment colour as directional light (upper-left) */
    radial-gradient(115% 130% at 24% 14%, rgba(214, 177, 108, .55) 0%, rgba(214, 177, 108, 0) 46%),
    /* pale mist drifting over the water for atmospheric depth (lower-middle) */
    radial-gradient(150% 72% at 60% 74%, rgba(228, 218, 188, .22) 0%, rgba(228, 218, 188, 0) 58%),
    /* cool shadow pocket + vignette (lower-right) */
    radial-gradient(90% 120% at 92% 104%, rgba(16, 28, 20, .6) 0%, rgba(16, 28, 20, 0) 50%),
    /* base landscape: misty sage sky -> sunlit bank -> deep forest water */
    linear-gradient(179deg, #7e8c5d 0%, #56673a 30%, #38481f 62%, #1b2610 100%);
  color: #f7f1e2;
  font-family: var(--fh), system-ui, sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .62), 0 1px 3px rgba(0, 0, 0, .5);
}
:root main:has(> div > h2) > div:nth-of-type(4)::before { content: "THE JOURNAL"; }
/* --- M6 (position 2): hero strip between the Journal and the archive tail,
   carrying the OLDER ENTRIES label (M2) --- */
:root main:has(> div > h2) > div:has(> ul)::before {
  content: "OLDER ENTRIES";
  /* mirrored light + a cooler, deeper dusk tone so the two strips read as two
     distinct photographs rather than one repeated flat panel */
  background-image:
    linear-gradient(180deg, rgba(14, 19, 8, .32) 0%, rgba(11, 15, 6, .52) 56%, rgba(7, 11, 4, .72) 100%),
    radial-gradient(115% 130% at 78% 16%, rgba(201, 161, 92, .5) 0%, rgba(201, 161, 92, 0) 46%),
    radial-gradient(150% 72% at 40% 76%, rgba(210, 202, 176, .18) 0%, rgba(210, 202, 176, 0) 58%),
    radial-gradient(90% 120% at 8% 104%, rgba(14, 24, 18, .6) 0%, rgba(14, 24, 18, 0) 50%),
    linear-gradient(179deg, #6f7d51 0%, #4b5a30 32%, #2f3d1b 64%, #171f0d 100%);
}

/* --- M7: archive tail becomes a first-class magazine index — boxed cream
   cells in a responsive grid with border/radius/shadow/padding + hover,
   matching the top-of-page card design system. Homepage-scoped only, so the
   article-page Related Articles list (also div:has(> ul)) is untouched. --- */
:root main:has(> div > h2) > div:has(> ul) > ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 14px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
:root main:has(> div > h2) > div:has(> ul) > ul > li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: 0 1px 4px rgba(31, 36, 16, .06);
  padding: 20px 22px;
  margin: 0;
  transition: transform .15s ease, box-shadow .15s ease;
}
:root main:has(> div > h2) > div:has(> ul) > ul > li:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(31, 36, 16, .12);
}
:root main:has(> div > h2) > div:has(> ul) > ul > li > a {
  color: var(--fg);
  font-family: var(--fb), Cambria, serif;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  text-decoration: none;
}
:root main:has(> div > h2) > div:has(> ul) > ul > li > a:hover { color: var(--primary); }
:root main:has(> div > h2) > div:has(> ul) > ul > li > span {
  order: -1;
  margin: 0;
  font-family: var(--fh), system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* --- S6: article personality anchor — add a byline + location to the
   date-only meta. Article-only (homepage main has no > hgroup). --- */
:root main > hgroup > time::after {
  content: " \00B7  BY KATE WINSLOW \00B7  RURAL OREGON";
  color: var(--accent);
  font-weight: 700;
}

/* --- Mobile: shorten hero strips, keep labels from overflowing --- */
@media (max-width: 560px) {
  :root main:has(> div > h2) > div:nth-of-type(4),
  :root main:has(> div > h2) > div:has(> ul) {
    margin-top: 214px;
  }
  :root main:has(> div > h2) > div:nth-of-type(4)::before,
  :root main:has(> div > h2) > div:has(> ul)::before {
    top: -178px;
    height: 150px;
    font-size: 15px;
    letter-spacing: .18em;
  }
  :root main:has(> div > h2) > div:nth-of-type(1)::before {
    font-size: 11px;
    letter-spacing: .1em;
  }
  :root main:has(> div > h2) > div:nth-of-type(1) > h2 { font-size: 26px; }

  /* --- M3: on narrow screens the compact archive index collapses toward a
     single full-width column, so its cells need the required >=32px horizontal
     (>=24px vertical) breathing room, not the tight desktop 22px --- */
  :root main:has(> div > h2) > div:has(> ul) > ul > li {
    padding: 26px 32px;
  }
}


/* premium-upgrade v1 */
/* premium editorial upgrade — style=Cup-of-Jo-personal overlay=40% grid=mixed scale=dramatic family=flat-divs */


/* ── CARD 1: featured full-row with 300px photo header (via card-own background, NOT ::before —
    leaves ::before free for existing site's M2 label / meta content). ── */
:root main:not(:has(> h1)) > div:nth-of-type(1) {
  grid-column: 1 / -1;
  position: relative;      /* anchor for existing site's ::before label if it uses absolute */
  overflow: visible;       /* let above-card labels render without clipping */
  padding: 320px 44px 40px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-1.webp") no-repeat center top / 100% 300px,
    var(--bg) !important;
  margin-top: 60px !important;  /* room for above-card M2 label (existing site convention) */
}

/* ── CARDS 2-4: medium with 180px photo header (background technique, ::before untouched) ── */
:root main:not(:has(> h1)) > div:nth-of-type(2) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-2.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}
:root main:not(:has(> h1)) > div:nth-of-type(3) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-3.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}
:root main:not(:has(> h1)) > div:nth-of-type(4) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-4.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}

/* ── flat-divs family: cards 5 & 6 also get photo headers ── */
:root main:not(:has(> h1)) > div:nth-of-type(5) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-strip-1.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}
:root main:not(:has(> h1)) > div:nth-of-type(6) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-strip-2.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}

/* ── Article page: drop cap + dinkus dividers ── */
:root main:has(> h1) > article > p:first-of-type::first-letter {
  font-family: var(--fh), Georgia, serif;
  font-size: 76px; line-height: 0.9; color: var(--primary);
  float: left; margin: 6px 12px 0 0; padding: 0; font-weight: 400;
}
:root main:has(> h1) > article > h2 + p ~ h2::before {
  content: "✦ ✦ ✦";
  display: block; text-align: center; color: var(--accent);
  font-size: 12px; letter-spacing: 0.3em; margin-bottom: 24px;
  font-weight: 400;
}

/* ── Mobile responsive: adjust photo heights via background-size on the card itself ── */
@media (max-width: 720px) {
  :root main:not(:has(> h1)) > div:nth-of-type(1) {
    padding: 240px 22px 28px !important;
    background:
      url("/theme-assets/premium-hero-card-1.webp") no-repeat center top / 100% 220px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:nth-of-type(2) {
    padding: 180px 22px 26px !important;
    background:
      url("/theme-assets/premium-hero-card-2.webp") no-repeat center top / 100% 160px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:nth-of-type(3) {
    padding: 180px 22px 26px !important;
    background:
      url("/theme-assets/premium-hero-card-3.webp") no-repeat center top / 100% 160px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:nth-of-type(4) {
    padding: 180px 22px 26px !important;
    background:
      url("/theme-assets/premium-hero-card-4.webp") no-repeat center top / 100% 160px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1))::before,
  :root main:not(:has(> h1))::after { min-height: 240px; }
  :root main:has(> h1) > article > p:first-of-type::first-letter { font-size: 60px; }
}


/* premium-upgrade v4 */
/* premium-upgrade v4 — surgical bundle. Applied 2026-08-30.
   Fixes: M10 CTA / M11 dinkus leak / M4 heights / M9 typography / M5 frames.
   Kills v2 "LATEST" label (proven counterproductive from v2 diagnosis). */

/* ── Kill v2 counterproductive homepage label ── */
:root main:not(:has(> h1))::before { content: none !important; }

/* ── M10: affiliate CTA visibility on article body ── */
:root main:has(> h1) a[href^="/try/"],
:root main:has(> h1) a[href^="/ref/"],
:root main:has(> h1) a[href^="/go/"],
:root main:has(> h1) a[href^="/out/"],
:root main:has(> h1) a[href^="/check/"],
:root main:has(> h1) a[href^="/view/"],
:root main:has(> h1) a[href*="hotmart.com"],
:root main:has(> h1) a[href*="digistore24"],
:root main:has(> h1) a[href*="clickbank"] {
  display: inline-block !important;
  background: var(--primary) !important;
  color: var(--bg) !important;
  padding: 6px 14px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  letter-spacing: 0.02em !important;
}

/* ── M11: prevent dinkus leaking onto article page's first h2 ── */
:root main:has(> h1) > article > h2:first-of-type::before {
  content: none !important;
}

/* ── M4: force equal-height cards via grid stretch + card fill ── */
:root main:not(:has(> h1)) > div:has(> div) {
  align-items: stretch !important;
}
:root main:not(:has(> h1)) > div:has(> div) > div {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
:root main:not(:has(> h1)) > div > article {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
/* also for flat-divs family */
:root main:not(:has(> h1)) > div {
  height: 100% !important;
}

/* ── M9: cap small-title weight so Bebas/Anton counters don't fill in ── */
:root main:not(:has(> h1)) > div > div > h2,
:root main:not(:has(> h1)) > div > div > h2 a,
:root main:not(:has(> h1)) > section > ul > li > a,
:root main:not(:has(> h1)) > div > p > a {
  font-weight: 500 !important;
}

/* ── M5: universal soft frame fallback for card-like elements ── */
:root main:not(:has(> h1)) > div > div,
:root main:not(:has(> h1)) > div > article,
:root main:not(:has(> h1)) > article {
  border-radius: 8px !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.05) !important;
}


/* premium-upgrade v5 */
/* premium-upgrade v5 — big M2 band + wider M10 CTA net + M8 breathing. 2026-08-31. */

/* ── M2: PROMINENT full-row label, not the small word v2 tried ── */
:root main:not(:has(> h1))::before {
  content: "◆ LATEST FEATURES ◆" !important;
  display: block !important;
  font-family: var(--fh, "PT Sans"), Georgia, serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  letter-spacing: 0.32em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  padding: 16px 24px 20px !important;
  margin: 0 0 40px !important;
  border-top: 3px solid var(--primary, #333) !important;
  border-bottom: 1px solid var(--border, #ccc) !important;
  color: var(--primary, #333) !important;
  background: transparent !important;
}

/* ── M10: broaden CTA net (Amazon, aff/ path, [target=_blank] product-shaped) ── */
:root main:has(> h1) a[href^="/try/"],
:root main:has(> h1) a[href^="/ref/"],
:root main:has(> h1) a[href^="/go/"],
:root main:has(> h1) a[href^="/out/"],
:root main:has(> h1) a[href^="/check/"],
:root main:has(> h1) a[href^="/view/"],
:root main:has(> h1) a[href^="/aff/"],
:root main:has(> h1) a[href^="/product/"],
:root main:has(> h1) a[href*="hotmart.com"],
:root main:has(> h1) a[href*="digistore24"],
:root main:has(> h1) a[href*="clickbank"],
:root main:has(> h1) a[href*="amazon."],
:root main:has(> h1) a[href*="/track/"],
:root main:has(> h1) a[href*="/link/"],
:root main:has(> h1) a[href*="lstrk.net"],
:root main:has(> h1) a[href*="thrivecart"] {
  display: inline-block !important;
  background: var(--primary) !important;
  color: var(--bg) !important;
  padding: 8px 18px !important;
  border-radius: 5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  letter-spacing: 0.02em !important;
  margin: 4px 2px !important;
}

/* ── M8: article body breathing ── */
:root main:has(> h1) > article > p {
  line-height: 1.8 !important;
  margin-bottom: 20px !important;
}
:root main:has(> h1) > article > h2 {
  margin-top: 48px !important;
  margin-bottom: 18px !important;
}
:root main:not(:has(> h1)) > div:has(> div) {
  gap: 40px 32px !important;
}


/* === Link & button colour audit (2026-09-16) ===
   Generated from a measured crawl of this site's own pages: every link and
   button was checked for text-vs-surface contrast at rest and on hover.
   Replacement colours keep the original hue and move only lightness, so the
   design reads the same. Verified by re-rendering before this was written. */
/* 2x 1.96:1 -> needs 4.5 | “Stop the guessing game →” */
:root :is(#lnkfix, main) > article > div > div > a[style*="ffffff"], :root :is(#lnkfix, main) > article > div > div > a[style*="0dcaf0"] { background: #4A5C2E !important; }
/* hover 1.97:1 -> needs 4.5 on #EFE7CD */
:root :is(#lnkfix, main) > article > p > a:not([href^="/check/"]):hover { color: #795D27; }
