*{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}
.sc-pYvrTI{max-width:860px;margin:0 auto;padding:0 20px}
.sc-qZzrOp{background:#fff;padding:28px 0;margin-bottom:32px;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.sc-qZzrOp h1{font-size:22px;font-weight:700;margin-bottom:2px}
.sc-qZzrOp p{font-size:14px;color:#666}
.sc-qZzrOp a{color:#333;text-decoration:none;font-size:18px;font-weight:700}
.sc-hljBps{display:flex;flex-direction:column;gap:20px}
.sc-qrSGgO{background:#fff;border-radius:12px;box-shadow:0 1px 6px rgba(0,0,0,.06);padding:24px 28px;transition:transform .15s,box-shadow .15s}
.sc-qrSGgO:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,.1)}
.sc-qrSGgO h2{font-size:19px;margin-bottom:6px}
.sc-qrSGgO h2 a{color:#1a1a1a;text-decoration:none}
.sc-qrSGgO .sc-DhVHzs{font-size:12px;color:#999;margin-bottom:8px}
.sc-qrSGgO p{font-size:14px;color:#555;margin-bottom:12px}
.sc-ntPXeN{display:inline-block;background:#5865f2;color:#fff;padding:6px 16px;border-radius:20px;font-size:13px;font-weight:600;text-decoration:none}
.sc-ntPXeN:hover{background:#4752c4}
.sc-vZYuvW{padding-bottom:60px}
.sc-vZYuvW h1{font-size:30px;font-weight:700;margin-bottom:8px}
.sc-vZYuvW time{font-size:12px;color:#999;display:block;margin-bottom:24px}
.sc-vZYuvW h2{font-size:22px;margin:32px 0 12px}
.sc-vZYuvW h3{font-size:18px;margin:24px 0 8px}
.sc-vZYuvW p{margin-bottom:16px}
.sc-vZYuvW ul,.sc-vZYuvW ol{margin:0 0 16px 24px}
.sc-vZYuvW a{color:#5865f2}
.sc-vZYuvW img{max-width:100%;height:auto;border-radius:12px;margin:16px 0}
.sc-BCxbLR{padding:24px 0;margin-top:40px;text-align:center;font-size:12px;color:#999}
.sc-BCxbLR a{color:#999;text-decoration:none}
.sc-KFWbDr{background:#e8eaf0;border-radius:8px;padding:12px 16px;margin-bottom:20px;font-size:13px;color:#888;font-style:italic}
.sc-LKWhdk{background:#fff8e1;border-radius:8px;padding:12px 16px;margin-top:24px;font-size:12px;color:#9e8600}
.sc-ZUHivx{display:inline-block;background:#f0f2f7;border-radius:12px;padding:4px 12px;margin:-18px 0 24px;font-size:12px;color:#777}
.sc-AiPZLz{text-align:center;margin:0 0 24px}
.sc-AQlJeo{max-width:100%;height:auto;border-radius:12px}
.sc-ioySkc{margin-top:32px;padding-top:20px;border-top:1px solid #e0e0e0}
.sc-ioySkc 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)}
.sc-uARWBR{display:flex;flex-direction:column;gap:8px;margin-top:20px}
.sc-HaXyeC{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}
.sc-HaXyeC:hover{box-shadow:0 2px 8px rgba(0,0,0,.1)}
/* === Theme === */
:root{--primary:#3A2B5C;--accent:#7A9AB5;--bg:#F0EAD8;--fg:#0F0820;--border:#C5BEA0;--rust:#B34F2A;--r:6px;--fb:'Hanken Grotesk';--fh:'Fraunces'}
/* === Custom === */
/* v.d29de6 — layout revision */

/* ============================================================
   Webfonts — declared as @font-face because the deploy pipeline
   concatenates template CSS -> theme :root -> custom.css, so any
   top-of-file @import lands mid-stylesheet and Chromium drops it
   (fonts silently fall back to system). @font-face is position-safe.
   ============================================================ */
@font-face{font-family:'Fraunces';font-style:normal;font-weight:400 700;font-display:swap;src:url(https://fonts.gstatic.com/s/fraunces/v38/6NU78FyLNQOQZAnv9bYEvDiIdE9Ea92uemAk_WBq8U_9v0c2Wa0KxC9TeA.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Fraunces';font-style:italic;font-weight:400 700;font-display:swap;src:url(https://fonts.gstatic.com/s/fraunces/v38/6NU58FyLNQOQZAnv9ZwNjucMHVn85Ni7emAe9lKqZTnbB-gzTK0K1ChjeveQ.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:400 700;font-display:swap;src:url(https://fonts.gstatic.com/s/hankengrotesk/v12/ieVn2YZDLWuGJpnzaiwFXS9tYtpd59A.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

:root{ --moment:#7A5A3C; --paper:#FAF5EC; }

:root body{ font-family:var(--fb),'Hanken Grotesk',system-ui,-apple-system,sans-serif; color:var(--fg); background:var(--bg); line-height:1.75; font-size:17px; -webkit-font-smoothing:antialiased; }
::selection{ background:var(--primary); color:#FBF6EA; }
:root hr{ border:0; border-top:1px solid rgba(58,43,92,.2); margin:34px 0; }

/* ============================================================
   MASTHEAD — shared branded bar (both pages), photo on home
   ============================================================ */
:root body > header{ background:var(--primary); box-shadow:none; margin:0 0 50px; padding:0; border-bottom:3px solid var(--accent); }
:root body > header > div{ max-width:900px; }

/* home masthead: atmospheric factory-meeting-room photo */
:root body > header:has(h1){ background:linear-gradient(rgba(28,22,44,.74),rgba(28,22,44,.82)),url("/theme-assets/landing-photo.jpg") center 40%/cover no-repeat; }
:root body > header:has(h1) > div{ padding:64px 20px 58px; }
:root body > header:has(h1) > div::before{ content:"AI-Act-Tagebuch \0000B7\0000A0Mittelstand"; display:block; margin-bottom:16px; font-family:var(--fb),system-ui,sans-serif; font-weight:600; font-size:12px; letter-spacing:.28em; text-transform:uppercase; color:var(--accent); }
:root body > header:has(h1) h1{ font-family:var(--fh),'Fraunces',Cambria,serif; font-style:italic; font-weight:600; font-size:clamp(34px,6vw,54px); line-height:1.02; letter-spacing:-.01em; color:#FBF6EA; margin:0 0 14px; text-shadow:0 2px 18px rgba(0,0,0,.4); }
:root body > header:has(h1) p{ font-family:var(--fb),system-ui,sans-serif; font-style:normal; font-size:15px; line-height:1.6; color:rgba(248,243,233,.86); max-width:58ch; margin:0; }
:root body > header:has(h1) > div::after{ content:"Praxisnotizen statt Paragraphen\0000A0\002014\0000A0eine HR-Managerin lernt den AI Act selbst."; display:block; margin-top:18px; padding-top:14px; border-top:1px solid rgba(248,243,233,.26); font-family:var(--fh),Fraunces,serif; font-style:italic; font-size:16px; color:rgba(248,243,233,.9); max-width:54ch; }

/* article masthead: slim wordmark bar */
:root body > header:not(:has(h1)) > div{ padding:20px; }
:root body > header:not(:has(h1)) a{ font-family:var(--fh),Fraunces,serif; font-style:italic; font-weight:600; font-size:22px; color:#FBF6EA; text-decoration:none; }
:root body > header:not(:has(h1)) a:hover{ color:var(--accent); }

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

/* ============================================================
   HOME FEED — hero -> Empfehlungen pair -> journal grid + strips
   ============================================================ */
:root main:not(:has(> article)) > div:first-of-type{ display:grid; grid-template-columns:1fr 1fr; gap:30px 28px; align-items:stretch; }

/* section ordering (container pseudo-elements are real grid items)
   1 featured · 2 Empfehlungen label · 3 picks · 4 STRIP1 chapter-opener ·
   5 journal grid · 6 STRIP2 band · 7 archive tail */
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1){ order:1; }
:root main:not(:has(> article)) > div:first-of-type::before{ order:2; }
: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; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(4){ order:4; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+5){ order:5; }
:root main:not(:has(> article)) > div:first-of-type::after{ order:6; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+9){ order:7; }

/* base card */
:root main:not(:has(> article)) > div:first-of-type > div{ background:var(--paper); border:1px solid rgba(58,43,92,.14); border-radius:9px; box-shadow:0 1px 4px rgba(15,8,32,.05); padding:26px 32px 28px; display:flex; flex-direction:column; transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease; }
:root main:not(:has(> article)) > div:first-of-type > div:hover{ transform:translateY(-2px); box-shadow:0 8px 22px rgba(15,8,32,.10); border-color:rgba(58,43,92,.28); }
:root main:not(:has(> article)) > div:first-of-type > div > p:first-child{ font-family:var(--fb),system-ui,sans-serif; font-weight:600; font-size:11.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--primary); opacity:.6; margin:0 0 11px; }
:root main:not(:has(> article)) > div:first-of-type > div > h2{ font-family:var(--fh),Fraunces,serif; font-weight:600; font-size:20px; line-height:1.28; letter-spacing:-.005em; margin:0 0 12px; }
: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(--moment); }
:root main:not(:has(> article)) > div:first-of-type > div > p:nth-of-type(2){ font-family:var(--fb),system-ui,sans-serif; font-size:15px; line-height:1.62; color:var(--fg); opacity:.82; margin:0 0 18px; max-width:62ch; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
:root main:not(:has(> article)) > div:first-of-type > div > a:last-child{ margin-top:auto; align-self:flex-start; background:var(--primary); color:#FBF6EA; border:1px solid var(--primary); border-radius:6px; padding:9px 18px; text-decoration:none; font-size:0; transition:background .16s ease,color .16s ease; }
:root main:not(:has(> article)) > div:first-of-type > div > a:last-child::after{ content:"Weiterlesen \002192"; font-family:var(--fb),system-ui,sans-serif; font-weight:600; font-size:11.5px; letter-spacing:.14em; text-transform:uppercase; }
:root main:not(:has(> article)) > div:first-of-type > div > a:last-child:hover{ background:transparent; color:var(--primary); }

/* FEATURED (newest) */
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1){ grid-column:1/-1; border-top:4px solid var(--accent); border-radius:10px; padding:38px 44px 42px; position:relative; overflow:hidden; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > *{ position:relative; z-index:1; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1)::before{ content:"Neuester Eintrag \0000B7\0000A0Petra Lehmann"; position:relative; z-index:1; display:block; font-family:var(--fb),system-ui,sans-serif; font-weight:700; font-size:11.5px; letter-spacing:.22em; text-transform:uppercase; color:var(--primary); margin-bottom:14px; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1)::after{ content:"01"; position:absolute; top:2px; right:30px; z-index:0; font-family:var(--fh),Fraunces,serif; font-style:italic; font-weight:500; font-size:150px; line-height:1; color:rgba(58,43,92,.09); pointer-events:none; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > p:first-child{ font-size:12px; opacity:.55; margin-bottom:12px; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > h2{ font-size:clamp(28px,4vw,42px); line-height:1.1; margin:0 0 18px; max-width:20ch; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > p:nth-of-type(2){ font-family:var(--fh),Fraunces,serif; font-size:20px; line-height:1.5; opacity:.92; max-width:60ch; margin:0 0 24px; display:block; -webkit-line-clamp:none; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > p:nth-of-type(2)::first-letter{ font-family:var(--fh),Fraunces,serif; font-weight:600; font-style:italic; font-size:66px; line-height:.72; float:left; margin:8px 14px 0 0; color:var(--moment); }

/* Empfehlungen label (full-row, outside frames) */
:root main:not(:has(> article)) > div:first-of-type::before{ content:"Empfehlungen \0000B7\0000A0Zuerst lesen"; grid-column:1/-1; margin:36px 0 2px; padding-bottom:12px; border-bottom:1px solid rgba(58,43,92,.22); font-family:var(--fb),system-ui,sans-serif; font-weight:700; font-size:14px; letter-spacing:.2em; text-transform:uppercase; color:var(--primary); }

/* STRIP 2 — photo band between the journal grid and the archive tail (M6 position 2) */
:root main:not(:has(> article)) > div:first-of-type::after{ content:"Mehr Artikel\0000A0\002014\0000A0Das Archiv"; grid-column:1/-1; margin:52px 0 8px; min-height:204px; border-radius:9px; display:flex; align-items:center; justify-content:center; text-align:center; background:linear-gradient(rgba(20,24,28,.58),rgba(20,24,28,.30)),url("/theme-assets/story-bg.jpg") center 72%/cover no-repeat; color:#FBF6EA; font-family:var(--fb),system-ui,sans-serif; font-weight:600; font-size:13px; letter-spacing:.32em; text-transform:uppercase; text-shadow:0 2px 10px rgba(0,0,0,.55); }

/* STRIP 1 — chapter-opener card carries a photo band header before the journal (M6 position 1) */
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(4){ grid-column:1/-1; padding:0; overflow:hidden; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(4):hover{ transform:none; box-shadow:0 1px 4px rgba(15,8,32,.05); border-color:rgba(58,43,92,.14); }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(4)::before{ content:"Das Journal\0000A0\002014\0000A0Aktuellste zuerst"; display:flex; align-items:center; justify-content:center; text-align:center; height:204px; margin-bottom:26px; background:linear-gradient(rgba(20,24,28,.55),rgba(20,24,28,.28)),url("/theme-assets/story-bg.jpg") center 30%/cover no-repeat; color:#FBF6EA; font-family:var(--fb),system-ui,sans-serif; font-weight:600; font-size:13px; letter-spacing:.32em; text-transform:uppercase; text-shadow:0 2px 10px rgba(0,0,0,.55); }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(4) > p,
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(4) > h2{ padding-left:32px; padding-right:32px; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(4) > a:last-child{ margin-left:32px; margin-bottom:30px; }

/* ============================================================
   COMPACT ARCHIVE TAIL — trailing cards (nth-child 9+) become a
   full-width, boxed, title-only 3-col magazine index. Same paper
   token / border / radius / shadow / hover as the top journal
   cards; equal-height cells via height:100% + grid stretch (M7).
   ============================================================ */
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+9){ height:100%; min-height:128px; padding:20px 22px; background:var(--paper); border:1px solid rgba(58,43,92,.12); border-radius:8px; box-shadow:0 1px 4px rgba(15,8,32,.05); display:flex; flex-direction:column; justify-content:flex-start; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+9):hover{ transform:translateY(-2px); box-shadow:0 8px 22px rgba(15,8,32,.10); border-color:rgba(58,43,92,.28); }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+9) > p,
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+9) > a:last-child{ display:none; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+9) > h2{ margin:0; font-family:var(--fh),Fraunces,serif; font-weight:600; font-size:18px; line-height:1.3; letter-spacing:0; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+9) > h2 a{ display:block; color:var(--primary); text-decoration:none; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+9):hover > h2 a{ color:var(--moment); }

/* desktop: 6-col grid gives both 2-across feature rows (span 3) and a
   3-across archive index (span 2); full-width bands span 1 / -1 */
@media (min-width:721px){
  :root main:not(:has(> article)) > div:first-of-type{ grid-template-columns:repeat(6,minmax(0,1fr)); }
  :root main:not(:has(> article)) > div:first-of-type > div{ grid-column:span 3; }
  :root main:not(:has(> article)) > div:first-of-type > div:nth-child(1),
  :root main:not(:has(> article)) > div:first-of-type > div:nth-child(4){ grid-column:1/-1; }
  :root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+9){ grid-column:span 2; }
}

/* ============================================================
   ARCHIVE TAIL — SECOND CONTAINER (overflow entries).
   The homepage renders older entries as a SEPARATE sibling div of
   the journal grid: <main><div>grid</div><div>tail</div>. The base
   theme lays this second div out as a flex column of white block
   anchors, so untouched it reads as full-width single-title rows
   with empty space to the right. Style it as the SAME boxed cream
   3-col magazine index as the nth-child(9+) archive cards above —
   same paper token, border, radius, shadow, Fraunces title, hover
   lift — so the bottom of the page keeps full design parity (M7).
   Direct <a> children are the cells; base = 1 col (mobile-safe),
   desktop promotes to 3 cols. Higher specificity than .sc-HaXyeC
   overrides the base white background without !important.
   ============================================================ */
:root main:not(:has(> article)) > div:not(:first-of-type){ display:grid; grid-template-columns:1fr; gap:16px; margin-top:22px; }
:root main:not(:has(> article)) > div:not(:first-of-type) > a{ display:flex; align-items:center; height:100%; min-height:92px; padding:18px 22px; background:var(--paper); border:1px solid rgba(58,43,92,.12); border-radius:8px; box-shadow:0 1px 4px rgba(15,8,32,.05); font-family:var(--fh),Fraunces,serif; font-weight:600; font-size:18px; line-height:1.3; letter-spacing:0; color:var(--primary); text-decoration:none; transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,color .16s ease; }
:root main:not(:has(> article)) > div:not(:first-of-type) > a:hover{ transform:translateY(-2px); box-shadow:0 8px 22px rgba(15,8,32,.10); border-color:rgba(58,43,92,.28); color:var(--moment); }
@media (min-width:721px){
  :root main:not(:has(> article)) > div:not(:first-of-type){ grid-template-columns:repeat(3,1fr); gap:16px 28px; }
}

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
:root main:nth-of-type(1):has(> article) > h1,
:root main:nth-of-type(1):has(> article) > time,
:root main:nth-of-type(1):has(> article) > article,
:root main:nth-of-type(1):has(> article) > div{ max-width:722px; margin-left:auto; margin-right:auto; }

:root main:nth-of-type(1):has(> article) > h1{ font-family:var(--fh),Fraunces,serif; font-weight:600; font-size:clamp(30px,4.6vw,44px); line-height:1.12; letter-spacing:-.015em; color:var(--primary); margin:46px auto 12px; }
:root main:nth-of-type(1):has(> article) > time{ display:block; font-family:var(--fb),system-ui,sans-serif; font-weight:600; font-size:12px; letter-spacing:.18em; text-transform:uppercase; color:rgba(58,43,92,.6); margin:0 auto 30px; }
:root main:nth-of-type(1):has(> article) > time::after{ content:"\0000A0\0000B7\0000A0Petra Lehmann"; }

:root main:nth-of-type(1):has(> article) > article > div{ margin:0 0 30px; }
:root main:nth-of-type(1):has(> article) > article img{ width:100%; height:auto; display:block; border-radius:10px; box-shadow:0 6px 24px rgba(15,8,32,.14); margin:0; }

:root main:nth-of-type(1):has(> article) > article > p{ font-family:var(--fb),'Hanken Grotesk',system-ui,sans-serif; font-size:18px; line-height:1.78; color:var(--fg); margin:0 0 20px; }
:root main:nth-of-type(1):has(> article) > article > p:first-of-type{ font-family:var(--fh),Fraunces,serif; font-style:italic; font-size:21px; line-height:1.55; color:var(--primary); opacity:.92; margin-bottom:26px; }

:root main:nth-of-type(1):has(> article) > article > h2{ font-family:var(--fh),Fraunces,serif; font-weight:600; font-size:clamp(23px,3vw,29px); line-height:1.2; color:var(--primary); margin:2.2em 0 .5em; padding:0; }
:root main:nth-of-type(1):has(> article) > article > h2::before{ content:"\0000A7"; display:block; font-family:var(--fh),Fraunces,serif; font-weight:500; font-size:24px; line-height:1; color:var(--moment); margin-bottom:.32em; letter-spacing:.08em; }
:root main:nth-of-type(1):has(> article) > article h3{ font-family:var(--fh),Fraunces,serif; font-style:italic; font-weight:600; font-size:19px; color:var(--primary); margin:1.8em 0 .4em; }

:root main:nth-of-type(1):has(> article) > article ul,
:root main:nth-of-type(1):has(> article) > article ol{ margin:0 0 20px 22px; }
:root main:nth-of-type(1):has(> article) > article li{ font-size:18px; line-height:1.72; margin-bottom:10px; padding-left:4px; }
:root main:nth-of-type(1):has(> article) > article li::marker{ color:var(--accent); }

:root main:nth-of-type(1):has(> article) > article blockquote{ border-left:3px solid var(--accent); background:rgba(122,154,181,.1); padding:16px 22px; margin:26px 0; border-radius:0 8px 8px 0; font-family:var(--fh),Fraunces,serif; font-style:italic; font-size:19px; color:var(--primary); }

/* editorial body links */
:root main:nth-of-type(1):has(> article) > article :is(p,li) a,
:root main:nth-of-type(1):has(> article) > article :is(p,li) 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:nth-of-type(1):has(> article) > article :is(p,li) a:hover{ color:var(--primary); text-decoration-color:var(--primary); }

/* affiliate CTA pill — full body-link path + [href] so it always out-specifies (RULE J) */
:root main:nth-of-type(1):has(> article) > article :is(p,li) a[href^="/go/"],
:root main:nth-of-type(1):has(> article) > article :is(p,li) a[href^="/ref/"],
:root main:nth-of-type(1):has(> article) > article :is(p,li) a[href^="/try/"],
:root main:nth-of-type(1):has(> article) > article :is(p,li) a[href^="/check/"],
:root main:nth-of-type(1):has(> article) > article :is(p,li) a[href^="/partner/"],
:root main:nth-of-type(1):has(> article) > article :is(p,li) a[href^="/offer/"],
:root main:nth-of-type(1):has(> article) > article :is(p,li) a[href^="/best/"],
:root main:nth-of-type(1):has(> article) > article :is(p,li) a[href^="/out/"]{ display:inline-block; background:var(--primary); color:#FBF6EA; border-radius:6px; padding:5px 15px; text-decoration:none; font-family:var(--fb),system-ui,sans-serif; font-weight:600; font-size:15px; letter-spacing:.02em; }
:root main:nth-of-type(1):has(> article) > article :is(p,li) a[href^="/go/"]:hover,
:root main:nth-of-type(1):has(> article) > article :is(p,li) a[href^="/ref/"]:hover,
:root main:nth-of-type(1):has(> article) > article :is(p,li) a[href^="/try/"]:hover,
:root main:nth-of-type(1):has(> article) > article :is(p,li) a[href^="/check/"]:hover,
:root main:nth-of-type(1):has(> article) > article :is(p,li) a[href^="/partner/"]:hover,
:root main:nth-of-type(1):has(> article) > article :is(p,li) a[href^="/offer/"]:hover,
:root main:nth-of-type(1):has(> article) > article :is(p,li) a[href^="/best/"]:hover,
:root main:nth-of-type(1):has(> article) > article :is(p,li) a[href^="/out/"]:hover{ background:#2A1F45; color:#FBF6EA; }

/* disclaimer aside (hash drifts — target structurally) */
:root main:nth-of-type(1):has(> article) > article aside{ background:rgba(58,43,92,.06); border:1px solid rgba(58,43,92,.14); border-left:4px solid var(--accent); border-radius:0 8px 8px 0; padding:16px 22px; margin:38px 0 0; font-family:var(--fb),system-ui,sans-serif; font-style:normal; font-size:14px; line-height:1.6; color:rgba(33,24,48,.78); }
:root main:nth-of-type(1):has(> article) > article aside b{ color:var(--primary); }

/* related module */
:root main:nth-of-type(1):has(> article) > div{ background:var(--paper); border:1px solid rgba(58,43,92,.12); border-radius:9px; padding:26px 30px; margin:54px auto 0; box-shadow:0 1px 4px rgba(15,8,32,.05); }
:root main:nth-of-type(1):has(> article) > div > h3{ font-family:var(--fb),system-ui,sans-serif; font-weight:700; font-size:12px; letter-spacing:.2em; text-transform:uppercase; color:var(--primary); margin:0 0 16px; padding-bottom:12px; border-bottom:1px solid rgba(58,43,92,.18); }
:root main:nth-of-type(1):has(> article) > div > div{ display:grid; grid-template-columns:1fr 1fr; gap:6px 24px; }
:root main:nth-of-type(1):has(> article) > div > div > a{ display:block; position:relative; background:transparent; box-shadow:none; padding:12px 0 12px 22px; border:0; border-bottom:1px dotted rgba(58,43,92,.18); border-radius:0; font-family:var(--fh),Fraunces,serif; font-weight:500; font-size:15.5px; line-height:1.35; color:var(--primary); text-decoration:none; transition:color .15s ease,padding-left .15s ease; }
:root main:nth-of-type(1):has(> article) > div > div > a::before{ content:"\002192"; position:absolute; left:0; top:12px; color:var(--accent); }
:root main:nth-of-type(1):has(> article) > div > div > a:hover{ color:var(--moment); padding-left:26px; }

/* ============================================================
   FOOTER
   ============================================================ */
:root body > footer{ background:transparent; border-top:1px solid rgba(58,43,92,.18); margin-top:64px; padding:26px 0 40px; text-align:center; font-family:var(--fb),system-ui,sans-serif; font-size:12.5px; letter-spacing:.06em; color:rgba(33,24,48,.6); }
:root body > footer a{ color:var(--primary); text-decoration:none; border-bottom:1px dotted rgba(58,43,92,.4); }
:root body > footer a:hover{ border-bottom-style:solid; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:720px){
  :root main:not(:has(> article)) > div:first-of-type{ grid-template-columns:1fr; gap:22px; }
  :root main:not(:has(> article)) > div:first-of-type > div{ padding:24px 26px 26px; }
  :root main:not(:has(> article)) > div:first-of-type > div:nth-child(1){ padding:30px 26px 32px; }
  :root main:not(:has(> article)) > div:first-of-type > div:nth-child(1)::after{ display:none; }
  /* STRIP 1 opener keeps its band full-bleed (padding stays 0); tighten band heights */
  :root main:not(:has(> article)) > div:first-of-type > div:nth-child(4)::before{ height:168px; }
  :root main:not(:has(> article)) > div:first-of-type::after{ min-height:168px; }
  /* archive tail: single-column boxed cards, no min-height stretch */
  :root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+9){ min-height:0; padding:20px 22px; }
  :root main:nth-of-type(1):has(> article) > div > div{ grid-template-columns:1fr; }
  :root body > header:has(h1) > div{ padding:48px 20px 44px; }
}


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


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


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


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


/* premium-upgrade v1 */
/* premium editorial upgrade — style=Monocle-Swiss overlay=25% grid=mixed scale=balanced family=astro-grid */

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


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

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

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

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


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

