*{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}
.astro-FLGDFuWu{max-width:860px;margin:0 auto;padding:0 20px}
.astro-ey9AFQTz{background:#fff;padding:28px 0;margin-bottom:32px;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.astro-ey9AFQTz h1{font-size:22px;font-weight:700;margin-bottom:2px}
.astro-ey9AFQTz p{font-size:14px;color:#666}
.astro-ey9AFQTz a{color:#333;text-decoration:none;font-size:18px;font-weight:700}
.astro-4DAO9dV6{display:flex;flex-direction:column;gap:20px}
.astro-j2OxsunJ{background:#fff;border-radius:12px;box-shadow:0 1px 6px rgba(0,0,0,.06);padding:24px 28px;transition:transform .15s,box-shadow .15s}
.astro-j2OxsunJ:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,.1)}
.astro-j2OxsunJ h2{font-size:19px;margin-bottom:6px}
.astro-j2OxsunJ h2 a{color:#1a1a1a;text-decoration:none}
.astro-j2OxsunJ .astro-5MOfGW4s{font-size:12px;color:#999;margin-bottom:8px}
.astro-j2OxsunJ p{font-size:14px;color:#555;margin-bottom:12px}
.astro-wUab5ij4{display:inline-block;background:#5865f2;color:#fff;padding:6px 16px;border-radius:20px;font-size:13px;font-weight:600;text-decoration:none}
.astro-wUab5ij4:hover{background:#4752c4}
.astro-I6FtgsNj{padding-bottom:60px}
.astro-I6FtgsNj h1{font-size:30px;font-weight:700;margin-bottom:8px}
.astro-I6FtgsNj time{font-size:12px;color:#999;display:block;margin-bottom:24px}
.astro-I6FtgsNj h2{font-size:22px;margin:32px 0 12px}
.astro-I6FtgsNj h3{font-size:18px;margin:24px 0 8px}
.astro-I6FtgsNj p{margin-bottom:16px}
.astro-I6FtgsNj ul,.astro-I6FtgsNj ol{margin:0 0 16px 24px}
.astro-I6FtgsNj a{color:#5865f2}
.astro-I6FtgsNj img{max-width:100%;height:auto;border-radius:12px;margin:16px 0}
.astro-zI86ezGE{padding:24px 0;margin-top:40px;text-align:center;font-size:12px;color:#999}
.astro-zI86ezGE a{color:#999;text-decoration:none}
.astro-k5hEGv1B{background:#e8eaf0;border-radius:8px;padding:12px 16px;margin-bottom:20px;font-size:13px;color:#888;font-style:italic}
.astro-vQSgwAjF{background:#fff8e1;border-radius:8px;padding:12px 16px;margin-top:24px;font-size:12px;color:#9e8600}
.astro-4KFMfqRc{display:inline-block;background:#f0f2f7;border-radius:12px;padding:4px 12px;margin:-18px 0 24px;font-size:12px;color:#777}
.astro-SO7QPBuP{text-align:center;margin:0 0 24px}
.astro-tNvMVEHs{max-width:100%;height:auto;border-radius:12px}
.astro-ZX1hl854{margin-top:32px;padding-top:20px;border-top:1px solid #e0e0e0}
.astro-ZX1hl854 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)}
.astro-lxiSdgIk{display:flex;flex-direction:column;gap:8px;margin-top:20px}
.astro-Q8PLKlrM{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}
.astro-Q8PLKlrM:hover{box-shadow:0 2px 8px rgba(0,0,0,.1)}
/* === Theme === */
:root{--primary:#8E5A1F;--accent:#5B6B3A;--bg:#EDE2C7;--fg:#2A1F12;--border:#C7B89A;--r:6px;--fb:'Karla';--fh:'Bitter'}
/* === Custom === */
@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@500;700&family=Karla:ital,wght@0,400;0,500;0,700;1,400&display=swap');

:root body {
  font-family: var(--fb), system-ui, -apple-system, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.72;
  font-size: 17px;
}
::selection { background: var(--accent); color: var(--bg); }
:root hr { border: 0; border-top: 1px dashed var(--border); margin: 32px 0; }

:root header {
  background: var(--primary);
  color: var(--bg);
  padding: 32px 0;
  margin-bottom: 36px;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .10);
}
:root header h1,
:root header span a {
  font-family: var(--fh), Cambria, 'Times New Roman', serif;
  color: var(--bg);
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
}
:root header h1 { font-size: 30px; line-height: 1.18; }
:root header span a { font-size: 20px; }
:root header p {
  color: rgba(237, 226, 199, .82);
  font-size: 14px;
  font-style: italic;
  font-family: var(--fb), system-ui, sans-serif;
  margin-top: 4px;
}

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

:root main > h1 {
  font-family: var(--fh), Cambria, 'Times New Roman', serif;
  font-size: 36px;
  line-height: 1.18;
  color: var(--fg);
  margin: 8px 0 6px;
  font-weight: 700;
}
:root main > time {
  display: block;
  font-family: var(--fb), system-ui, sans-serif;
  font-style: italic;
  color: var(--accent);
  font-size: 13px;
  margin-bottom: 28px;
  letter-spacing: .04em;
}

:root main > article > p { margin-bottom: 18px; line-height: 1.75; }
:root main > article > h2 {
  font-family: var(--fh), Cambria, 'Times New Roman', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 2.25em;
  margin-bottom: 0.5em;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--border);
}
:root main > article > h3 {
  font-family: var(--fh), Cambria, 'Times New Roman', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 1.75em;
  margin-bottom: 0.4em;
}
: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: 6px 0 6px 18px;
  margin: 24px 0;
  font-style: italic;
  color: var(--accent);
  background: rgba(142, 90, 31, .06);
}

: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/"] {
  background: rgba(142, 90, 31, .09);
  padding: 1px 6px;
  border-radius: var(--r);
  text-decoration: none;
  font-weight: 600;
  color: var(--primary);
}
:root main > article > p a[href^="/ref/"]:hover {
  background: rgba(91, 107, 58, .14);
  color: var(--primary);
}

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

:root article > section.astro-vQSgwAjF {
  background: rgba(142, 90, 31, .06);
  border-left: 4px solid var(--primary);
  border-radius: var(--r);
  padding: 14px 18px;
  margin-top: 32px;
  font-size: 14px;
  color: var(--fg);
  font-family: var(--fb), system-ui, sans-serif;
  font-style: italic;
}
:root article > section.astro-vQSgwAjF b { color: var(--primary); font-weight: 700; }

:root article > aside {
  background: linear-gradient(180deg, rgba(142, 90, 31, .08), rgba(142, 90, 31, .04));
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--r);
  padding: 18px 22px;
  margin: 24px 0;
  font-family: var(--fb), system-ui, sans-serif;
}
:root article > aside h4 {
  font-family: var(--fh), Cambria, 'Times New Roman', serif;
  font-size: 17px;
  color: var(--primary);
  margin-bottom: 6px;
  font-weight: 700;
}
:root article > aside p {
  font-size: 14.5px;
  color: var(--fg);
  margin-bottom: 12px;
}
:root article > aside a {
  display: inline-block;
  background: var(--primary);
  color: var(--bg);
  padding: 8px 18px;
  border-radius: var(--r);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: background .15s ease;
}
:root article > aside a:hover { background: var(--accent); }

:root main > div > div:not(.crd-related-list) {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px 28px;
  box-shadow: 0 1px 2px rgba(42, 31, 18, .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 3px 14px rgba(42, 31, 18, .10);
  border-color: var(--primary);
}
:root main > div > div:not(.crd-related-list) > p:first-child {
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 12px;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 6px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
:root main > div > div:not(.crd-related-list) > h2 {
  font-family: var(--fh), Cambria, 'Times New Roman', serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.28;
}
:root main > div > div:not(.crd-related-list) > h2 a {
  color: var(--fg);
  text-decoration: none;
}
:root main > div > div:not(.crd-related-list) > h2 a:hover { color: var(--primary); }
:root main > div > div:not(.crd-related-list) > p:not(:first-child) {
  font-size: 14.5px;
  color: rgba(42, 31, 18, .80);
  margin-bottom: 14px;
}
:root main > div > div:not(.crd-related-list) > a:last-child {
  display: inline-block;
  background: var(--primary);
  color: var(--bg);
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: var(--r);
  text-decoration: none;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: background .15s ease;
}
:root main > div > div:not(.crd-related-list) > a:last-child:hover { background: var(--accent); }

:root main > div:has(> .crd-related-list) {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px dashed var(--border);
}
:root main > div:has(> .crd-related-list) > h3 {
  font-family: var(--fh), Cambria, 'Times New Roman', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
: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: 14px;
  font-family: var(--fb), system-ui, sans-serif;
  display: block;
  transition: border-color .15s ease, background .15s ease;
}
:root .crd-related-link:hover {
  border-color: var(--primary);
  background: rgba(142, 90, 31, .04);
}

:root footer {
  background: transparent;
  border-top: 1px solid var(--border);
  padding: 24px 0 36px;
  margin-top: 60px;
  text-align: center;
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 12px;
  color: rgba(42, 31, 18, .55);
}
:root footer a {
  color: rgba(42, 31, 18, .65);
  text-decoration: none;
}
:root footer a:hover { color: var(--primary); }

/* === R2 fixes (2026-06-07T15:10:03.980138+00:00) === */

/* Fix 3: breathing room between consecutive paragraphs */
:root article p + p,
:root .astro-I6FtgsNj p + p { margin-top: 1.25em; }

/* Fix 4: homepage article card — visual separation */
.astro-j2OxsunJ {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
}

/* Fix 5: homepage card title — stronger hierarchy */
.astro-j2OxsunJ h2 {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
}

/* Fix 6: header tagline — better legibility */
header .astro-FLGDFuWu p {
  font-size: 0.95rem;
  opacity: 0.75;
  letter-spacing: 0.01em;
}

/* Fix 7: related articles section — soft background block */
.astro-ZX1hl854 {
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  margin-top: 2rem;
}
.astro-ZX1hl854 a {
  display: block;
  padding-bottom: 0.5rem;
}

/* === R3 fixes (2026-06-07T15:50:03.368602+00:00) === */

/* Fix 1 (ext): H3 in Astro article component — bold, primary, scannable */
:root .astro-I6FtgsNj h3 {
  font-family: var(--fh), Cambria, 'Times New Roman', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 1.75em;
  margin-bottom: 0.4em;
}

/* Fix 2: "Updated" date metadata — muted like publish date, not body text */
.astro-4KFMfqRc {
  display: block;
  font-size: 12px;
  color: rgba(42, 31, 18, .55);
  font-style: italic;
  font-family: var(--fb), system-ui, sans-serif;
  margin-top: -20px;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

/* Fix 4: Article list item links — block rows with bottom rule for scannability */
:root main > article > ul li a,
:root main > article > ol li a {
  display: block;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--fg);
  font-size: 15px;
}

/* === R4 fixes (2026-06-07T16:30:04.163241+00:00) === */

/* Fix 1: Reset unclassed sections (bio, author list) — disclosure class already scoped above */
:root article > section:not(.astro-vQSgwAjF) {
  background: transparent;
  border-left: none;
  padding: 0;
  margin-top: 0;
  font-size: inherit;
  font-style: normal;
  border-radius: 0;
}

/* Fix 2: First homepage card — warm accent to signal "latest" at a glance */
:root main > div > div:not(.crd-related-list):first-child {
  border-left: 4px solid var(--primary);
  background: rgba(142, 90, 31, .04);
}
:root main > div > div:not(.crd-related-list):first-child > h2 {
  font-size: 22px;
  line-height: 1.22;
}

/* Fix 3: Blockquote background — caramel tint (applied inline above, selector kept for clarity) */

/* ============================================================= */
/* v.56053b — layout revision                                    */
/* Editorial signature pass: photo masthead, hero + Editor's     */
/* Picks + journal grid, two photo strips, full-width archive.   */
/* HP scope = main:not(:has(> article)) (single-level :has).      */
/* ============================================================= */

/* ---- MASTHEAD: photo bg, italic wordmark, manifesto, monogram ---- */
:root header {
  position: relative;
  background-image:
    linear-gradient(rgba(40, 26, 12, .74), rgba(40, 26, 12, .58)),
    url("/theme-assets/masthead-bg.jpg");
  background-size: cover;
  background-position: center;
  padding: 56px 0 50px;
  margin-bottom: 68px;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .20);
}
:root header > div { position: relative; }
:root header > div::before {
  content: "";
  display: block;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46'%3E%3Ccircle cx='23' cy='23' r='21' fill='none' stroke='%23EDE2C7' stroke-width='1.4'/%3E%3Ctext x='23' y='32' font-family='Georgia,serif' font-size='26' font-style='italic' fill='%23EDE2C7' text-anchor='middle'%3EB%3C/text%3E%3C/svg%3E");
}
:root header h1 {
  font-size: 47px;
  font-style: italic;
  line-height: 1.04;
  letter-spacing: .004em;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .38);
}
:root header p {
  color: rgba(240, 231, 210, .94);
  font-family: var(--fh), Cambria, 'Times New Roman', serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  max-width: 58ch;
  margin-top: 14px;
  padding-left: 15px;
  border-left: 3px solid #6B4A2E;              /* moment color · use 1 of 2 */
  text-shadow: 0 1px 8px rgba(0, 0, 0, .34);
}

/* ---- HOMEPAGE: widen for widescreen, become editorial grid ---- */
:root main:not(:has(> article)) {
  max-width: 1140px;
}
:root main:not(:has(> article)) > div:first-child {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 46px 30px;
  align-items: stretch;
}

/* Generic homepage card (:first-child on wrapper lifts specificity
   above base cream rule so warm paper + soft frame win) */
:root main:not(:has(> article)) > div:first-child > div {
  background: #F6F0E2;
  border: 1px solid rgba(74, 45, 26, .12);
  border-radius: 10px;
  padding: 28px 32px;
  margin: 0;
  box-shadow: 0 1px 4px rgba(42, 31, 18, .05);
}

/* HERO — the loud voice (card 1, full width) */
:root main:not(:has(> article)) > div:first-child > div:first-child {
  grid-column: 1 / -1;
  order: 1;
  position: relative;
  background: #FAF5EC;
  border: 1px solid rgba(74, 45, 26, .14);
  border-left: 5px solid var(--primary);
  border-radius: 12px;
  padding: 46px 52px 42px;
}
:root main:not(:has(> article)) > div:first-child > div:first-child::before {
  content: "Latest Essay";
  display: inline-block;
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 4px 13px;
  border-radius: 100px;
  margin-bottom: 18px;
}
:root main:not(:has(> article)) > div:first-child > div:first-child > p:first-child {
  font-size: 12px;
  letter-spacing: .16em;
  font-style: normal;
}
:root main:not(:has(> article)) > div:first-child > div:first-child > p:first-child::after {
  content: " · By Sarah Halvorsen";
  color: rgba(42, 31, 18, .55);
}
:root main:not(:has(> article)) > div:first-child > div:first-child > h2 {
  font-size: 45px;
  line-height: 1.08;
  margin-bottom: 14px;
}
:root main:not(:has(> article)) > div:first-child > div:first-child > h2 a {
  font-style: italic;
  color: var(--fg);
}
:root main:not(:has(> article)) > div:first-child > div:first-child > h2 a:hover {
  color: var(--primary);
}
:root main:not(:has(> article)) > div:first-child > div:first-child > p:not(:first-child) {
  font-size: 20px;
  line-height: 1.55;
  max-width: 62ch;
  color: rgba(42, 31, 18, .84);
  margin-bottom: 22px;
}
:root main:not(:has(> article)) > div:first-child > div:first-child > p:nth-of-type(2)::first-letter {
  float: left;
  font-family: var(--fh), Cambria, serif;
  font-style: italic;
  font-size: 64px;
  line-height: .78;
  padding: 6px 12px 0 0;
  color: #6B4A2E;                              /* moment color · use 2 of 2 */
}
:root main:not(:has(> article)) > div:first-child > div:first-child > a:last-child {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 11px 28px;
}
:root main:not(:has(> article)) > div:first-child > div:first-child > a:last-child:hover {
  background: var(--primary);
  color: var(--bg);
}

/* EDITOR'S PICKS — section label above the band (full row) */
:root main:not(:has(> article)) > div:first-child::before {
  content: "Editor’s Picks — Read These First";
  grid-column: 1 / -1;
  order: 2;
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 10px;
  margin-bottom: -12px;
  border-bottom: 1px solid rgba(91, 107, 58, .38);
}

/* EDITOR'S PICKS cards (2–4): 3-up, accented, height-normalized */
:root main:not(:has(> article)) > div:first-child > div:nth-child(n+2):nth-child(-n+4) {
  grid-column: span 2;
  order: 3;
  border-top: 3px solid var(--accent);
}

/* STRIP 1 — photo band between Picks and Journal */
:root main:not(:has(> article)) > div:first-child::after {
  content: "Continue Below";
  grid-column: 1 / -1;
  order: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  margin: 14px 0 2px;
  border-radius: 12px;
  background-image:
    linear-gradient(rgba(20, 24, 28, .55), rgba(20, 24, 28, .25)),
    url("/theme-assets/essay-photo.jpg");
  background-size: cover;
  background-position: center 30%;
  color: #F3ECDD;
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .55);
}

/* THE JOURNAL cards (5+): quiet 2-up chronological grid */
:root main:not(:has(> article)) > div:first-child > div:nth-child(n+5) {
  grid-column: span 3;
  order: 5;
}

/* Normalize excerpt length on non-hero cards (RULE D) */
:root main:not(:has(> article)) > div:first-child > div:nth-child(n+2) > p:not(:first-child) {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.55;
}

/* ---- COMPACT ARCHIVE TAIL: full width, multi-column index ---- */
:root main:not(:has(> article)) > div:last-child {
  display: block;
  column-width: 260px;
  column-gap: 32px;
  margin-top: 84px;
}
/* STRIP 2 — photo band between Journal and archive (spans all columns) */
:root main:not(:has(> article)) > div:last-child::before {
  content: "See All";
  column-span: all;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  margin-bottom: 40px;
  border-radius: 12px;
  background-image:
    linear-gradient(rgba(20, 24, 28, .55), rgba(20, 24, 28, .25)),
    url("/theme-assets/essay-photo.jpg");
  background-size: cover;
  background-position: center 70%;
  color: #F3ECDD;
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .55);
}
:root main:not(:has(> article)) > div:last-child > a {
  display: block;
  break-inside: avoid;
  background: #F6F0E2;
  border: 1px solid rgba(74, 45, 26, .10);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 0 0 12px;
  color: var(--fg);
  text-decoration: none;
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 14.5px;
  line-height: 1.42;
  box-shadow: none;
  transition: border-color .15s ease, background .15s ease;
}
:root main:not(:has(> article)) > div:last-child > a:hover {
  border-color: var(--primary);
  background: #FAF5EC;
}

/* ---- ARTICLE PAGE: signature polish ---- */
:root main > h1 {
  font-size: 42px;
  letter-spacing: -.01em;
}
:root main > article > p:first-of-type::first-letter {
  float: left;
  font-family: var(--fh), Cambria, serif;
  font-size: 56px;
  line-height: .8;
  padding: 6px 11px 0 0;
  color: var(--primary);
}
:root main > article > h2::before {
  content: "✷ ✷ ✷";
  display: block;
  text-align: center;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: .5em;
  margin: 0 0 16px;
  opacity: .8;
}
:root main > article > blockquote {
  position: relative;
  padding-left: 30px;
}
:root main > article > blockquote::before {
  content: "\201C";
  position: absolute;
  left: 2px;
  top: -6px;
  font-family: var(--fh), Cambria, serif;
  font-size: 46px;
  line-height: 1;
  color: rgba(91, 107, 58, .45);
}
/* Affiliate / product CTAs — distinct badge, not a plain link */
:root main > article > p a[href^="/ref/"] {
  border: 1px solid rgba(142, 90, 31, .38);
  background: rgba(142, 90, 31, .11);
  font-weight: 700;
}
:root main > article > p a[href^="/ref/"]::after {
  content: " ↗";
  font-size: .85em;
}

/* ---- MOBILE: collapse editorial grid to one column ---- */
@media (max-width: 720px) {
  :root main:not(:has(> article)) > div:first-child {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  :root main:not(:has(> article)) > div:first-child > div:first-child {
    grid-column: 1 / -1;
    padding: 30px 26px;
  }
  :root main:not(:has(> article)) > div:first-child > div:first-child > h2 { font-size: 31px; }
  :root main:not(:has(> article)) > div:first-child > div:first-child > p:not(:first-child) { font-size: 17px; }
  :root main:not(:has(> article)) > div:first-child > div:nth-child(n+2):nth-child(-n+4) { grid-column: 1 / -1; }
  :root main:not(:has(> article)) > div:first-child > div:nth-child(n+5) { grid-column: 1 / -1; }
  :root header h1 { font-size: 36px; }
  :root main > h1 { font-size: 32px; }
}


/* related-articles-nav-fix v1 */
:root main > nav p,
:root main > section p {
  line-height: 1.85;
  margin: 0;
}
:root main > nav a,
:root main > section a {
  display: inline-block;
  margin: 0 4px;
  padding: 0 2px;
}


/* mobile-overflow-fix v1 */
:root html, :root body { overflow-x: hidden; max-width: 100%; }
@media (max-width: 920px) {
  :root main > * { max-width: 100%; }
  :root main { overflow-x: hidden; }
}


/* mobile-overflow-fix v2 */
@media (max-width: 640px) {
  :root main,
  :root main > article,
  :root main > div,
  :root main > section,
  :root main > nav {
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
  }
  :root main > article > *,
  :root main > div > *,
  :root main > section > *,
  :root main > nav > * {
    max-width: 100%;
  }
  :root main h1,
  :root main h2,
  :root main h3,
  :root main h4 {
    overflow-wrap: break-word;
    word-break: normal;
  }
  /* Any 3+ col grid inside main → 1 col on mobile */
  :root main :is(ul, ol, section, div, nav)[style*="grid-template-columns"],
  :root main > section > ul,
  :root main > nav > ul,
  :root main > div > ul {
    grid-template-columns: 1fr !important;
  }
  /* Any CSS multi-column layout → 1 col on mobile */
  :root main :is(ul, ol, section, div, p) {
    columns: 1;
  }
  /* Article body images stay inside viewport */
  :root main img,
  :root main figure {
    max-width: 100%;
    height: auto;
  }
}


/* mobile-padding-fix v1 */
@media (max-width: 640px) {
  :root main {
    padding-left: 20px;
    padding-right: 20px;
  }
}


/* premium-upgrade v1 */
/* premium editorial upgrade — style=The-Sill-botanical overlay=55% grid=asymmetric scale=balanced family=astro-grid */

/* ── HERO STRIPS: site-level atmospheric photos (overlay 55%) ── */
:root main:not(:has(> h1)) > div:has(> div)::before {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%),
    url("/theme-assets/premium-hero-strip-1.webp") center 40% / cover no-repeat;
  min-height: 340px; padding-bottom: 26px; align-items: flex-end;
  text-shadow: 0 1px 12px rgba(0,0,0,0.55); color: #fff;
}
:root main:not(:has(> h1)) > div:has(> div)::after {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%),
    url("/theme-assets/premium-hero-strip-2.webp") center 45% / cover no-repeat;
  min-height: 340px; padding-bottom: 26px; align-items: flex-end;
  text-shadow: 0 1px 12px rgba(0,0,0,0.55); color: #fff;
}


/* ── 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:has(> div) > 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:has(> div) > 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:has(> div) > 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:has(> div) > 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;
}

/* ── 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:has(> div) > 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:has(> div) > 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:has(> div) > 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:has(> div) > 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)) > div:has(> div)::before,
  :root main:not(:has(> h1)) > div:has(> div)::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;
}

