*{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-H8x32XaY{max-width:860px;margin:0 auto;padding:0 20px}
.astro-HqeM3UeN{background:#fff;padding:28px 0;margin-bottom:32px;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.astro-HqeM3UeN h1{font-size:22px;font-weight:700;margin-bottom:2px}
.astro-HqeM3UeN p{font-size:14px;color:#666}
.astro-HqeM3UeN a{color:#333;text-decoration:none;font-size:18px;font-weight:700}
.astro-bBrg8FrY{display:flex;flex-direction:column;gap:20px}
.astro-Ju23QpUr{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-Ju23QpUr:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,.1)}
.astro-Ju23QpUr h2{font-size:19px;margin-bottom:6px}
.astro-Ju23QpUr h2 a{color:#1a1a1a;text-decoration:none}
.astro-Ju23QpUr .astro-24hPOvdE{font-size:12px;color:#999;margin-bottom:8px}
.astro-Ju23QpUr p{font-size:14px;color:#555;margin-bottom:12px}
.astro-WexCPqDb{display:inline-block;background:#5865f2;color:#fff;padding:6px 16px;border-radius:20px;font-size:13px;font-weight:600;text-decoration:none}
.astro-WexCPqDb:hover{background:#4752c4}
.astro-mtjFnFLq{padding-bottom:60px}
.astro-mtjFnFLq h1{font-size:30px;font-weight:700;margin-bottom:8px}
.astro-mtjFnFLq time{font-size:12px;color:#999;display:block;margin-bottom:24px}
.astro-mtjFnFLq h2{font-size:22px;margin:32px 0 12px}
.astro-mtjFnFLq h3{font-size:18px;margin:24px 0 8px}
.astro-mtjFnFLq p{margin-bottom:16px}
.astro-mtjFnFLq ul,.astro-mtjFnFLq ol{margin:0 0 16px 24px}
.astro-mtjFnFLq a{color:#5865f2}
.astro-mtjFnFLq img{max-width:100%;height:auto;border-radius:12px;margin:16px 0}
.astro-lcHJUAQr{padding:24px 0;margin-top:40px;text-align:center;font-size:12px;color:#999}
.astro-lcHJUAQr a{color:#999;text-decoration:none}
.astro-7nGOTo84{background:#e8eaf0;border-radius:8px;padding:12px 16px;margin-bottom:20px;font-size:13px;color:#888;font-style:italic}
.astro-VrnEfWlq{background:#fff8e1;border-radius:8px;padding:12px 16px;margin-top:24px;font-size:12px;color:#9e8600}
.astro-tFfrs2BO{display:inline-block;background:#f0f2f7;border-radius:12px;padding:4px 12px;margin:-18px 0 24px;font-size:12px;color:#777}
.astro-g2f5G6tW{text-align:center;margin:0 0 24px}
.astro-6UdoBmQn{max-width:100%;height:auto;border-radius:12px}
.astro-1KIBjfdz{margin-top:32px;padding-top:20px;border-top:1px solid #e0e0e0}
.astro-1KIBjfdz 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-xnyhcpaL{display:flex;flex-direction:column;gap:8px;margin-top:20px}
.astro-R0IpkP1H{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-R0IpkP1H:hover{box-shadow:0 2px 8px rgba(0,0,0,.1)}
/* === Theme === */
:root{--primary:#283648;--accent:#A8867A;--bg:#EFE9D5;--fg:#080C12;--border:#C5BEA0;--moment:#5C6B4A;--r:46px;--fb:'Spectral';--fh:'Fraunces';--fm:'Archivo'}
/* === Custom === */
/* v.08b77c — layout revision */
/* SchnittTagebuch — editorial signature pass. Live DOM is a stable-hash Astro
   build (astro-* classes persist across builds); homepage cards are
   main > div.astro-bBrg8FrY > div.astro-Ju23QpUr, masthead is <header>, article
   pages carry a direct <article> child. Homepage rules are gated with
   main:not(:has(> article)); article rules with main:has(> article). */

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

:root {
  --paper: #faf5ec;    /* warm off-white card surface (never pure #fff) */
  --paper2: #f2ead9;   /* slightly deeper paper for the picks band */
  --mo: #5C6B4A;       /* assigned moment color — used in exactly 2 places */
}

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

/* ============================================================= MASTHEAD */
:root body > header:first-of-type {
  background: linear-gradient(rgba(24, 32, 46, .70), rgba(24, 32, 46, .86)), url("/theme-assets/masthead-bg.jpg") center/cover no-repeat;
  color: var(--bg);
  padding: 66px 24px 54px;
  border-bottom: 3px solid var(--accent);
  text-align: center;
  margin: 0;
}
:root body > header:first-of-type > div:first-child { max-width: 880px; margin: 0 auto; }
:root body > header:first-of-type > div:first-child > h1 {
  font-family: var(--fh), Georgia, serif; font-style: italic; font-weight: 500;
  font-size: clamp(34px, 6.4vw, 58px); line-height: 1.04; letter-spacing: .008em;
  color: var(--bg); margin: 0 0 14px;
}
:root body > header:first-of-type > div:first-child > p {
  font-family: var(--fb), Georgia, serif; font-style: italic; font-weight: 400;
  font-size: 15.5px; line-height: 1.62; color: rgba(239, 233, 213, .90);
  max-width: 600px; margin: 0 auto;
}
/* signature manifesto strap-line */
:root body > header:first-of-type > div:first-child::after {
  content: "Seit 2025 · Jede Woche ein Eintrag vom Küchentisch in Berlin";
  display: block; margin-top: 20px;
  font-family: var(--fm), system-ui, sans-serif; font-weight: 600;
  font-size: 11px; letter-spacing: .30em; text-transform: uppercase;
  color: rgba(168, 134, 122, .95);
}
/* article page: compact masthead with just the wordmark link */
:root body:has(main > article) > header:first-of-type { padding: 26px 24px 24px; margin-bottom: 40px; }
:root body:has(main > article) > header:first-of-type > div:first-child::after { display: none; }
:root body:has(main > article) > header:first-of-type span > a {
  font-family: var(--fh), Georgia, serif; font-style: italic; font-weight: 500;
  font-size: 25px; color: var(--bg); text-decoration: none; letter-spacing: .01em;
}
:root body:has(main > article) > header:first-of-type span > a:hover { color: var(--accent); }

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

/* ============================================================ HOMEPAGE */
/* grid wrapper — the single <div> child of a homepage <main> */
:root main:not(:has(> article)) > div:first-of-type {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px 28px;
  align-items: stretch;
  max-width: 1020px; margin: 78px auto 0; padding: 0 24px;
}

/* --- shared card baseline (beats base .astro white via nth-child weight) --- */
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n) {
  background: var(--paper);
  border: 1px solid rgba(40, 54, 72, .10);
  border-radius: 9px;
  box-shadow: 0 1px 4px rgba(8, 12, 18, .05);
  padding: 26px 32px 28px;
  display: flex; flex-direction: column;
}
/* date / kicker */
:root main:not(:has(> article)) > div:first-of-type > div > p:first-child {
  font-family: var(--fm), system-ui, sans-serif; font-weight: 600;
  font-size: 11.5px; letter-spacing: .20em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 11px; line-height: 1.4;
}
/* title */
:root main:not(:has(> article)) > div:first-of-type > div > h2 {
  font-family: var(--fh), Georgia, serif; font-weight: 500; font-size: 20px;
  line-height: 1.28; letter-spacing: .004em; margin: 0 0 11px;
}
:root main:not(:has(> article)) > div:first-of-type > div > h2 > a { color: var(--primary); text-decoration: none; }
:root main:not(:has(> article)) > div:first-of-type > div > h2 > a:hover { color: var(--accent); }
/* excerpt — clamped to 3 lines so heights stay even within a row */
:root main:not(:has(> article)) > div:first-of-type > div > p:nth-of-type(2) {
  font-family: var(--fb), Georgia, serif; font-size: 15.5px; line-height: 1.62;
  color: rgba(8, 12, 18, .82); margin: 0 0 20px; max-width: 62ch;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
/* CTA — replaces the stock blue "Read Article" button. Attribute selectors
   beat the base .astro class; margin-top:auto pins it to a common baseline. */
:root main:not(:has(> article)) > div:first-of-type > div > a[href^="/"][href$=".html"] {
  margin-top: auto; align-self: flex-start;
  font-family: var(--fm), system-ui, sans-serif; font-weight: 600;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); background: transparent;
  border: 1px solid var(--accent); border-radius: 6px;
  padding: 9px 18px; text-decoration: none; transition: background .15s, color .15s;
}
:root main:not(:has(> article)) > div:first-of-type > div > a[href^="/"][href$=".html"]:hover {
  background: var(--primary); color: var(--bg); border-color: var(--primary);
}

/* --- HERO (first card) — open editorial feature, full width, drop cap --- */
:root main:not(:has(> article)) > div:first-of-type > div:first-child {
  grid-column: 1 / -1; order: 1;
  background: transparent; border: 0; box-shadow: none;
  padding: 4px 6px 0;
}
:root main:not(:has(> article)) > div:first-of-type > div:first-child::before {
  content: "Neuester Eintrag"; display: block;
  font-family: var(--fm), system-ui, sans-serif; font-weight: 600;
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
:root main:not(:has(> article)) > div:first-of-type > div:first-child > p:first-child {
  font-size: 12px; letter-spacing: .18em;
}
:root main:not(:has(> article)) > div:first-of-type > div:first-child > p:first-child::after {
  content: " · Susanne Brunner · Wöchentliches Tagebuch"; color: rgba(8, 12, 18, .55);
}
:root main:not(:has(> article)) > div:first-of-type > div:first-child > h2 {
  font-size: clamp(30px, 4.6vw, 46px); line-height: 1.08; font-weight: 500; margin-bottom: 16px;
}
:root main:not(:has(> article)) > div:first-of-type > div:first-child > p:nth-of-type(2) {
  font-size: 20px; line-height: 1.5; max-width: 60ch; margin-bottom: 24px;
  display: block; -webkit-line-clamp: none; overflow: visible;
}
/* drop cap — MOMENT COLOR use 1 of 2 */
:root main:not(:has(> article)) > div:first-of-type > div:first-child > p:nth-of-type(2)::first-letter {
  font-family: var(--fh), Georgia, serif; font-weight: 600; font-size: 3.4em;
  line-height: .82; float: left; margin: 6px 12px 0 0; color: var(--mo);
}
:root main:not(:has(> article)) > div:first-of-type > div:first-child > a[href^="/"][href$=".html"] {
  background: var(--primary); color: var(--bg); border-color: var(--primary);
  font-size: 12.5px; padding: 11px 24px;
}
:root main:not(:has(> article)) > div:first-of-type > div:first-child > a[href^="/"][href$=".html"]:hover {
  background: var(--accent); color: var(--primary); border-color: var(--accent);
}
/* Editor's Picks section label — sits between hero and the picks band.
   MOMENT COLOR use 2 of 2 (the divider rule). */
:root main:not(:has(> article)) > div:first-of-type > div:first-child::after {
  content: "Redaktionstipps · Zuerst lesen"; display: block;
  margin-top: 36px; padding-top: 18px; border-top: 2px solid var(--mo);
  font-family: var(--fm), system-ui, sans-serif; font-weight: 600;
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--primary);
}

/* --- EDITOR'S PICKS (cards 2 & 3) — paired feature, tinted, accent rule --- */
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(2),
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(3) {
  order: 2; background: var(--paper2); border-top: 3px solid var(--accent);
}
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(2)::before { content: "N° I"; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(3)::before { content: "N° II"; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(2)::before,
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(3)::before {
  display: block; font-family: var(--fh), Georgia, serif; font-style: italic;
  font-size: 14px; color: var(--accent); margin-bottom: 8px;
}

/* --- JOURNAL (cards 4+) — chronological grid keeps the shared card look --- */
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+4) { order: 4; }

/* --- COMPACT ARCHIVE TAIL (last 3 cards) — index rows, no CTA/excerpt --- */
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+5):nth-last-child(-n+3) {
  order: 6; background: var(--paper); border: 0; border-radius: 0;
  border-top: 1px dotted rgba(40, 54, 72, .28); box-shadow: none; padding: 15px 8px 14px;
}
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+5):nth-last-child(-n+3) > h2 {
  font-size: 16px; line-height: 1.3; margin: 0;
}
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+5):nth-last-child(-n+3) > p:first-child {
  margin-bottom: 6px;
}
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+5):nth-last-child(-n+3) > p:nth-of-type(2),
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+5):nth-last-child(-n+3) > a[href^="/"][href$=".html"] {
  display: none;
}

/* --- HERO STRIPS — the two grid-container pseudo-elements become full-row
   grid items acting as photographic section breaks (RULE F). --- */
:root main:not(:has(> article)) > div:first-of-type::before,
:root main:not(:has(> article)) > div:first-of-type::after {
  grid-column: 1 / -1; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--bg); font-family: var(--fm), system-ui, sans-serif; font-weight: 600;
  font-size: 13px; letter-spacing: .32em; text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .5); margin: 10px 0;
}
:root main:not(:has(> article)) > div:first-of-type::before {
  content: "Weiter unten"; order: 3; height: 200px;
  background: linear-gradient(rgba(20, 24, 28, .55), rgba(20, 24, 28, .25)), url("/theme-assets/essay-photo.jpg") center 30% / cover no-repeat;
}
:root main:not(:has(> article)) > div:first-of-type::after {
  content: "Mehr Artikel"; order: 5; height: 212px;
  background: linear-gradient(rgba(20, 24, 28, .55), rgba(20, 24, 28, .25)), url("/theme-assets/essay-photo.jpg") center 70% / cover no-repeat;
}

/* ============================================================= ARTICLE */
:root main:has(> article) > h1 {
  font-family: var(--fh), Georgia, serif; font-weight: 500; font-style: normal;
  font-size: clamp(30px, 4.6vw, 46px); line-height: 1.12; letter-spacing: .006em;
  color: var(--primary); margin: 10px auto 8px; max-width: 720px;
}
:root main:has(> article) > time {
  display: block; max-width: 720px; margin: 0 auto 30px;
  font-family: var(--fm), system-ui, sans-serif; font-weight: 600;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
:root main:has(> article) > article { max-width: 720px; margin: 0 auto; }

:root main:has(> article) > article > div:has(> img) { margin: 0 0 38px; }
:root main:has(> article) > article > div:has(> img) > img {
  width: 100%; height: auto; display: block; border-radius: 9px;
  box-shadow: 0 3px 14px rgba(8, 12, 18, .12);
}

:root main:has(> article) > article > p {
  margin-bottom: 20px; font-size: 18.5px; line-height: 1.78; color: var(--fg);
}
/* opening drop cap (accent, not moment — keeps moment to 2 uses) */
:root main:has(> article) > article > p:first-of-type::first-letter {
  font-family: var(--fh), Georgia, serif; font-weight: 600; font-size: 3.2em;
  line-height: .84; float: left; margin: 6px 10px 0 0; color: var(--primary);
}
:root main:has(> article) > article > h2 {
  font-family: var(--fh), Georgia, serif; font-weight: 500; font-size: 27px;
  line-height: 1.2; color: var(--primary); margin: 52px 0 14px; letter-spacing: .01em;
}
/* dinkus divider before each section heading */
:root main:has(> article) > article > h2::before {
  content: "✳ ✳ ✳"; display: block; text-align: center; letter-spacing: .5em;
  color: var(--accent); font-size: 14px; margin: 0 0 30px; font-weight: 400;
}
:root main:has(> article) > article > h3 {
  font-family: var(--fh), Georgia, serif; font-weight: 500; font-size: 20px;
  color: var(--accent); margin: 34px 0 10px;
}
:root main:has(> article) > article ul,
:root main:has(> article) > article ol { margin: 0 0 20px 24px; }
:root main:has(> article) > article li { margin-bottom: 7px; line-height: 1.7; }
:root main:has(> article) > article blockquote {
  position: relative; border-left: 3px solid var(--accent);
  padding: 8px 0 8px 26px; margin: 30px 0; font-style: italic;
  font-size: 19px; line-height: 1.6; color: var(--primary);
}
:root main:has(> article) > article blockquote::before {
  content: "\201C"; position: absolute; left: 20px; top: -14px;
  font-family: var(--fh), Georgia, serif; font-size: 54px; color: rgba(168, 134, 122, .5); line-height: 1;
}
:root main:has(> article) > article strong { font-weight: 600; color: var(--primary); }

/* body links */
:root main:has(> article) > article > p a,
:root main:has(> article) > 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:has(> article) > article > p a:hover { color: var(--accent); text-decoration-color: var(--primary); }

/* affiliate CTA links — full body-link path + attribute so they strictly beat
   the body-link color rule (RULE J), rendered as a solid pill. */
:root main:has(> article) > article > p a[href^="/ref/"],
:root main:has(> article) > article > p a[href^="/try/"],
:root main:has(> article) > article > p a[href^="/check/"],
:root main:has(> article) > article > p a[href^="/partner/"],
:root main:has(> article) > article > p a[href^="/go/"],
:root main:has(> article) > article > li a[href^="/ref/"],
:root main:has(> article) > article > li a[href^="/try/"],
:root main:has(> article) > article > ul a[href^="/ref/"],
:root main:has(> article) > article > ul a[href^="/try/"] {
  display: inline-block; background: var(--accent); color: var(--bg);
  border-radius: 6px; padding: 4px 15px; margin: 2px 0; text-decoration: none;
  font-family: var(--fm), system-ui, sans-serif; font-weight: 600;
  font-size: 13.5px; letter-spacing: .03em;
}
:root main:has(> article) > article > p a[href^="/ref/"]:hover,
:root main:has(> article) > article > p a[href^="/try/"]:hover,
:root main:has(> article) > article > p a[href^="/check/"]:hover,
:root main:has(> article) > article > p a[href^="/partner/"]:hover,
:root main:has(> article) > article > p a[href^="/go/"]:hover,
:root main:has(> article) > article > li a[href^="/ref/"]:hover,
:root main:has(> article) > article > li a[href^="/try/"]:hover,
:root main:has(> article) > article > ul a[href^="/ref/"]:hover,
:root main:has(> article) > article > ul a[href^="/try/"]:hover {
  background: var(--primary); color: var(--bg);
}

/* disclosure / caption block */
:root main:has(> article) > article > div:has(> em) {
  border-left: 4px solid var(--accent); border-radius: 0 8px 8px 0;
  padding: 12px 18px; margin-top: 34px; font-size: 13.5px; color: var(--fg);
  font-family: var(--fb), Georgia, serif; font-style: italic;
  background: rgba(168, 134, 122, .10);
}
:root main:has(> article) > article > div:has(> em) em {
  font-family: var(--fm), system-ui, sans-serif; font-style: normal; color: var(--primary);
  text-transform: uppercase; font-size: 11px; letter-spacing: .14em;
  display: inline-block; margin-right: 8px; font-weight: 700;
}

/* related-articles footer block */
:root main:has(> article) > div:last-child {
  max-width: 720px; margin: 56px auto 0; padding-top: 26px; border-top: 2px solid var(--accent);
}
:root main:has(> article) > div:last-child > h3 {
  font-family: var(--fm), system-ui, sans-serif; font-weight: 600;
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--primary); margin: 0 0 14px;
}
:root main:has(> article) > div:last-child > div > a {
  display: block; padding: 11px 0; border-bottom: 1px dotted rgba(40, 54, 72, .20);
  font-family: var(--fh), Georgia, serif; font-size: 17px; color: var(--primary); text-decoration: none;
}
:root main:has(> article) > div:last-child > div > a:last-child { border-bottom: 0; }
:root main:has(> article) > div:last-child > div > a:hover { color: var(--accent); }

/* ============================================================== FOOTER */
:root footer {
  background: transparent; border-top: 1px solid var(--accent);
  padding: 24px 0 34px; margin-top: 56px; text-align: center;
  font-family: var(--fm), system-ui, sans-serif; font-size: 12px;
  color: var(--fg); opacity: .78; letter-spacing: .06em;
}
:root footer a { color: var(--fg); text-decoration: none; border-bottom: 1px dotted var(--border); }
:root footer a:hover { color: var(--primary); border-bottom-color: var(--primary); }


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


/* refix iter1: M6 homepage strip height and M7 archive index */
:root main:not(:has(> article)) > div:first-of-type {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: auto;
}

:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n) {
  grid-column: span 3;
}

:root main:not(:has(> article)) > div:first-of-type > div:first-child,
:root main:not(:has(> article)) > div:first-of-type::before,
:root main:not(:has(> article)) > div:first-of-type::after {
  grid-column: 1 / -1;
}

:root main:not(:has(> article)) > div:first-of-type::before,
:root main:not(:has(> article)) > div:first-of-type::after {
  block-size: 208px;
  min-block-size: 188px;
  max-block-size: 240px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 28px;
  line-height: 1.25;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(8, 12, 18, .06);
}

:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+5):nth-last-child(-n+3) {
  grid-column: span 2;
  background: var(--paper);
  border: 1px solid rgba(40, 54, 72, .10);
  border-radius: 9px;
  box-shadow: 0 1px 4px rgba(8, 12, 18, .05);
  padding: 20px 22px 21px;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}

:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+5):nth-last-child(-n+3):hover {
  transform: translateY(-2px);
  border-color: rgba(40, 54, 72, .18);
  box-shadow: 0 5px 18px rgba(8, 12, 18, .08);
}

:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+5):nth-last-child(-n+3) > h2 {
  font-family: var(--fh), Georgia, serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.32;
}

:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+5):nth-last-child(-n+3) > h2 > a {
  display: block;
  color: var(--primary);
}

@media (max-width: 640px) {
  :root main:not(:has(> article)) > div:first-of-type {
    grid-template-columns: 1fr;
  }

  :root main:not(:has(> article)) > div:first-of-type > div:nth-child(n),
  :root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+5):nth-last-child(-n+3),
  :root main:not(:has(> article)) > div:first-of-type::before,
  :root main:not(:has(> article)) > div:first-of-type::after {
    grid-column: 1 / -1;
  }

  :root main:not(:has(> article)) > div:first-of-type::before,
  :root main:not(:has(> article)) > div:first-of-type::after {
    block-size: 192px;
    min-block-size: 180px;
    max-block-size: 220px;
    padding: 0 20px;
    font-size: 12px;
    letter-spacing: .24em;
  }
}


/* refix iter2: M7 archive tail spans a 3-col boxed index; S6 article meta */
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+7) {
  order: 6;
  grid-column: span 2;
  height: 100%;
  min-height: 112px;
  background: var(--paper);
  border: 1px solid rgba(40, 54, 72, .10);
  border-radius: 9px;
  box-shadow: 0 1px 4px rgba(8, 12, 18, .05);
  padding: 22px 22px 23px;
  display: flex;
  justify-content: flex-start;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}

:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+7):hover {
  transform: translateY(-2px);
  border-color: rgba(40, 54, 72, .18);
  box-shadow: 0 5px 18px rgba(8, 12, 18, .08);
}

:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+7) > h2 {
  margin: 0;
  min-height: 3.96em;
  font-family: var(--fh), Georgia, serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.32;
}

:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+7) > h2 > a {
  display: block;
  color: var(--primary);
  text-decoration: none;
}

:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+7) > h2 > a:hover {
  color: var(--accent);
}

:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+7) > p,
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+7) > a[href^="/"][href$=".html"] {
  display: none;
}

:root main:has(> article) > time::after {
  content: " · Susanne Brunner · 6 Min. Lesezeit · Berlin";
}

@media (max-width: 640px) {
  :root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+7) {
    grid-column: 1 / -1;
    min-height: 0;
  }
}


/* premium-upgrade v1 */
/* premium editorial upgrade — style=Kinfolk-minimal overlay=25% grid=equal 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; }
}


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

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

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

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

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

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

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


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

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

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

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


/* refix iter1 (codex M7): the compact archive tail is a SEPARATE container.
   Live DOM changed — older posts now render as <a class="astro-R0IpkP1H">
   title-only anchors inside a second <div> sibling of the card grid
   (main > div:nth-of-type(2), the .astro-xnyhcpaL wrapper), NOT as grid
   <div> cards. The base theme stacks them full-width white
   (.astro-xnyhcpaL{display:flex;flex-direction:column} + a{background:#fff}),
   which reads as dozens of full-width single-title rows on desktop and a
   shallow title stack on mobile. Rebuild as a 3-col boxed cream magazine
   index using the SAME design tokens as the top-of-page journal cards
   (paper bg, hairline border, 9px radius, soft shadow, Fraunces title,
   hover lift) so the bottom of the page matches the top. Scoped homepage-
   only via :not(:has(> article)); disjoint from every > div:first-of-type
   card rule above. */
