*{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}
.Section_content__MZ5u3{max-width:860px;margin:0 auto;padding:0 20px}
.Sidebar_foot__0Aklw{background:#fff;padding:28px 0;margin-bottom:32px;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.Sidebar_foot__0Aklw h1{font-size:22px;font-weight:700;margin-bottom:2px}
.Sidebar_foot__0Aklw p{font-size:14px;color:#666}
.Sidebar_foot__0Aklw a{color:#333;text-decoration:none;font-size:18px;font-weight:700}
.Page_content__XJSay{display:flex;flex-direction:column;gap:20px}
.Article_section__SjA4b{background:#fff;border-radius:12px;box-shadow:0 1px 6px rgba(0,0,0,.06);padding:24px 28px;transition:transform .15s,box-shadow .15s}
.Article_section__SjA4b:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,.1)}
.Article_section__SjA4b h2{font-size:19px;margin-bottom:6px}
.Article_section__SjA4b h2 a{color:#1a1a1a;text-decoration:none}
.Article_section__SjA4b .Main_row__W4p0s{font-size:12px;color:#999;margin-bottom:8px}
.Article_section__SjA4b p{font-size:14px;color:#555;margin-bottom:12px}
.Wrapper_block__4WnFc{display:inline-block;background:#5865f2;color:#fff;padding:6px 16px;border-radius:20px;font-size:13px;font-weight:600;text-decoration:none}
.Wrapper_block__4WnFc:hover{background:#4752c4}
.Banner_inner__3X0wV{padding-bottom:60px}
.Banner_inner__3X0wV h1{font-size:30px;font-weight:700;margin-bottom:8px}
.Banner_inner__3X0wV time{font-size:12px;color:#999;display:block;margin-bottom:24px}
.Banner_inner__3X0wV h2{font-size:22px;margin:32px 0 12px}
.Banner_inner__3X0wV h3{font-size:18px;margin:24px 0 8px}
.Banner_inner__3X0wV p{margin-bottom:16px}
.Banner_inner__3X0wV ul,.Banner_inner__3X0wV ol{margin:0 0 16px 24px}
.Banner_inner__3X0wV a{color:#5865f2}
.Banner_inner__3X0wV img{max-width:100%;height:auto;border-radius:12px;margin:16px 0}
.Post_area__WH6vZ{padding:24px 0;margin-top:40px;text-align:center;font-size:12px;color:#999}
.Post_area__WH6vZ a{color:#999;text-decoration:none}
.Content_content__NVt5g{background:#e8eaf0;border-radius:8px;padding:12px 16px;margin-bottom:20px;font-size:13px;color:#888;font-style:italic}
.Layout_inner__xZeCP{background:#fff8e1;border-radius:8px;padding:12px 16px;margin-top:24px;font-size:12px;color:#9e8600}
.Layout_inner__fN3S5{display:inline-block;background:#f0f2f7;border-radius:12px;padding:4px 12px;margin:-18px 0 24px;font-size:12px;color:#777}
.Content_wrapper__eyfCY{text-align:center;margin:0 0 24px}
.Banner_text__rVBDf{max-width:100%;height:auto;border-radius:12px}
.Page_text__lPYuj{margin-top:32px;padding-top:20px;border-top:1px solid #e0e0e0}
.Page_text__lPYuj 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)}
.Header_inner__z9f66{display:flex;flex-direction:column;gap:8px;margin-top:20px}
.Wrapper_root__YJH1L{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}
.Wrapper_root__YJH1L:hover{box-shadow:0 2px 8px rgba(0,0,0,.1)}
/* === Theme === */
:root{--primary:#3F2128;--accent:#5C7C8F;--bg:#EEE7D8;--fg:#0E0A10;--border:#C5BD9F;--r:8px;--fb:'Spectral';--fh:'Fraunces';--fm:'Asap Condensed';--moment:#7A6B4A;--paper:#F5EFE1}
/* === Custom === */
/* v.f72877 — layout revision */
/* Meine Mitte — mm-mitte-de · Sonntagstagebuch · editorial signature pass.
   Base template (main.css.live) styles elements via single obfuscated classes
   (.Page_content{display:flex}, .Article_section{background:#fff},
   .Wrapper_block{background:#5865f2}). Class names survive deploy obfuscation,
   so every rule is prefixed with :root (pseudo-class = class-tier specificity)
   to beat those base rules WITHOUT !important, using only element/structural
   selectors. DOM: masthead = body>header (home has >div>h1+p; article has
   >div>span>a). Home cards = main>div>div:has(>h2) (TWO levels deep). */

@import url('https://fonts.googleapis.com/css2?family=Asap+Condensed:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,600&family=Spectral:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

/* ---------- base canvas ---------- */
:root body { font-family: var(--fb), Georgia, serif; color: var(--fg); background: var(--bg); line-height: 1.74; font-size: 16.5px; }
:root ::selection { background: var(--primary); color: var(--bg); }
:root hr { border: 0; border-top: 1px solid var(--border); margin: 34px 0; }

/* ==================================================================
   MASTHEAD
   ================================================================== */
/* Homepage masthead — photo band + serif-italic wordmark + manifesto */
:root body > header:has(h1) {
  background: linear-gradient(rgba(30,18,20,.74), rgba(46,26,28,.58)), url("/theme-assets/masthead-bg.jpg");
  background-size: cover; background-position: center;
  padding: 74px 0 62px; margin-bottom: 66px;
  border-bottom: 3px solid var(--accent);
  box-shadow: none;
}
:root body > header:has(h1) > div { max-width: 780px; text-align: center; }
:root body > header:has(h1) > div::before {
  content: "Sonntagstagebuch · Altona"; display: block;
  font-family: var(--fm), sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: .34em; text-transform: uppercase;
  color: rgba(245,239,225,.82); margin-bottom: 16px;
}
:root body > header:has(h1) h1 {
  font-family: var(--fh), Cambria, serif; font-style: italic; font-weight: 400;
  font-size: 54px; line-height: 1.04; color: #F5EFE1; letter-spacing: 0; margin: 0 0 18px;
}
:root body > header:has(h1) p {
  font-family: var(--fb), Georgia, serif; font-style: italic; font-size: 15.5px;
  color: rgba(245,239,225,.9); line-height: 1.7; max-width: 60ch; margin: 0 auto;
}

/* Article masthead — quiet bar */
:root body > header:not(:has(h1)) {
  background: var(--primary); color: var(--bg);
  padding: 20px 0; margin-bottom: 42px; box-shadow: none;
  border-bottom: 3px solid var(--accent);
}
:root body > header:not(:has(h1)) > div > span > a {
  font-family: var(--fh), Cambria, serif; font-style: italic; font-weight: 400;
  font-size: 24px; color: #F5EFE1; text-decoration: none; letter-spacing: 0;
}

/* ==================================================================
   HOMEPAGE FEED — 6-col editorial grid (hero → picks → strip → journal)
   Grid container = main>div (base .Page_content, display:flex → grid).
   Cards = main>div>div:has(>h2). Sections via order + container pseudos.
   ================================================================== */
/* padding-top gives the featured card's floating pill (M4b) a safe zone INSIDE
   main's border-box, so mobile `main{overflow-x:hidden}` cannot clip its top half. */
:root main:has(> div > div > h2) { padding-top: 22px; padding-bottom: 40px; }

:root main > div:has(> div > h2) {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px 30px;
  align-items: stretch;
}

/* --- SECTION LABEL: Editor's Picks (container ::before, full row) --- */
:root main > div:has(> div > h2)::before {
  content: "Aus dem Heft — zuerst lesen";
  order: 2; grid-column: 1 / -1;
  font-family: var(--fm), sans-serif; font-size: 14px; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--moment);
  border-bottom: 1px solid rgba(122,107,74,.42);
  padding: 8px 0 11px; margin-top: 30px;
}

/* --- HERO STRIP 1: DAS NOTIZBUCH (container ::after, full row) --- */
:root main > div:has(> div > h2)::after {
  content: "Das Notizbuch";
  order: 4; grid-column: 1 / -1;
  min-height: 200px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(rgba(20,24,28,.55), rgba(20,24,28,.25)), url("/theme-assets/hero-photo.jpg");
  background-size: cover; background-position: center 30%;
  border-radius: var(--r); margin: 44px 0 8px;
  color: #F5EFE1; font-family: var(--fm), sans-serif; font-size: 14px; font-weight: 600;
  letter-spacing: .32em; text-transform: uppercase; text-shadow: 0 1px 4px rgba(0,0,0,.55);
}

/* HERO STRIP 2 (MEHR ARTIKEL) no longer lives on main::after — that pinned it
   below the whole feed (after the archive tail). It now renders as a full-width
   grid band BETWEEN the journal grid and the compact tail, hosted on the feed's
   :last-child card at order 6 (see the feed section below). M6 fix. */

/* --- CARD (shared) --- */
:root main > div > div:has(> h2) {
  grid-column: span 3;
  background: var(--paper);
  border: 1px solid rgba(63,33,40,.12);
  border-radius: var(--r);
  box-shadow: 0 1px 4px rgba(20,16,12,.05);
  padding: 28px 32px 30px;
  display: flex; flex-direction: column;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
:root main > div > div:has(> h2):hover {
  transform: translateY(-2px); box-shadow: 0 6px 18px rgba(20,16,12,.10);
  border-color: rgba(92,124,143,.5);
}
:root main > div > div:has(> h2) > p:first-child {
  font-family: var(--fm), sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
:root main > div > div:has(> h2) > h2 {
  font-family: var(--fh), Cambria, serif; font-weight: 600; font-size: 19px;
  line-height: 1.26; letter-spacing: 0; margin-bottom: 12px;
}
:root main > div > div:has(> h2) > h2 a { color: var(--primary); text-decoration: none; }
:root main > div > div:has(> h2) > h2 a:hover { color: var(--accent); }
:root main > div > div:has(> h2) > h2 + p {
  font-family: var(--fb), Georgia, serif; font-size: 15.5px; line-height: 1.6;
  color: #4a3f3a; margin-bottom: 20px; max-width: 64ch;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
/* CTA — localized, outlined pill, pinned to card bottom */
:root main > div > div:has(> h2) > a:last-child {
  display: inline-block; align-self: flex-start; margin-top: auto;
  font-size: 0; background: transparent; color: var(--primary);
  border: 1px solid var(--primary); padding: 9px 20px; border-radius: 24px; text-decoration: none;
  transition: background .16s ease, color .16s ease;
}
:root main > div > div:has(> h2) > a:last-child::before {
  content: "Weiterlesen →"; font-family: var(--fm), sans-serif; font-size: 13px;
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
:root main > div > div:has(> h2) > a:last-child:hover { background: var(--primary); color: var(--bg); }

/* --- HERO CARD (nth-child 1): the loud voice --- */
:root main > div > div:nth-child(1) {
  grid-column: 1 / -1; order: 1;
  display: grid; grid-template-columns: minmax(0,2.3fr) minmax(0,1fr);
  gap: 6px 44px; padding: 46px 48px 48px;
  position: relative; overflow: visible; /* anchor + let pill float past top edge (M4b) */
}
:root main > div > div:nth-child(1) > * { grid-column: 1; }
/* Floating "NEUESTER EINTRAG" pill — hovers on the card's top edge (half above),
   not tucked inside. Absolute → half-crosses the frame via translateY(-50%). M4b. */
:root main > div > div:nth-child(1)::before {
  content: "Neuester Eintrag";
  position: absolute; top: 0; left: 48px; transform: translateY(-50%); z-index: 2;
  background: var(--accent); color: var(--bg); padding: 4px 13px; border-radius: 20px;
  font-family: var(--fm), sans-serif; font-size: 10.5px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; margin: 0;
}
:root main > div > div:nth-child(1) > h2 {
  font-family: var(--fh), Cambria, serif; font-style: italic; font-weight: 400;
  font-size: 38px; line-height: 1.08; margin-bottom: 16px;
}
:root main > div > div:nth-child(1) > h2 + p {
  display: block; overflow: visible; -webkit-line-clamp: unset;
  font-size: 20px; line-height: 1.55; color: #2e2622; max-width: 60ch; margin-bottom: 22px;
}
:root main > div > div:nth-child(1) > h2 + p::first-letter {
  font-family: var(--fh), Cambria, serif; font-style: italic; font-weight: 600;
  font-size: 58px; line-height: .78; float: left; padding: 6px 12px 0 0; color: var(--moment);
}
:root main > div > div:nth-child(1) > a:last-child {
  justify-self: start; background: var(--primary); color: var(--bg); border-color: var(--primary);
}
:root main > div > div:nth-child(1) > a:last-child::before { content: "Ganzen Eintrag lesen →"; }
:root main > div > div:nth-child(1) > a:last-child:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
/* right meta rail — fills the second column (balanced layout) */
:root main > div > div:nth-child(1)::after {
  grid-column: 2; grid-row: 1 / span 5; align-self: stretch;
  border-left: 1px solid rgba(63,33,40,.18); padding-left: 26px;
  content: "Von Jana Voßkuhle\A\A 6 Min Lesezeit\A\A Ausgabe N° I"; white-space: pre-line;
  font-family: var(--fm), sans-serif; font-size: 11.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent); line-height: 2.1;
}

/* --- EDITOR'S PICKS (nth-child 2–4): 3-up band with N° markers --- */
:root main > div > div:nth-child(2):has(> h2),
:root main > div > div:nth-child(3):has(> h2),
:root main > div > div:nth-child(4):has(> h2) { grid-column: span 2; order: 3; }
:root main > div > div:nth-child(2):has(> h2)::before,
:root main > div > div:nth-child(3):has(> h2)::before,
:root main > div > div:nth-child(4):has(> h2)::before {
  display: block; font-family: var(--fm), sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .2em; color: var(--accent); margin-bottom: 8px;
}
:root main > div > div:nth-child(2):has(> h2)::before { content: "N° I"; }
:root main > div > div:nth-child(3):has(> h2)::before { content: "N° II"; }
:root main > div > div:nth-child(4):has(> h2)::before { content: "N° III"; }

/* --- THE JOURNAL (nth-child 5–10): chronological 2-up feature cards --- */
:root main > div > div:nth-child(n+5):nth-child(-n+10):has(> h2) { grid-column: span 3; order: 5; }

/* --- HERO STRIP 2: MEHR ARTIKEL — closing photo band sitting BETWEEN the
       journal grid and the compact archive tail. Hosted on the feed's last
       card (repurposed) so it can be a full-width grid item at order 6, ahead
       of the tail (order 7). The card's article content is hidden and replaced
       by the tracked overlay label. M6 fix. --- */
:root main > div > div:nth-child(n+5):last-child {
  grid-column: 1 / -1; order: 6;
  min-height: 210px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(rgba(20,24,28,.55), rgba(20,24,28,.25)), url("/theme-assets/hero-photo.jpg");
  background-size: cover; background-position: center 70%;
  border: 0; box-shadow: none; border-radius: var(--r);
  padding: 0; margin: 12px 0 4px; overflow: hidden;
}
:root main > div > div:nth-child(n+5):last-child:hover {
  transform: none; box-shadow: none; border-color: transparent;
}
:root main > div > div:nth-child(n+5):last-child > * { display: none; }
:root main > div > div:nth-child(n+5):last-child::before {
  content: "Mehr Artikel"; display: block; align-self: center;
  color: #F5EFE1; font-family: var(--fm), sans-serif; font-size: 14px; font-weight: 600;
  letter-spacing: .32em; text-transform: uppercase; text-shadow: 0 1px 4px rgba(0,0,0,.55);
}

/* --- COMPACT ARCHIVE TAIL (nth-child 11 … 2nd-to-last): three-up cream index.
       Full design parity with the top journal cards — same paper token, border,
       radius, shadow and hover lift — just tighter and title-first. Three per
       row via span 2 on the shared 6-col grid → full magazine width, grid
       stretch keeps each row's cells equal height. M7 fix. --- */
:root main > div > div:nth-child(n+11):has(> h2) {
  grid-column: span 2; order: 7; padding: 18px 22px 20px;
  min-height: 96px; justify-content: center;
}
:root main > div > div:nth-child(n+11):has(> h2) > p:first-child {
  font-size: 10.5px; letter-spacing: .16em; margin-bottom: 7px; color: var(--accent);
}
:root main > div > div:nth-child(n+11):has(> h2) > h2 {
  font-size: 16.5px; line-height: 1.3; font-weight: 500; margin-bottom: 0;
}
:root main > div > div:nth-child(n+11):has(> h2) > h2 + p,
:root main > div > div:nth-child(n+11):has(> h2) > a:last-child { display: none; }

/* --- ARCHIVE INDEX — the base template appends older entries in a SECOND
       homepage container (a flex-column stack of bare <a> chips on a hardcoded
       white ground → the "full-width title-only rows with empty space right"
       M7 flagged). Restyle that container as a 3-up cream magazine index with
       the SAME paper / border / radius / shadow / hover as the journal cards so
       the bottom of the page shares one design system. Structural selectors
       only: the grid container has `> div` children, this archive has `> a`
       children; scoped to homepage (article pages lack `> div > div > h2`). --- */
:root main:has(> div > div > h2) > div:has(> a) {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 16px;
  margin-top: 48px;
}
:root main:has(> div > div > h2) > div:has(> a) > a {
  display: block; align-self: stretch;
  background: var(--paper);
  border: 1px solid rgba(63,33,40,.12);
  border-radius: var(--r);
  box-shadow: 0 1px 4px rgba(20,16,12,.05);
  padding: 18px 22px;
  color: var(--primary); text-decoration: none;
  font-family: var(--fh), Cambria, serif;
  font-size: 16px; font-weight: 500; line-height: 1.32; letter-spacing: 0;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
:root main:has(> div > div > h2) > div:has(> a) > a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(20,16,12,.10);
  border-color: rgba(92,124,143,.5);
  color: var(--accent);
}

/* ==================================================================
   ARTICLE PAGE
   ================================================================== */
:root main:has(> article) { max-width: 720px; padding-bottom: 80px; }
:root main:has(> article) > h1 {
  font-family: var(--fh), Cambria, serif; font-style: italic; font-weight: 400;
  font-size: 42px; line-height: 1.13; color: var(--primary); letter-spacing: 0; margin: 6px 0 8px;
}
:root main:has(> article) > time {
  display: block; font-family: var(--fm), sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 34px;
}
:root main:has(> article) > time::after { content: " · Von Jana Voßkuhle · 6 Min Lesezeit"; }

/* hero image */
:root main > article > div[role="img"] { margin: 0 0 34px; text-align: center; }
:root main > article > div[role="img"] > img {
  width: 100%; height: auto; display: block; border-radius: var(--r);
  box-shadow: 0 3px 16px rgba(14,10,16,.12);
}

/* body */
:root main > article > p { font-family: var(--fb), Georgia, serif; font-size: 19px; line-height: 1.8; margin-bottom: 22px; color: #241c1a; }
/* drop cap on the opening paragraph */
:root main > article > div[role="img"] + p::first-letter {
  font-family: var(--fh), Cambria, serif; font-style: italic; font-weight: 600;
  font-size: 62px; line-height: .74; float: left; padding: 8px 12px 0 0; color: var(--moment);
}
/* affiliate disclosure = 2nd paragraph */
:root main > article > div[role="img"] + p + p {
  font-size: 14px; font-style: italic; line-height: 1.6; color: #6b5d52;
  border-left: 2px solid rgba(92,124,143,.42); padding-left: 16px; margin: 0 0 30px;
}
:root main > article > div[role="img"] + p + p::first-letter { font-size: inherit; float: none; padding: 0; color: inherit; font-style: italic; }

/* section headings with ❦ dinkus */
:root main > article > h2 {
  font-family: var(--fh), Cambria, serif; font-weight: 600; font-size: 28px;
  color: var(--primary); line-height: 1.2; margin: 1.9em 0 .5em; letter-spacing: 0;
}
:root main > article > h2::before {
  content: "❦"; display: block; text-align: center; color: var(--accent);
  font-size: 20px; font-weight: 400; margin: 0 0 .55em;
}
:root main > article > h3 {
  font-family: var(--fh), Cambria, serif; font-style: italic; font-weight: 400;
  font-size: 21px; color: var(--accent); margin: 1.6em 0 .4em;
}
:root main > article ul, :root main > article ol { margin: 0 0 22px 24px; }
:root main > article li { margin-bottom: 8px; line-height: 1.7; }

:root main > article > blockquote {
  border-left: 3px solid var(--accent); background: rgba(92,124,143,.08);
  padding: 16px 22px 16px 44px; margin: 30px 0; border-radius: 0 var(--r) var(--r) 0;
  font-family: var(--fh), Cambria, serif; font-style: italic; font-size: 20px;
  line-height: 1.5; color: var(--primary); position: relative;
}
:root main > article > blockquote::before {
  content: "\201C"; position: absolute; left: 12px; top: 6px;
  font-family: var(--fh), Cambria, serif; font-size: 46px; color: var(--accent); line-height: 1;
}

/* body links + inline affiliate links (RULE J: same full path + attr wins) */
: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: 500;
}
:root main > article > p a:hover { color: var(--accent); text-decoration-color: var(--primary); }
/* Affiliate / product CTA — distinct solid pill BUTTON, not a prose link (M10).
   Reuses the masthead "Neuester Eintrag" pill language: solid accent ground,
   cream text, sans face, rounded, arrow affordance → unmistakably a button,
   clearly differentiated from the underlined maroon inline prose links above. */
:root main > article > p a[href^="/check/"], :root main > article > p a[href^="/ref/"],
:root main > article > p a[href^="/try/"], :root main > article > p a[href^="/go/"],
:root main > article > p a[href^="/out/"], :root main > article > p a[href^="/partner/"] {
  display: inline-block; vertical-align: baseline;
  background: var(--accent); color: var(--bg);
  font-family: var(--fm), sans-serif; font-weight: 700; font-size: 14.5px;
  letter-spacing: .03em; line-height: 1.3;
  padding: 3px 15px 4px; border-radius: 22px;
  text-decoration: none; box-shadow: 0 1px 3px rgba(20,16,12,.16);
  transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
}
:root main > article > p a[href^="/check/"]::after, :root main > article > p a[href^="/ref/"]::after,
:root main > article > p a[href^="/try/"]::after, :root main > article > p a[href^="/go/"]::after,
:root main > article > p a[href^="/out/"]::after, :root main > article > p a[href^="/partner/"]::after {
  content: " \2192"; font-weight: 700;
}
:root main > article > p a[href^="/check/"]:hover, :root main > article > p a[href^="/ref/"]:hover,
:root main > article > p a[href^="/try/"]:hover, :root main > article > p a[href^="/go/"]:hover,
:root main > article > p a[href^="/out/"]:hover, :root main > article > p a[href^="/partner/"]:hover {
  background: var(--primary); color: var(--bg); transform: translateY(-1px);
  box-shadow: 0 3px 9px rgba(20,16,12,.22);
}

/* YMYL / disclaimer aside — soft warm callout (preserve distinct box) */
:root main > article > aside {
  background: #F7EFD6; border-left: 4px solid var(--accent); border-radius: 0 var(--r) var(--r) 0;
  padding: 16px 22px; margin: 38px 0 0; font-family: var(--fm), sans-serif; font-style: italic;
  font-size: 14px; line-height: 1.6; color: #5b4a34;
}

/* related articles */
:root main:has(> article) > div:has(> h3) { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); }
:root main:has(> article) > div:has(> h3) > h3 {
  font-family: var(--fh), Cambria, serif; font-style: italic; font-weight: 400;
  font-size: 21px; color: var(--primary); margin-bottom: 14px;
}
:root main:has(> article) > div:has(> h3) > div { display: flex; flex-direction: column; gap: 2px; }
:root main:has(> article) > div:has(> h3) > div > a {
  display: block; background: var(--paper); box-shadow: none;
  padding: 12px 16px; border-radius: var(--r); border: 1px solid rgba(63,33,40,.1); margin-bottom: 8px;
  color: var(--primary); text-decoration: none; font-family: var(--fb), Georgia, serif;
  font-size: 16px; line-height: 1.4; transition: border-color .16s ease, transform .16s ease;
}
:root main:has(> article) > div:has(> h3) > div > a:hover { border-color: var(--accent); transform: translateX(3px); }

/* ==================================================================
   FOOTER
   ================================================================== */
:root body > footer { background: transparent; border-top: 1px solid var(--border); padding: 26px 0 40px; margin-top: 64px; text-align: center; }
:root body > footer small { font-family: var(--fm), sans-serif; font-size: 12px; letter-spacing: .06em; color: var(--fg); opacity: .62; }
:root body > footer a { color: var(--primary); text-decoration: none; border-bottom: 1px dotted var(--border); }
:root body > footer a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ==================================================================
   RESPONSIVE
   ================================================================== */
@media (max-width: 680px) {
  :root body > header:has(h1) { padding: 54px 0 44px; margin-bottom: 44px; }
  :root body > header:has(h1) h1 { font-size: 38px; }

  /* 2-col base: feature cards span both (full-width), tail tiles 2-up. M7 fix. */
  :root main > div:has(> div > h2) { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  /* hero + editor's picks + journal stay full-width, one readable card per row */
  :root main > div > div:nth-child(n+5):nth-child(-n+10):has(> h2) { grid-column: 1 / -1; }
  /* compact archive tail → coherent 2-up equal-height index, not a 1-col stack */
  :root main > div > div:nth-child(n+11):has(> h2) {
    grid-column: span 1; padding: 13px 14px 14px; min-height: 78px;
  }
  /* archive index (Header_inner) → 2-up cream chips on mobile, not a white stack */
  :root main:has(> div > div > h2) > div:has(> a) {
    grid-template-columns: repeat(2, 1fr); gap: 8px 10px; margin-top: 34px;
  }
  :root main:has(> div > div > h2) > div:has(> a) > a { padding: 13px 14px; font-size: 15px; }

  :root main > div > div:nth-child(1) { grid-template-columns: 1fr; padding: 34px 26px 36px; }
  /* keep the floating pill aligned to the narrower mobile card padding (M4b) */
  :root main > div > div:nth-child(1)::before { left: 24px; }
  :root main > div > div:nth-child(1) > h2 { font-size: 30px; }
  :root main > div > div:nth-child(1) > h2 + p { font-size: 18px; }
  :root main > div > div:nth-child(1)::after {
    grid-column: 1; grid-row: auto; border-left: 0; border-top: 1px solid rgba(63,33,40,.18);
    padding-left: 0; padding-top: 18px; margin-top: 8px; align-self: start;
  }

  :root main > div > div:nth-child(n+5):last-child { min-height: 150px; margin: 8px 0 2px; }

  :root main:has(> article) > h1 { font-size: 33px; }
  :root main > article > p { font-size: 18px; }
  :root main > article > div[role="img"] + p::first-letter { font-size: 52px; }
}


/* 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=Cereal-Nordic overlay=25% grid=mixed scale=balanced family=astro-grid */

/* ── HERO STRIPS: site-level atmospheric photos (overlay 25%) ── */
: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.25) 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.25) 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; }
}

