/* Tri County Regional News — theme styles */

:root {
    --black: #0A0A0A;
    --white: #FFFFFF;
    --accent: var(--ghost-accent-color, #3DF5A0);
    --graphite: #2E2E2E;
    --steel: #555555;
    --rule: #D4D4D4;
    --soft: #EDEDED;
    --font-sans: var(--gh-font-body, 'Archivo'), system-ui, -apple-system, sans-serif;
    --font-head: var(--gh-font-heading, 'Archivo'), system-ui, -apple-system, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --wrap: 1320px;
    --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--black); font-family: var(--font-sans); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--black); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; }
p { margin: 0; }
button { font: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section-pad { padding-top: 56px; padding-bottom: 56px; }
.section-pad-top { padding-top: 56px; }
.center { text-align: center; }

/* ---------- Shared bits ---------- */
.meta, .link-mono, .rubric, .chip, .kicker, .mono-title, .btn, .ad-label {
    font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em;
}
.meta { font-size: 11px; color: var(--steel); }
.link-mono { font-size: 12px; font-weight: 600; }
.underline-accent { border-bottom: 2px solid var(--accent); padding-bottom: 2px; align-self: flex-start; }
.rubric { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; }
.chip { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; background: var(--accent); color: var(--black); padding: 4px 8px; }
.kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; }
.kicker-accent { color: var(--accent); }
.tags-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mono-title { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; padding-bottom: 10px; border-bottom: 3px solid var(--black); margin: 0 0 20px; }
.block-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; border-bottom: 3px solid var(--black); padding-bottom: 12px; margin-bottom: 28px; }
.block-title { font-stretch: 70%; font-weight: 900; font-size: 40px; line-height: 0.9; text-transform: uppercase; }
.block-head .block-title { border: 0; padding: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 18px; font-size: 13px; font-weight: 600; border: 2px solid transparent; border-radius: 0; cursor: pointer; text-decoration: none !important; }
.btn-lg { padding: 16px 26px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--black); border-color: var(--accent); }
.btn-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-outline { background: var(--white); color: var(--black); border-color: var(--black); }
.btn-outline-light { background: transparent; color: var(--white); border-color: var(--white); }