:root main:not(:has(> article)) > div:nth-of-type(2) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 16px;
  align-items: stretch;
  max-width: 1020px;
  margin: 36px auto 0;
  padding: 0 24px;
  box-sizing: border-box;
}
:root main:not(:has(> article)) > div:nth-of-type(2) > a {
  height: 100%;
  box-sizing: border-box;
  background: var(--paper) !important;   /* override base theme #fff */
  border: 1px solid rgba(40, 54, 72, .10);
  border-radius: 9px;
  box-shadow: 0 1px 4px rgba(8, 12, 18, .05);
  padding: 20px 22px;
  color: var(--primary);
  text-decoration: none;
  font-family: var(--fh), Georgia, serif;
  font-weight: 500;
  font-size: 15.5px;
  line-height: 1.34;
  letter-spacing: .004em;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
:root main:not(:has(> article)) > div:nth-of-type(2) > a:hover {
  transform: translateY(-2px);
  border-color: rgba(40, 54, 72, .18);
  box-shadow: 0 5px 18px rgba(8, 12, 18, .08);
  color: var(--accent);
}
@media (max-width: 920px) {
  :root main:not(:has(> article)) > div:nth-of-type(2) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  :root main:not(:has(> article)) > div:nth-of-type(2) {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 10px;
  }
}


/* refix iter2 (codex M2): lift the "Redaktionstipps · Zuerst lesen" section
   label out of the featured card's frame. It was card1::after rendered as the
   last flex child, so it sat INSIDE the hero card's bottom border. Card 1 spans
   the full grid row and is already position:relative / overflow:visible
   (premium v1), so re-anchor the SAME ::after (content/colour/tracking
   unchanged) as an absolutely-positioned full-row band that floats into the
   row-gap BELOW the featured card and ABOVE the two editor-picks cards — a
   separate full-width band, outside the frame, with a hairline underline.
   --mo stays this band's rule colour (moment-colour use 2 of 2, unchanged). */
:root main:not(:has(> article)) > div:first-of-type > div:first-child {
  margin-bottom: 56px;   /* open a gap under the hero for the floating band */
}
:root main:not(:has(> article)) > div:first-of-type > div:first-child::after {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin: 20px 0 0;
  padding: 0 0 12px;
  border-top: 0;
  border-bottom: 2px solid var(--mo);
  background: transparent;
}

