/* Local Pulse: news magazine theme (dark nav, green accent) */
:root {
  --paper: #f4f5f4; --card: #fff; --ink: #161616; --ink-2: #5c605d; --rule: #e4e6e4; --rule-ink: #161616;
  --accent: #097a58; --accent-line: #19b383; --accent-hover: #06583f; --accent-ink: #fff; --accent-soft: #e3f4ee;
  --brick: #c62828; --brick-soft: #fbe9e9; --amber: #8a6100; --amber-soft: #fbf1d9;
  --nav: #1c1c1c; --dark: #0f0f0f; --footer: #1c1c1c; --spot: #141414;
  --serif: 'Work Sans', 'Segoe UI', Arial, sans-serif; --sans: 'Work Sans', 'Segoe UI', Arial, sans-serif; --text: 'Work Sans', 'Segoe UI', Arial, sans-serif; --quote: 'Lora', Georgia, serif;
  --radius: 3px; --shadow: 0 8px 22px rgb(0 0 0 / .1);
  color-scheme: light;
}
.c-0 { --c: #1a78b8; --ct: #1a6aa3; --ci: #fff; } .c-1 { --c: #d35400; --ct: #b34700; --ci: #fff; } .c-2 { --c: #2e7d32; --ct: #2e7d32; --ci: #fff; } .c-3 { --c: #d32f2f; --ct: #c62828; --ci: #fff; }
.c-4 { --c: #3f51b5; --ct: #3949ab; --ci: #fff; } .c-5 { --c: #8e44ad; --ct: #7b3fa0; --ci: #fff; } .c-6 { --c: #00897b; --ct: #00796b; --ci: #fff; } .c-7 { --c: #f2b705; --ct: #8a6100; --ci: #161616; }
.c-8 { --c: var(--accent-line); --ct: var(--accent); --ci: #fff; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 15px/1.6 var(--text); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent-line); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 60; }
.skip:focus { left: 8px; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 24px; } }
.ic { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; }
.ic-sm { width: 1em; height: 1em; } .ic-xs { width: .85em; height: .85em; }
.kicker { display: inline-block; font: 700 .72rem var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin: 0 0 .4rem; }
.muted { color: var(--ink-2); } .empty { color: var(--ink-2); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 44px; padding: .5em 1.2em; border: 1px solid var(--accent); background: var(--accent); color: #fff; font: 600 .88rem var(--sans); cursor: pointer; border-radius: var(--radius); transition: background .15s; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-sm { min-height: 36px; padding: .3em .8em; font-size: .8rem; }
.btn-block { width: 100%; }
.band-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* top bar + header */
.topbar { background: var(--dark); color: #cfcfcf; font: 400 .76rem var(--sans); }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 34px; }
.tb-links { display: flex; gap: 18px; flex-wrap: wrap; }
.tb-links a { color: #fff; padding: 6px 0; } .tb-links a:hover { color: var(--accent-line); }
@media (max-width: 640px) { .tb-date { display: none; } .topbar-in { justify-content: center; } }
.site-header { background: #fff; }
.head-main { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.logo-wrap { display: flex; justify-content: center; }
.logo-h { margin: 0; font-size: inherit; }
.logo { display: grid; justify-items: center; gap: 2px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { font: 800 2.4rem/1 var(--sans); color: var(--accent); letter-spacing: -.08em; }
.logo-mark i { font-style: normal; color: var(--ink); }
.logo-name { font: 600 .82rem var(--sans); letter-spacing: .32em; text-transform: uppercase; margin-right: -.32em; }
.logo-tag { font: 400 .68rem var(--sans); color: var(--ink-2); }
.burger, .m-search { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--ink); cursor: pointer; }
.head-promo { display: none; }
@media (min-width: 1024px) {
  .head-main { grid-template-columns: 260px 1fr; padding-top: 24px; padding-bottom: 24px; }
  .burger, .m-search { display: none; }
  .head-promo { display: flex; justify-self: end; align-items: center; gap: 22px; width: 728px; max-width: 100%; height: 90px; padding: 0 24px; color: #fff; background: #151a18; border-left: 6px solid var(--accent-line); }
  .head-promo:hover { color: #fff; background: #1b2420; }
}
.hp-brand { font: 800 1.15rem/1.05 var(--sans); text-transform: uppercase; letter-spacing: .02em; }
.hp-brand small { display: block; font: 500 .62rem var(--sans); letter-spacing: .12em; color: var(--accent-line); margin-top: 3px; }
.hp-h { flex: 1; font: 400 1rem var(--sans); color: #d9e2de; } .hp-h strong { color: #fff; font-weight: 700; }
.hp-btn { background: var(--accent); color: #fff; padding: 9px 16px; font: 700 .74rem var(--sans); text-transform: uppercase; letter-spacing: .04em; }

.mainnav { background: var(--nav); display: none; }
.mainnav.open { display: block; }
.mainnav-in { display: flex; flex-direction: column; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list a, .nav-more summary { display: flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 14px; color: #fff; font: 600 .8rem var(--sans); text-transform: uppercase; letter-spacing: .02em; cursor: pointer; }
.nav-list a:hover, .nav-more summary:hover { color: #fff; background: rgb(255 255 255 / .08); }
.nav-list a[aria-current] { background: var(--accent); color: #fff; }
.nav-more { display: none; }
.nav-search summary { list-style: none; width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer; color: #fff; }
.nav-search summary::-webkit-details-marker, .nav-more summary::-webkit-details-marker { display: none; }
.nav-search form { display: flex; gap: 6px; padding: 10px; }
.nav-search input { flex: 1; min-height: 40px; border: 1px solid var(--rule); padding: 0 10px; font: inherit; }
@media (min-width: 1024px) {
  .mainnav { display: block; position: sticky; top: 0; z-index: 30; }
  .mainnav-in { flex-direction: row; align-items: center; justify-content: space-between; }
  .nav-list { display: flex; }
  .nav-extra { display: none; }
  .nav-more { display: block; position: relative; }
  .nav-more ul { position: absolute; top: 100%; left: 0; min-width: 230px; list-style: none; margin: 0; padding: 6px 0; background: var(--nav); box-shadow: var(--shadow); z-index: 40; }
  .nav-search { position: relative; }
  .nav-search form { position: absolute; right: 0; top: 100%; width: 320px; background: #fff; box-shadow: var(--shadow); border-top: 3px solid var(--accent-line); z-index: 40; }
}

.ticker { display: flex; align-items: center; gap: 12px; margin-top: 16px; min-height: 34px; font: 500 .84rem var(--sans); }
.ticker-k { flex: none; display: inline-flex; gap: 4px; align-items: center; background: var(--accent); color: #fff; font: 700 .68rem var(--sans); text-transform: uppercase; letter-spacing: .05em; padding: 6px 10px; }
.ticker-list { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; }
.ticker-list li { display: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticker-list li.on { display: block; animation: tick .3s ease-out; }
@keyframes tick { from { opacity: 0; transform: translateX(8px); } }
.ticker-nav { display: flex; gap: 2px; }
.ticker-nav button { width: 30px; height: 30px; border: 1px solid var(--rule); background: #fff; cursor: pointer; color: var(--ink-2); }
.ticker-nav button:hover { color: var(--ink); border-color: var(--ink); }

/* media + covers */
.media { position: relative; overflow: hidden; background: #ddd; max-width: 100%; }
.media > a:first-child { display: block; height: 100%; }
.media img, .media .fb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease-out; }
.media:hover img, .media:hover .fb { transform: scale(1.05); }
.media.round { border-radius: 50%; }
.r16x10 { aspect-ratio: 16 / 10; } .r16x9 { aspect-ratio: 16 / 9; } .r4x3 { aspect-ratio: 4 / 3; } .r3x2 { aspect-ratio: 3 / 2; } .r1x1 { aspect-ratio: 1; }
.fb { display: grid; place-items: center; color: rgb(255 255 255 / .92); background-color: var(--c); background-image: linear-gradient(160deg, rgb(255 255 255 / .14), transparent 45%, rgb(0 0 0 / .32)), repeating-linear-gradient(45deg, rgb(255 255 255 / .05) 0 2px, transparent 2px 12px); }
.fb.c-7 { color: rgb(0 0 0 / .65); }
.fb-ic { width: 32%; max-width: 110px; height: auto; stroke-width: 1.4; }
.thumb-label { position: absolute; left: 10px; top: 10px; z-index: 2; background: var(--c); color: var(--ci); font: 600 .66rem var(--sans); text-transform: uppercase; padding: 3px 7px; }
.kick { display: inline-block; font: 700 .66rem var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--ct); margin: 10px 0 2px; }
.kick:hover { color: var(--ink); }
.kick-inv { color: #fff; background: var(--c); padding: 3px 7px; margin: 0 0 6px; }
.c-7 .kick-inv, .kick-inv.c-7 { color: #161616; }
.kick-inv:hover { color: #fff; }
.cat-tag { display: inline-flex; gap: 5px; align-items: center; background: var(--c); color: var(--ci); font: 600 .72rem var(--sans); text-transform: uppercase; padding: 4px 9px; margin-bottom: 12px; }
.cat-tag:hover { color: var(--ci); filter: brightness(1.08); }

/* text bits */
.t { font-family: var(--serif); font-weight: 600; margin: 4px 0 6px; line-height: 1.28; }
.t a:hover { color: var(--accent); }
.t-lg { font-size: 1.25rem; } .t-md { font-size: 1.05rem; } .t-sm { font-size: .9rem; margin-top: 0; }
.meta { margin: 0; font: 400 .74rem var(--sans); color: #6f726f; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.meta .kick { margin: 0; }
.meta-author { color: var(--ink); font-weight: 600; }
.meta-views { display: inline-flex; gap: 3px; align-items: center; }
.ex { margin: 8px 0 0; color: #626562; font-size: .86rem; line-height: 1.55; }

/* tiles (image with overlaid text) */
.tile { position: relative; overflow: hidden; background: #333; min-height: 200px; }
.tile img, .tile .fb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease-out; }
.tile:hover img, .tile:hover .fb { transform: scale(1.05); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgb(0 0 0 / .82)); pointer-events: none; }
.tile-txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px; color: #fff; }
.tile-txt .kick-inv { position: relative; z-index: 3; }
.tile .t { color: #fff; font-size: 1.05rem; margin: 4px 0; text-shadow: 0 1px 3px rgb(0 0 0 / .4); }
.tile .t a:hover { color: #fff; text-decoration: underline; }
.tile .meta, .tile .meta-author { color: #e8e8e8; }
.stretch::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.tile-big .t { font-size: clamp(1.4rem, 3vw, 2rem); }
.tile-small .meta, .tile-card .meta, .tile-pick .meta { display: none; }
.tile-small .t, .tile-card .t, .tile-pick .t { font-size: .95rem; }

.hero { display: grid; gap: 4px; margin-top: 16px; grid-template-columns: 1fr 1fr; }
.hero .tile-big { grid-column: 1 / -1; min-height: 300px; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 228px 228px; }
  .hero .tile-big { grid-column: 1; grid-row: 1 / 3; min-height: 0; }
  .hero .tile-small { min-height: 0; }
}

/* page grid + blocks */
.page-grid { display: grid; gap: 40px; padding-top: 30px; padding-bottom: 20px; }
.main-col { min-width: 0; }
@media (min-width: 1024px) { .page-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; } .sticky-side .sidebar { position: sticky; top: 64px; } }
.blk { margin-bottom: 40px; }
.blk-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 20px; }
.blk-title { margin: 0; font: 800 .92rem var(--sans); text-transform: uppercase; letter-spacing: .03em; }
.blk-line { flex: 1; min-width: 40px; height: 3px; background: var(--c); }
.blk-tabs { display: flex; flex-wrap: wrap; gap: 2px 14px; font: 500 .78rem var(--sans); }
.blk-tabs a { color: var(--ink-2); } .blk-tabs a:hover { color: var(--accent); }
.blk-more { margin: 16px 0 0; font: 600 .76rem var(--sans); text-transform: uppercase; }
.blk-more a { color: var(--ct, var(--accent)); display: inline-flex; gap: 4px; align-items: center; }
.stack { display: grid; gap: 16px; } .stack-lg { display: grid; gap: 28px; } .stack-top { margin-top: 20px; }
.m2 { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: start; }
.m4 { display: grid; gap: 14px; }
@media (min-width: 640px) { .m4 { grid-template-columns: 240px 1fr; gap: 22px; } .m4 .t { margin-top: 0; } }
.m5 { display: grid; grid-template-columns: 70px 1fr; gap: 14px; align-items: center; }
.m5 .kick { margin-top: 0; }
.m6 { padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.m6 .kick { margin-top: 0; }
.lay-a { display: grid; gap: 24px; } @media (min-width: 700px) { .lay-a { grid-template-columns: 1fr 1fr; } }
.lay-t { display: grid; gap: 4px; } .lay-t .tile { min-height: 240px; }
@media (min-width: 640px) { .lay-t { grid-template-columns: repeat(3, 1fr); } }
.half-pair { display: grid; gap: 0 28px; } @media (min-width: 700px) { .half-pair { grid-template-columns: 1fr 1fr; } }
.lay-grid { display: grid; gap: 28px 24px; } @media (min-width: 640px) { .lay-grid { grid-template-columns: 1fr 1fr; } }
.picks { display: grid; gap: 4px; grid-template-columns: 1fr 1fr; padding-top: 10px; padding-bottom: 20px; }
.picks .tile { min-height: 260px; }
@media (min-width: 900px) { .picks { grid-template-columns: repeat(4, 1fr); } .picks .tile { min-height: 300px; } }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 28px; font: 600 .85rem var(--sans); }
.pager a, .pager-on { min-width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--rule); padding: 0 8px; }
.pager a:hover { border-color: var(--ink); color: var(--ink); }
.pager-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.pager-of { margin-left: auto; color: var(--ink-2); font-weight: 400; }

/* spotlight band */
.spotlight { background: var(--spot); color: #fff; margin: 30px 0 10px; }
.spot-in { display: grid; gap: 0; padding-top: 34px; padding-bottom: 34px; }
.spot-in .tile-spot { min-height: 320px; }
.tile-spot .t { font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.spot-list { background: #8e1f1f; background: linear-gradient(180deg, #a12626, #6d1515); padding: 20px; }
.spot-h { display: flex; gap: 8px; align-items: center; font: 700 .95rem var(--sans); text-transform: uppercase; margin: 0 0 12px; }
.spot-list ol { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.spot-list li { counter-increment: s; border-top: 1px solid rgb(255 255 255 / .18); }
.spot-list a { display: grid; grid-template-columns: 28px 1fr; gap: 0 10px; padding: 11px 0; color: #fff; }
.spot-list a::before { content: counter(s, decimal-leading-zero); grid-row: 1 / 3; font: 800 .9rem var(--sans); color: #ffd0d0; }
.spot-list span { font: 600 .92rem/1.3 var(--sans); }
.spot-list small { font-size: .72rem; color: #f3cccc; }
.spot-list a:hover span { text-decoration: underline; }
@media (min-width: 900px) { .spot-in { grid-template-columns: 1.7fr 1fr; } }

/* sidebar */
.sidebar { min-width: 0; display: grid; gap: 34px; align-content: start; }
.sidebar .blk { margin-bottom: 0; }
.sb-stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; border: 1px solid var(--rule); }
.sb-stats div { padding: 14px 6px; display: grid; gap: 2px; } .sb-stats div + div { border-left: 1px solid var(--rule); }
.sb-stats b { font: 800 1.3rem var(--sans); color: var(--accent); font-variant-numeric: tabular-nums; }
.sb-stats span { font: 500 .72rem var(--sans); color: var(--ink-2); text-transform: uppercase; }
.promo { display: grid; gap: 10px; text-align: center; justify-items: center; padding: 28px 22px; color: #fff; background: #151a18; border-top: 4px solid var(--accent-line); min-height: 260px; align-content: center; }
.promo:hover { color: #fff; background: #1b2420; }
.promo-mark { font: 800 2rem/1 var(--sans); color: var(--accent-line); letter-spacing: -.06em; }
.promo-k { font: 700 .66rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #9fb3ab; }
.promo-h { font: 400 1.2rem/1.3 var(--sans); } .promo-h strong { font-weight: 800; }
.promo-p { font-size: .84rem; color: #b8c4bf; }
.promo-btn { background: var(--accent); padding: 9px 16px; font: 700 .74rem var(--sans); text-transform: uppercase; display: inline-flex; gap: 4px; align-items: center; }
.cat-count { list-style: none; margin: 0; padding: 0; }
.cat-count a { display: flex; justify-content: space-between; align-items: center; min-height: 40px; border-bottom: 1px solid var(--rule); font: 500 .88rem var(--sans); }
.cat-count b { font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* list pages */
.crumbs ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font: 400 .74rem var(--sans); color: #6f726f; }
.crumbs li { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumbs li + li::before { content: '/'; margin-right: 4px; }
.crumbs a:hover { color: var(--accent); }
.list-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; padding-bottom: 20px; border-bottom: 3px solid var(--c); }
.list-head > div { min-width: 0; }
.list-icon { width: 56px; height: 56px; flex: none; display: grid; place-items: center; background: var(--c); color: var(--ci); font-size: 1.6rem; }
.list-intro { color: var(--ink-2); max-width: 64ch; margin: 0; }
.list-top { margin-bottom: 28px; } .list-top .tile { min-height: 340px; } .list-top .tile .t { font-size: clamp(1.3rem, 2.6vw, 1.8rem); }

/* article */
.stream { display: grid; gap: 0; }
.post + .post { border-top: 6px solid var(--paper); padding-top: 34px; margin-top: 10px; }
.next-k { font: 700 .72rem var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin: 0 0 10px; }
.post-title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700; line-height: 1.18; margin-bottom: 10px; }
.post-title a:hover { color: var(--ink); }
.post-deck { font: 400 1.04rem/1.55 var(--text); color: var(--ink-2); margin: 0 0 16px; }
.post-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; align-items: center; font: 400 .78rem var(--sans); color: #6f726f; margin-bottom: 16px; }
.pm-left, .pm-right { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.pm-left a { color: var(--ink); font-weight: 600; }
.pm-right span { display: inline-flex; gap: 4px; align-items: center; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 22px; }
.share-k { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--rule); height: 40px; padding: 0 14px; font: 500 .8rem var(--sans); color: var(--ink-2); }
.sh { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; border: 0; cursor: pointer; transition: filter .15s; border-radius: var(--radius); }
.sh:hover { color: #fff; filter: brightness(1.15); }
.sh-fb { background: #3b5998; } .sh-x { background: #161616; } .sh-in { background: #0a66c2; } .sh-wa { background: #1e8e4f; } .sh-copy { background: #6a6a6a; }
.post-cover { margin: 0 0 24px; }
.post-cover figcaption { font: italic .8rem var(--text); color: #6f726f; margin-top: 8px; }
.toc { border: 1px solid var(--rule); border-left: 4px solid var(--accent-line); padding: 14px 18px; margin-bottom: 24px; background: #fafbfa; }
.toc summary { font: 700 .85rem var(--sans); text-transform: uppercase; cursor: pointer; min-height: 28px; }
.toc ol { margin: 10px 0 0; padding-left: 1.3em; } .toc li { margin: 4px 0; } .toc a { color: var(--accent); }
.prose { font: 400 16px/1.8 var(--text); color: #262826; }
.prose h2 { font: 700 1.5rem/1.3 var(--serif); margin: 1.6em 0 .6em; scroll-margin-top: 64px; }
.prose h3 { font: 700 1.2rem var(--serif); margin: 1.4em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { font-weight: 700; color: #111; }
.prose blockquote { margin: 1.8em 0; padding: 18px 22px 18px 26px; border-left: 5px solid var(--accent-line); background: var(--accent-soft); font: italic 400 1.3rem/1.5 var(--quote); color: #14382b; }
.prose blockquote p { margin: 0; }
.prose figure { margin: 1.8em 0; }
.prose figcaption { font: italic .8rem var(--text); color: #6f726f; margin-top: 8px; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
.prose pre { background: #f6f6f6; padding: 14px; overflow-x: auto; font-size: .88rem; }
.post-foot { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rule); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 18px; }
.tags-k { background: var(--ink); color: #fff; font: 600 .72rem var(--sans); text-transform: uppercase; padding: 5px 9px; }
.tags a { border: 1px solid var(--rule); font: 400 .78rem var(--sans); padding: 4px 10px; } .tags a:hover { border-color: var(--accent); color: var(--accent); }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 20px 0; margin: 10px 0 24px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.prev-next a { display: grid; gap: 4px; font: 600 .95rem/1.35 var(--serif); }
.prev-next a span { font: 400 .72rem var(--sans); color: #6f726f; text-transform: uppercase; }
.pn-next { text-align: right; }
.author-box { display: flex; gap: 20px; padding: 22px; background: var(--paper); margin-bottom: 18px; }
.author-box p { margin: 0 0 6px; font-size: .88rem; color: #444; }
.ab-name { font: 700 1.05rem var(--serif) !important; color: var(--ink) !important; margin: 0 0 4px; }
.author-page .ab-name { font-size: 1.8rem !important; }
.ab-co { font-weight: 600; color: var(--ink) !important; } .ab-web a { color: var(--accent); }
.avatar { display: grid; place-items: center; background: var(--accent); color: #fff; font: 700 1rem var(--sans); flex: none; border-radius: 50%; }
.avatar-xs { width: 26px; height: 26px; font-size: .62rem; }
.avatar-sq { width: 96px; height: 96px; font-size: 1.8rem; }
.editor-note { font: italic .82rem var(--text); color: #6f726f; margin: 0 0 32px; } .editor-note a { color: var(--accent); }
.next-load { text-align: center; padding: 10px 0 30px; }
.about-h { font: 700 1.25rem/1.3 var(--serif); }
.about p { margin: 0 0 1em; color: #333; } .about a { color: var(--accent); text-decoration: underline; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 14px 0; font: 600 1rem var(--serif); min-height: 44px; }
.faq p { margin: 0 0 14px; color: #444; }
.preview-bar { background: var(--amber-soft); color: var(--amber); border: 1px solid currentColor; padding: 10px 14px; margin-top: 16px; }

/* auth + forms */
.auth { padding: 48px 16px 64px; display: grid; place-items: center; }
.auth-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--rule); border-top: 4px solid var(--accent-line); padding: 32px 28px; box-shadow: var(--shadow); }
.auth-switch { margin: 20px 0 0; text-align: center; } .auth-switch a { color: var(--accent); }
.form { display: grid; gap: 16px; margin-top: 20px; }
.field { display: grid; gap: 6px; font-family: var(--sans); }
.field label { font-weight: 600; font-size: .92rem; }
.opt { font-weight: 400; color: var(--ink-2); }
.field input, .field textarea, .field select { font: .95rem var(--sans); color: var(--ink); background: #fff; border: 1px solid #d3d6d3; border-radius: var(--radius); padding: 10px 12px; min-height: 44px; width: 100%; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--accent-line); outline-offset: 0; border-color: var(--accent); }
.hint { font: .82rem var(--sans); color: var(--ink-2); margin: 0; }
.alert { background: var(--brick-soft); color: var(--brick); border: 1px solid currentColor; padding: 10px 14px; margin: 16px 0 0; }

/* footer */
.site-footer { background: var(--footer); color: #c9cbc9; margin-top: 30px; font: 400 .88rem var(--sans); }
.foot-in { display: grid; justify-items: center; text-align: center; gap: 16px; padding-top: 48px; padding-bottom: 40px; }
.logo-inv { color: #fff; } .logo-inv:hover { color: #fff; } .logo-inv .logo-mark i { color: #fff; } .logo-inv .logo-tag { color: #9a9d9a; }
.foot-about { max-width: 70ch; margin: 0; line-height: 1.7; }
.foot-contact { margin: 0; } .foot-contact a, .foot-cats a { color: #fff; } .foot-contact a { text-decoration: underline; }
.foot-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.foot-cats a { min-height: 36px; display: inline-flex; align-items: center; } .site-footer a:hover { color: var(--accent-line); }
.foot-bar { background: var(--dark); font-size: .78rem; }
.foot-bar-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; min-height: 52px; padding-top: 10px; padding-bottom: 10px; }
.foot-bar p { margin: 0; color: #9a9d9a; }
.foot-bar nav { display: flex; flex-wrap: wrap; gap: 16px; } .foot-bar a { color: #fff; }
.to-top { position: fixed; right: 16px; bottom: 16px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--accent); color: #fff; z-index: 50; opacity: 0; pointer-events: none; transition: opacity .2s; }
.to-top.show { opacity: 1; pointer-events: auto; } .to-top:hover { color: #fff; background: var(--accent-hover); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }


/* niche index page */
.niche-page { padding-top: 30px; padding-bottom: 44px; }
.np-k { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin: 0 0 6px; }
.np-head h1 { margin: 0 0 10px; }
.np-lead { color: var(--ink-2); max-width: 66ch; margin: 0 0 16px; }
.np-jump { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); margin-bottom: 8px; }
.np-jump a { padding: 6px 12px; border: 1px solid var(--rule); font-size: .82rem; font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; }
.np-jump a:hover { border-color: var(--accent); color: var(--accent); }
.np-sec { margin-top: 30px; scroll-margin-top: 80px; }
.np-sec h2 { font-size: 1.25rem; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.np-sec h2 small { font-size: .72rem; font-weight: 600; color: var(--ink-2); margin-left: 6px; }
.np-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 28px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.np-list a { display: flex; justify-content: space-between; gap: 10px; align-items: center; min-height: 42px; padding: 6px 0; border-bottom: 1px solid var(--rule); font-size: .92rem; }
.np-list a:hover { color: var(--accent); }
.np-list b { font-size: .68rem; font-weight: 700; background: var(--accent); color: var(--accent-ink, #fff); padding: 1px 8px; border-radius: 999px; }
.np-hot a { font-weight: 600; }

/* ---- per-article FAQ ---- */
.post-faq { margin: 34px 0 6px; padding: 22px 24px 10px; background: var(--card); border: 1px solid var(--rule); border-top: 3px solid var(--accent); border-radius: var(--radius); }
.post-faq-h { margin: 0 0 8px; font: 700 1.25rem/1.25 var(--serif); color: var(--ink); }
.post-faq-list details { border-top: 1px solid var(--rule); }
.post-faq-list details:first-child { border-top: 0; }
.post-faq-list summary { list-style: none; cursor: pointer; position: relative; padding: 15px 36px 15px 0; min-height: 48px; font: 600 1rem/1.4 var(--sans); color: var(--ink); }
.post-faq-list summary::-webkit-details-marker { display: none; }
.post-faq-list summary::after { content: '+'; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 700 1.1rem/1 var(--sans); }
.post-faq-list details[open] summary::after { content: '\2212'; background: var(--accent); color: var(--accent-ink, #fff); }
.post-faq-list summary:hover { color: var(--accent); }
.post-faq-list summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.post-faq-a { padding: 0 36px 16px 0; color: var(--ink-2); font: 400 .97rem/1.65 var(--text, var(--sans)); }

/* ---- accessibility: readable link targets and underlined in-text links ---- */
.editor-note a, .prose a, .post-faq-a a { text-decoration: underline; text-underline-offset: 2px; }
.ticker-list a, .site-footer a, .foot-bar a, .foot-util a, .foot-small a, .foot-cols a, a.kick, .by a, a.pill, a.pill-cat, .blk-tabs a, .crumbs a { display: inline-flex; align-items: center; min-height: 24px; }
