*{margin:0;padding:0;box-sizing:border-box}
body{font-family:Georgia,'Times New Roman',serif;line-height:1.8;color:#222;background:#f4f1eb}
.astro-4onburkE{max-width:1100px;margin:0 auto;padding:0 24px}
.astro-phVemMzb{background:linear-gradient(135deg,#2c3e50,#34495e);color:#fff;padding:48px 0;text-align:center;margin-bottom:48px}
.astro-phVemMzb h1{font-size:36px;letter-spacing:2px;text-transform:uppercase;margin-bottom:6px}
.astro-phVemMzb p{font-size:16px;opacity:.8;font-style:italic}
.astro-phVemMzb .astro-3cYrhHPe{color:#fff;text-decoration:none;font-size:20px;letter-spacing:1px;text-transform:uppercase}
.astro-Qz7jJb46{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:28px}
.astro-wnyq9XaS{background:#fff;border-radius:4px;box-shadow:0 2px 12px rgba(0,0,0,.08);padding:28px;transition:box-shadow .2s}
.astro-wnyq9XaS:hover{box-shadow:0 4px 20px rgba(0,0,0,.14)}
.astro-wnyq9XaS h2{font-size:22px;margin-bottom:10px;line-height:1.3}
.astro-wnyq9XaS h2 a{color:#2c3e50;text-decoration:none}
.astro-wnyq9XaS .astro-QMYvbdYy{font-size:12px;color:#888;margin-bottom:10px;text-transform:uppercase;letter-spacing:1px}
.astro-wnyq9XaS p{font-size:15px;color:#555;margin-bottom:14px}
.astro-JSz8GPEn{color:#e74c3c;text-decoration:none;font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.5px}
.astro-hkKTNpAr{max-width:780px;margin:0 auto;padding:0 24px 60px}
.astro-hkKTNpAr h1{font-size:36px;margin-bottom:10px;line-height:1.2}
.astro-hkKTNpAr .astro-QMYvbdYy{font-size:13px;color:#888;display:block;margin-bottom:28px;text-transform:uppercase;letter-spacing:1px}
.astro-hkKTNpAr h2{font-size:24px;margin:36px 0 14px}
.astro-hkKTNpAr h3{font-size:19px;margin:28px 0 10px}
.astro-hkKTNpAr p{margin-bottom:18px;font-size:17px}
.astro-hkKTNpAr ul,.astro-hkKTNpAr ol{margin:0 0 18px 28px}
.astro-hkKTNpAr a{color:#e74c3c}
.astro-hkKTNpAr img{max-width:100%;height:auto;border-radius:4px;margin:20px 0}
.astro-FR0GTi1I{border-top:2px solid #ddd;padding:28px 0;margin-top:48px;text-align:center;font-size:13px;color:#888}
.astro-FR0GTi1I a{color:#888}
.astro-lQkvmjAr{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}
.astro-JnlaE2ya{background:#f9f3e3;padding:16px 20px;margin-top:28px;font-size:13px;color:#7a6230;border-radius:4px}
.astro-xwJbudrI{font-size:11px;color:#888;margin:-22px 0 28px;text-transform:uppercase;letter-spacing:1.5px}
.astro-aX3GE50E{margin:0 0 28px}
.astro-3VxE94XI{width:100%;height:auto;border-radius:4px}
.astro-VFEQDTb3{border-top:2px solid #ddd;margin-top:40px;padding-top:24px}
.astro-VFEQDTb3 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}
.astro-C2p4KaMn{background:#fff;border-radius:4px;box-shadow:0 2px 12px rgba(0,0,0,.08);padding:22px 28px;margin-top:28px}
.astro-C2p4KaMn p{font-size:15px;padding:4px 0;margin:0}
.astro-C2p4KaMn .astro-QMYvbdYy{margin:0 8px 0 0;display:inline}
.astro-C2p4KaMn a{color:#2c3e50;text-decoration:none}
.astro-C2p4KaMn a:hover{color:#e74c3c}
/* === Theme === */
:root{--primary:#8A4470;--accent:#C8AB6E;--bg:#ECE4D6;--fg:#1F1418;--border:#C8B8A8;--r:22px;--fb:'Newsreader';--fh:'Familjen Grotesk'}
/* === Custom === */
/* v.4dd9ca — layout revision */

/* --- Webfonts: @font-face (the top @import is dropped by the concat pipeline) --- */
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(https://fonts.gstatic.com/s/newsreader/v26/cY9VfjOCX1hbuyalUrK49dLac06G1ZGsZBtoBDbPL4MbaQ.woff2) format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 300 700; font-display: swap; src: url(https://fonts.gstatic.com/s/newsreader/v26/cY9XfjOCX1hbuyalUrK439vogqC9yFZCYg7oRZaLJYQ5ayZC.woff2) format('woff2'); }
@font-face { font-family: 'Familjen Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(https://fonts.gstatic.com/s/familjengrotesk/v11/Qw3GZR9ZHiDnImG6-NEMQ41wby8WXHgOiJM6.woff2) format('woff2'); }

/* moment colour for THIS site: #8B6B47 — used in exactly two places (hero drop cap + masthead rule) */

:root body { font-family: var(--fb), Cambria, 'Times New Roman', serif; color: var(--fg); background: var(--bg); line-height: 1.74; font-size: 17px; }
::selection { background: var(--primary); color: var(--bg); }
:root hr { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }

/* ============================================================
   MASTHEAD — photographic band + serif-italic wordmark + manifesto
   (shared element on home + article; navy SaaS gradient replaced)
   ============================================================ */
:root nav { background-color: #2D1F35; background-image: linear-gradient(rgba(45,31,53,.74), rgba(45,31,53,.86)), url("/theme-assets/hero-masthead.jpg"); background-size: cover; background-position: center; color: var(--bg); padding: 74px 24px 60px; text-align: center; margin-bottom: 64px; border-bottom: 4px solid var(--accent); }
:root nav > div { max-width: 720px; margin: 0 auto; }
:root nav h1 { font-family: var(--fb), Cambria, serif; font-style: italic; font-size: 52px; font-weight: 500; color: var(--bg); letter-spacing: .01em; margin-bottom: 12px; line-height: 1.05; text-transform: none; }
:root nav > div > a { font-family: var(--fb), Cambria, serif; font-style: italic; font-size: 34px; color: var(--bg); text-decoration: none; font-weight: 500; letter-spacing: .01em; text-transform: none; }
:root nav h1 + p { font-family: var(--fb), Cambria, serif; font-size: 15.5px; color: rgba(236, 228, 214, .84); font-style: italic; line-height: 1.5; max-width: 44ch; margin: 0 auto; }
:root nav > div::after { content: "✷"; display: block; margin: 18px auto 0; width: 88px; padding-top: 14px; border-top: 2px solid #8B6B47; color: var(--accent); font-size: 15px; font-style: normal; }

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

/* ============================================================
   HOMEPAGE — hero → Editor's Picks → strip → Journal grid → strip → index
   main has TWO div children: :first-of-type = card grid, :last-of-type = tail
   ============================================================ */
:root main > div:first-of-type { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; row-gap: 40px; align-items: stretch; }

/* --- shared card shell (beats template .astro-wnyq9XaS{background:#fff}) --- */
:root main > div:first-of-type > div { background: #F6F0E4; border: 1px solid rgba(138, 68, 112, .16); border-radius: 9px; padding: 26px 30px 28px; box-shadow: 0 1px 4px rgba(31, 20, 24, .05); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; margin: 0; }
:root main > div:first-of-type > div:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(138, 68, 112, .13); border-color: rgba(138, 68, 112, .34); }
:root main > div:first-of-type > div > p:first-child { font-family: var(--fh), system-ui, sans-serif; font-size: 11px; color: var(--accent); letter-spacing: .18em; text-transform: uppercase; margin: 0 0 12px; font-weight: 600; line-height: 1.4; }
:root main > div:first-of-type > div > h2 { font-family: var(--fb), Cambria, serif; font-size: 21px; font-weight: 600; margin: 0 0 12px; line-height: 1.26; letter-spacing: -.005em; }
:root main > div:first-of-type > div > h2 a { color: var(--primary); text-decoration: none; }
:root main > div:first-of-type > div > h2 a:hover { color: var(--accent); }
:root main > div:first-of-type > div > p:not(:first-child) { font-family: var(--fb), Cambria, serif; font-size: 15.5px; line-height: 1.62; color: var(--fg); opacity: .9; margin: 0 0 16px; max-width: 64ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
:root main > div:first-of-type > div > a:last-child { font-family: var(--fh), system-ui, sans-serif; display: inline-block; margin-top: 4px; font-size: 12px; color: var(--primary); text-decoration: none; letter-spacing: .12em; font-weight: 600; text-transform: uppercase; border-bottom: 1px solid var(--primary); padding-bottom: 2px; }
:root main > div:first-of-type > div > a:last-child:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* --- HERO = card 1: THE loud voice, full-width, drop cap, balanced right column --- */
:root main > div:first-of-type > div:nth-of-type(1) { grid-column: 1 / -1; order: 0; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, .82fr); column-gap: 52px; align-items: center; padding: 46px 52px 48px; background: #F8F3E8; border-left: 3px solid var(--accent); }
:root main > div:first-of-type > div:nth-of-type(1) > * { grid-column: 1; }
:root main > div:first-of-type > div:nth-of-type(1)::before { grid-column: 1; content: "LATEST ESSAY"; font-family: var(--fh), system-ui, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--bg); background: var(--primary); padding: 5px 12px; border-radius: 4px; justify-self: start; margin-bottom: 18px; }
:root main > div:first-of-type > div:nth-of-type(1)::after { grid-column: 2; grid-row: 1 / span 20; align-self: center; justify-self: center; content: "✷"; font-size: 92px; color: var(--accent); opacity: .5; line-height: 1; }
:root main > div:first-of-type > div:nth-of-type(1) > p:first-child { font-size: 12px; letter-spacing: .16em; color: var(--primary); margin-bottom: 16px; }
:root main > div:first-of-type > div:nth-of-type(1) > p:first-child::after { content: " · BY ROWAN BLAKE"; color: #8a7a6a; }
:root main > div:first-of-type > div:nth-of-type(1) > h2 { font-size: 40px; line-height: 1.1; margin-bottom: 18px; }
:root main > div:first-of-type > div:nth-of-type(1) > p:not(:first-child) { font-size: 19px; line-height: 1.55; opacity: .94; -webkit-line-clamp: 4; max-width: 40ch; }
:root main > div:first-of-type > div:nth-of-type(1) > p:not(:first-child)::first-letter { font-family: var(--fb), Cambria, serif; float: left; font-size: 62px; line-height: .8; font-weight: 600; color: #8B6B47; padding: 6px 12px 0 0; }
:root main > div:first-of-type > div:nth-of-type(1) > a:last-child { font-size: 12.5px; border: 1px solid var(--primary); border-radius: 30px; padding: 10px 22px; margin-top: 20px; }
:root main > div:first-of-type > div:nth-of-type(1) > a:last-child:hover { background: var(--primary); color: var(--bg); }

/* --- EDITOR'S PICKS label (container ::before, spans full row, sits above cards 2-4) --- */
:root main > div:first-of-type::before { order: 1; grid-column: 1 / -1; content: "EDITOR'S PICKS — READ THESE FIRST"; font-family: var(--fh), system-ui, sans-serif; font-size: 14px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--primary); padding-bottom: 12px; margin-top: 30px; border-bottom: 1px solid var(--border); }
:root main > div:first-of-type > div:nth-of-type(n+2):nth-of-type(-n+4) { order: 2; border-left: 3px solid var(--primary); }

/* --- STRIP 1 (container ::after) between picks and journal --- */
:root main > div:first-of-type::after { order: 3; grid-column: 1 / -1; content: "MORE ESSAYS BELOW"; display: flex; align-items: center; justify-content: center; min-height: 200px; margin: 44px 0 8px; border-radius: 10px; background-color: #2D1F35; background-image: linear-gradient(rgba(20,24,28,.55), rgba(20,24,28,.25)), url("/theme-assets/article-hero.jpg"); background-size: cover; background-position: center 30%; color: #fff; font-family: var(--fh), system-ui, sans-serif; font-size: 13px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0,0,0,.5); }

/* --- JOURNAL grid = cards 5+ --- */
:root main > div:first-of-type > div:nth-of-type(n+5) { order: 4; }

/* ============================================================
   ARCHIVE INDEX TAIL — full-width, 2-col magazine index, warm paper
   (:last-of-type beats template .astro-C2p4KaMn{background:#fff})
   ============================================================ */
:root main > div:last-of-type { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 16px; row-gap: 10px; align-items: stretch; margin-top: 84px; padding: 0; background: transparent; box-shadow: none; border-radius: 0; }
:root main > div:last-of-type::before { grid-column: 1 / -1; content: "PREVIOUS WRITING"; display: flex; align-items: center; justify-content: center; min-height: 210px; margin-bottom: 40px; border-radius: 10px; background-color: #2D1F35; background-image: linear-gradient(rgba(20,24,28,.58), rgba(20,24,28,.3)), url("/theme-assets/article-hero.jpg"); background-size: cover; background-position: center 70%; color: #fff; font-family: var(--fh), system-ui, sans-serif; font-size: 13px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
/* M7: tail rows are first-class boxed cream cards — same paper/border/radius/shadow/hover as the journal cards, just tighter */
:root main > div:last-of-type > p { margin: 0; padding: 20px 22px; background: #F6F0E4; border: 1px solid rgba(138, 68, 112, .16); border-radius: 9px; box-shadow: 0 1px 4px rgba(31, 20, 24, .05); font-family: var(--fb), Cambria, serif; font-size: 15px; line-height: 1.45; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
:root main > div:last-of-type > p:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(138, 68, 112, .13); border-color: rgba(138, 68, 112, .34); }
:root main > div:last-of-type > p > span:first-child { font-family: var(--fh), system-ui, sans-serif; font-size: 10.5px; color: var(--accent); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 6px; display: block; }
:root main > div:last-of-type > p > a { color: var(--fg); text-decoration: none; border-bottom: 0; }
:root main > div:last-of-type > p > a:hover { color: var(--primary); }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
:root main > h1 { font-family: var(--fb), Cambria, serif; font-size: 44px; font-weight: 700; color: var(--primary); line-height: 1.12; margin: 8px 0 14px; letter-spacing: -.012em; }
:root main > time { display: block; font-family: var(--fh), system-ui, sans-serif; font-size: 12px; color: var(--accent); margin-bottom: 40px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
/* S6: bare date-only meta gains a persona byline + location anchor */
:root main > time::after { content: " · BY ROWAN BLAKE · SELLWOOD-MORELAND, PORTLAND"; color: #8a7a6a; }

:root main > article > p { margin-bottom: 20px; font-size: 18px; line-height: 1.78; }
:root main > article > h2 { font-family: var(--fb), Cambria, serif; font-size: 27px; font-weight: 600; color: var(--primary); margin-top: 2.4em; margin-bottom: 0.55em; padding-top: 14px; border-top: 2px solid var(--accent); letter-spacing: -.008em; }
:root main > article > h2::before { content: "✷"; display: block; font-size: 15px; color: var(--accent); font-weight: 400; margin-bottom: 10px; letter-spacing: normal; }
:root main > article > h3 { font-family: var(--fb), Cambria, serif; font-size: 20px; font-weight: 600; color: var(--accent); margin-top: 1.8em; margin-bottom: 0.5em; font-style: normal; }
:root main > article ul, :root main > article ol { margin: 0 0 20px 26px; }
:root main > article li { margin-bottom: 8px; line-height: 1.7; }
:root main > article blockquote { position: relative; border-left: 3px solid var(--accent); padding: 6px 0 6px 30px; margin: 30px 0; font-style: italic; font-size: 19px; line-height: 1.6; color: var(--primary); }
:root main > article blockquote::before { content: "\201C"; position: absolute; left: 6px; top: 2px; font-family: var(--fb), Cambria, serif; font-size: 40px; line-height: 1; color: var(--accent); opacity: .5; }

: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: 700; }
:root main > article > p a:hover { color: var(--accent); text-decoration-color: var(--primary); }

/* affiliate CTA pill — full body-link path + attr so it strictly out-specifies the prose-link rule.
   This site's affiliate anchors use the /out/ prefix; /go/ /try/ /ref/ kept for cross-site robustness. */
:root main > article > p a[href^="/out/"], :root main > article > li a[href^="/out/"], :root main > article > ul a[href^="/out/"],
:root main > article > p a[href^="/go/"],  :root main > article > li a[href^="/go/"],  :root main > article > ul a[href^="/go/"],
:root main > article > p a[href^="/try/"], :root main > article > li a[href^="/try/"], :root main > article > ul a[href^="/try/"],
:root main > article > p a[href^="/ref/"], :root main > article > li a[href^="/ref/"], :root main > article > ul a[href^="/ref/"] { display: inline-block; background: var(--accent); color: var(--fg); padding: 3px 12px; border-radius: 6px; text-decoration: none; font-weight: 600; font-family: var(--fh), system-ui, sans-serif; font-size: 14.5px; letter-spacing: .02em; }
:root main > article > p a[href^="/out/"]:hover, :root main > article > li a[href^="/out/"]:hover, :root main > article > ul a[href^="/out/"]:hover,
:root main > article > p a[href^="/go/"]:hover,  :root main > article > li a[href^="/go/"]:hover,  :root main > article > ul a[href^="/go/"]:hover,
:root main > article > p a[href^="/try/"]:hover, :root main > article > li a[href^="/try/"]:hover, :root main > article > ul a[href^="/try/"]:hover,
:root main > article > p a[href^="/ref/"]:hover, :root main > article > li a[href^="/ref/"]:hover, :root main > article > ul a[href^="/ref/"]:hover { background: var(--primary); color: var(--bg); }

:root main > article > figure { margin: 0 0 32px; }
:root main > article > figure > img { width: 100%; height: auto; display: block; border-radius: 9px; box-shadow: 0 4px 18px rgba(31, 20, 24, .14); filter: saturate(0.86); }

/* top disclosure — footnote aside (live class name, unobfuscated in this build) */
:root .astro-lQkvmjAr { font-size: 0.82em; color: #7a6a5a; border: none; background: transparent; padding: 0 0 1.2em 0; font-style: italic; border-bottom: 1px dotted rgba(122,106,90,0.35); margin-bottom: 1.6em; }

/* bottom disclaimer — a "field note" card, not a plain rectangle (the one with <strong>) */
:root main > article > div:has(> strong) { background: rgba(138, 68, 112, .05); border: 1px solid rgba(138, 68, 112, .18); border-left: 3px solid var(--primary); border-radius: 9px; padding: 20px 24px; margin: 48px 0 0; font-size: 14px; line-height: 1.6; color: #6f5f50; font-family: var(--fb), Cambria, serif; font-style: italic; }
:root main > article > div:has(> strong) strong { font-family: var(--fh), system-ui, sans-serif; font-style: normal; color: var(--primary); text-transform: uppercase; font-size: 11px; letter-spacing: .16em; display: block; margin-bottom: 8px; font-weight: 700; }

:root main > aside { margin-top: 60px; padding-top: 30px; border-top: 2px solid var(--primary); }
:root main > aside h4 { font-family: var(--fh), system-ui, sans-serif; font-size: 13px; color: var(--primary); margin-bottom: 20px; text-transform: uppercase; letter-spacing: .18em; font-weight: 700; }
:root .mag-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
:root .mag-related-item { background: #F6F0E4; border: 1px solid rgba(138, 68, 112, .16); border-radius: 8px; padding: 15px 18px; transition: border-color .15s ease, background .15s ease; }
:root .mag-related-item:hover { border-color: var(--primary); background: rgba(138, 68, 112, .05); }
:root .mag-related-item a { color: var(--fg); text-decoration: none; font-family: var(--fb), Cambria, serif; font-size: 14.5px; line-height: 1.45; display: block; }

:root footer { background: transparent; border-top: 1px solid var(--border); padding: 30px 0 40px; margin-top: 52px; text-align: center; font-family: var(--fb), Cambria, serif; font-size: 12.5px; color: var(--fg); opacity: .62; letter-spacing: .04em; font-style: italic; }
:root footer a { color: var(--fg); text-decoration: none; border-bottom: 1px dotted var(--border); font-style: normal; }
:root footer a:hover { color: var(--primary); border-bottom-color: var(--primary); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 760px) {
  :root nav { padding: 54px 20px 44px; }
  :root nav h1 { font-size: 40px; }
  :root main > div:first-of-type { grid-template-columns: 1fr; row-gap: 28px; }
  :root main > div:first-of-type > div:nth-of-type(1) { grid-template-columns: 1fr; padding: 32px 26px 34px; }
  :root main > div:first-of-type > div:nth-of-type(1)::after { display: none; }
  :root main > div:first-of-type > div:nth-of-type(1) > h2 { font-size: 31px; }
  :root main > div:last-of-type { grid-template-columns: 1fr; }
  :root main > h1 { font-size: 33px; }
}


/* 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=Kinfolk-minimal overlay=55% grid=mixed scale=balanced 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; }
}