.media-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--soft); color: #9E9E9E; }
.media-placeholder.dark { background: #1A1A1A; color: #6E6E6E; }
.media-placeholder svg { width: 48px; height: auto; }

/* ---------- Header ---------- */
.topbar { background: var(--black); color: var(--white); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none !important; }
.brand-logo { max-height: 48px; width: auto; }
.brand-mark { width: 44px; height: 44px; background: var(--accent); color: var(--black); display: flex; align-items: center; justify-content: center; flex: 0 0 44px; }
.brand-words { display: flex; flex-direction: column; line-height: 0.92; }
.brand-top { font-stretch: 70%; font-weight: 900; font-size: 26px; text-transform: uppercase; }
.brand-bottom { font-stretch: 70%; font-weight: 600; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: #BDBDBD; }
.topbar-actions { display: flex; align-items: center; gap: 18px; }
.topbar-actions .link-mono { color: var(--white); font-size: 13px; }
.icon-btn { background: none; border: 0; color: var(--white); cursor: pointer; padding: 10px; display: flex; }

.sections { border-bottom: 1px solid var(--black); background: var(--white); }
.sections .nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; gap: 4px 24px; scrollbar-width: none; }
.sections .nav::-webkit-scrollbar { display: none; }
.sections .nav a { display: block; padding: 15px 0 12px; font-family: var(--font-mono); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 3px solid transparent; }
.sections .nav a:hover { text-decoration: none; border-bottom-color: var(--black); }
.sections .nav-current a { font-weight: 700; border-bottom-color: var(--accent); }

/* ---------- Homepage ---------- */
.lead-wrap { padding-top: 28px; }
.lead-row { display: flex; flex-wrap: wrap; gap: 32px; }
.lead { flex: 3 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.lead-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #1A1A1A; }
.lead-media img { width: 100%; height: 100%; object-fit: cover; }
.lead-title { font-stretch: 75%; font-weight: 800; font-size: clamp(34px, 4.6vw, 64px); line-height: 0.98; letter-spacing: -0.01em; }
.lead-dek { font-size: 19px; line-height: 1.5; color: var(--graphite); max-width: 760px; }

.recent { flex: 1 1 300px; min-width: 0; counter-reset: recent; }
.recent .mono-title { margin-bottom: 0; }
.recent-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.recent-num { flex: 0 0 28px; font-stretch: 75%; font-weight: 800; font-size: 26px; line-height: 1; }
.recent-num::before { counter-increment: recent; content: counter(recent); }
.recent-item > div { display: flex; flex-direction: column; gap: 6px; }
.recent-title { font-size: 17px; font-weight: 700; line-height: 1.25; }

.grid { display: grid; gap: 28px; }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.story-row { margin-top: 40px; border-top: 1px solid var(--black); padding-top: 28px; }

.card { display: flex; flex-direction: column; gap: 10px; }
.card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-title { font-size: 21px; font-weight: 700; line-height: 1.2; }

.counties { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.county { display: flex; flex-direction: column; }
.county-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-bottom: 3px solid var(--black); padding-bottom: 10px; }
.county-name { font-stretch: 70%; font-weight: 900; font-size: 40px; line-height: 0.9; text-transform: uppercase; }
.county-head .meta { text-align: right; }
.county-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; margin-top: 18px; background: var(--soft); }
.county-media img { width: 100%; height: 100%; object-fit: cover; }
.county-lead { margin: 14px 0 8px; font-size: 22px; font-weight: 700; line-height: 1.2; }
.county-link { display: block; padding: 12px 0; border-top: 1px solid var(--rule); font-size: 16px; font-weight: 600; line-height: 1.3; }
.county .link-mono { margin-top: 10px; }
.county .empty { margin-top: 16px; color: var(--steel); font-size: 15px; }

.pillars > div { display: flex; flex-direction: column; gap: 10px; }
.pillar-num { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--steel); }
.pillars h3 { font-size: 20px; font-weight: 800; line-height: 1.2; }
.pillars p { font-size: 15px; color: var(--graphite); }

/* ---------- Subscribe band ---------- */
.band { background: var(--black); color: var(--white); margin-top: 56px; }
.band-inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.band-copy { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.band-title { font-stretch: 70%; font-weight: 900; font-size: clamp(38px, 5.6vw, 80px); line-height: 0.95; text-transform: uppercase; color: var(--white); }
.band-copy p { font-size: 18px; color: #CFCFCF; max-width: 620px; }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Weather ---------- */
.wx-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; border-bottom: 3px solid var(--black); padding-bottom: 12px; }
.wx-tabs { display: flex; flex-wrap: wrap; border: 2px solid var(--black); }
.wx-tabs button { font-family: var(--font-mono); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; padding: 12px 16px; min-height: 44px; border: 0; border-radius: 0; background: var(--white); color: var(--black); cursor: pointer; }
.wx-tabs button[aria-pressed="true"] { background: var(--black); color: var(--white); }
.wx-frame { position: relative; margin-top: 16px; background: #111; aspect-ratio: 16 / 9; min-height: 380px; }
.wx-frame.is-county { aspect-ratio: auto; height: 640px; }
.wx-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wx-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 10px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--steel); }
.wx-foot a { color: var(--black); font-weight: 600; border-bottom: 2px solid var(--accent); }
.sidebar .wx { background: var(--black); color: var(--white); padding: 20px; }
.sidebar .wx .block-title { font-size: 26px; color: var(--white); }
.sidebar .wx-head { border-color: var(--white); }
.sidebar .wx-frame, .sidebar .wx-frame.is-county { height: 520px; aspect-ratio: auto; min-height: 0; }
.sidebar .wx-foot, .sidebar .wx-foot a { color: var(--white); }

