*{margin:0;padding:0;box-sizing:border-box}
body{font-family:Georgia,'Times New Roman',serif;line-height:1.8;color:#222;background:#f4f1eb}
.layout-5448c9{max-width:1100px;margin:0 auto;padding:0 24px}
.frame-0c6f5e{background:linear-gradient(135deg,#2c3e50,#34495e);color:#fff;padding:48px 0;text-align:center;margin-bottom:48px}
.frame-0c6f5e h1{font-size:36px;letter-spacing:2px;text-transform:uppercase;margin-bottom:6px}
.frame-0c6f5e p{font-size:16px;opacity:.8;font-style:italic}
.frame-0c6f5e .sidebar-629097{color:#fff;text-decoration:none;font-size:20px;letter-spacing:1px;text-transform:uppercase}
.region-833494{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:28px}
.wrapper-537118{background:#fff;border-radius:4px;box-shadow:0 2px 12px rgba(0,0,0,.08);padding:28px;transition:box-shadow .2s}
.wrapper-537118:hover{box-shadow:0 4px 20px rgba(0,0,0,.14)}
.wrapper-537118 h2{font-size:22px;margin-bottom:10px;line-height:1.3}
.wrapper-537118 h2 a{color:#2c3e50;text-decoration:none}
.wrapper-537118 .layout-cc7881{font-size:12px;color:#888;margin-bottom:10px;text-transform:uppercase;letter-spacing:1px}
.wrapper-537118 p{font-size:15px;color:#555;margin-bottom:14px}
.layout-048190{color:#e74c3c;text-decoration:none;font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.5px}
.widget-075c02{max-width:780px;margin:0 auto;padding:0 24px 60px}
.widget-075c02 h1{font-size:36px;margin-bottom:10px;line-height:1.2}
.widget-075c02 .layout-cc7881{font-size:13px;color:#888;display:block;margin-bottom:28px;text-transform:uppercase;letter-spacing:1px}
.widget-075c02 h2{font-size:24px;margin:36px 0 14px}
.widget-075c02 h3{font-size:19px;margin:28px 0 10px}
.widget-075c02 p{margin-bottom:18px;font-size:17px}
.widget-075c02 ul,.widget-075c02 ol{margin:0 0 18px 28px}
.widget-075c02 a{color:#e74c3c}
.widget-075c02 img{max-width:100%;height:auto;border-radius:4px;margin:20px 0}
.nav-77590b{border-top:2px solid #ddd;padding:28px 0;margin-top:48px;text-align:center;font-size:13px;color:#888}
.nav-77590b a{color:#888}
.content-6676d6{border-top:1px solid #ccc;border-bottom:1px solid #ccc;padding:14px 0;margin-bottom:28px;font-size:14px;color:#888;font-style:italic;text-align:center}
.block-f9b8bd{background:#f9f3e3;padding:16px 20px;margin-top:28px;font-size:13px;color:#7a6230;border-radius:4px}
.shell-c1802f{font-size:11px;color:#888;margin:-22px 0 28px;text-transform:uppercase;letter-spacing:1.5px}
.header-50aabb{margin:0 0 28px}
.layout-a4a460{width:100%;height:auto;border-radius:4px}
.footer-c97ec2{border-top:2px solid #ddd;margin-top:40px;padding-top:24px}
.footer-c97ec2 h4{font-size:16px;text-transform:uppercase;letter-spacing:1px;margin-bottom:16px;color:#888}
.mag-related-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mag-related-item a{color:#2c3e50;text-decoration:none;font-size:15px}
.mag-related-item a:hover{color:#e74c3c}
.shell-21a1fe{background:#fff;border-radius:4px;box-shadow:0 2px 12px rgba(0,0,0,.08);padding:22px 28px;margin-top:28px}
.shell-21a1fe p{font-size:15px;padding:4px 0;margin:0}
.shell-21a1fe .layout-cc7881{margin:0 8px 0 0;display:inline}
.shell-21a1fe a{color:#2c3e50;text-decoration:none}
.shell-21a1fe a:hover{color:#e74c3c}
/* === Theme === */
:root{--primary:#3D1F2A;--accent:#C25C8A;--bg:#EEE7D5;--fg:#0E0508;--border:#C5BEA0;--r:45px;--fb:'Reem Kufi';--fh:'Cormorant Infant'}
/* === Custom === */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Infant:ital,wght@0,400;0,500;0,700;1,400&family=Reem+Kufi:wght@400;500;700&display=swap');

: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(--accent); color: var(--bg); }
:root hr { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }

:root nav { background: var(--primary); color: var(--bg); padding: 60px 0 42px; text-align: center; margin-bottom: 48px; border-bottom: 4px solid var(--accent); }
:root nav > div { max-width: 780px; margin: 0 auto; padding: 0 24px; }
:root nav > div > h1 { font-family: var(--fh), Cambria, serif; font-size: 44px; font-weight: 500; color: var(--bg); letter-spacing: 0; line-height: 1.10; margin-bottom: 8px; }
:root nav > div > p { font-family: var(--fb), system-ui, sans-serif; font-size: 15.5px; color: rgba(238, 231, 213, .82); font-style: italic; max-width: 600px; margin: 0 auto; }
:root nav > div > a { font-family: var(--fh), Cambria, serif; font-size: 30px; color: var(--bg); text-decoration: none; font-weight: 500; }

:root main > h1 { font-family: var(--fh), Cambria, serif; font-size: 38px; font-weight: 500; color: var(--primary); line-height: 1.14; margin: 10px 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: .14em; text-transform: uppercase; font-weight: 700; }

:root main > article > p { margin-bottom: 18px; font-size: 16.5px; max-width: 720px; }
:root main > article > h2 { font-family: var(--fh), Cambria, serif; font-size: 28px; font-weight: 500; color: var(--primary); margin: 44px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--accent); letter-spacing: 0; max-width: 720px; }
:root main > article > h3 { font-family: var(--fh), Cambria, serif; font-size: 22px; font-weight: 400; color: var(--accent); margin: 26px 0 10px; font-style: italic; max-width: 720px; }
:root main > article ul, :root main > article ol { margin: 0 0 18px 26px; max-width: 720px; }
:root main > article li { margin-bottom: 6px; }
:root main > article blockquote { border-left: 4px solid var(--accent); padding: 12px 0 12px 22px; margin: 28px 0; font-style: italic; color: var(--primary); background: rgba(194, 92, 138, .07); border-radius: 0 var(--r) var(--r) 0; max-width: 720px; }

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

: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/"] { background: var(--accent); color: var(--bg); padding: 3px 14px; border-radius: var(--r); text-decoration: none; font-weight: 500; font-family: var(--fh), Cambria, serif; font-size: 14.5px; letter-spacing: .03em; }
: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 { background: var(--primary); }

:root main > article img, :root main > article > p > img { width: 100%; max-width: 720px; height: auto; display: block; border-radius: var(--r); box-shadow: 0 4px 18px rgba(14, 5, 8, .14); margin: 20px 0; }

:root main > article > em { display: block; background: rgba(61, 31, 42, .06); border-left: 4px solid var(--primary); border-radius: 0 var(--r) var(--r) 0; padding: 14px 20px; margin: 28px 0; font-size: 13.5px; color: var(--fg); font-family: var(--fb), system-ui, sans-serif; max-width: 720px; }

:root main > div > div { background: var(--bg); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; padding: 24px 26px; margin-bottom: 22px; box-shadow: 0 1px 6px rgba(14, 5, 8, .04); transition: transform .15s ease, box-shadow .15s ease, border-left-color .15s ease; }
:root main > div > div:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(14, 5, 8, .10); border-left-color: var(--primary); }
:root main > div > div > 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 > h2 { font-family: var(--fh), Cambria, serif; font-size: 24px; font-weight: 500; margin-bottom: 8px; line-height: 1.16; letter-spacing: 0; }
:root main > div > div > h2 a { color: var(--primary); text-decoration: none; }
:root main > div > div > h2 a:hover { color: var(--accent); }
:root main > div > div > p:not(:first-child) { font-family: var(--fb), system-ui, sans-serif; font-size: 15px; color: var(--fg); opacity: .85; margin-bottom: 14px; }
:root main > div > div > a:last-child { font-family: var(--fb), system-ui, sans-serif; font-size: 13px; color: var(--bg); background: var(--primary); padding: 7px 18px; border-radius: var(--r); text-decoration: none; letter-spacing: .04em; font-weight: 500; display: inline-block; }
:root main > div > div > a:last-child:hover { background: var(--accent); }

:root footer { background: var(--primary); padding: 32px 0; margin-top: 56px; text-align: center; font-family: var(--fb), system-ui, sans-serif; font-size: 12.5px; color: var(--bg); letter-spacing: .04em; }
:root footer a { color: rgba(238, 231, 213, .75); text-decoration: none; border-bottom: 1px dotted rgba(238, 231, 213, .35); }
:root footer a:hover { color: var(--bg); border-bottom-color: var(--accent); }

/* === R2 fixes (2026-06-06T01:10:08.104016+00:00) === */

/* Fix 1 alt: named footer class used by template */
.nav-77590b { background: var(--primary); color: var(--bg); padding: 32px 0; }

/* Fix 2: H2 in articles — broader selector so all article pages get Weinrot + Rosé-Linie */
article h2, .post-content h2 { font-family: var(--fh), Cambria, serif; font-size: 28px; font-weight: 500; color: var(--primary); margin: 44px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--accent); letter-spacing: 0; max-width: 720px; }

/* Fix 3: Affiliate-Disclaimer — dezente linke Randlinie, kein Alarm */
.content-6676d6, div[class*='disclosure'], .affiliate-disclosure { border-left: 3px solid var(--accent); padding: 12px 16px; background: rgba(194, 92, 138, .06); font-size: 13px; font-style: italic; margin: 24px 0; border-radius: 2px; }

/* Fix 4: Verwandte Artikel — visuelle Trennung und Link-Kacheln */
.footer-c97ec2 { border-top: 2px solid var(--border); padding-top: 28px; margin-top: 48px; }
.mag-related-grid a { display: block; padding: 10px 14px; border: 1px solid var(--border); border-radius: 4px; font-size: 14px; color: var(--primary); text-decoration: none; }

/* Fix 5: Bildunterschriften aktivieren */
figure figcaption { display: block; font-size: 12px; color: var(--accent); font-style: italic; margin-top: 8px; text-align: center; letter-spacing: .03em; }

/* Fix 6: Mehr Atemraum zwischen Tagebuch-Absätzen */
.post-content p { margin-bottom: 26px; }
.post-content { line-height: 1.80; }

/* Fix 7: Hero-Bild — Abstand und Schatten */
figure.header-50aabb { margin-bottom: 36px; }
figure.header-50aabb img { border-radius: 4px; box-shadow: 0 6px 24px rgba(14, 5, 8, .12); }

/* Fix 8: Nav-Layout für Orientierungslinks neben dem Logo */
:root nav { text-align: left; }
:root nav > div { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
:root nav > div > h1 { margin-bottom: 0; }
:root nav .nav-links { display: flex; gap: 20px; align-items: center; }
:root nav .nav-links a { font-family: var(--fb), system-ui, sans-serif; font-size: 14px; color: rgba(238, 231, 213, .78); text-decoration: none; font-weight: 400; letter-spacing: .03em; }
:root nav .nav-links a:hover { color: var(--bg); }

/* === R3 fixes (2026-06-06T01:50:07.586801+00:00) === */

/* Fix R3-1: Nav site name — mehr Gewicht, Cormorant Infant, eleganter */
.nav-77590b a, nav a[href='/'] { font-size: 18px; font-family: 'Cormorant Infant', serif; font-weight: 500; letter-spacing: 0.04em; }

/* Fix R3-2: Verwandte Artikel + Footer-Links — linker Akzentbalken in Altrose */
.mag-related-grid a { padding: 12px 16px; font-weight: 500; color: var(--primary); border-left: 3px solid var(--accent); }
.footer-c97ec2 a { display: block; padding: 12px 16px; border: 1px solid var(--border); border-radius: 4px; font-size: 14px; font-weight: 500; color: var(--primary); text-decoration: none; border-left: 3px solid var(--accent); }

/* Fix R3-3: H3 — kleiner als H2, mehr Abstand oben, klare Unterebene */
article h3, .post-content h3 { font-size: 20px; font-style: italic; color: var(--accent); margin-top: 32px; margin-bottom: 10px; letter-spacing: 0.01em; }

/* Fix R3-4: Affiliate-Disclaimer — display:block sicherstellen, überall gleich sichtbar */
.content-6676d6, div[class*='disclosure'], .affiliate-disclosure { display: block; }

/* Fix R3-5: Affiliate-Pill-Buttons — leicht abgerundetes Rechteck statt App-Store-Pill */
: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^="/to/"] { border-radius: 6px; padding: 5px 16px; font-family: var(--fb), 'Reem Kufi', sans-serif; font-size: 14px; letter-spacing: 0.03em; }

/* Fix R3-6: Bildunterschriften — Reem Kufi für Authentizitätssignal */
figure figcaption { font-family: 'Reem Kufi', sans-serif; }

/* Fix R3-7: Fettdruck im Fließtext — Weinrot für Preset-Namen und Empfehlungen */
.post-content strong, .post-content b { font-weight: 700; color: var(--primary); }

/* === R4 fixes (2026-06-06T02:30:04.603228+00:00) === */

/* Fix R4-1: Markenname — Cormorant Infant 22px halbfett Mixed Case, enger Tracking */
.sidebar-629097 a, nav .brand-name, .nav-77590b .logo a,
.nav-77590b a[href='/'], nav a[href='/'] { font-family: 'Cormorant Infant', serif; font-size: 22px; font-weight: 600; letter-spacing: 0.04em; color: #3D1F2A; text-transform: none; }

/* Fix R4-2: Header-Trenner — dünne weinrot-getönte Linie unten, Padding */
.frame-0c6f5e, .nav-77590b { border-bottom: 1px solid rgba(61, 31, 42, 0.15); padding: 16px 0; }

/* Fix R4-3: Weiterlesen-Buttons — Outline statt gefüllter Block */
.layout-048190 a, .post-card .continue-reading, a[href$='.html'].read-more { background-color: transparent; border: 1.5px solid #3D1F2A; color: #3D1F2A; border-radius: 6px; padding: 6px 14px; font-size: 12px; letter-spacing: 0.06em; text-decoration: none; display: inline-block; }
:root main > div > div > a:last-child { background-color: transparent; border: 1.5px solid #3D1F2A; color: #3D1F2A; border-radius: 6px; padding: 6px 14px; font-size: 12px; letter-spacing: 0.06em; font-weight: 500; }
:root main > div > div > a:last-child:hover { background-color: rgba(61, 31, 42, 0.06); border-color: #C25C8A; color: #C25C8A; }

/* Fix R4-4: Affiliate-Offenlegung — Altrose-Linksrahmen-Box mit Padding */
p.affiliate-disclosure, .content-6676d6 p:first-child, article > p:first-of-type[class*='disclosure'] { background-color: rgba(194, 92, 138, 0.06); border-left: 3px solid #C25C8A; padding: 12px 16px; margin-bottom: 28px; font-size: 14px; border-radius: 0 4px 4px 0; display: block; }

/* Fix R4-5: Verwandte-Artikel-Links — Weinrot-Text mit Altrose-Unterstrich */
.mag-related-item a, .footer-c97ec2 .related a, aside.related-articles a { color: #3D1F2A; text-decoration: underline; text-decoration-color: #C25C8A; text-underline-offset: 3px; }

/* Fix R4-6: figcaption — Cormorant Infant kursiv in Altrose */
figcaption { font-family: 'Cormorant Infant', serif; font-size: 12px; font-style: italic; color: #C25C8A; margin-top: 6px; line-height: 1.4; text-align: center; }

/* Fix R4-7: Footer-Trenner — dünne Linie oben, Abstand */
footer.nav-77590b, .site-footer { border-top: 1px solid rgba(61, 31, 42, 0.15); margin-top: 48px; padding: 20px 0; }

/* ============================================================
   v.db2ad0 — layout revision (editorial signature pass)
   LichtBildLabor · lr-bild-de — Lightroom-Tagebuch, Halle (Saale)
   Structural selectors only (classes obfuscate); homepage scoped
   via main:not(:has(>article)), article via main:has(>article).
   ============================================================ */

:root { --fm: 'Reem Kufi', system-ui, -apple-system, sans-serif; --moment: #7C4A5C; }

/* ---------- HOME MASTHEAD — photo band + serif-italic wordmark ---------- */
:root nav:has(> div > h1) {
  background: linear-gradient(rgba(40,18,26,.74), rgba(40,18,26,.56)), url("/theme-assets/hero-masthead.jpg");
  background-size: cover; background-position: center;
  text-align: center; padding: 84px 24px 68px; margin-bottom: 0;
  border-bottom: 4px solid var(--accent);
}
:root nav:has(> div > h1) > div { display: block; max-width: 800px; margin: 0 auto; padding: 0; }
:root nav:has(> div > h1) > div::before {
  content: "LIGHTROOM-TAGEBUCH · HALLE (SAALE)";
  display: block; font-family: var(--fm); font-size: 12px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase; color: rgba(238,231,213,.82); margin-bottom: 18px;
}
:root nav:has(> div > h1) > div > h1 {
  font-family: var(--fh); font-style: italic; font-weight: 500; font-size: 54px;
  color: var(--bg); line-height: 1.04; letter-spacing: .01em; margin: 0 0 16px;
  text-shadow: 0 2px 22px rgba(0,0,0,.4);
}
:root nav:has(> div > h1) > div > p {
  font-family: var(--fh); font-style: italic; font-weight: 400; font-size: 18.5px; line-height: 1.5;
  color: rgba(238,231,213,.9); max-width: 560px; margin: 0 auto;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- ARTICLE MASTHEAD — slim wine bar ---------- */
:root nav:has(> div > a) {
  background: var(--primary); text-align: center; padding: 22px 24px; margin-bottom: 0;
  border-bottom: 3px solid var(--accent);
}
:root nav:has(> div > a) > div { display: block; }
:root nav:has(> div > a) > div > a {
  font-family: var(--fh); font-style: italic; font-weight: 500; font-size: 25px;
  color: var(--bg); letter-spacing: .02em;
}

/* ============================================================
   HOMEPAGE — editorial 6-col order-grid
   ============================================================ */
:root main:not(:has(> article)) > div:first-of-type {
  display: grid; grid-template-columns: repeat(6, 1fr);
  column-gap: 30px; row-gap: 42px; align-items: stretch;
  max-width: 1140px; margin: 60px auto 0; padding: 0 24px;
}

/* --- Editor's Picks label (grid ::before, ordered between hero & picks) --- */
:root main:not(:has(> article)) > div:first-of-type::before {
  content: "EMPFOHLEN — ZUERST LESEN";
  grid-column: 1 / -1; order: 2; align-self: end;
  font-family: var(--fm); font-size: 14px; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase; color: var(--primary);
  border-bottom: 1px solid var(--accent); padding-bottom: 10px; margin-top: 28px;
}

/* --- Strip 1: DAS NOTIZBUCH (grid ::after, ordered between picks & journal) --- */
:root main:not(:has(> article)) > div:first-of-type::after {
  content: "DAS NOTIZBUCH";
  grid-column: 1 / -1; order: 4;
  display: flex; align-items: center; justify-content: center;
  min-height: 200px; margin: 30px 0 6px; border-radius: 8px;
  background: linear-gradient(rgba(40,18,26,.62), rgba(40,18,26,.42)), url("/theme-assets/article-hero.jpg");
  background-size: cover; background-position: center 30%;
  font-family: var(--fm); font-size: 14px; font-weight: 500;
  letter-spacing: .34em; text-transform: uppercase; text-indent: .34em;
  color: #f4ede1; text-shadow: 0 2px 12px rgba(0,0,0,.55);
}

/* --- base card treatment (every home card) --- */
:root main:not(:has(> article)) > div:first-of-type > div {
  order: 5; grid-column: span 3; margin: 0;
  background: #faf5ec; border: 1px solid rgba(61,31,42,.1); border-left: 1px solid rgba(61,31,42,.1);
  border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.05);
  padding: 26px 32px 28px; display: flex; flex-direction: column; align-items: flex-start;
}
:root main:not(:has(> article)) > div:first-of-type > div:hover {
  transform: translateY(-2px); box-shadow: 0 6px 18px rgba(14,5,8,.1);
  border-color: rgba(194,92,138,.35); border-left-color: rgba(194,92,138,.35);
}
:root main:not(:has(> article)) > div:first-of-type > div > p:first-child {
  font-family: var(--fm); font-size: 11px; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 10px; line-height: 1.4;
}
:root main:not(:has(> article)) > div:first-of-type > div > h2 {
  font-family: var(--fh); font-weight: 500; font-size: 21px; line-height: 1.22; margin: 0 0 12px; letter-spacing: 0;
}
: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); }
:root main:not(:has(> article)) > div:first-of-type > div > p:not(:first-child) {
  font-family: var(--fb); font-size: 15.5px; line-height: 1.6; color: var(--fg); opacity: .84;
  margin: 0 0 18px; max-width: 62ch;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
/* CTA -> "Weiterlesen" underline link (original EN text hidden) */
:root main:not(:has(> article)) > div:first-of-type > div > a:last-child {
  margin-top: auto; font-size: 0; background: transparent; border: 0; padding: 0;
}
:root main:not(:has(> article)) > div:first-of-type > div > a:last-child::after {
  content: "Weiterlesen \2192"; font-family: var(--fm); font-size: 13px; font-weight: 500;
  letter-spacing: .06em; color: var(--primary); border-bottom: 1.5px solid var(--accent); padding-bottom: 3px;
}
:root main:not(:has(> article)) > div:first-of-type > div > a:last-child:hover::after { color: var(--accent); border-bottom-color: var(--primary); }

/* --- HERO (first card) — the loud voice --- */
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) {
  grid-column: 1 / -1; order: 1;
  background: #f6efe0; border: 1px solid rgba(61,31,42,.14);
  padding: 44px 54px 46px; box-shadow: 0 2px 10px rgba(14,5,8,.06);
}
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1)::before {
  content: "NEUESTER EINTRAG — VON JANNE HARTWIG";
  font-family: var(--fm); font-size: 11.5px; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 6px;
}
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > p:first-child { display: none; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > h2 {
  font-family: var(--fh); font-weight: 700; font-size: 46px; line-height: 1.08; margin: 8px 0 18px; max-width: 22ch;
}
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > p:not(:first-child) {
  display: block; -webkit-line-clamp: unset; overflow: visible;
  font-size: 20px; line-height: 1.5; opacity: .9; max-width: 60ch; margin-bottom: 26px;
}
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > p:not(:first-child)::first-letter {
  font-family: var(--fh); font-weight: 700; font-size: 62px; line-height: .82;
  float: left; padding: 8px 14px 0 0; color: var(--moment);
}
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > a:last-child::after {
  content: "Ganzen Eintrag lesen \2192"; font-size: 14px; color: var(--primary);
  border: 1.5px solid var(--primary); border-radius: 6px; padding: 9px 22px;
}
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > a:last-child:hover::after {
  background: var(--primary); color: var(--bg); border-color: var(--primary);
}

/* --- Editor's Picks (cards 2-3) — paired feature with N° numerals --- */
: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: 3; grid-column: span 3; background: #f7f1e4;
}
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(2)::before { content: "N\B0 I"; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(3)::before { content: "N\B0 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 {
  font-family: var(--fh); font-style: italic; font-weight: 500; font-size: 18px; color: var(--moment); margin-bottom: 6px;
}

/* --- Journal cards (4+) — consistent 2-col rhythm --- */
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+4) { order: 5; grid-column: span 3; }
/* orphan safety: a lone trailing journal card fills the row instead of leaving a gap */
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+4):last-child:nth-child(even) { grid-column: 1 / -1; }

/* ============================================================
   HOMEPAGE — compact archive tail (FRÜHERE EINTRÄGE)
   ============================================================ */
:root main:not(:has(> article)) > div:not(:first-of-type) {
  max-width: 1140px; margin: 34px auto 64px; padding: 0 24px;
  background: transparent; border: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 16px; align-items: stretch;
}
:root main:not(:has(> article)) > div:not(:first-of-type)::before {
  content: "FRÜHERE EINTRÄGE";
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: center;
  min-height: 200px; margin: 0 0 18px; border-radius: 8px;
  background: linear-gradient(rgba(40,18,26,.62), rgba(40,18,26,.42)), url("/theme-assets/article-hero.jpg");
  background-size: cover; background-position: center 70%;
  font-family: var(--fm); font-size: 14px; font-weight: 500;
  letter-spacing: .34em; text-transform: uppercase; text-indent: .34em;
  color: #f4ede1; text-shadow: 0 2px 12px rgba(0,0,0,.55);
}
:root main:not(:has(> article)) > div:not(:first-of-type) > p {
  margin: 0; padding: 20px 22px; line-height: 1.42; font-family: var(--fb);
  background: #faf5ec; border: 1px solid rgba(61,31,42,.1); border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
:root main:not(:has(> article)) > div:not(:first-of-type) > p:hover {
  transform: translateY(-2px); box-shadow: 0 6px 18px rgba(14,5,8,.1);
  border-color: rgba(194,92,138,.35);
}
:root main:not(:has(> article)) > div:not(:first-of-type) > p > span {
  display: block; font-family: var(--fm); font-size: 10.5px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 3px; background: transparent;
}
:root main:not(:has(> article)) > div:not(:first-of-type) > p > a {
  color: var(--primary); text-decoration: none; font-family: var(--fh); font-weight: 500;
  font-size: 17px; line-height: 1.28; border-bottom: 0; background: transparent;
}
:root main:not(:has(> article)) > div:not(:first-of-type) > p > a:hover { color: var(--accent); }

/* ============================================================
   ARTICLE — editorial body polish
   ============================================================ */
:root main:has(> article) { max-width: 760px; margin: 0 auto; padding: 0 24px; }
:root main:has(> article) > h1 {
  font-family: var(--fh); font-weight: 700; font-size: 42px; line-height: 1.1;
  color: var(--primary); margin: 48px 0 10px; letter-spacing: 0; max-width: 720px;
}
:root main:has(> article) > time {
  display: block; font-family: var(--fm); font-size: 12px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 34px;
}
:root main:has(> article) > article > p { font-size: 18px; line-height: 1.78; max-width: 68ch; margin-bottom: 22px; }
:root main:has(> article) > article > p:first-of-type::first-letter {
  font-family: var(--fh); font-weight: 700; font-size: 60px; line-height: .8;
  float: left; padding: 8px 12px 0 0; color: var(--primary);
}
:root main:has(> article) > article ul,
:root main:has(> article) > article ol { max-width: 68ch; margin: 0 0 22px 2px; padding-left: 24px; }
:root main:has(> article) > article li { margin-bottom: 9px; line-height: 1.7; padding-left: 6px; }
:root main:has(> article) > article ul li::marker { color: var(--accent); }
:root main:has(> article) > article ol li::marker { color: var(--accent); font-weight: 700; }
/* blockquote — hanging quote, no sharp radius */
:root main:has(> article) > article blockquote {
  position: relative; border-left: 3px solid var(--accent); background: rgba(194,92,138,.06);
  padding: 18px 24px 18px 30px; margin: 30px 0; border-radius: 0 8px 8px 0;
  font-family: var(--fh); font-style: italic; font-size: 21px; line-height: 1.5; color: var(--primary);
}
:root main:has(> article) > article blockquote::before {
  content: "\201C"; position: absolute; left: 8px; top: -4px; line-height: 1;
  font-family: var(--fh); font-size: 54px; color: var(--accent); opacity: .5;
}
/* affiliate CTA — full-path specificity beats body-link (RULE J); covers p/li/ul */
:root main:has(> article) > article a[href^="/to/"],
:root main:has(> article) > article a[href^="/ref/"],
:root main:has(> article) > article a[href^="/go/"],
:root main:has(> article) > article a[href^="/try/"],
:root main:has(> article) > article a[href^="/check/"],
:root main:has(> article) > article a[href^="/partner/"] {
  display: inline-block; background: var(--accent); color: var(--bg);
  padding: 4px 15px; border-radius: 6px; text-decoration: none; font-weight: 500;
  font-family: var(--fh); font-size: 15px; letter-spacing: .02em; line-height: 1.5;
}
:root main:has(> article) > article a[href^="/to/"]:hover,
:root main:has(> article) > article a[href^="/ref/"]:hover,
:root main:has(> article) > article a[href^="/go/"]:hover,
:root main:has(> article) > article a[href^="/try/"]:hover,
:root main:has(> article) > article a[href^="/check/"]:hover,
:root main:has(> article) > article a[href^="/partner/"]:hover { background: var(--primary); color: var(--bg); }


/* 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 */
/* NB: `:root html` never matched (`:root` IS <html>, so it looked for an <html>
   inside <html>) → the viewport was never clipped. `:root` targets <html>. */
:root, :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;
  }
}


/* === QA refix iter=1 (surgical) === */

/* M3 (article): related-article cards were padding:12px 16px (16px < 32px min);
   structural override beats obfuscated .mag-related-grid class rules. */
:root main:has(> article) > aside a {
  padding: 24px 32px;
}

/* S6 note (article): add persona/byline line to the bare date meta */
:root main:has(> article) > time::after {
  content: " · VON JANNE HARTWIG · HALLE (SAALE)";
}

/* M3 (home): the 6-col order-grid and the archive-tail grid never collapsed on
   mobile, so cards stayed multi-column and the 32px card padding read as a
   narrow gutter. Collapse both to a single column under 640px so the padding
   becomes real breathing room. */
@media (max-width: 640px) {
  :root main:not(:has(> article)) > div:first-of-type {
    grid-template-columns: 1fr; column-gap: 0; row-gap: 22px;
  }
  :root main:not(:has(> article)) > div:first-of-type > div,
  :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),
  :root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+4) {
    grid-column: 1 / -1;
  }
  :root main:not(:has(> article)) > div:not(:first-of-type) {
    grid-template-columns: 1fr; gap: 12px;
  }
}


/* === QA refix iter=2 (surgical) === */

/* M7 (home, mobile): a beige gutter opened to the right of the mobile column
   while the masthead wordmark and card titles/excerpts were clipped at the
   right edge — classic horizontal overflow (body bg #EEE7D5 = the "beige").
   Two overflow sources remained after iter 1:
   (a) the masthead wordmark "LichtBildLabor" is a single 14-char compound word
       rendered at 54px; it cannot wrap at spaces, so it overflowed the narrow
       column and widened the document;
   (b) home cards used content-box sizing, so their 32-54px horizontal padding
       pushed content past the 1fr grid track, clipping the right side.
   (The viewport-clip guard on line ~399 is also now actually applied to <html>.) */
@media (max-width: 640px) {
  /* (a) masthead wordmark: shrink to fit + allow the compound word to break */
  :root nav:has(> div > h1) { padding-left: 20px; padding-right: 20px; }
  :root nav:has(> div > h1) > div { max-width: 100%; box-sizing: border-box; }
  :root nav:has(> div > h1) > div > h1 {
    font-size: 34px; overflow-wrap: break-word; max-width: 100%;
  }
  :root nav:has(> div > h1) > div > p { max-width: 100%; }

  /* (b) cards: keep padding inside the grid track; break long German words */
  :root main:not(:has(> article)) > div:first-of-type > div {
    box-sizing: border-box; max-width: 100%;
    padding-left: 22px; padding-right: 22px;
  }
  :root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) {
    padding-left: 24px; padding-right: 24px;
  }
  :root main:not(:has(> article)) > div:first-of-type > div > h2,
  :root main:not(:has(> article)) > div:first-of-type > div > p {
    overflow-wrap: break-word; max-width: 100%;
  }
  /* hero title 46px is too large for the ~250px mobile card measure → shrink */
  :root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > h2 {
    font-size: 30px;
  }
}


/* premium-upgrade v1 */
/* premium editorial upgrade — style=Monocle-Swiss overlay=55% grid=asymmetric 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; }
}


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

