*{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}
.section-cdcb85{max-width:900px;margin:0 auto;padding:0 28px}
.header-281e83{background:#111;color:#fff;padding:64px 0;margin-bottom:48px}
.header-281e83 h1{font-size:42px;font-weight:800;letter-spacing:-1px;margin-bottom:8px}
.header-281e83 p{font-size:18px;opacity:.7}
.header-281e83 a{color:#fff;text-decoration:none;font-size:22px;font-weight:800}
.container-aa88c6{padding:0}
.container-0a40fb{padding:32px 0;border-left:4px solid #111;padding-left:24px;margin-bottom:28px}
.container-0a40fb h2{font-size:24px;font-weight:700;margin-bottom:6px}
.container-0a40fb h2 a{color:#111;text-decoration:none}
.container-0a40fb h2 a:hover{text-decoration:underline}
.container-0a40fb .page-fe8bd1{font-size:12px;font-weight:600;text-transform:uppercase;color:#888;letter-spacing:1px;margin-bottom:8px}
.container-0a40fb p{font-size:15px;color:#444;margin-bottom:10px}
.frame-84c3f1{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}
.frame-84c3f1:hover{background:#333}
.sidebar-eedcb4{padding-bottom:60px}
.sidebar-eedcb4 h1{font-size:38px;font-weight:800;letter-spacing:-1px;margin-bottom:10px}
.sidebar-eedcb4 time{font-size:12px;font-weight:600;text-transform:uppercase;color:#888;letter-spacing:1px;display:block;margin-bottom:28px}
.sidebar-eedcb4 h2{font-size:26px;font-weight:700;margin:40px 0 14px}
.sidebar-eedcb4 h3{font-size:20px;font-weight:700;margin:32px 0 10px}
.sidebar-eedcb4 p{margin-bottom:18px;font-size:17px}
.sidebar-eedcb4 ul,.sidebar-eedcb4 ol{margin:0 0 18px 24px}
.sidebar-eedcb4 a{color:#111;font-weight:600;text-decoration:underline}
.sidebar-eedcb4 img{max-width:100%;height:auto;margin:20px 0}
.panel-f8dbcb{background:#111;color:#888;padding:28px 0;margin-top:48px;text-align:center;font-size:12px}
.panel-f8dbcb a{color:#888;text-decoration:none}
.shell-ad47af{background:#222;color:#aaa;padding:14px 20px;margin-bottom:24px;font-size:13px;font-style:italic}
.shell-0d9980{background:#1a1a1a;color:#888;padding:14px 20px;margin-top:32px;font-size:12px;border-top:3px solid #444}
.widget-e31bb0{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}
.page-9a6fe4{margin:0 0 24px}
.module-bafda5{width:100%;height:auto;border-radius:0}
.sidebar-9ecf83{border-left:4px solid #111;padding-left:24px;margin-top:48px}
.sidebar-9ecf83 h3{font-size:18px;font-weight:700;text-transform:uppercase;letter-spacing:1px;margin-bottom:12px}
.sidebar-9ecf83 ul{list-style:none;padding:0}
.sidebar-9ecf83 li{padding:6px 0}
.sidebar-9ecf83 a{color:#111;text-decoration:underline;font-weight:600}
.module-1ad447{border-left:4px solid #ddd;padding-left:24px;margin-top:36px}
.module-1ad447 ul{list-style:none;padding:0}
.module-1ad447 li{padding:6px 0;font-size:16px}
.module-1ad447 a{color:#111;text-decoration:none;font-weight:600}
.module-1ad447 a:hover{text-decoration:underline}
.module-1ad447 .page-fe8bd1{margin:0 0 0 8px}
/* === Theme === */
:root{--primary:#A88A3D;--accent:#3D6FA8;--bg:#FAF3DC;--fg:#1F1610;--border:#D4C497;--r:35px;--fb:'Be Vietnam Pro';--fh:'Frank Ruhl Libre';--fd:'Newsreader';--moment:#7A5A3C}
/* === Custom === */
/* v.6c93eb — layout revision */

@import url('https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre:wght@400;500;700;900&family=Be+Vietnam+Pro:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ============================ BASE ============================ */
:root body { font-family: var(--fb), system-ui, -apple-system, sans-serif; color: var(--fg); background: var(--bg); line-height: 1.76; font-size: 16.5px; }
::selection { background: var(--primary); color: var(--bg); }
:root hr { border: 0; border-top: 1px solid var(--border); margin: 34px 0; }

/* ============================================================
   MASTHEAD — base uses div.header-281e83 (black), we override.
   Home inner has h1+p, article inner has a.
   ============================================================ */
:root body > div:first-child {
  background: linear-gradient(rgba(24,20,14,.72), rgba(24,20,14,.46)),
              url("/theme-assets/top-image.jpg") center 42% / cover no-repeat,
              var(--primary);
  color: var(--bg); text-align: center; padding: 80px 24px 54px;
  margin-bottom: 64px; border-bottom: 3px solid var(--accent); position: relative;
}
:root body > div:first-child > div { max-width: 760px; margin: 0 auto; padding: 0; }
:root body > div:first-child > div::before {
  content: ""; display: block; width: 48px; height: 48px; margin: 0 auto 18px;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'><circle cx='24' cy='24' r='21' fill='none' stroke='%23FAF3DC' stroke-width='1.3' opacity='.85'/><path d='M12 26 L36 16 L26 34 L23 27 Z' fill='none' stroke='%23FAF3DC' stroke-width='1.4' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}
/* home wordmark + tagline */
:root body > div:first-child > div > h1 { font-family: var(--fh), Cambria, serif; font-size: 52px; font-weight: 500; font-style: italic; color: var(--bg); line-height: 1.06; letter-spacing: 0; margin: 0 0 12px; }
:root body > div:first-child > div > p { font-family: var(--fb), system-ui, sans-serif; font-style: italic; font-size: 15px; color: rgba(250,243,220,.86); max-width: 560px; margin: 0 auto; line-height: 1.6; }
/* manifesto line — home only */
:root body > div:first-child:has(> div > h1) > div::after {
  content: "— München · zwei Kinder · ein Notizbuch voller Bordkarten —";
  display: block; margin-top: 20px; font-family: var(--fh), serif; font-style: italic;
  font-size: 13px; letter-spacing: .13em; color: rgba(250,243,220,.76);
}
/* article wordmark link */
:root body > div:first-child > div > a { font-family: var(--fh), Cambria, serif; font-size: 30px; font-style: italic; font-weight: 500; color: var(--bg); text-decoration: none; letter-spacing: 0; }

/* ============================ MAIN WIDTHS ============================ */
:root main { margin: 0 auto; padding: 0 24px 96px; }
:root main:has(> article) { max-width: 792px; }
:root main:not(:has(> article)) {
  max-width: 972px; display: grid; grid-template-columns: repeat(6, 1fr);
  column-gap: 30px; row-gap: 48px; align-items: stretch;
}

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
:root main > hgroup { margin-bottom: 4px; }
:root main > hgroup > h1, :root main > h1 { font-family: var(--fh), Cambria, serif; font-size: 44px; font-weight: 700; color: var(--primary); line-height: 1.12; letter-spacing: -.01em; margin: 6px 0 12px; }
:root main > hgroup > time, :root main > time { display: block; font-family: var(--fb), system-ui, sans-serif; font-size: 12px; color: var(--accent); letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
/* persona anchor — byline + location above the article date (article pages only) */
:root main > hgroup > time::before, :root main > time::before {
  content: "Von Annika Voigt · München-Haidhausen"; display: block;
  font-family: var(--fh), Cambria, serif; font-style: italic; font-weight: 500;
  font-size: 14.5px; letter-spacing: .01em; text-transform: none;
  color: var(--primary); opacity: .92; margin-bottom: 7px;
}

/* "last updated" widget (div with a direct <time>) */
:root main > div:has(> time) { font-family: var(--fb), sans-serif; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); opacity: .72; border-left: 2px solid var(--border); padding-left: 12px; margin: 8px 0 34px; }

:root main > article > p { margin: 0 0 20px; font-size: 18px; line-height: 1.78; max-width: 68ch; }
:root main > article > p:first-of-type::first-letter { font-family: var(--fh), serif; font-size: 3.1em; line-height: .82; float: left; margin: .02em .12em 0 0; color: var(--primary); font-weight: 700; }
:root main > article > p strong, :root main > article li strong { color: var(--primary); font-weight: 700; }

:root main > article > h2 { font-family: var(--fh), Cambria, serif; font-size: 27px; font-weight: 700; color: var(--primary); margin: 50px 0 16px; letter-spacing: -.005em; }
:root main > article > h2::before { content: "\2737 \00A0 \2737 \00A0 \2737"; display: block; text-align: center; color: var(--accent); font-size: 14px; letter-spacing: .12em; margin: 0 0 24px; font-weight: 400; }
:root main > article > h3 { font-family: var(--fh), Cambria, serif; font-size: 20px; font-weight: 700; font-style: italic; color: var(--accent); margin: 30px 0 12px; }

:root main > article ul, :root main > article ol { margin: 0 0 20px 26px; }
:root main > article li { margin-bottom: 8px; font-size: 17px; line-height: 1.7; }

:root main > article blockquote { position: relative; border-left: 3px solid var(--primary); background: rgba(168,138,61,.08); padding: 18px 24px 18px 32px; margin: 32px 0; font-family: var(--fh), serif; font-style: italic; font-size: 19px; line-height: 1.6; color: var(--primary); border-radius: 0 8px 8px 0; }
:root main > article blockquote::before { content: "\201C"; position: absolute; left: 9px; top: 4px; font-family: var(--fh), serif; font-size: 46px; color: var(--accent); opacity: .38; line-height: 1; }

:root main > article > section:has(> img) { margin: 0 0 34px; }
:root main > article > section > img { width: 100%; height: auto; display: block; border-radius: 10px; box-shadow: 0 6px 22px rgba(31,22,16,.14); }

:root main > article > aside { background: #f3ead4; border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: 0 8px 8px 0; padding: 16px 22px; margin: 38px 0 0; font-family: var(--fb), sans-serif; font-style: italic; font-size: 13.5px; line-height: 1.65; color: var(--fg); }

/* body links */
: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); }

/* inline affiliate = editorial recommendation tag (moment colour, no filled badge) */
:root main > article > p a[href^="/ref/"], :root main > article > p a[href^="/try/"], :root main > article > p a[href^="/check/"], :root main > article > p a[href^="/partner/"], :root main > article > p a[href^="/go/"] {
  color: var(--moment); font-weight: 700; text-decoration: none;
  border-bottom: 2px solid rgba(122,90,60,.5); padding-bottom: 1px;
}
:root main > article > p a[href^="/ref/"]:hover, :root main > article > p a[href^="/try/"]:hover, :root main > article > p a[href^="/check/"]:hover, :root main > article > p a[href^="/partner/"]:hover, :root main > article > p a[href^="/go/"]:hover { color: #5f462e; border-bottom-color: var(--moment); }
:root main > article > p a[href^="/try/"]::after, :root main > article > p a[href^="/ref/"]::after { content: " \2197"; font-size: .82em; }

/* standalone affiliate CTA (only child of its <p>) = pill button — beats body-link + inline */
:root main > article > p > a[href^="/ref/"]:only-child, :root main > article > p > a[href^="/try/"]:only-child, :root main > article > p > a[href^="/check/"]:only-child, :root main > article > p > a[href^="/partner/"]:only-child, :root main > article > p > a[href^="/go/"]:only-child {
  display: inline-block; background: var(--primary); color: var(--bg); border: 0;
  padding: 12px 28px; border-radius: 30px; font-family: var(--fb), sans-serif; font-weight: 600;
  font-size: 14px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  margin: 8px 0; box-shadow: 0 2px 8px rgba(168,138,61,.28);
}
:root main > article > p > a[href^="/ref/"]:only-child:hover, :root main > article > p > a[href^="/try/"]:only-child:hover, :root main > article > p > a[href^="/check/"]:only-child:hover, :root main > article > p > a[href^="/partner/"]:only-child:hover, :root main > article > p > a[href^="/go/"]:only-child:hover { background: var(--accent); color: var(--bg); }
:root main > article > p > a[href^="/try/"]:only-child::after, :root main > article > p > a[href^="/ref/"]:only-child::after { content: ""; }

/* "Verwandte Artikel" related block (div with a direct <h3>) */
:root main > div:has(> h3) { margin-top: 56px; padding: 26px 30px 20px; background: #f5efe1; border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 10px; }
:root main > div:has(> h3) > h3 { font-family: var(--fb), sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
:root main > div:has(> h3) > ul { list-style: none; padding: 0; margin: 0; }
:root main > div:has(> h3) > ul > li { padding: 9px 0; border-bottom: 1px dotted rgba(31,22,16,.14); }
:root main > div:has(> h3) > ul > li:last-child { border-bottom: 0; }
:root main > div:has(> h3) a { font-family: var(--fh), serif; color: var(--primary); text-decoration: none; font-weight: 600; font-size: 16px; }
:root main > div:has(> h3) a:hover { color: var(--accent); }

/* ============================================================
   HOMEPAGE  (main:not(:has(> article)) grid, cards = > div:has(>h2))
   ============================================================ */

/* shared card (picks + journal) */
:root main:not(:has(> article)) > div:has(> h2) {
  grid-column: span 3; display: flex; flex-direction: column; margin: 0;
  background: #f8f2e6; border: 1px solid rgba(31,22,16,.10); border-radius: 9px;
  padding: 26px 34px 28px; box-shadow: 0 1px 4px rgba(31,22,16,.05);
  transition: transform .16s ease, box-shadow .16s ease;
}
:root main:not(:has(> article)) > div:has(> h2):hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(31,22,16,.10); }
:root main:not(:has(> article)) > div:has(> h2) > p:first-child { font-family: var(--fb), sans-serif; font-size: 11px; color: var(--accent); letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; }
:root main:not(:has(> article)) > div:has(> h2) > h2 { font-family: var(--fh), Cambria, serif; font-size: 20px; font-weight: 600; line-height: 1.22; margin-bottom: 12px; letter-spacing: -.005em; }
:root main:not(:has(> article)) > div:has(> h2) > h2 a { color: var(--primary); text-decoration: none; }
:root main:not(:has(> article)) > div:has(> h2) > h2 a:hover { color: var(--accent); }
:root main:not(:has(> article)) > div:has(> h2) > p:last-of-type { font-family: var(--fb), sans-serif; font-size: 15px; line-height: 1.62; color: var(--fg); opacity: .82; margin-bottom: 18px; max-width: 60ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
:root main:not(:has(> article)) > div:has(> h2) > a:last-child { margin-top: auto; align-self: flex-start; font-family: var(--fb), sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px; background: transparent; }
:root main:not(:has(> article)) > div:has(> h2) > a:last-child:hover { color: var(--primary); border-bottom-color: var(--accent); }
:root main:not(:has(> article)) > div:has(> h2) > a:last-child::after { content: " \2192"; }

/* --- HERO (card 1) --- */
:root main:not(:has(> article)) > div:nth-of-type(1) {
  grid-column: 1 / -1; position: relative; margin-bottom: 44px;
  padding: 46px 56px 48px; border-radius: 11px; border: 1px solid rgba(31,22,16,.12);
  border-top: 4px solid var(--primary); background: #f8f2e6; box-shadow: 0 3px 16px rgba(31,22,16,.08);
}
:root main:not(:has(> article)) > div:nth-of-type(1):hover { transform: none; box-shadow: 0 3px 16px rgba(31,22,16,.08); }
:root main:not(:has(> article)) > div:nth-of-type(1)::before {
  content: "Neueste Geschichte"; display: block; width: max-content; margin-bottom: 16px;
  font-family: var(--fb), sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--bg); background: var(--primary); padding: 5px 14px; border-radius: 20px;
}
:root main:not(:has(> article)) > div:nth-of-type(1) > p:first-child { font-size: 12px; color: var(--accent); letter-spacing: .18em; margin-bottom: 14px; }
:root main:not(:has(> article)) > div:nth-of-type(1) > h2 { font-size: 44px; font-weight: 700; line-height: 1.1; margin-bottom: 18px; letter-spacing: -.015em; max-width: 20ch; }
:root main:not(:has(> article)) > div:nth-of-type(1) > p:last-of-type { font-size: 20px; line-height: 1.5; color: var(--fg); opacity: .9; max-width: 60ch; margin-bottom: 26px; display: block; -webkit-line-clamp: unset; overflow: visible; }
:root main:not(:has(> article)) > div:nth-of-type(1) > p:last-of-type::first-letter { font-family: var(--fh), serif; font-size: 3.4em; line-height: .8; float: left; margin: .02em .1em 0 0; color: var(--moment); font-weight: 700; }
:root main:not(:has(> article)) > div:nth-of-type(1) > a:last-child {
  align-self: flex-start; display: inline-block; background: var(--primary); color: var(--bg);
  border: 1.5px solid var(--primary); padding: 12px 30px; border-radius: 30px;
  font-family: var(--fb), sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none;
}
:root main:not(:has(> article)) > div:nth-of-type(1) > a:last-child:hover { background: transparent; color: var(--primary); border-bottom-color: var(--primary); }
/* Editor's Picks section label — full-width band with hairline underline, above the picks row */
:root main:not(:has(> article)) > div:nth-of-type(1)::after {
  content: "Editor's Picks · zuerst diese zwei"; position: absolute; left: 0; right: 0; top: calc(100% + 26px);
  text-align: center; font-family: var(--fb), sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--primary);
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}

/* --- EDITOR'S PICKS (cards 2 & 3) --- */
:root main:not(:has(> article)) > div:nth-of-type(2),
:root main:not(:has(> article)) > div:nth-of-type(3) { grid-column: span 3; border-top: 3px solid var(--accent); }

/* --- JOURNAL LEAD (card 4) carrying STRIP 1 "WEITER UNTEN" --- */
:root main:not(:has(> article)) > div:nth-of-type(4) {
  grid-column: 1 / -1; display: block; background: transparent; border: 0; box-shadow: none;
  padding: 0; margin-top: 34px; border-radius: 0;
}
:root main:not(:has(> article)) > div:nth-of-type(4):hover { transform: none; box-shadow: none; }
:root main:not(:has(> article)) > div:nth-of-type(4)::before {
  content: "WEITER UNTEN"; display: flex; align-items: center; justify-content: center;
  min-height: 236px; border-radius: 11px; margin-bottom: 40px;
  background: linear-gradient(rgba(20,24,28,.55), rgba(20,24,28,.25)),
              url("/theme-assets/story-photo.jpg") center 30% / cover no-repeat, var(--primary);
  color: #faf5ec; font-family: var(--fb), sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: .32em; text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
:root main:not(:has(> article)) > div:nth-of-type(4) > p:first-child { text-align: center; font-size: 11px; color: var(--accent); letter-spacing: .18em; margin-bottom: 12px; }
:root main:not(:has(> article)) > div:nth-of-type(4) > h2 { text-align: center; font-size: 30px; font-weight: 700; line-height: 1.16; margin: 0 auto 16px; max-width: 22ch; }
:root main:not(:has(> article)) > div:nth-of-type(4) > p:last-of-type { text-align: center; font-size: 17px; line-height: 1.72; color: var(--fg); opacity: .85; max-width: 62ch; margin: 0 auto 18px; display: block; -webkit-line-clamp: unset; overflow: visible; }
:root main:not(:has(> article)) > div:nth-of-type(4) > a:last-child { align-self: center; margin: 0 auto; }

/* --- CLOSING entry (last card = 2nd-to-last div, tail is last) --- */
:root main:not(:has(> article)) > div:nth-last-of-type(2):has(> h2) { grid-column: 1 / -1; border-top: 3px solid var(--primary); }

/* --- STRIP 2 "DAS ARCHIV" + compact archive tail (div with a direct <ul>) --- */
:root main:not(:has(> article)) > div:has(> ul) {
  grid-column: 1 / -1; margin-top: 40px; padding: 0; border: 0; background: transparent; position: relative;
}
:root main:not(:has(> article)) > div:has(> ul)::before {
  content: "DAS ARCHIV"; display: flex; align-items: center; justify-content: center;
  min-height: 236px; border-radius: 11px; margin-bottom: 40px;
  background: linear-gradient(rgba(20,24,28,.55), rgba(20,24,28,.25)),
              url("/theme-assets/story-photo.jpg") center 70% / cover no-repeat, var(--primary);
  color: #faf5ec; font-family: var(--fb), sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: .32em; text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
:root main:not(:has(> article)) > div:has(> ul) > ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 16px; align-items: stretch; }
:root main:not(:has(> article)) > div:has(> ul) > ul > li { break-inside: avoid; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; background: #f8f2e6; border: 1px solid rgba(31,22,16,.10); border-radius: 9px; box-shadow: 0 1px 4px rgba(31,22,16,.05); transition: transform .16s ease, box-shadow .16s ease; }
:root main:not(:has(> article)) > div:has(> ul) > ul > li:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(31,22,16,.10); }
:root main:not(:has(> article)) > div:has(> ul) > ul > li a { font-family: var(--fh), serif; color: var(--primary); text-decoration: none; font-weight: 500; font-size: 15px; line-height: 1.38; overflow-wrap: break-word; }
:root main:not(:has(> article)) > div:has(> ul) > ul > li a:hover { color: var(--accent); }
:root main:not(:has(> article)) > div:has(> ul) > ul > li > span { font-family: var(--fb), sans-serif; font-size: 10px; color: var(--accent); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }

/* ============================ FOOTER ============================ */
:root footer { background: transparent; border-top: 1px solid var(--border); margin-top: 72px; padding: 30px 24px 44px; text-align: center; }
:root footer > div { max-width: 900px; margin: 0 auto; }
:root footer p { font-family: var(--fb), sans-serif; font-size: 12.5px; color: var(--fg); opacity: .62; letter-spacing: .03em; }
:root footer a { color: var(--primary); text-decoration: none; border-bottom: 1px dotted var(--border); }
:root footer a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 720px) {
  :root main:not(:has(> article)) { grid-template-columns: 1fr; row-gap: 40px; }
  :root main:not(:has(> article)) > div:has(> h2),
  :root main:not(:has(> article)) > div:nth-of-type(2),
  :root main:not(:has(> article)) > div:nth-of-type(3) { grid-column: 1 / -1; }
  :root main:not(:has(> article)) > div:nth-of-type(1) { padding: 32px 26px 34px; margin-bottom: 40px; }
  :root main:not(:has(> article)) > div:nth-of-type(1) > h2 { font-size: 32px; }
  :root main:not(:has(> article)) > div:nth-of-type(1) > p:last-of-type { font-size: 18px; }
  :root main:not(:has(> article)) > div:nth-of-type(1)::after { top: calc(100% + 14px); letter-spacing: .16em; font-size: 11px; }
  :root main:not(:has(> article)) > div:nth-of-type(4) > h2 { font-size: 26px; }
  :root main:not(:has(> article)) > div:has(> ul) > ul { grid-template-columns: 1fr; }
  :root body > div:first-child > div > h1 { font-size: 38px; }
  :root body > div:first-child { padding: 60px 22px 42px; }
  :root main > hgroup > h1, :root main > h1 { font-size: 34px; }
  :root main > article > p { font-size: 17px; }
}


/* 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=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; }
}