/* ---------- Ads (rotating, from assets/ads) ---------- */
.ad { margin: 40px auto; text-align: center; }
.ad[hidden] { display: none; }
.ad-label { display: block; font-size: 10px; letter-spacing: 0.12em; color: var(--steel); margin-bottom: 6px; }
.ad a { display: inline-block; }
.ad img { margin: 0 auto; }
.ad-wide img { width: 100%; max-width: 970px; }
.ad-box { margin: 0; }
.ad-box img { width: 100%; max-width: 300px; }
.article .ad-wide { margin: 28px 0; }
@media (max-width: 640px) { .ad-wide img { max-width: 360px; } }

/* ---------- Section (tag) pages ---------- */
.hero { background: var(--black); color: var(--white); }
.hero-inner { display: flex; flex-direction: column; gap: 14px; padding-top: 48px; padding-bottom: 44px; }
.hero-title { font-stretch: 65%; font-weight: 900; font-size: clamp(52px, 9vw, 128px); line-height: 0.86; text-transform: uppercase; color: var(--white); }
.hero-title-sm { font-size: clamp(40px, 6.4vw, 92px); line-height: 0.92; }
.hero-dek { max-width: 720px; font-size: 18px; color: #CFCFCF; }
.link-light { color: var(--white); border-bottom: 2px solid var(--accent); }

.with-sidebar { display: flex; flex-wrap: wrap; gap: 40px; }
.main-col { flex: 999 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.main-col .mono-title { margin-bottom: 0; }
.sidebar { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.feature { display: flex; flex-wrap: wrap; gap: 24px; }
.feature-media { flex: 1 1 340px; aspect-ratio: 4 / 3; overflow: hidden; background: #1A1A1A; display: block; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; justify-content: center; align-items: flex-start; }
.feature-title { font-stretch: 75%; font-weight: 800; font-size: clamp(30px, 3.2vw, 42px); line-height: 1; }
.tip-box { background: var(--accent); padding: 22px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.tip-title { font-stretch: 70%; font-weight: 900; font-size: 28px; line-height: 0.95; text-transform: uppercase; }

.pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.pagination a { border: 2px solid var(--black); padding: 12px 18px; }

/* ---------- Articles ---------- */
.article-head { padding-top: 48px; display: flex; flex-direction: column; gap: 16px; }
.article-title { font-stretch: 75%; font-weight: 800; font-size: clamp(38px, 5.4vw, 68px); line-height: 0.98; letter-spacing: -0.01em; }
.article-dek { font-size: 21px; line-height: 1.45; color: var(--graphite); }
.article-meta { padding-bottom: 16px; border-bottom: 1px solid var(--black); }
.article-meta a { color: var(--black); font-weight: 600; }
.article-image { margin: 32px auto 0; }
.article-image img { width: 100%; }
.article-image figcaption { font-family: var(--font-mono); font-size: 12px; color: var(--steel); margin-top: 8px; }
.article-foot { padding-bottom: 24px; }
.standards-note { font-size: 14px; color: var(--steel); border-top: 1px solid var(--rule); padding-top: 16px; margin-top: 32px; }
.standards-note a { color: var(--black); border-bottom: 2px solid var(--accent); }

/* Ghost editor content */
.gh-content { display: grid; grid-template-columns: [full-start] minmax(var(--gutter), 1fr) [wide-start] minmax(0, 160px) [main-start] minmax(0, 712px) [main-end] minmax(0, 160px) [wide-end] minmax(var(--gutter), 1fr) [full-end]; padding-top: 32px; padding-bottom: 16px; font-size: 19px; line-height: 1.65; }
.gh-content > * { grid-column: main-start / main-end; }
.gh-content > * + * { margin-top: 1.2em; }
.gh-content .kg-width-wide { grid-column: wide-start / wide-end; }
.gh-content .kg-width-full { grid-column: full-start / full-end; }
.gh-content .kg-width-full img { width: 100%; }
.gh-content h2 { font-stretch: 75%; font-weight: 800; font-size: 32px; line-height: 1.1; margin-top: 1.6em; }
.gh-content h3 { font-size: 24px; font-weight: 800; line-height: 1.2; margin-top: 1.4em; }
.gh-content a { border-bottom: 2px solid var(--accent); }
.gh-content a:hover { text-decoration: none; background: var(--accent); }
.gh-content blockquote { margin-left: 0; margin-right: 0; padding-left: 20px; border-left: 4px solid var(--black); font-size: 22px; font-weight: 600; }
.gh-content figcaption { font-family: var(--font-mono); font-size: 12px; color: var(--steel); margin-top: 8px; }
.gh-content hr { border: 0; border-top: 1px solid var(--black); }
.gh-content ul, .gh-content ol { padding-left: 1.3em; }
.gh-content img { margin: 0 auto; }
.page-content { padding-bottom: 64px; }

/* ---------- Subscribe page ---------- */
.billing-toggle { display: inline-flex; flex-wrap: wrap; align-self: flex-start; border: 1px solid var(--white); margin-top: 14px; }
.billing-toggle button { font-family: var(--font-mono); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; padding: 13px 22px; border: 0; border-radius: 0; background: transparent; color: var(--white); cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { background: var(--white); color: var(--black); }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); border: 2px solid var(--black); }
.tier { display: flex; flex-direction: column; gap: 18px; padding: 32px 28px; border-right: 1px solid var(--black); border-bottom: 1px solid var(--black); }
.tier:nth-child(2) { background: var(--accent); }
.tier-name { font-family: var(--font-mono); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.tier-price { display: flex; align-items: baseline; gap: 8px; }
.tier-amount { font-stretch: 70%; font-weight: 900; font-size: 64px; line-height: 0.9; }
.tier-per { font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; }
.tier-desc { color: var(--graphite); }
.tier-perks { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--black); display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.tier-perks li::before { content: "✓"; font-weight: 700; margin-right: 10px; }
[data-billing-mode="monthly"] [data-show="yearly"],
[data-billing-mode="yearly"] [data-show="monthly"] { display: none; }
.tiers + .meta { margin-top: 16px; }


/* ---------- Views ---------- */
.views { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.views[hidden] { display: none; }
.meta-light { color: #BDBDBD; }

/* ---------- Reactions ---------- */
.reactions { margin-top: 40px; }
.reaction-row { display: flex; flex-wrap: wrap; gap: 10px; }
.reaction { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 14px; border: 2px solid var(--black); border-radius: 0; background: var(--white); color: var(--black); cursor: pointer; font-family: var(--font-mono); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; transition: transform .1s ease; }
.reaction:hover { transform: translateY(-2px); }
.reaction:disabled { opacity: .6; cursor: progress; }
.reaction[aria-pressed="true"] { background: var(--accent); }
.reaction-icon { font-size: 22px; line-height: 1; }
.reaction-count { min-width: 1.5ch; padding-left: 8px; border-left: 1px solid var(--black); }
.reaction-note, .reaction-msg { margin-top: 10px; }
.reaction-note a { color: var(--black); font-weight: 600; border-bottom: 2px solid var(--accent); }

/* ---------- Comments ---------- */
.discussion { margin-top: 48px; }
.comment-list { display: flex; flex-direction: column; }
.comment { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.comment-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.comment p { white-space: pre-line; font-size: 16px; }
.comment-empty, .comment-locked { color: var(--steel); padding: 12px 0; }
.comment-form { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.comment-form textarea, .tip-form input, .tip-form select, .tip-form textarea { width: 100%; font: inherit; font-size: 16px; padding: 14px 16px; border: 2px solid var(--black); border-radius: 0; background: var(--white); color: var(--black); }
.comment-form textarea:focus, .tip-form input:focus, .tip-form select:focus, .tip-form textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; }
.comment-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.comment-cta { margin-top: 20px; background: var(--black); color: var(--white); padding: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.comment-cta p { flex: 1 1 280px; }
.comment-cta .link-mono { color: var(--white); }

/* ---------- Standards, info boxes ---------- */
.standards { gap: 0; }
.standard { display: flex; gap: 28px; padding: 28px 0; border-top: 1px solid var(--black); }
.standard-num { flex: 0 0 64px; font-stretch: 65%; font-weight: 900; font-size: 56px; line-height: 0.85; }
.standard h2 { font-size: 26px; font-weight: 800; line-height: 1.15; margin-bottom: 8px; }
.standard p { font-size: 17px; color: var(--graphite); max-width: 720px; }
.info-box { border: 2px solid var(--black); padding: 22px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.info-box p { font-size: 15px; }
.info-box a { border-bottom: 2px solid var(--accent); }
.mono-label { font-family: var(--font-mono); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.page-content-inline { padding-left: 0; padding-right: 0; display: block; padding-bottom: 0; }
.page-content-inline:empty { display: none; }

/* ---------- Membership model ---------- */
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.model { gap: 0; border: 2px solid var(--black); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.model-card { padding: 28px; border-right: 1px solid var(--black); border-bottom: 1px solid var(--black); display: flex; flex-direction: column; gap: 10px; }
.model-main { background: var(--accent); }
.model-rank { font-family: var(--font-mono); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.model-card h3 { font-stretch: 70%; font-weight: 900; font-size: 40px; line-height: 0.9; text-transform: uppercase; }
.model-band { background: var(--black); color: var(--white); }
.model-band .block-title { color: var(--white); border-bottom: 3px solid var(--white); padding-bottom: 12px; }
.check-list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 17px; }
.check-list li::before { content: "✓"; color: var(--accent); font-weight: 900; margin-right: 12px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* ---------- FAQ ---------- */
.faq-item { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.faq-item h3 { font-size: 18px; font-weight: 800; }
.faq-item p { font-size: 15px; color: var(--graphite); }

/* ---------- Tip form ---------- */
.tip-form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 240px; }
.field label { font-family: var(--font-mono); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.field .optional { color: var(--steel); font-weight: 400; }
.field-row { display: flex; flex-wrap: wrap; gap: 20px; }
.tip-form .btn { align-self: flex-start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tip-result { font-weight: 600; }
.tip-result.is-ok { background: var(--accent); padding: 12px 16px; }
.tip-result.is-error { color: #B00020; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: #CFCFCF; margin-top: 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; padding-top: 56px; padding-bottom: 32px; }
.footer-brand { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.footer-name { font-family: var(--font-head); font-stretch: 70%; font-weight: 900; font-size: 44px; line-height: 0.9; text-transform: uppercase; color: var(--white); }
.footer-brand p { font-size: 14px; max-width: 380px; }
.footer-nav .nav { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(140px, auto)); gap: 10px 48px; }
.footer-nav a { color: var(--white); font-size: 14px; }
.footer-legal { border-top: 1px solid #2B2B2B; padding-top: 16px; padding-bottom: 28px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: #8F8F8F; }

/* ---------- Phones ---------- */
@media (max-width: 640px) {
    :root { --gutter: 16px; }
    .hide-sm { display: none !important; }
    .topbar-actions { gap: 10px; }
    .brand-top { font-size: 22px; }
    .brand-bottom { font-size: 12px; }
    .block-title, .county-name { font-size: 32px; }
    .section-pad { padding-top: 40px; padding-bottom: 40px; }
    .band-inner { padding-top: 44px; padding-bottom: 44px; }
    .wx-frame { min-height: 300px; aspect-ratio: 4 / 3; }
    .wx-frame.is-county { height: 560px; }
    .gh-content { font-size: 18px; }
    .footer-nav .nav { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
}
