*{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}
.css-m6sdq6s{max-width:860px;margin:0 auto;padding:0 20px}
.css-l3lumxv{background:#fff;padding:28px 0;margin-bottom:32px;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.css-l3lumxv h1{font-size:22px;font-weight:700;margin-bottom:2px}
.css-l3lumxv p{font-size:14px;color:#666}
.css-l3lumxv a{color:#333;text-decoration:none;font-size:18px;font-weight:700}
.css-mjuysbt{display:flex;flex-direction:column;gap:20px}
.css-gia3j57{background:#fff;border-radius:12px;box-shadow:0 1px 6px rgba(0,0,0,.06);padding:24px 28px;transition:transform .15s,box-shadow .15s}
.css-gia3j57:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,.1)}
.css-gia3j57 h2{font-size:19px;margin-bottom:6px}
.css-gia3j57 h2 a{color:#1a1a1a;text-decoration:none}
.css-gia3j57 .css-98r56qq{font-size:12px;color:#999;margin-bottom:8px}
.css-gia3j57 p{font-size:14px;color:#555;margin-bottom:12px}
.css-4hjztwb{display:inline-block;background:#5865f2;color:#fff;padding:6px 16px;border-radius:20px;font-size:13px;font-weight:600;text-decoration:none}
.css-4hjztwb:hover{background:#4752c4}
.css-12lo5ey{padding-bottom:60px}
.css-12lo5ey h1{font-size:30px;font-weight:700;margin-bottom:8px}
.css-12lo5ey time{font-size:12px;color:#999;display:block;margin-bottom:24px}
.css-12lo5ey h2{font-size:22px;margin:32px 0 12px}
.css-12lo5ey h3{font-size:18px;margin:24px 0 8px}
.css-12lo5ey p{margin-bottom:16px}
.css-12lo5ey ul,.css-12lo5ey ol{margin:0 0 16px 24px}
.css-12lo5ey a{color:#5865f2}
.css-12lo5ey img{max-width:100%;height:auto;border-radius:12px;margin:16px 0}
.css-5yq6pew{padding:24px 0;margin-top:40px;text-align:center;font-size:12px;color:#999}
.css-5yq6pew a{color:#999;text-decoration:none}
.css-3u1ayud{background:#e8eaf0;border-radius:8px;padding:12px 16px;margin-bottom:20px;font-size:13px;color:#888;font-style:italic}
.css-xtkm8c1{background:#fff8e1;border-radius:8px;padding:12px 16px;margin-top:24px;font-size:12px;color:#9e8600}
.css-m4ekwmt{display:inline-block;background:#f0f2f7;border-radius:12px;padding:4px 12px;margin:-18px 0 24px;font-size:12px;color:#777}
.css-ibgen7v{text-align:center;margin:0 0 24px}
.css-b7us0gj{max-width:100%;height:auto;border-radius:12px}
.css-9kc4267{margin-top:32px;padding-top:20px;border-top:1px solid #e0e0e0}
.css-9kc4267 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)}
.css-5yv8i10{display:flex;flex-direction:column;gap:8px;margin-top:20px}
.css-khszoof{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}
.css-khszoof:hover{box-shadow:0 2px 8px rgba(0,0,0,.1)}
/* === Theme === */
:root{--primary:#2A4530;--accent:#C58392;--bg:#EEE8D8;--fg:#0E140F;--border:#C2BBA0;--r:33px;--fb:'Atkinson Hyperlegible';--fh:'Bodoni Moda'}
/* === Custom === */
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400&family=Bodoni+Moda:ital,wght@0,400;0,500;0,700;1,400&display=swap');

/* v.7b0553 — layout revision */
/* Das Bluetentagebuch — editorial signature pass.
   Live DOM (verified via curl):
     masthead  = body > header > div > (h1 + p)  [home] / (span > a)  [article]
     home main = div.grid(:first-of-type){ 15 cards: p.date + h2>a + p.excerpt + a }
               + div.tail(:last-of-type){ 27 bare <a> archive links }
     article   = main > h1 + time + div(letzte-aenderung) + article + div(related)
   Theme assets banner.jpg / story-cover.jpg return 404 -> NO photo bands; the two
   section strips are CSS forest-gradient dividers instead. Affiliate prefix /ref/
   appears INLINE in prose -> warm links, never pills. Moment colour #B34F2A is used
   EXACTLY twice: hero drop cap + Editor's-Picks label. The @import above is inert
   after concatenation, so fonts are declared as position-independent @font-face. */

@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 500; font-display: swap; src: url(https://fonts.gstatic.com/s/bodonimoda/v28/aFTH7PxzY382XsXX63LUYL6GYFcan6NJrKp-VPjFKuZXdgY.woff2) format('woff2'); }
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 700; font-display: swap; src: url(https://fonts.gstatic.com/s/bodonimoda/v28/aFTH7PxzY382XsXX63LUYL6GYFcan6NJrKp-VPjFKuZXdgY.woff2) format('woff2'); }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400; font-display: swap; src: url(https://fonts.gstatic.com/s/bodonimoda/v28/aFTB7PxzY382XsXX63LUYJSPUqb0pL6OQqxrZLnVbuxQVAS1Eg.woff2) format('woff2'); }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 500; font-display: swap; src: url(https://fonts.gstatic.com/s/bodonimoda/v28/aFTB7PxzY382XsXX63LUYJSPUqb0pL6OQqxrZLnVbuxQVAS1Eg.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 400; font-display: swap; src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v12/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45GE4JgvewU.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 700; font-display: swap; src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v12/9Bt73C1KxNDXMspQ1lPyU89-1h6ONRlW45G8WbcNdi-IZF0.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: italic; font-weight: 400; font-display: swap; src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v12/9Bt43C1KxNDXMspQ1lPyU89-1h6ONRlW45G055IoWQeCbA.woff2) format('woff2'); }

:root { --moment: #B34F2A; --paper: #F5EFE1; --paper2: #F8F2E6; --hair: rgba(30,34,26,.12); }

:root body { font-family: var(--fb), system-ui, -apple-system, sans-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: 32px 0; }

/* ============================================================= MASTHEAD */
/* Shared across both templates: forest gradient, no photo (assets 404). */
:root body > header { background: linear-gradient(168deg, #2A4530 0%, #33513a 62%, #2f4a37 100%); border-bottom: 3px solid var(--accent); padding: 58px 0 46px; margin: 0 0 52px; text-align: center; box-shadow: inset 0 -1px 0 rgba(0,0,0,.15); }
:root body > header > div { max-width: 820px; }
/* wordmark — home <h1> and article <span><a> both render as serif italic */
:root body > header > div > h1 { font-family: var(--fh), Cambria, serif; font-style: italic; font-weight: 500; font-size: 47px; line-height: 1.06; letter-spacing: .01em; color: var(--bg); margin: 0; }
:root body > header > div > span > a { font-family: var(--fh), Cambria, serif; font-style: italic; font-weight: 500; font-size: 27px; letter-spacing: .01em; color: var(--bg); text-decoration: none; }
:root body > header > div > span > a:hover { color: var(--accent); }
/* floret signature under the wordmark (persona: florist who presses flowers) */
:root body > header > div > h1::after { content: "\002740"; display: block; font-style: normal; font-size: 16px; color: var(--accent); margin: 15px auto 14px; }
/* manifesto line (home description) */
:root body > header > div > p { font-family: var(--fh), Cambria, serif; font-style: italic; font-size: 16px; line-height: 1.6; color: rgba(238,232,216,.9); max-width: 60ch; margin: 0 auto; }

/* ============================================================= ARTICLE PAGE */
:root main { padding-bottom: 84px; }
:root main > h1 { font-family: var(--fh), Cambria, serif; font-weight: 500; font-size: 40px; line-height: 1.12; color: var(--primary); letter-spacing: 0; margin: 10px 0 12px; max-width: 26ch; }
:root main > time { display: block; font-family: var(--fb), system-ui, sans-serif; font-size: 12px; color: var(--accent); letter-spacing: .18em; text-transform: uppercase; font-weight: 700; margin: 0 0 4px; }
:root main > div:has(> time) { display: inline-block; background: var(--paper2); border-radius: 20px; font-family: var(--fb), system-ui, sans-serif; font-size: 11.5px; color: rgba(30,34,26,.55); letter-spacing: .04em; padding: 4px 14px; margin: 0 0 30px; }
:root main > div:has(> time) > time { color: inherit; letter-spacing: inherit; font-size: inherit; }

:root main > article > p { margin: 0 0 18px; font-size: 18px; line-height: 1.78; max-width: 66ch; }
:root main > article > h2 { font-family: var(--fh), Cambria, serif; font-size: 27px; font-weight: 500; color: var(--primary); margin: 1.9em 0 .55em; letter-spacing: 0; }
:root main > article > h2::before { content: "\002740"; display: block; text-align: center; color: var(--accent); font-size: 17px; font-weight: 400; margin: 0 0 .65em; }
:root main > article > h3 { font-family: var(--fh), Cambria, serif; font-size: 21px; font-weight: 400; font-style: italic; color: var(--accent); margin: 28px 0 10px; }
:root main > article ul, :root main > article ol { margin: 0 0 18px 24px; max-width: 64ch; }
:root main > article li { margin-bottom: 6px; line-height: 1.7; }
:root main > article blockquote { position: relative; border-left: 3px solid var(--accent); padding: 8px 0 8px 30px; margin: 26px 0; font-style: italic; color: var(--primary); max-width: 64ch; }
:root main > article blockquote::before { content: "\00201C"; position: absolute; left: 2px; top: 6px; font-family: var(--fh), Cambria, serif; font-size: 50px; line-height: 1; color: var(--accent); opacity: .5; }

/* body links */
:root main > article > p a, :root main > article > p a:visited, :root main > article li a { 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, :root main > article li a:hover { color: var(--accent); text-decoration-color: var(--primary); }
/* inline affiliate mentions — warm strong links, NEVER pink pills (full path beats body-link rule per Rule J) */
: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^="/link/"] { background: transparent; color: var(--primary); padding: 0; border-radius: 0; font-family: inherit; font-size: inherit; font-weight: 700; letter-spacing: 0; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
: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^="/link/"]:hover { background: transparent; color: var(--accent); text-decoration-color: var(--primary); }

/* article images */
:root main > article > section:has(> img) { margin: 0 0 32px; }
:root main > article > section > img { width: 100%; height: auto; display: block; border-radius: 8px; box-shadow: 0 3px 16px rgba(14,20,15,.12); }

/* disclosure blocks (two exist: .css-xtkm8c1 + obfuscated) — quiet footnotes */
:root main > article > div { background: transparent; border: 0; border-top: 1px solid var(--border); padding: 16px 0 0; margin: 22px 0 0; font-family: var(--fb), system-ui, sans-serif; font-size: 12.5px; line-height: 1.6; font-style: italic; color: rgba(30,34,26,.55); }
:root main > article > div strong { font-style: normal; font-weight: 700; color: rgba(30,34,26,.7); }
:root main > article > aside { background: rgba(42,69,48,.07); border-left: 4px solid var(--primary); border-radius: 0 8px 8px 0; padding: 14px 20px; margin: 36px 0 0; font-size: 13.5px; color: var(--fg); font-family: var(--fb), system-ui, sans-serif; font-style: italic; }

/* Verwandte Artikel — hairline index list */
:root main > div:has(> h3) { margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--accent); }
:root main > div:has(> h3) > h3 { font-family: var(--fh), Cambria, serif; font-weight: 500; font-size: 19px; color: var(--primary); margin: 0 0 10px; }
:root main > div:has(> h3) > div > a { display: block; background: var(--paper); border: 0; border-bottom: 1px dotted var(--border); border-radius: 6px; padding: 12px 16px; color: var(--primary); text-decoration: none; font-family: var(--fb), system-ui, sans-serif; font-size: 15px; line-height: 1.42; }
:root main > div:has(> h3) > div > a:hover { color: var(--accent); background: var(--paper2); }
:root main > div:has(> h3) > div > a:last-child { border-bottom: 0; }

/* ============================================================= HOMEPAGE */
/* main has TWO div children: grid (:first-of-type) + archive tail (:last-of-type).
   Grid rules are scoped to :first-of-type so nothing leaks onto the tail. */
:root main:has(> div > div > h2) { max-width: 1060px; padding-top: 4px; padding-bottom: 0; }
:root main:has(> div > div > h2) > div:first-of-type { display: grid; grid-template-columns: repeat(6, 1fr); column-gap: 30px; row-gap: 30px; }

/* ---- default (journal) card: quiet, hairline top rule ---- */
:root main:has(> div > div > h2) > div:first-of-type > div { grid-column: span 3; position: relative; background: transparent; border: 0; border-top: 1px solid var(--hair); border-radius: 0; box-shadow: none; padding: 22px 0 6px; margin: 0; }
:root main:has(> div > div > h2) > div:first-of-type > div:hover { transform: none; box-shadow: none; }
:root main:has(> div > div > h2) > div:first-of-type > div > p:first-child { font-family: var(--fb), system-ui, sans-serif; font-size: 11px; font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin: 0 0 9px; }
:root main:has(> div > div > h2) > div:first-of-type > div > h2 { font-family: var(--fh), Cambria, serif; font-weight: 500; font-size: 21px; line-height: 1.24; margin: 0 0 9px; letter-spacing: 0; }
:root main:has(> div > div > h2) > div:first-of-type > div > h2 a { color: var(--primary); text-decoration: none; }
:root main:has(> div > div > h2) > div:first-of-type > div > h2 a:hover { color: var(--accent); }
:root main:has(> div > div > h2) > div:first-of-type > div > p:not(:first-child) { font-family: var(--fb), system-ui, sans-serif; font-size: 15px; line-height: 1.6; color: rgba(30,34,26,.82); margin: 0 0 13px; max-width: 62ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
:root main:has(> div > div > h2) > div:first-of-type > div > a:last-child { display: inline-block; font-family: var(--fb), system-ui, sans-serif; font-size: 0; text-decoration: none; background: transparent; color: var(--primary); padding: 0; border: 0; border-radius: 0; box-shadow: none; }
:root main:has(> div > div > h2) > div:first-of-type > div > a:last-child::after { content: "Weiterlesen \002192"; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
:root main:has(> div > div > h2) > div:first-of-type > div > a:last-child:hover::after { color: var(--accent); }

/* ---- HERO (card 1) — the loud voice, full width ---- */
:root main:has(> div > div > h2) > div:first-of-type > div:first-child { grid-column: 1 / -1; border-top: 0; border-bottom: 2px solid var(--primary); padding: 4px 0 40px; margin: 0 0 6px; }
:root main:has(> div > div > h2) > div:first-of-type > div:first-child > p:first-child { color: var(--primary); }
:root main:has(> div > div > h2) > div:first-of-type > div:first-child > p:first-child::before { content: "Neueste Seite \00A0\00B7\00A0 Aus dem Viertel \00A0\00B7\00A0 "; }
:root main:has(> div > div > h2) > div:first-of-type > div:first-child > h2 { font-family: var(--fh), Cambria, serif; font-style: italic; font-weight: 500; font-size: 44px; line-height: 1.08; margin: 6px 0 18px; max-width: 20ch; }
:root main:has(> div > div > h2) > div:first-of-type > div:first-child > p:not(:first-child) { font-size: 18px; line-height: 1.62; color: var(--fg); max-width: 58ch; display: block; -webkit-line-clamp: none; overflow: visible; margin: 0 0 20px; }
:root main:has(> div > div > h2) > div:first-of-type > div:first-child > p:not(:first-child)::first-letter { font-family: var(--fh), Cambria, serif; font-weight: 700; font-size: 58px; line-height: .8; float: left; margin: 7px 14px 0 0; color: var(--moment); }
:root main:has(> div > div > h2) > div:first-of-type > div:first-child > a:last-child { background: transparent; border: 1.5px solid var(--primary); padding: 11px 26px; border-radius: 40px; }
:root main:has(> div > div > h2) > div:first-of-type > div:first-child > a:last-child::after { content: "Diese Seite lesen \002192"; }
:root main:has(> div > div > h2) > div:first-of-type > div:first-child > a:last-child:hover { background: var(--primary); }
:root main:has(> div > div > h2) > div:first-of-type > div:first-child > a:last-child:hover::after { color: var(--bg); }
/* full-width Editor's-Picks label under the hero (hero is 1/-1 so ::after spans the row) */
:root main:has(> div > div > h2) > div:first-of-type > div:first-child::after { content: "Aus dem Tagebuch \00A0\00B7\00A0 zuerst lesen"; display: block; margin: 34px 0 -6px; padding-bottom: 12px; border-bottom: 1px solid var(--hair); font-family: var(--fb), system-ui, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--moment); }

/* ---- EDITOR'S PICKS band (cards 2-4) — boxed, off-white, 3-up ---- */
:root main:has(> div > div > h2) > div:first-of-type > div:nth-child(2), :root main:has(> div > div > h2) > div:first-of-type > div:nth-child(3), :root main:has(> div > div > h2) > div:first-of-type > div:nth-child(4) { grid-column: span 2; background: var(--paper); border: 1px solid var(--hair); border-top: 3px solid var(--primary); border-radius: 8px; box-shadow: 0 1px 4px rgba(14,20,15,.05); padding: 24px 26px 26px; }
:root main:has(> div > div > h2) > div:first-of-type > div:nth-child(2) > h2, :root main:has(> div > div > h2) > div:first-of-type > div:nth-child(3) > h2, :root main:has(> div > div > h2) > div:first-of-type > div:nth-child(4) > h2 { font-size: 19px; line-height: 1.26; }

/* ---- WEITER UNTEN strip (forest gradient divider) above the journal lead (card 5) ---- */
:root main:has(> div > div > h2) > div:first-of-type > div:nth-child(5) { grid-column: 1 / -1; border-top: 0; text-align: center; padding: 0 0 10px; margin-top: 20px; }
:root main:has(> div > div > h2) > div:first-of-type > div:nth-child(5)::before { content: "Weiter unten"; display: block; background: linear-gradient(150deg, #2A4530 0%, #365239 55%, #2c4735 100%); color: rgba(238,232,216,.92); font-family: var(--fb), system-ui, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; text-align: center; line-height: 190px; height: 190px; border-radius: 8px; margin: 0 0 40px; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
:root main:has(> div > div > h2) > div:first-of-type > div:nth-child(5) > p:first-child { color: var(--accent); }
:root main:has(> div > div > h2) > div:first-of-type > div:nth-child(5) > h2 { font-family: var(--fh), Cambria, serif; font-style: italic; font-size: 30px; line-height: 1.16; max-width: 24ch; margin: 0 auto 14px; }
:root main:has(> div > div > h2) > div:first-of-type > div:nth-child(5) > p:not(:first-child) { margin-left: auto; margin-right: auto; text-align: center; -webkit-line-clamp: 2; }
:root main:has(> div > div > h2) > div:first-of-type > div:nth-child(5) > a:last-child::after { color: var(--primary); }
/* section label into the chronological grid */
:root main:has(> div > div > h2) > div:first-of-type > div:nth-child(5)::after { content: "Das Tagebuch \00A0\00B7\00A0 der Reihe nach"; display: block; margin: 30px auto 0; padding-bottom: 12px; border-bottom: 1px solid var(--hair); font-family: var(--fb), system-ui, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--primary); }

/* ---- MEHR ARTIKEL strip (forest gradient) — between the grid and the archive tail ---- */
:root main:has(> div > div > h2) > div:first-of-type::after { content: "Mehr Artikel"; grid-column: 1 / -1; display: block; background: linear-gradient(150deg, #2c4735 0%, #365239 55%, #2A4530 100%); color: rgba(238,232,216,.92); font-family: var(--fb), system-ui, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; text-align: center; line-height: 180px; height: 180px; border-radius: 8px; margin-top: 34px; text-shadow: 0 1px 3px rgba(0,0,0,.4); }

/* ---- ARCHIVE TAIL (div:last-of-type) — full-width magazine index, no white ---- */
:root main:has(> div > div > h2) > div:last-of-type { display: block; columns: 3; column-gap: 44px; margin-top: 28px; padding: 4px 0 0; background: transparent; }
:root main:has(> div > div > h2) > div:last-of-type > a { display: block; break-inside: avoid; background: transparent; box-shadow: none; border: 0; border-bottom: 1px dotted var(--border); border-radius: 0; padding: 10px 2px; color: var(--primary); text-decoration: none; font-family: var(--fb), system-ui, sans-serif; font-size: 13.5px; line-height: 1.42; }
:root main:has(> div > div > h2) > div:last-of-type > a:hover { color: var(--accent); background: transparent; box-shadow: none; }

/* ============================================================= FOOTER */
:root footer { background: transparent; border-top: 1px solid var(--border); padding: 26px 0 38px; margin-top: 44px; text-align: center; font-family: var(--fb), system-ui, sans-serif; font-size: 12px; color: var(--fg); opacity: .6; letter-spacing: .04em; 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); }

/* ============================================================= RESPONSIVE */
@media (max-width: 820px) {
  :root main:has(> div > div > h2) > div:first-of-type { grid-template-columns: 1fr; row-gap: 6px; }
  :root main:has(> div > div > h2) > div:first-of-type > div,
  :root main:has(> div > div > h2) > div:first-of-type > div:first-child,
  :root main:has(> div > div > h2) > div:first-of-type > div:nth-child(2),
  :root main:has(> div > div > h2) > div:first-of-type > div:nth-child(3),
  :root main:has(> div > div > h2) > div:first-of-type > div:nth-child(4),
  :root main:has(> div > div > h2) > div:first-of-type > div:nth-child(5) { grid-column: 1 / -1; }
  :root main:has(> div > div > h2) > div:first-of-type > div:first-child > h2 { font-size: 32px; }
  :root main:has(> div > div > h2) > div:first-of-type > div:nth-child(5)::before,
  :root main:has(> div > div > h2) > div:first-of-type::after { line-height: 140px; height: 140px; letter-spacing: .24em; }
  :root main:has(> div > div > h2) > div:last-of-type { columns: 1; }
  :root body > header > div > h1 { font-size: 34px; }
  :root main > h1 { font-size: 32px; }
  :root main > article > p { font-size: 17px; }
}


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


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


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


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


/* refix iter1: M6 photo strips, M7 archive cards, M10 affiliate CTAs, S6 persona meta */
:root main:has(> div > div > h2) > div:first-of-type:nth-last-of-type(1) {
  display: grid;
  columns: auto;
}

:root main:has(> div > div > h2) > div:first-of-type > div:nth-child(5)::before {
  background-color: #2A4530;
  background-image:
    linear-gradient(rgba(14, 20, 15, .68), rgba(14, 20, 15, .38)),
    url("/theme-assets/article-hero.jpg"),
    url("/theme-assets/hero-masthead.jpg");
  background-position: center, center 34%, center 44%;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: auto, cover, cover;
  color: #F8F2E6;
  box-shadow: inset 0 0 0 1px rgba(238, 232, 216, .16), 0 2px 12px rgba(14, 20, 15, .10);
}

:root main:has(> div > div > h2) > div:first-of-type::after {
  background-color: #2A4530;
  background-image:
    linear-gradient(rgba(14, 20, 15, .70), rgba(14, 20, 15, .36)),
    url("/theme-assets/article-hero.jpg"),
    url("/theme-assets/hero-masthead.jpg");
  background-position: center, center 72%, center 58%;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: auto, cover, cover;
  color: #F8F2E6;
  box-shadow: inset 0 0 0 1px rgba(238, 232, 216, .16), 0 2px 12px rgba(14, 20, 15, .10);
}

:root main:has(> div > div > h2) > div:first-of-type ~ div:last-of-type {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 10px 16px;
  columns: auto;
  column-gap: 16px;
  margin-top: 28px;
  padding: 4px 0 0;
  background: transparent;
}

:root main:has(> div > div > h2) > div:first-of-type ~ div:last-of-type > a {
  display: flex;
  align-items: center;
  min-height: 72px;
  height: 100%;
  break-inside: auto;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(14, 20, 15, .05);
  padding: 18px 20px;
  color: var(--primary);
  text-decoration: none;
  font-family: var(--fh), Cambria, serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.34;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}

:root main:has(> div > div > h2) > div:first-of-type ~ div:last-of-type > a:hover {
  transform: translateY(-2px);
  background: var(--paper2);
  color: var(--accent);
  box-shadow: 0 4px 14px rgba(14, 20, 15, .10);
}

:root main:has(> h1) > article :is(p, li) a[href^="/try/"],
:root main:has(> h1) > article :is(p, li) a[href^="/ref/"],
:root main:has(> h1) > article :is(p, li) a[href^="/go/"],
:root main:has(> h1) > article :is(p, li) a[href^="/out/"],
:root main:has(> h1) > article :is(p, li) a[href^="/check/"],
:root main:has(> h1) > article :is(p, li) a[href^="/partner/"],
:root main:has(> h1) > article :is(p, li) a[href^="/link/"] {
  display: inline-flex;
  align-items: center;
  margin: 0 .12em;
  padding: .18em .72em .2em;
  border: 1px solid rgba(42, 69, 48, .26);
  border-radius: 999px;
  background: rgba(197, 131, 146, .18);
  color: var(--primary);
  box-shadow: 0 1px 3px rgba(14, 20, 15, .06);
  font-family: var(--fb), system-ui, sans-serif;
  font-size: .92em;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: .02em;
  text-decoration: none;
  vertical-align: baseline;
}

:root main:has(> h1) > article :is(p, li) a[href^="/try/"]:hover,
:root main:has(> h1) > article :is(p, li) a[href^="/ref/"]:hover,
:root main:has(> h1) > article :is(p, li) a[href^="/go/"]:hover,
:root main:has(> h1) > article :is(p, li) a[href^="/out/"]:hover,
:root main:has(> h1) > article :is(p, li) a[href^="/check/"]:hover,
:root main:has(> h1) > article :is(p, li) a[href^="/partner/"]:hover,
:root main:has(> h1) > article :is(p, li) a[href^="/link/"]:hover {
  background: rgba(42, 69, 48, .12);
  color: var(--accent);
  border-color: rgba(197, 131, 146, .46);
  text-decoration: none;
}

:root main:has(> h1) > time::after {
  content: "Helene Westphal · Bremen · 7 Min. Lesezeit";
  display: block;
  margin-top: 8px;
  color: rgba(30, 34, 26, .62);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.45;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  :root main:has(> div > div > h2) > div:first-of-type:nth-last-of-type(1) {
    grid-template-columns: 1fr;
    row-gap: 6px;
  }

  :root main:has(> div > div > h2) > div:first-of-type > div:nth-child(5)::before,
  :root main:has(> div > div > h2) > div:first-of-type::after {
    height: 150px;
    line-height: 150px;
    letter-spacing: .22em;
  }

  :root main:has(> div > div > h2) > div:first-of-type ~ div:last-of-type {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  :root main:has(> div > div > h2) > div:first-of-type ~ div:last-of-type > a {
    min-height: 0;
    padding: 18px 20px;
    font-size: 17px;
  }
}


/* premium-upgrade v1 */
/* premium editorial upgrade — style=Racquet-moody overlay=55% grid=mixed scale=dramatic family=astro-grid */

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


/* ── CARD 1: featured full-row with 300px photo header (via card-own background, NOT ::before —
    leaves ::before free for existing site's M2 label / meta content). ── */
:root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(1) {
  grid-column: 1 / -1;
  position: relative;      /* anchor for existing site's ::before label if it uses absolute */
  overflow: visible;       /* let above-card labels render without clipping */
  padding: 320px 44px 40px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-1.webp") no-repeat center top / 100% 300px,
    var(--bg) !important;
  margin-top: 60px !important;  /* room for above-card M2 label (existing site convention) */
}

/* ── CARDS 2-4: medium with 180px photo header (background technique, ::before untouched) ── */
:root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(2) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-2.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}
:root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(3) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-3.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}
:root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(4) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-4.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}

/* ── Article page: drop cap + dinkus dividers ── */
:root main:has(> h1) > article > p:first-of-type::first-letter {
  font-family: var(--fh), Georgia, serif;
  font-size: 76px; line-height: 0.9; color: var(--primary);
  float: left; margin: 6px 12px 0 0; padding: 0; font-weight: 400;
}
:root main:has(> h1) > article > h2 + p ~ h2::before {
  content: "✦ ✦ ✦";
  display: block; text-align: center; color: var(--accent);
  font-size: 12px; letter-spacing: 0.3em; margin-bottom: 24px;
  font-weight: 400;
}

/* ── Mobile responsive: adjust photo heights via background-size on the card itself ── */
@media (max-width: 720px) {
  :root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(1) {
    padding: 240px 22px 28px !important;
    background:
      url("/theme-assets/premium-hero-card-1.webp") no-repeat center top / 100% 220px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(2) {
    padding: 180px 22px 26px !important;
    background:
      url("/theme-assets/premium-hero-card-2.webp") no-repeat center top / 100% 160px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(3) {
    padding: 180px 22px 26px !important;
    background:
      url("/theme-assets/premium-hero-card-3.webp") no-repeat center top / 100% 160px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(4) {
    padding: 180px 22px 26px !important;
    background:
      url("/theme-assets/premium-hero-card-4.webp") no-repeat center top / 100% 160px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:has(> div)::before,
  :root main:not(:has(> h1)) > div:has(> div)::after { min-height: 240px; }
  :root main:has(> h1) > article > p:first-of-type::first-letter { font-size: 60px; }
}

