*{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-cjSnwy{max-width:860px;margin:0 auto;padding:0 20px}
.sc-dfZEuj{background:#fff;padding:28px 0;margin-bottom:32px;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.sc-dfZEuj h1{font-size:22px;font-weight:700;margin-bottom:2px}
.sc-dfZEuj p{font-size:14px;color:#666}
.sc-dfZEuj a{color:#333;text-decoration:none;font-size:18px;font-weight:700}
.sc-tbvZRM{display:flex;flex-direction:column;gap:20px}
.sc-IHZWjk{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-IHZWjk:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,.1)}
.sc-IHZWjk h2{font-size:19px;margin-bottom:6px}
.sc-IHZWjk h2 a{color:#1a1a1a;text-decoration:none}
.sc-IHZWjk .sc-RLRxUN{font-size:12px;color:#999;margin-bottom:8px}
.sc-IHZWjk p{font-size:14px;color:#555;margin-bottom:12px}
.sc-IAfhUX{display:inline-block;background:#5865f2;color:#fff;padding:6px 16px;border-radius:20px;font-size:13px;font-weight:600;text-decoration:none}
.sc-IAfhUX:hover{background:#4752c4}
.sc-oemHHu{padding-bottom:60px}
.sc-oemHHu h1{font-size:30px;font-weight:700;margin-bottom:8px}
.sc-oemHHu time{font-size:12px;color:#999;display:block;margin-bottom:24px}
.sc-oemHHu h2{font-size:22px;margin:32px 0 12px}
.sc-oemHHu h3{font-size:18px;margin:24px 0 8px}
.sc-oemHHu p{margin-bottom:16px}
.sc-oemHHu ul,.sc-oemHHu ol{margin:0 0 16px 24px}
.sc-oemHHu a{color:#5865f2}
.sc-oemHHu img{max-width:100%;height:auto;border-radius:12px;margin:16px 0}
.sc-qDuFWh{padding:24px 0;margin-top:40px;text-align:center;font-size:12px;color:#999}
.sc-qDuFWh a{color:#999;text-decoration:none}
.sc-rQxVsE{background:#e8eaf0;border-radius:8px;padding:12px 16px;margin-bottom:20px;font-size:13px;color:#888;font-style:italic}
.sc-nruihw{background:#fff8e1;border-radius:8px;padding:12px 16px;margin-top:24px;font-size:12px;color:#9e8600}
.sc-NGWmCq{display:inline-block;background:#f0f2f7;border-radius:12px;padding:4px 12px;margin:-18px 0 24px;font-size:12px;color:#777}
.sc-zyOkCb{text-align:center;margin:0 0 24px}
.sc-rHbnjZ{max-width:100%;height:auto;border-radius:12px}
.sc-aHeTqT{margin-top:32px;padding-top:20px;border-top:1px solid #e0e0e0}
.sc-aHeTqT 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-sDGkFf{display:flex;flex-direction:column;gap:8px;margin-top:20px}
.sc-ohwaFR{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-ohwaFR:hover{box-shadow:0 2px 8px rgba(0,0,0,.1)}
/* === Theme === */
:root{--primary:#3D4757;--accent:#C7912D;--bg:#ECE4D0;--fg:#1A1D24;--border:#C5B8A0;--r:8px;--fb:'PT Serif';--fh:'Faustina'}
/* === Custom === */
/* v.c1d32b — layout revision */
/* Editorial signature pass for ep-backup-en (Backup Power Home).
   LIVE DOM (styled-components, sc-xxxx names are per-site — targeted STRUCTURALLY):
     Home:    main.sc-cjSnwy > div(card grid) > div*N (p.date, h2>a, p.excerpt, a.cta)
                                > div(archive tail) > a*N (bare links)
     Article: main.sc-cjSnwy.sc-oemHHu > h1 + time + article + div(related)
   Notes: backdrop.jpg is 404 -> masthead stays gradient; article-hero.jpg drives both strips.
   Fonts: top-of-file @import is dropped by the concatenator, so faces are declared @font-face. */

/* ---------- Webfonts (position-independent) ---------- */
@font-face{font-family:'Faustina';font-style:normal;font-weight:400 700;font-display:swap;src:url(https://fonts.gstatic.com/s/faustina/v23/XLYlIZPxYpJfTbZAFV-_Hcw.woff2) format('woff2');}
@font-face{font-family:'Faustina';font-style:italic;font-weight:400 700;font-display:swap;src:url(https://fonts.gstatic.com/s/faustina/v23/XLYjIZPxYpJfTbZAFV-6Lc5iow.woff2) format('woff2');}
@font-face{font-family:'PT Serif';font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/ptserif/v19/EJRVQgYoZZY2vCFuvAFWzr8.woff2) format('woff2');}
@font-face{font-family:'PT Serif';font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/ptserif/v19/EJRSQgYoZZY2vCFuvAnt66qSVys.woff2) format('woff2');}
@font-face{font-family:'PT Serif';font-style:italic;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/ptserif/v19/EJRTQgYoZZY2vCFuvAFT_r21cg.woff2) format('woff2');}

:root{
  --moment:#7A5A3C;          /* assigned moment colour — used in EXACTLY two spots (hero rule + drop cap) */
  --paper:#f5efe1;           /* warm off-white card surface, never #fff */
  --meta:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;   /* the tracked-sans meta voice */
  --hair:rgba(61,71,87,.14);
}

/* ---------- Base ---------- */
:root body{
  font-family:var(--fb),Cambria,'Times New Roman',serif;
  color:var(--fg); background:var(--bg);
  line-height:1.72; font-size:17px;
}
::selection{ background:var(--primary); color:var(--bg); }
:root hr{ border:0; border-top:1px solid var(--border); margin:34px 0; }
:root main{ padding-bottom:88px; }

/* ---------- Masthead: storm gradient + bolt monogram + kicker + manifesto ---------- */
:root header{
  position:relative; overflow:hidden;
  color:var(--bg);
  border-bottom:4px solid var(--accent);
  padding:34px 0 30px; margin-bottom:44px;
  background:
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%3E%3Cpath%20d='M58%204%20L24%2056%20H45%20L38%2096%20L78%2038%20H54%20Z'%20fill='%23C7912D'%20fill-opacity='0.20'/%3E%3C/svg%3E")
      right -6px center / auto 150% no-repeat,
    linear-gradient(158deg,#38424f 0%,#3D4757 52%,#2e3743 100%);
}
:root header:has(> div > h1){ padding:46px 0 34px; }
:root header > div{ position:relative; }
:root header h1,
:root header span a{
  font-family:var(--fh),Cambria,serif; font-style:italic; font-weight:700;
  color:var(--bg); text-decoration:none; letter-spacing:-.01em;
}
:root header h1{ font-size:34px; line-height:1.14; }
:root header span a{ font-size:23px; }
:root header h1::before{
  content:"FIELD NOTES FROM HURRICANE COUNTRY · GREATER HOUSTON";
  display:block; font-family:var(--meta); font-style:normal; font-weight:700;
  font-size:11px; letter-spacing:.2em; color:var(--accent); margin-bottom:12px;
}
:root header p{
  font-family:var(--fh),Cambria,serif; font-style:italic;
  font-size:15.5px; line-height:1.5; color:rgba(236,228,208,.9);
  max-width:610px; margin-top:13px; padding-left:14px;
  border-left:2px solid var(--accent);
}

/* =====================================================================
   HOMEPAGE  (scope: main WITHOUT a child <article>)
   ===================================================================== */
:root main:not(:has(> article)) > div:first-child{
  display:grid; grid-template-columns:repeat(6,1fr);
  column-gap:24px; row-gap:30px;
}
/* default card = 2-col journal cell */
:root main:not(:has(> article)) > div:first-child > div{
  grid-column:span 3;
  background:var(--paper);
  border:1px solid var(--hair);
  border-radius:9px;
  padding:26px 32px 28px;
  box-shadow:0 1px 4px rgba(26,29,36,.05);
  transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;
}
:root main:not(:has(> article)) > div:first-child > div:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 18px rgba(61,71,87,.10);
  border-color:rgba(199,145,45,.4);
}
/* date -> muted meta (NOT accent: keeps orange from becoming wallpaper) */
:root main:not(:has(> article)) > div:first-child > div > p:first-child{
  font-family:var(--meta); font-weight:700; font-size:11px;
  letter-spacing:.16em; text-transform:uppercase; line-height:1.4;
  color:rgba(61,71,87,.6); margin-bottom:10px;
}
:root main:not(:has(> article)) > div:first-child > div > h2{
  font-family:var(--fh),Cambria,serif; font-style:italic; font-weight:700;
  font-size:20px; line-height:1.24; margin-bottom:10px;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}
:root main:not(:has(> article)) > div:first-child > div > h2 a{ color:var(--primary); text-decoration:none; }
:root main:not(:has(> article)) > div:first-child > div > h2 a:hover{ color:var(--accent); }
:root main:not(:has(> article)) > div:first-child > div > p:nth-of-type(2){
  font-family:var(--fb),Cambria,serif; font-size:15px; line-height:1.6;
  color:var(--fg); opacity:.82; margin-bottom:16px; max-width:64ch;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}
:root main:not(:has(> article)) > div:first-child > div > a:last-child{
  display:inline-block; background:transparent; color:var(--primary);
  border:1.5px solid rgba(61,71,87,.4); border-radius:6px;
  font-family:var(--meta); font-weight:700; font-size:11.5px;
  letter-spacing:.14em; text-transform:uppercase; padding:8px 18px; text-decoration:none;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}
:root main:not(:has(> article)) > div:first-child > div > a:last-child:hover{
  background:var(--primary); color:var(--paper); border-color:var(--primary);
}

/* ---- HERO (card 1): the loud voice, full row ---- */
:root main:not(:has(> article)) > div:first-child > div:first-child{
  grid-column:1 / -1; position:relative;
  margin-bottom:72px;
  padding:40px 46px 42px;
  border:1px solid rgba(61,71,87,.16);
  border-left:5px solid var(--moment);         /* MOMENT COLOUR — use 1 of 2 */
  border-radius:10px;
  background:linear-gradient(180deg,rgba(199,145,45,.05) 0%,rgba(245,239,225,0) 55%),var(--paper);
  box-shadow:0 3px 16px rgba(61,71,87,.09);
}
:root main:not(:has(> article)) > div:first-child > div:first-child::before{
  content:"LATEST FIELD REPORT";
  display:inline-block; font-family:var(--meta); font-weight:700; font-size:10.5px;
  letter-spacing:.2em; text-transform:uppercase; color:var(--paper);
  background:var(--primary); padding:5px 12px; border-radius:5px; margin-bottom:16px;
}
:root main:not(:has(> article)) > div:first-child > div:first-child > p:first-child{
  font-size:12px; color:rgba(61,71,87,.62);
}
:root main:not(:has(> article)) > div:first-child > div:first-child > h2{
  display:block; overflow:visible; -webkit-line-clamp:none;
  font-size:clamp(28px,4.6vw,40px); line-height:1.08; margin-bottom:16px;
}
:root main:not(:has(> article)) > div:first-child > div:first-child > p:nth-of-type(2){
  -webkit-line-clamp:4; font-size:20px; line-height:1.5; opacity:1;
  color:var(--fg); max-width:62ch; margin-bottom:22px;
}
:root main:not(:has(> article)) > div:first-child > div:first-child > p:nth-of-type(2)::first-letter{
  float:left; font-family:var(--fh),Cambria,serif; font-style:italic; font-weight:700;
  font-size:56px; line-height:.76; color:var(--moment); margin:6px 12px 0 0;  /* MOMENT COLOUR — use 2 of 2 */
}
:root main:not(:has(> article)) > div:first-child > div:first-child > a:last-child{
  padding:11px 26px; font-size:12.5px;
}
/* full-width EDITOR'S PICKS section label, floated in the gap below the hero (outside the frame) */
:root main:not(:has(> article)) > div:first-child > div:first-child::after{
  content:"EDITOR'S PICKS — READ THESE FIRST";
  position:absolute; left:0; right:0; bottom:-54px;
  font-family:var(--meta); font-weight:700; font-size:14px;
  letter-spacing:.2em; text-transform:uppercase; color:var(--accent);
  padding-bottom:12px; border-bottom:1px solid rgba(199,145,45,.35);
}

/* ---- EDITOR'S PICKS band (cards 2-4): 3 across ---- */
:root main:not(:has(> article)) > div:first-child > div:nth-child(2),
:root main:not(:has(> article)) > div:first-child > div:nth-child(3),
:root main:not(:has(> article)) > div:first-child > div:nth-child(4){
  grid-column:span 2; border-top:3px solid var(--accent);
}
:root main:not(:has(> article)) > div:first-child > div:nth-child(2) > h2,
:root main:not(:has(> article)) > div:first-child > div:nth-child(3) > h2,
:root main:not(:has(> article)) > div:first-child > div:nth-child(4) > h2{ font-size:18px; }

/* ---- STRIP 1 + Journal lead (card 5): full-row photo band "IN ORDER OF WRITING" over the lead story ---- */
:root main:not(:has(> article)) > div:first-child > div:nth-child(5){
  grid-column:1 / -1; position:relative; overflow:hidden;
  margin-top:92px; padding:218px 46px 38px; border-radius:10px;
}
:root main:not(:has(> article)) > div:first-child > div:nth-child(5)::before{
  content:"IN ORDER OF WRITING";
  position:absolute; top:0; left:0; right:0; height:198px;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(rgba(20,24,28,.55),rgba(20,24,28,.28)),
    url("/theme-assets/article-hero.jpg") center 30% / cover no-repeat;
  color:#f6efe0; font-family:var(--meta); font-weight:700; font-size:14px;
  letter-spacing:.34em; text-transform:uppercase; text-shadow:0 1px 4px rgba(0,0,0,.5);
}
:root main:not(:has(> article)) > div:first-child > div:nth-child(5) > h2{ font-size:26px; }
:root main:not(:has(> article)) > div:first-child > div:nth-child(5) > p:nth-of-type(2){ font-size:16.5px; max-width:70ch; }

/* ---- Journal closer (last card): full row, centred so it never leaves a half-empty column ---- */
:root main:not(:has(> article)) > div:first-child > div:last-child{
  grid-column:1 / -1; text-align:center; padding:34px 46px 36px;
}
:root main:not(:has(> article)) > div:first-child > div:last-child > h2{ -webkit-line-clamp:2; }
:root main:not(:has(> article)) > div:first-child > div:last-child > p:nth-of-type(2){
  max-width:60ch; margin-left:auto; margin-right:auto;
}

/* ---- STRIP 2 + compact archive index (tail): full-width photo band + 2-col magazine index ---- */
:root main:not(:has(> article)) > div:first-child + div{
  display:block; columns:2; column-gap:46px;
  position:relative; margin-top:96px; padding:236px 4px 28px;
}
:root main:not(:has(> article)) > div:first-child + div::before{
  content:"MORE FROM THE ARCHIVE";
  position:absolute; top:0; left:0; right:0; height:206px;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(rgba(20,24,28,.5),rgba(20,24,28,.3)),
    url("/theme-assets/article-hero.jpg") center 70% / cover no-repeat;
  color:#f6efe0; font-family:var(--meta); font-weight:700; font-size:14px;
  letter-spacing:.34em; text-transform:uppercase; text-shadow:0 1px 4px rgba(0,0,0,.5);
  border-radius:10px;
}
:root main:not(:has(> article)) > div:first-child + div > a{
  display:block; break-inside:avoid;
  background:transparent; box-shadow:none; border-radius:0;
  position:relative; padding:11px 0 11px 22px;
  border-bottom:1px dotted rgba(61,71,87,.24);
  color:var(--fg); text-decoration:none;
  font-family:var(--fh),Cambria,serif; font-style:italic; font-size:15.5px; line-height:1.4;
  transition:color .15s ease,padding-left .15s ease;
}
:root main:not(:has(> article)) > div:first-child + div > a::before{
  content:"›"; position:absolute; left:2px; top:10px;
  font-style:normal; color:var(--accent); font-weight:700;
}
:root main:not(:has(> article)) > div:first-child + div > a:hover{ color:var(--primary); padding-left:28px; }

/* =====================================================================
   ARTICLE PAGE
   ===================================================================== */
:root main > h1{
  font-family:var(--fh),Cambria,serif; font-style:italic; font-weight:700;
  font-size:clamp(30px,4.4vw,42px); line-height:1.1; color:var(--primary); margin:8px 0 8px;
}
:root main > time{
  display:block; font-family:var(--meta); font-weight:700; font-size:12px;
  letter-spacing:.16em; text-transform:uppercase; color:var(--accent); margin-bottom:30px;
}
:root main > article{ max-width:740px; margin-left:auto; margin-right:auto; }
:root main > article > p{ margin-bottom:20px; font-size:18px; line-height:1.78; }
:root main > article > h2{
  font-family:var(--fh),Cambria,serif; font-style:italic; font-weight:700;
  font-size:26px; line-height:1.2; color:var(--primary); margin:46px 0 14px;
}
:root main > article > h2::before{
  content:"✷"; display:block; color:var(--accent); opacity:.8;
  font-style:normal; font-size:15px; margin-bottom:12px;
}
:root main > article > h3{
  font-family:var(--fh),Cambria,serif; font-style:italic; font-weight:700;
  font-size:20px; color:var(--accent); margin:34px 0 10px;
}
:root main > article ul,
:root main > article ol{ margin:0 0 20px 24px; }
:root main > article li{ margin-bottom:8px; line-height:1.7; }
:root main > article p strong,
:root main > article li strong{ color:var(--primary); background:rgba(199,145,45,.12); padding:0 3px; border-radius:2px; }

:root main > article > blockquote{
  position:relative; border:0; background:transparent;
  padding:6px 0 6px 46px; margin:28px 0;
  font-family:var(--fh),Cambria,serif; font-style:italic; font-size:20px; line-height:1.5; color:var(--primary);
}
:root main > article > blockquote::before{
  content:"“"; position:absolute; left:-6px; top:6px;
  font-family:var(--fh),Cambria,serif; font-style:italic; font-size:60px; line-height:1;
  color:var(--accent); opacity:.55;
}

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

/* affiliate links (/link/…) — inline & mid-sentence: warm strong link, not a pill */
:root main > article p a[href^="/link/"],
:root main > article li a[href^="/link/"]{
  color:var(--primary); font-weight:700;
  text-decoration:underline; text-decoration-color:var(--accent);
  text-decoration-thickness:2.5px; text-underline-offset:3px;
  background:linear-gradient(transparent 62%,rgba(199,145,45,.22) 0);
}
:root main > article p a[href^="/link/"]:hover,
:root main > article li a[href^="/link/"]:hover{ color:var(--accent); text-decoration-color:var(--primary); }

/* article hero image */
:root article > div[role="img"]{ margin:0 0 30px; }
:root article > div[role="img"] > img{
  width:100%; height:auto; display:block; border-radius:8px; border:1px solid rgba(199,145,45,.5);
}

/* closing disclaimer / notice (last child of <article>) */
:root main > article > div:last-child{
  background:rgba(61,71,87,.05);
  border:1px solid rgba(61,71,87,.18); border-left:4px solid var(--accent);
  border-radius:8px; padding:18px 22px; margin-top:38px;
  font-family:var(--fb),Cambria,serif; font-size:14.5px; line-height:1.62; color:var(--fg);
}
:root main > article > div:last-child strong{
  font-family:var(--meta); font-weight:700; text-transform:uppercase;
  letter-spacing:.14em; font-size:11.5px; color:var(--primary);
}
/* occasional summary / dateline chips (conditional template elements) */
:root .sc-rQxVsE{
  background:rgba(199,145,45,.08); border-left:3px solid var(--accent); border-radius:8px;
  padding:12px 16px; margin-bottom:22px; font-size:14.5px; font-style:italic; color:var(--fg);
}
:root .sc-NGWmCq{
  background:rgba(61,71,87,.07); color:var(--primary); border-radius:16px;
  padding:4px 14px; font-family:var(--meta); font-weight:700; font-size:11px;
  letter-spacing:.12em; text-transform:uppercase;
}

/* related articles module */
:root main:has(> article) > div:last-child{
  margin-top:52px; padding-top:26px; border-top:1px solid rgba(199,145,45,.5);
}
:root main:has(> article) > div:last-child > h3{
  font-family:var(--meta); font-weight:700; font-size:13px; color:var(--primary);
  text-transform:uppercase; letter-spacing:.16em; margin-bottom:16px;
}
:root .crd-related-list{ display:flex; flex-direction:column; gap:10px; }
:root .crd-related-link{
  display:block; background:var(--paper); border:1px solid var(--hair); border-radius:8px;
  padding:12px 16px; color:var(--fg); text-decoration:none;
  font-family:var(--fb),Cambria,serif; font-size:14.5px; line-height:1.45;
  transition:border-color .15s ease,background .15s ease;
}
:root .crd-related-link:hover{ border-color:var(--primary); background:rgba(61,71,87,.04); }
:root .crd-related-link::after{ content:" →"; color:var(--accent); opacity:.75; }

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

/* ---------- Mobile ---------- */
@media (max-width:640px){
  :root main:not(:has(> article)) > div:first-child{ display:flex; flex-direction:column; gap:22px; }
  :root main:not(:has(> article)) > div:first-child > div{ padding:22px 24px 24px; }
  :root main:not(:has(> article)) > div:first-child > div:first-child{ padding:28px 24px 30px; margin-bottom:66px; }
  :root main:not(:has(> article)) > div:first-child > div:first-child > p:nth-of-type(2){ font-size:18px; max-width:none; }
  :root main:not(:has(> article)) > div:first-child > div:first-child::after{ font-size:12px; letter-spacing:.14em; bottom:-46px; }
  :root main:not(:has(> article)) > div:first-child > div:nth-child(5){ padding:168px 24px 30px; margin-top:72px; }
  :root main:not(:has(> article)) > div:first-child > div:nth-child(5)::before{ height:154px; font-size:12px; letter-spacing:.24em; }
  :root main:not(:has(> article)) > div:first-child + div{ columns:1; padding-top:190px; margin-top:76px; }
  :root main:not(:has(> article)) > div:first-child + div::before{ height:164px; font-size:12px; letter-spacing:.24em; }
  :root header h1::before{ font-size:10px; letter-spacing:.14em; }
  :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: boxed compact archive tail */
:root main:not(:has(> article)) > div:first-child + div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 16px;
  columns: initial;
  padding-left: 0;
  padding-right: 0;
  align-items: stretch;
}
:root main:not(:has(> article)) > div:first-child + div > a {
  display: flex;
  align-items: center;
  min-height: 74px;
  height: 100%;
  padding: 20px 22px;
  border: 1px solid var(--hair);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 1px 4px rgba(26,29,36,.05);
  color: var(--primary);
  font-size: 16px;
  line-height: 1.35;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease;
}
:root main:not(:has(> article)) > div:first-child + div > a::before {
  content: none;
}
:root main:not(:has(> article)) > div:first-child + div > a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(61,71,87,.10);
  border-color: rgba(199,145,45,.4);
  color: var(--accent);
  padding-left: 22px;
}

@media (max-width: 640px) {
  :root main:not(:has(> article)) > div:first-child + div {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  :root main:not(:has(> article)) > div:first-child + div > a {
    min-height: 68px;
    padding: 18px 20px;
  }
  :root main:not(:has(> article)) > div:first-child + div > a:hover {
    padding-left: 20px;
  }
}


/* premium-upgrade v1 */
/* premium editorial upgrade — style=Substack-modern overlay=25% grid=asymmetric scale=dramatic family=astro-grid */

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


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

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

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

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


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

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

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

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

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

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

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


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

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

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

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

