*{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-hCTJks2j{max-width:860px;margin:0 auto;padding:0 20px}
.astro-iHPg9BlM{background:#fff;padding:28px 0;margin-bottom:32px;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.astro-iHPg9BlM h1{font-size:22px;font-weight:700;margin-bottom:2px}
.astro-iHPg9BlM p{font-size:14px;color:#666}
.astro-iHPg9BlM a{color:#333;text-decoration:none;font-size:18px;font-weight:700}
.astro-kKRrOJhn{display:flex;flex-direction:column;gap:20px}
.astro-lTCPrmDi{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-lTCPrmDi:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,.1)}
.astro-lTCPrmDi h2{font-size:19px;margin-bottom:6px}
.astro-lTCPrmDi h2 a{color:#1a1a1a;text-decoration:none}
.astro-lTCPrmDi .astro-6p43dR6l{font-size:12px;color:#999;margin-bottom:8px}
.astro-lTCPrmDi p{font-size:14px;color:#555;margin-bottom:12px}
.astro-bCOVMEkM{display:inline-block;background:#5865f2;color:#fff;padding:6px 16px;border-radius:20px;font-size:13px;font-weight:600;text-decoration:none}
.astro-bCOVMEkM:hover{background:#4752c4}
.astro-AEpUj67u{padding-bottom:60px}
.astro-AEpUj67u h1{font-size:30px;font-weight:700;margin-bottom:8px}
.astro-AEpUj67u time{font-size:12px;color:#999;display:block;margin-bottom:24px}
.astro-AEpUj67u h2{font-size:22px;margin:32px 0 12px}
.astro-AEpUj67u h3{font-size:18px;margin:24px 0 8px}
.astro-AEpUj67u p{margin-bottom:16px}
.astro-AEpUj67u ul,.astro-AEpUj67u ol{margin:0 0 16px 24px}
.astro-AEpUj67u a{color:#5865f2}
.astro-AEpUj67u img{max-width:100%;height:auto;border-radius:12px;margin:16px 0}
.astro-xJA2JIzf{padding:24px 0;margin-top:40px;text-align:center;font-size:12px;color:#999}
.astro-xJA2JIzf a{color:#999;text-decoration:none}
.astro-5D5F90er{background:#e8eaf0;border-radius:8px;padding:12px 16px;margin-bottom:20px;font-size:13px;color:#888;font-style:italic}
.astro-O7wKOGfW{background:#fff8e1;border-radius:8px;padding:12px 16px;margin-top:24px;font-size:12px;color:#9e8600}
.astro-K1dfHg8z{display:inline-block;background:#f0f2f7;border-radius:12px;padding:4px 12px;margin:-18px 0 24px;font-size:12px;color:#777}
.astro-QrYWDhcW{text-align:center;margin:0 0 24px}
.astro-Yb8NO0PN{max-width:100%;height:auto;border-radius:12px}
.astro-Q89K8htc{margin-top:32px;padding-top:20px;border-top:1px solid #e0e0e0}
.astro-Q89K8htc 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-QzCFfLQH{display:flex;flex-direction:column;gap:8px;margin-top:20px}
.astro-1s1j8Nq4{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-1s1j8Nq4:hover{box-shadow:0 2px 8px rgba(0,0,0,.1)}
/* === Theme === */
:root{--primary:#5C2E4A;--accent:#C9A86A;--bg:#F5EAE3;--fg:#1F0F1A;--border:#C4A8A0;--r:42px;--fb:'Cabin';--fh:'Cardo'}
/* === Custom === */
@import url('https://fonts.googleapis.com/css2?family=Cardo:ital,wght@0,400;0,700;1,400&family=Cabin:ital,wght@0,400;0,500;0,600;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.78; font-size: 16.5px; }
::selection { background: var(--accent); color: var(--fg); }
:root hr { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }

:root > body > header { background: var(--primary); color: var(--bg); padding: 56px 0 38px; margin-bottom: 44px; border-bottom: 4px solid var(--accent); }
:root > body > header > div { max-width: 720px; margin: 0 auto; padding: 0 24px; }
:root > body > header h1 { font-family: var(--fh), Cambria, serif; font-size: 40px; font-weight: 700; color: var(--bg); line-height: 1.14; margin-bottom: 8px; letter-spacing: -0.005em; }
:root > body > header p { font-family: var(--fb), system-ui, sans-serif; font-size: 15px; color: rgba(245, 234, 227, .82); font-style: italic; max-width: 600px; }
:root > body > header span > a { font-family: var(--fh), Cambria, serif; font-size: 26px; color: var(--bg); text-decoration: none; font-weight: 700; }

:root main { max-width: 720px; margin: 0 auto; padding: 0 24px 80px; }

:root main > h1 { font-family: var(--fh), Cambria, serif; font-size: 34px; font-weight: 700; color: var(--primary); line-height: 1.20; margin: 8px 0 6px; }
:root main > time { display: block; font-family: var(--fb), system-ui, sans-serif; font-size: 12px; color: var(--accent); margin-bottom: 30px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }

:root main > article > p { margin-bottom: 16px; font-size: 16.5px; line-height: 1.8; }
:root main > article > h2 { font-family: var(--fh), Cambria, serif; font-size: 25px; font-weight: 700; color: var(--primary); margin: 2.5em 0 0.5em; padding-bottom: 6px; border-bottom: 1px solid var(--accent); }
:root main > article > h3 { font-family: var(--fh), Cambria, serif; font-size: 19px; font-weight: 400; color: var(--accent); margin: 24px 0 10px; font-style: italic; }
:root main > article ul, :root main > article ol { margin: 0 0 16px 24px; }
:root main > article li { margin-bottom: 6px; font-size: 16px; }
:root main > article li strong { color: var(--primary); font-weight: 600; }
:root main > article blockquote { border-left: 3px solid var(--accent); padding: 10px 0 10px 20px; margin: 24px 0; font-style: italic; color: var(--primary); background: rgba(201, 168, 106, .09); border-radius: 0 var(--r) var(--r) 0; }
:root main > article > p strong { color: var(--primary); font-weight: 600; }
:root main > article > p em { color: var(--accent); font-style: italic; }

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

:root main > article > p a[href^="/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/"], :root main > article > p a[href^="/out/"], :root main > article > p a[href^="/choice/"] { background: var(--accent); color: var(--fg); padding: 3px 14px; border-radius: var(--r); text-decoration: none; font-weight: 700; font-family: var(--fh), Cambria, serif; font-size: 14.5px; letter-spacing: .02em; }
:root main > article > p a[href^="/ref/"]:hover, :root main > article > p a[href^="/try/"]:hover, :root main > article > p a[href^="/check/"]:hover, :root main > article > p a[href^="/partner/"]:hover, :root main > article > p a[href^="/go/"]:hover, :root main > article > p a[href^="/out/"]:hover, :root main > article > p a[href^="/choice/"]:hover { background: var(--primary); color: var(--bg); }

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

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

:root main > div > div:has(> h2) { background: #FFFFFF; border: 1px solid var(--border); border-left: 5px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; padding: 22px 24px; margin-bottom: 20px; box-shadow: 0 1px 8px rgba(31, 15, 26, .06); transition: transform .15s ease, box-shadow .15s ease, border-left-color .15s ease; }
:root main > div > div:has(> h2):hover { transform: translateX(2px); box-shadow: 0 4px 14px rgba(31, 15, 26, .10); border-left-color: var(--primary); }
:root main > div > div:has(> h2) > p:first-child { font-family: var(--fb), system-ui, sans-serif; font-size: 11px; color: var(--accent); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; font-weight: 700; }
:root main > div > div:has(> h2) > h2 { font-family: var(--fh), Cambria, serif; font-size: 23px; font-weight: 700; margin-bottom: 8px; line-height: 1.22; padding-bottom: 0; border-bottom: 0; }
: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) > p:not(:first-child) { font-family: var(--fb), system-ui, sans-serif; font-size: 14.5px; color: var(--fg); opacity: .82; margin-bottom: 14px; }
:root main > div > div:has(> h2) > a:last-child { font-family: var(--fb), system-ui, sans-serif; font-size: 12.5px; color: var(--bg); background: var(--primary); padding: 7px 18px; border-radius: var(--r); text-decoration: none; letter-spacing: .04em; font-weight: 600; display: inline-block; }
:root main > div > div:has(> h2) > a:last-child:hover { background: var(--accent); color: var(--fg); }

:root main > div:has(> h3) { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--accent); }
:root main > div:has(> h3) > h3 { font-family: var(--fh), Cambria, serif; font-size: 16px; color: var(--primary); margin-bottom: 14px; font-weight: 700; letter-spacing: .03em; }
:root main > div:has(> h3) > div { display: grid; grid-template-columns: 1fr; gap: 8px; }
:root main > div:has(> h3) > div > a { display: block; padding: 12px 18px; background: #FFFFFF; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; color: var(--fg); text-decoration: none; font-family: var(--fb), system-ui, sans-serif; font-size: 14.5px; line-height: 1.40; transition: border-left-color .15s ease, transform .12s ease; }
:root main > div:has(> h3) > div > a:hover { border-left-color: var(--primary); color: var(--primary); transform: translateX(2px); }

:root footer { background: transparent; border-top: 1px solid var(--border); padding: 24px 0 36px; margin-top: 56px; text-align: center; font-family: var(--fb), system-ui, sans-serif; font-size: 12.5px; color: var(--fg); opacity: .62; letter-spacing: .03em; font-style: italic; }
:root footer a { color: var(--fg); text-decoration: none; border-bottom: 1px dotted var(--border); font-style: normal; }
:root footer a:hover { color: var(--primary); border-bottom-color: var(--primary); }

/* === R2 fixes (2026-06-06T12:50:03.716114+00:00) === */
:root main > article > p + p { margin-top: 1.25em; }
:root main > article strong { background-color: transparent; }
.astro-Q89K8htc { margin-top: 3em; padding-top: 1.5em; border-top: 1px solid rgba(0,0,0,0.08); }
.astro-6p43dR6l { font-size: 0.8em; letter-spacing: 0.02em; opacity: 0.6; }

/* === R3 fixes (2026-06-06T13:30:07.835291+00:00) === */
: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/"], :root main > article > p a[href^="/out/"], :root main > article > p a[href^="/choice/"] { background: rgba(201, 168, 106, 0.15); color: var(--primary); padding: 2px 7px; border-radius: 3px; font-weight: 600; font-family: inherit; font-size: inherit; text-decoration: underline; text-decoration-color: rgba(201, 168, 106, 0.55); text-underline-offset: 2px; }
: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, :root main > article > p a[href^="/out/"]:hover, :root main > article > p a[href^="/choice/"]:hover { background: rgba(201, 168, 106, 0.28); color: var(--primary); text-decoration-color: rgba(201, 168, 106, 0.85); }
:root main > div > div:has(> h2):first-child { border-left: 5px solid var(--primary); background: rgba(92, 46, 74, 0.025); }

/* === R4 fixes (2026-06-06T14:10:03.857476+00:00) === */
.astro-K1dfHg8z { display: block; font-family: var(--fb), system-ui, sans-serif; font-size: 11px; color: var(--accent); letter-spacing: .10em; text-transform: uppercase; font-weight: 600; opacity: 0.65; margin-top: 2px; margin-bottom: 28px; }
:root main > article > div:has(> img) { margin: 24px 0 30px; }

/* v.11fcff — layout revision */
/* Editorial signature pass for mf-fuehr-de (Wieder am Steuer).
   Persona marks every bad week with "einen kleinen Punkt" in her notebook,
   so the dot triad "·  ·  ·" is the site signature (masthead / dinkus / footer).
   Structure: photo masthead + italic wordmark + manifesto -> loud hero with
   drop cap -> two-card Editor's-Picks pair -> IN SCHREIBREIHENFOLGE photo strip
   -> chronological journal grid -> DAS ARCHIV photo strip -> full-width archive
   index. Moment colour --moment #4A5C6B appears in EXACTLY two places: the
   masthead manifesto rule and the hero drop cap. Every inherited #fff surface
   is replaced with a warm paper tone. Stable astro-* class names (present in
   both live HTML and the deployed app.css) are used for reliable targeting. */

:root { --surface: #FBF4EA; --surface-alt: #F7EEDF; --moment: #4A5C6B; }

/* ---------- MASTHEAD (shared by both templates) ---------- */
:root > body > header {
  background: linear-gradient(176deg, rgba(48,24,38,.74) 0%, rgba(40,20,32,.90) 100%), url("/theme-assets/masthead-bg.jpg");
  background-size: cover;
  background-position: center 42%;
  padding: 66px 0 46px;
  margin-bottom: 0;
  border-bottom: 3px solid var(--accent);
}
:root > body > header > div { position: relative; max-width: 860px; }
:root > body > header > div::before {
  content: "·  ·  ·";
  display: block;
  font-family: var(--fh), Cambria, serif;
  font-size: 18px;
  letter-spacing: .55em;
  color: var(--accent);
  opacity: .9;
  margin-bottom: 14px;
}
:root > body > header h1 {
  font-family: var(--fh), Cambria, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--bg);
  margin-bottom: 0;
}
/* manifesto — moment-colour accent #1 of 2 */
:root > body > header p {
  margin-top: 16px;
  padding-left: 16px;
  border-left: 2px solid var(--moment);
  max-width: 560px;
  font-family: var(--fb), system-ui, sans-serif;
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.62;
  color: rgba(245,234,227,.86);
}
:root > body > header span > a {
  font-family: var(--fh), Cambria, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 27px;
  color: var(--bg);
  text-decoration: none;
}

/* ---------- HOMEPAGE: magazine measure ---------- */
:root main:not(:has(> article)) { max-width: 1080px; padding: 56px 24px 0; }

/* feed wrapper -> editorial grid */
:root main:not(:has(> article)) > div.astro-kKRrOJhn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 30px;
  align-items: stretch;
  margin: 0;
}

/* IN SCHREIBREIHENFOLGE — feature-photo strip pinned between picks (row 2) and journal (row 4+) */
:root main:not(:has(> article)) > div.astro-kKRrOJhn::before {
  content: "In Schreibreihenfolge";
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 190px;
  margin: 6px 0 2px;
  padding: 0 30px;
  border-radius: 10px;
  background: linear-gradient(rgba(20,24,28,.55), rgba(20,24,28,.25)), url("/theme-assets/feature-photo.jpg");
  background-size: cover;
  background-position: center 30%;
  color: #F5EAE3;
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

/* ---------- card base: warm paper, soft frame, equal heights ---------- */
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi {
  background: var(--surface);
  border: 1px solid rgba(92,46,74,.14);
  border-radius: 9px;
  box-shadow: 0 1px 4px rgba(31,15,26,.05);
  padding: 26px 32px 28px;
  margin: 0;
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(31,15,26,.10);
}
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi > p.astro-6p43dR6l {
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 1;
  margin-bottom: 10px;
}
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi h2 {
  font-family: var(--fh), Cambria, serif;
  font-size: 20px;
  line-height: 1.24;
  font-weight: 700;
  margin: 0 0 10px;
}
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi h2 a,
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi h2 a:visited { color: var(--primary); text-decoration: none; }
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi h2 a:hover { color: var(--accent); }
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi > p:not(.astro-6p43dR6l) {
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.62;
  color: var(--fg);
  opacity: .82;
  margin: 0 0 16px;
  max-width: 62ch;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi > a.astro-bCOVMEkM {
  margin-top: auto;
  align-self: flex-start;
  background: var(--primary);
  color: var(--bg);
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 0;
  text-decoration: none;
}
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi > a.astro-bCOVMEkM::before {
  content: "Weiterlesen \002192";
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi > a.astro-bCOVMEkM:hover { background: var(--accent); color: var(--fg); }

/* ---------- HERO (card 1, full width, row 1) ---------- */
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi:nth-child(1) {
  grid-column: 1 / -1;
  grid-row: 1;
  position: relative;
  overflow: hidden;
  background: var(--surface-alt);
  border: 1px solid rgba(92,46,74,.16);
  border-left: 6px solid var(--primary);
  border-radius: 10px;
  padding: 44px 48px 42px;
}
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi:nth-child(1)::before {
  content: "Neuester Eintrag · Von Annika Brunner · 6 Min Lesezeit";
  display: block;
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
/* watermark fills the empty right column (balanced layout) */
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi:nth-child(1)::after {
  content: "Sonntag";
  position: absolute;
  right: -6px;
  bottom: -34px;
  font-family: var(--fh), Cambria, serif;
  font-style: italic;
  font-size: 122px;
  line-height: 1;
  color: rgba(92,46,74,.06);
  pointer-events: none;
  z-index: 0;
}
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi:nth-child(1) > * { position: relative; z-index: 1; }
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi:nth-child(1) > p.astro-6p43dR6l { color: var(--accent); }
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi:nth-child(1) h2 { font-size: 40px; line-height: 1.12; margin-bottom: 16px; max-width: 15ch; }
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi:nth-child(1) > p:not(.astro-6p43dR6l) {
  font-size: 17.5px;
  line-height: 1.55;
  opacity: .9;
  max-width: 56ch;
  display: block;
  -webkit-line-clamp: none;
  overflow: visible;
}
/* drop cap — moment-colour accent #2 of 2 */
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi:nth-child(1) > p:not(.astro-6p43dR6l)::first-letter {
  float: left;
  font-family: var(--fh), Cambria, serif;
  font-weight: 700;
  font-size: 62px;
  line-height: .8;
  padding: 6px 12px 0 0;
  color: var(--moment);
}
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi:nth-child(1) > a.astro-bCOVMEkM {
  background: transparent;
  border: 1.5px solid var(--primary);
  padding: 10px 24px;
}
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi:nth-child(1) > a.astro-bCOVMEkM::before { color: var(--primary); }
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi:nth-child(1) > a.astro-bCOVMEkM:hover { background: var(--primary); }
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi:nth-child(1) > a.astro-bCOVMEkM:hover::before { color: var(--bg); }

/* ---------- EDITOR'S PICKS pair (cards 2-3, row 2) ---------- */
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi:nth-child(2),
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi:nth-child(3) {
  margin-top: 30px;
  border-top: 3px solid var(--accent);
}
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi:nth-child(2) { position: relative; }
:root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi:nth-child(2)::before {
  content: "Empfohlen — fang hier an, wenn du neu bist";
  position: absolute;
  left: 0;
  bottom: calc(100% + 14px);
  width: calc(200% + 30px);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(92,46,74,.22);
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
  white-space: nowrap;
}

/* ---------- ARCHIVE TAIL: DAS ARCHIV strip + full-width index ---------- */
:root main:not(:has(> article)) > div.astro-QzCFfLQH {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 16px;
  align-items: stretch;
  margin-top: 88px;
  padding: 0;
}
:root main:not(:has(> article)) > div.astro-QzCFfLQH::before {
  content: "Das Archiv";
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 210px;
  margin-bottom: 30px;
  padding: 0 30px;
  border-radius: 10px;
  background: linear-gradient(rgba(20,24,28,.55), rgba(20,24,28,.22)), url("/theme-assets/feature-photo.jpg");
  background-size: cover;
  background-position: center 70%;
  color: #F5EAE3;
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
:root main:not(:has(> article)) > div.astro-QzCFfLQH > a.astro-1s1j8Nq4 {
  display: block;
  height: 100%;
  box-sizing: border-box;
  background: var(--surface);
  border: 1px solid rgba(92,46,74,.14);
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(31,15,26,.05);
  padding: 18px 20px;
  font-family: var(--fh), Cambria, serif;
  font-size: 15px;
  line-height: 1.4;
  color: var(--primary);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
:root main:not(:has(> article)) > div.astro-QzCFfLQH > a.astro-1s1j8Nq4:hover {
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(31,15,26,.10);
}

/* ---------- ARTICLE PAGE: display title, dinkus, drop cap, related ---------- */
:root main:has(> article) { padding-bottom: 40px; }
:root main:has(> article) > h1 { font-size: 42px; line-height: 1.14; }
/* S6 — persona anchor byline above the article date */
:root main:has(> article) > time::before {
  content: "Von Annika Brunner · 6 Min Lesezeit";
  display: block;
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}
:root main:has(> article) > article > p:first-of-type::first-letter {
  float: left;
  font-family: var(--fh), Cambria, serif;
  font-weight: 700;
  font-size: 58px;
  line-height: .8;
  padding: 8px 12px 0 0;
  color: var(--primary);
}
:root main:has(> article) > article > h2 { border-bottom: 0; padding-bottom: 0; margin-top: 2.3em; }
:root main:has(> article) > article > h2::before {
  content: "·   ·   ·";
  display: block;
  text-align: center;
  font-family: var(--fh), Cambria, serif;
  font-size: 20px;
  letter-spacing: .5em;
  color: var(--accent);
  opacity: .8;
  margin: 0 0 .7em;
}
:root main:has(> article) > div.astro-Q89K8htc { margin-top: 3.2em; padding-top: 1.6em; border-top: 1px solid rgba(92,46,74,.16); }
:root main:has(> article) > div.astro-Q89K8htc > h3 {
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
:root main:has(> article) > div.astro-Q89K8htc > div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
:root main:has(> article) > div.astro-Q89K8htc > div > a {
  display: block;
  background: var(--surface);
  box-shadow: none;
  border: 1px solid rgba(92,46,74,.14);
  border-left: 3px solid var(--accent);
  border-radius: 0 7px 7px 0;
  padding: 14px 18px;
  font-family: var(--fh), Cambria, serif;
  font-size: 15px;
  line-height: 1.35;
  color: var(--primary);
  text-decoration: none;
}
:root main:has(> article) > div.astro-Q89K8htc > div > a:hover { border-left-color: var(--primary); background: var(--surface-alt); }

/* ---------- FOOTER: solid wine close, dot sign-off, kills cream void ---------- */
:root footer {
  margin-top: 0;
  padding: 40px 0 46px;
  background: var(--primary);
  border-top: 3px solid var(--accent);
  color: rgba(245,234,227,.74);
  opacity: 1;
  font-style: italic;
}
:root footer > div { position: relative; }
:root footer > div::before {
  content: "·  ·  ·";
  display: block;
  text-align: center;
  font-family: var(--fh), Cambria, serif;
  font-size: 16px;
  letter-spacing: .5em;
  color: var(--accent);
  opacity: .85;
  margin-bottom: 14px;
}
:root footer small { color: rgba(245,234,227,.74); }
:root footer a { color: var(--bg); border-bottom: 1px dotted rgba(201,168,106,.5); }
:root footer a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- MOBILE ---------- */
@media (max-width: 760px) {
  :root main:not(:has(> article)) { max-width: 100%; padding: 40px 18px 0; }
  :root main:not(:has(> article)) > div.astro-kKRrOJhn { grid-template-columns: 1fr; gap: 38px; }
  :root main:not(:has(> article)) > div.astro-kKRrOJhn::before { grid-row: 4; grid-column: 1 / -1; min-height: 150px; }
  :root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi:nth-child(1) { padding: 28px 24px; }
  :root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi:nth-child(1) h2 { font-size: 29px; }
  :root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi:nth-child(1)::after { display: none; }
  :root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi:nth-child(2) { margin-top: 44px; }
  :root main:not(:has(> article)) > div.astro-kKRrOJhn > div.astro-lTCPrmDi:nth-child(2)::before { width: 100%; white-space: normal; }
  :root main:not(:has(> article)) > div.astro-QzCFfLQH { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  :root main:has(> article) > div.astro-Q89K8htc > div { grid-template-columns: 1fr; }
  :root > body > header h1 { font-size: 33px; }
}


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


/* === iter2 M10 fix — affiliate CTA pill visibility ===
   In-body affiliate links (/out/main "den MPU Masterplan Alkohol", /out/alt-1,
   and the rest of the /ref//try//go/… family) had been flattened by the R3 pass
   into an inherit-size, underlined, 15%-opacity chip that read as a normal prose
   link. Restore a distinct SOLID pill: gold ground, near-black text, no
   underline, bold — unmistakably a CTA button and clearly differentiated from
   the wine + accent-underline prose links. Same selector as the R3 rule but
   later in source order → wins on cascade without disturbing anything else. */
: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/"],
:root main > article > p a[href^="/out/"],
:root main > article > p a[href^="/choice/"] {
  background: var(--accent);
  color: var(--fg);
  padding: 3px 15px;
  border-radius: var(--r);
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(31, 15, 26, .12);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
: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,
:root main > article > p a[href^="/out/"]:hover,
:root main > article > p a[href^="/choice/"]:hover {
  background: var(--primary);
  color: var(--bg);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(31, 15, 26, .18);
}


/* premium-upgrade v1 */
/* premium editorial upgrade — style=Cup-of-Jo-personal overlay=40% grid=asymmetric scale=balanced family=astro-grid */

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

