/*
Theme Name: 608 Scanner
Theme URI: https://www.608scanner.com
Author: 608 Scanner
Description: Rock County's public safety news source. Newspaper-noir editorial theme.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: 608scanner
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;1,8..60,400&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --black: #0a0a0a;
  --near-black: #111318;
  --dark: #1a1d24;
  --red: #c8102e;
  --red-dark: #9e0c24;
  --white: #faf9f6;
  --off-white: #ede9e2;
  --gray: #8a8785;
  --light-gray: #d4d0c8;
  --page-bg: #d4d2cc;
  --rule: #2a2d35;
  --serif: 'Playfair Display', Georgia, serif;
  --body: 'Source Serif 4', Georgia, serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); font-size: 16px; line-height: 1.7; background: var(--page-bg); color: var(--black); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* ── TICKER ── */
.site-ticker { background: var(--red); color: #fff; padding: 6px 0; overflow: hidden; position: relative; }
.ticker-label { position: absolute; left: 0; top: 0; bottom: 0; background: var(--black); padding: 0 16px; display: flex; align-items: center; font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; z-index: 2; white-space: nowrap; }
.ticker-track { display: flex; animation: ticker 50s linear infinite; padding-left: 120px; }
.ticker-track span { font-family: var(--mono); font-size: 11px; white-space: nowrap; padding: 0 40px; letter-spacing: 0.05em; }
.ticker-track span::before { content: '◆'; margin-right: 16px; font-size: 8px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── MASTHEAD ── */
.site-masthead { background: var(--near-black); border-bottom: 3px solid var(--red); }
.masthead-inner { max-width: 1200px; margin: 0 auto; padding: 20px 40px 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; border-bottom: 1px solid var(--rule); }
.masthead-meta { font-family: var(--mono); font-size: 10px; color: var(--gray); letter-spacing: 0.1em; line-height: 1.8; }
.masthead-meta strong { color: var(--red); font-weight: 500; }
.site-branding { text-align: center; padding-bottom: 16px; }
.site-eyebrow { font-family: var(--mono); font-size: 11px; color: var(--red); letter-spacing: 0.3em; text-transform: uppercase; display: block; margin-bottom: 4px; }
.site-title { font-family: var(--serif); font-size: 52px; font-weight: 900; color: var(--white); letter-spacing: -0.02em; line-height: 1; display: block; }
.site-title em { color: var(--red); font-style: normal; }
.site-title a { color: inherit; }
.site-tagline { font-family: var(--mono); font-size: 10px; color: var(--gray); letter-spacing: 0.2em; text-transform: uppercase; display: block; margin-top: 6px; }
.masthead-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.btn-live { background: var(--red); color: #fff; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 16px; border-radius: 2px; display: flex; align-items: center; gap: 6px; transition: background 0.15s; }
.btn-live::before { content: ''; width: 6px; height: 6px; background: #fff; border-radius: 50%; animation: livepulse 1.5s ease-in-out infinite; }
@keyframes livepulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.8)} }
.btn-live:hover { background: var(--red-dark); }
.masthead-social { display: flex; gap: 12px; }
.masthead-social a { font-family: var(--mono); font-size: 10px; color: var(--gray); letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.15s; }
.masthead-social a:hover { color: var(--white); }

/* ── Listen to the Scanner Live — single CTA replacing the old duplicate sign-in buttons ── */
.scanner-live-cta { display: inline-flex; align-items: center; gap: 10px; background: var(--red); color: #fff; text-decoration: none; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 12px 22px; border-radius: 3px; box-shadow: 0 2px 0 rgba(0,0,0,0.25), 0 0 0 0 rgba(200,16,46,0.5); transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.3s ease; white-space: nowrap; cursor: pointer; border: 0; }
.scanner-live-cta:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 3px 0 rgba(0,0,0,0.25), 0 0 0 4px rgba(200,16,46,0.18); }
.scanner-live-cta:focus { outline: none; box-shadow: 0 2px 0 rgba(0,0,0,0.25), 0 0 0 3px rgba(255,255,255,0.6); }
.scanner-live-dot { display: inline-block; width: 10px; height: 10px; background: #ff2640; border-radius: 50%; box-shadow: 0 0 0 0 rgba(255,38,64,0.7); animation: scannerLivePulse 1.4s ease-in-out infinite; flex-shrink: 0; }
@keyframes scannerLivePulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,38,64,0.75); transform: scale(1); }
  60%  { box-shadow: 0 0 0 10px rgba(255,38,64,0); transform: scale(1.08); }
  100% { box-shadow: 0 0 0 0 rgba(255,38,64,0); transform: scale(1); }
}

/* ── Listen Live modal ── */
.scanner-listen-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.scanner-listen-modal[hidden] { display: none; }
.scanner-listen-backdrop { position: absolute; inset: 0; background: rgba(8,8,10,0.85); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.scanner-listen-card { position: relative; background: #14171c; color: var(--white); max-width: 440px; width: 100%; padding: 36px 32px 28px; border-radius: 6px; border: 1px solid #2a2d35; border-top: 3px solid var(--red); box-shadow: 0 20px 60px rgba(0,0,0,0.6); font-family: var(--body); animation: scannerListenIn 0.18s ease-out; }
@keyframes scannerListenIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.scanner-listen-close { position: absolute; top: 8px; right: 12px; background: transparent; border: 0; color: #888; font-size: 28px; line-height: 1; cursor: pointer; padding: 4px 10px; transition: color 0.15s; }
.scanner-listen-close:hover { color: var(--white); }
.scanner-listen-eyebrow { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #ff8a9e; margin-bottom: 10px; }
.scanner-listen-card h2 { font-family: var(--serif); font-size: 28px; font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 10px; color: var(--white); }
.scanner-listen-sub { font-size: 14.5px; line-height: 1.55; color: #b6b3ae; margin: 0 0 22px; }
.scanner-listen-btn { display: block; padding: 14px 18px; margin-bottom: 10px; border-radius: 4px; text-decoration: none; transition: background 0.15s, border-color 0.15s, transform 0.15s; }
.scanner-listen-btn:hover { transform: translateY(-1px); }
.scanner-listen-btn-primary { background: var(--red); color: #fff; }
.scanner-listen-btn-primary:hover { background: var(--red-dark); }
.scanner-listen-btn-secondary { background: transparent; color: var(--white); border: 1px solid #3a3e47; }
.scanner-listen-btn-secondary:hover { border-color: var(--red); }
.scanner-listen-btn-title { display: block; font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 3px; }
.scanner-listen-btn-sub { display: block; font-family: var(--body); font-size: 12.5px; color: rgba(255,255,255,0.78); letter-spacing: 0; text-transform: none; font-weight: 400; }
.scanner-listen-btn-secondary .scanner-listen-btn-sub { color: #8a8785; }
.scanner-listen-foot { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: #777; text-align: center; margin: 14px 0 0; }
.scanner-listen-foot a { color: var(--red); text-decoration: none; font-weight: 700; }
.scanner-listen-foot a:hover { text-decoration: underline; }
@media (max-width: 480px) {
  .scanner-listen-card { padding: 28px 22px 22px; }
  .scanner-listen-card h2 { font-size: 23px; }
  .scanner-listen-sub { font-size: 13.5px; }
}

/* ── NAV ── */
.site-nav { background: var(--near-black); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; }
.nav-inner a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--light-gray); padding: 14px 18px; border-right: 1px solid var(--rule); transition: all 0.15s; white-space: nowrap; }
.nav-inner a:first-child { border-left: 1px solid var(--rule); }
.nav-inner a:hover, .nav-inner a.current { background: var(--rule); color: var(--white); }
.nav-inner a.current-cat, .nav-inner a.current-menu-item { color: var(--red); }
.nav-spacer { flex: 1; }

/* ── HERO ── */
.site-hero { background: var(--dark); }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 320px; min-height: 440px; }
.hero-featured { position: relative; overflow: hidden; }
.hero-featured .post-thumbnail { width: 100%; height: 100%; min-height: 440px; object-fit: cover; opacity: 0.65; filter: grayscale(20%); transition: transform 0.6s ease; }
.hero-featured:hover .post-thumbnail { transform: scale(1.02); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--near-black) 0%, transparent 55%); pointer-events: none; }
.hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px; }
.hero-cat-badge { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); background: rgba(200,16,46,0.15); border: 1px solid var(--red); padding: 3px 10px; display: inline-block; margin-bottom: 10px; }
.hero-title { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 8px; letter-spacing: -0.01em; }
.hero-title a { color: inherit; }
.hero-title a:hover { color: var(--light-gray); }
.hero-excerpt { font-size: 15px; color: #e8e4dc; line-height: 1.6; margin-bottom: 10px; }
.hero-meta { font-family: var(--mono); font-size: 10px; color: var(--gray); letter-spacing: 0.08em; }
.hero-sidebar { background: var(--near-black); padding: 20px; border-left: 1px solid var(--rule); overflow-y: auto; }
.sidebar-section-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); padding-bottom: 10px; border-bottom: 1px solid var(--rule); margin-bottom: 0; }
.hero-sidebar-post { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.hero-sidebar-post:last-child { border-bottom: none; }
.hero-sidebar-cat { font-family: var(--mono); font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray); margin-bottom: 4px; }
.hero-sidebar-title { font-family: var(--serif); font-size: 14px; font-weight: 700; color: var(--white); line-height: 1.3; transition: color 0.15s; }
.hero-sidebar-title a { color: inherit; }
.hero-sidebar-title a:hover { color: var(--red); }
.hero-sidebar-date { font-family: var(--mono); font-size: 9px; color: var(--gray); margin-top: 4px; }

/* ── MAIN LAYOUT ── */
.site-main-wrap { max-width: 1200px; margin: 0 auto; padding: 40px 40px; display: grid; grid-template-columns: 1fr 300px; gap: 48px; }

/* ── SECTION HEADERS ── */
.section-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 3px solid var(--black); }
.section-header h2 { font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.section-rule { flex: 1; height: 1px; background: var(--light-gray); }
.section-header a { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); white-space: nowrap; }

/* ── ARTICLE GRID ── */
.posts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 48px; }
.post-card { cursor: pointer; transition: transform 0.2s; }
.post-card:hover { transform: translateY(-2px); }
.post-card:hover .post-card-title { color: var(--red); }
.post-card-thumb { height: 200px; overflow: hidden; background: var(--dark); margin-bottom: 14px; position: relative; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(15%); transition: transform 0.4s ease; }
.post-card:hover .post-card-thumb img { transform: scale(1.04); }
.post-card-cat { position: absolute; bottom: 10px; left: 10px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: #fff; background: var(--red); padding: 3px 8px; }
.post-card-title { font-family: var(--serif); font-size: 19px; font-weight: 700; line-height: 1.25; margin-bottom: 8px; letter-spacing: -0.01em; transition: color 0.15s; }
.post-card-title a { color: inherit; }
.post-card-excerpt { font-size: 15px; color: #333; line-height: 1.6; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-meta { font-family: var(--mono); font-size: 11px; color: #777; letter-spacing: 0.05em; }

/* ── FEATURED STRIP ── */
.featured-strip { background: var(--near-black); padding: 20px 24px; margin-bottom: 40px; border-left: 4px solid var(--red); }
.featured-strip-label { font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.featured-strip-title { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 8px; line-height: 1.25; }
.featured-strip-title a { color: inherit; }
.featured-strip-title a:hover { color: var(--light-gray); }
.featured-strip-excerpt { font-size: 14px; color: var(--light-gray); line-height: 1.6; }

/* ── SIDEBAR ── */
.sidebar-widget { margin-bottom: 32px; }
.widget-header { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; padding: 8px 12px; background: var(--black); color: var(--white); display: flex; align-items: center; gap: 8px; }
.widget-header::before { content: ''; width: 8px; height: 8px; background: var(--red); border-radius: 50%; flex-shrink: 0; }
.widget-body { border: 1px solid var(--light-gray); border-top: none; padding: 16px; }

/* Scanner widget */
.scanner-widget { background: var(--black); border: 1px solid var(--rule); margin-bottom: 32px; padding: 16px; }
.scanner-widget-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.scanner-dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; animation: livepulse 1.5s ease-in-out infinite; }
.scanner-widget-title { font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red); }
.scanner-freq { font-family: var(--mono); font-size: 30px; font-weight: 500; color: #ff4060; letter-spacing: 0.05em; }
.scanner-freq-label { font-family: var(--mono); font-size: 9px; color: var(--gray); letter-spacing: 0.1em; margin-bottom: 12px; }
.scanner-listen-btn { display: block; width: 100%; background: var(--red); color: #fff; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 10px; transition: background 0.15s; }
.scanner-listen-btn:hover { background: var(--red-dark); }

/* Category list */
.cat-list { list-style: none; }
.cat-list li { border-bottom: 1px solid var(--off-white); }
.cat-list a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--black); transition: color 0.15s; }
.cat-list a:hover { color: var(--red); }
.cat-count { background: var(--off-white); padding: 2px 8px; border-radius: 100px; font-size: 10px; color: var(--gray); }

/* About widget */
.about-text { font-size: 14px; color: #222; line-height: 1.7; margin-bottom: 12px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.about-stat { background: var(--off-white); padding: 10px; text-align: center; }
.about-stat-val { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--red); display: block; }
.about-stat-label { font-family: var(--mono); font-size: 9px; color: var(--gray); letter-spacing: 0.1em; text-transform: uppercase; }

/* Tip widget */
.tip-text { font-size: 14px; color: #222; line-height: 1.7; margin-bottom: 12px; }
.tip-btn { display: block; background: var(--black); color: #fff; text-align: center; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; padding: 10px; transition: background 0.15s; }
.tip-btn:hover { background: var(--red); }

/* ── SINGLE POST ── */
.single-post-wrap { max-width: 1200px; margin: 0 auto; padding: 40px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
.single-post-wrap > main { min-width: 0; max-width: 760px; }
.site-main-wrap { grid-template-columns: minmax(0, 1fr) 300px; }
.site-main-wrap > main { min-width: 0; }
.single-post-header { margin-bottom: 28px; }
.single-post-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.single-post-cat { font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red); background: rgba(200,16,46,0.08); border: 1px solid rgba(200,16,46,0.3); padding: 3px 10px; }
.single-post-title { font-family: var(--serif); font-size: 36px; font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 14px; }
.single-post-meta { font-family: var(--mono); font-size: 11px; color: var(--gray); letter-spacing: 0.08em; padding: 12px 0; border-top: 1px solid var(--light-gray); border-bottom: 1px solid var(--light-gray); margin-bottom: 24px; display: flex; gap: 20px; align-items: center; }
.single-post-hero-img { width: 100%; max-height: 480px; object-fit: cover; margin-bottom: 28px; filter: grayscale(10%); }
.post-content { font-family: var(--body); font-size: 18px; line-height: 1.85; color: #111; }
.post-content p { margin-bottom: 1.4em; }
.post-content h2 { font-family: var(--serif); font-size: 24px; font-weight: 700; margin: 2em 0 0.6em; letter-spacing: -0.01em; border-bottom: 2px solid var(--black); padding-bottom: 8px; }
.post-content h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; margin: 1.8em 0 0.5em; }
.post-content ul, .post-content ol { margin: 0 0 1.4em 1.5em; }
.post-content li { margin-bottom: 0.4em; }
.post-content strong { font-weight: 600; }
.post-content img { margin: 1.5em 0; border: 1px solid var(--light-gray); }
.post-content a { color: var(--red); text-decoration: underline; text-decoration-color: rgba(200,16,46,0.4); }
.post-content a:hover { text-decoration-color: var(--red); }

/* Sources block */
.post-sources { background: var(--off-white); border-left: 3px solid var(--black); padding: 16px 20px; margin: 2em 0; }
.post-sources strong { font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; display: block; margin-bottom: 8px; }

/* CTA block */
.post-cta { background: var(--near-black); color: var(--white); padding: 16px 20px; margin: 2em 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; }
.post-cta a { color: var(--red); }

/* Related posts */
.related-posts { margin-top: 40px; padding-top: 24px; border-top: 3px solid var(--black); }
.related-posts h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.related-card-thumb { height: 140px; overflow: hidden; margin-bottom: 10px; }
.related-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.related-card:hover .related-card-thumb img { transform: scale(1.04); }
.related-card-title { font-family: var(--serif); font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--black); transition: color 0.15s; }
.related-card:hover .related-card-title { color: var(--red); }

/* ── FOOTER ── */
.site-footer { background: var(--near-black); border-top: 3px solid var(--red); padding: 40px; margin-top: 60px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--rule); margin-bottom: 20px; }
.footer-brand-title { font-family: var(--serif); font-size: 28px; font-weight: 900; color: var(--white); display: block; margin-bottom: 12px; }
.footer-brand-title em { color: var(--red); font-style: normal; }
.footer-brand-desc { font-size: 13px; color: var(--gray); line-height: 1.7; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { background: var(--rule); color: var(--gray); font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; border-radius: 2px; transition: all 0.15s; }
.footer-social a:hover { background: var(--red); color: #fff; }
.footer-col h4 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; color: var(--gray); transition: color 0.15s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.footer-copy { font-family: var(--mono); font-size: 10px; color: var(--gray); letter-spacing: 0.08em; }
.footer-disclaimer { font-family: var(--mono); font-size: 10px; color: #444; max-width: 420px; text-align: right; line-height: 1.5; }

/* ── ARCHIVE / BLOG PAGE ── */
.archive-header { background: var(--near-black); padding: 28px 40px; border-bottom: 3px solid var(--red); margin-bottom: 0; }
.archive-header-inner { max-width: 1200px; margin: 0 auto; }
.archive-eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.archive-title { font-family: var(--serif); font-size: 32px; font-weight: 900; color: var(--white); letter-spacing: -0.02em; }

/* ── PAGINATION ── */
.pagination { display: flex; justify-content: center; gap: 8px; padding: 32px 0; }
.pagination a, .pagination span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; padding: 8px 16px; border: 1px solid var(--light-gray); color: var(--black); transition: all 0.15s; }
.pagination a:hover, .pagination .current { background: var(--black); color: var(--white); border-color: var(--black); }

/* ── TABLET / NARROW DESKTOP — collapse 2-col layouts early ── */
@media (max-width: 1100px) {
  .single-post-wrap { grid-template-columns: 1fr; gap: 0; padding: 28px 24px; }
  .single-post-wrap > main { max-width: 100%; }
  .site-main-wrap { grid-template-columns: 1fr; gap: 0; padding: 24px 20px; }
  .single-post-wrap .sidebar, .site-main-wrap .sidebar { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--rule); }
}

/* ── MOBILE ── */
@media (max-width: 900px) {

  /* Masthead */
  .masthead-inner { grid-template-columns: 1fr; text-align: center; padding: 16px 20px 0; gap: 8px; }
  .masthead-meta { display: none; }
  .site-title { font-size: 38px; }
  .site-tagline { font-size: 11px; }
  .masthead-actions { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-bottom: 12px; }
  .masthead-actions .btn-live { display: none; } /* Mobile: hide right-side Join/Sign In — stacked pair under logo already covers */
  .masthead-social { justify-content: center; }

  /* Nav */
  .site-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .nav-inner { padding: 0 12px; gap: 0; white-space: nowrap; display: flex; }
  .nav-inner a { font-size: 10px; padding: 10px 12px; flex-shrink: 0; }

  /* Ticker */
  .site-ticker { padding: 4px 0; }
  .ticker-label { font-size: 8px; padding: 0 8px; }
  .ticker-track span { font-size: 10px; padding: 0 24px; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-sidebar { display: none; }
  .hero-featured .post-thumbnail { min-height: 240px; max-height: 300px; }
  .hero-title { font-size: 22px; line-height: 1.3; }
  .hero-excerpt { display: none; }
  .hero-featured .post-meta-bar { padding: 12px 16px; }

  /* Main layout */
  .site-main-wrap { padding: 16px; grid-template-columns: 1fr; gap: 0; }
  .sidebar { display: block; margin-top: 32px; }
  .sidebar-widget { margin-bottom: 16px; }

  /* Posts grid — single-column stack on mobile: full-width image on top,
     title underneath, then meta. The previous 2-column grid was breaking
     because the height-clamp rule targeted .post-card-thumbnail while the
     actual markup uses .post-card-thumb, so images stayed at desktop
     height and blew out the row. */
  .posts-grid { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--rule); }
  .post-card { display: block; border-bottom: 1px solid var(--rule); padding: 20px 0; }
  .post-card-thumb { height: 200px; margin-bottom: 12px; }
  .post-card-body { padding: 0; }
  .post-card-title { font-size: 20px; line-height: 1.3; margin-bottom: 6px; }
  .post-card-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.55; margin-bottom: 6px; }
  .post-card-meta { font-size: 11px; }

  /* Single post */
  .single-post-wrap { padding: 16px; grid-template-columns: 1fr; }
  .single-post-title { font-size: 24px; line-height: 1.3; }
  .post-content { font-size: 16px; line-height: 1.75; }
  .post-content h2 { font-size: 20px; }
  .post-content h3 { font-size: 18px; }
  .single-post-header { padding: 16px; }

  /* Footer */
  .site-footer { padding: 24px 16px; margin-top: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-col { padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
  .footer-col:last-child { border-bottom: none; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .footer-disclaimer { text-align: left; max-width: 100%; }

  /* Related posts */
  .related-grid { grid-template-columns: 1fr; gap: 12px; }

  /* Members page */
  .members-layout { grid-template-columns: 1fr !important; }
  .members-sidebar { display: block !important; border: none !important; padding: 12px !important; }
  .members-sidebar-left { border-bottom: 1px solid #1a1a1a; order: 3; }
  .members-sidebar-right { border-top: 1px solid #1a1a1a; order: 2; }
  .members-main { order: 1; }
  .members-sidebar .sidebar-widget { margin-bottom: 12px; }

  /* Archive */
  .archive-header { padding: 20px 16px; }
  .archive-title { font-size: 24px; }

  /* Pagination */
  .pagination { flex-wrap: wrap; padding: 20px 16px; }
}

/* ── SMALL MOBILE (under 480px) ── */
@media (max-width: 480px) {
  .site-title { font-size: 32px; }
  .hero-title { font-size: 19px; }
  .single-post-title { font-size: 21px; }
  .post-card { padding: 16px 0; }
  .post-card-thumb { height: 160px; margin-bottom: 10px; }
  .post-card-title { font-size: 18px; }
  .nav-inner a { font-size: 9px; padding: 10px 10px; }
}

/* ── Affiliate Recommendations ────────────────────────────────────────────── */
.affiliate-block{margin:32px 0;padding:24px;background:#fafafa;border:1px solid #eee;border-top:3px solid #c8102e;}
.affiliate-head{font-family:var(--mono);font-size:10px;letter-spacing:0.2em;text-transform:uppercase;color:#c8102e;margin-bottom:16px;}
.affiliate-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;}
.affiliate-card{display:block;background:#fff;border:1px solid #e8e8e8;padding:16px;text-decoration:none;transition:border-color 0.15s,box-shadow 0.15s;}
.affiliate-card:hover{border-color:#c8102e;box-shadow:0 2px 8px rgba(200,16,46,0.08);}
.affiliate-title{font-size:14px;font-weight:700;color:#111;line-height:1.3;margin-bottom:6px;}
.affiliate-desc{font-size:12px;color:#888;line-height:1.5;margin-bottom:10px;}
.affiliate-cta{font-family:var(--mono);font-size:10px;letter-spacing:0.05em;text-transform:uppercase;color:#c8102e;}
.affiliate-disclosure{font-size:10px;color:#bbb;margin-top:12px;}
@media(max-width:700px){
  .affiliate-grid{grid-template-columns:1fr;}
}

/* ============================================================
   ACCESSIBILITY / 55+ READABILITY PASS (2026-04-19)
   Demographics from first Sunday post showed engagement skewed
   55-64 and 65+ (75% women). This override bumps tiny UI labels,
   lifts muted-gray contrast, and eases body-text sizes without
   changing the brand look. Added at EOF so it wins over base rules.
   Revert by deleting everything below this comment.
   ============================================================ */
:root {
  --gray: #5a5753;        /* was #8a8785 - darker for better contrast on white */
  --light-gray: #e8e4dc;  /* was #d4d0c8 - slight lift on dark bg */
}

/* Tiny mono UI labels: 9-11px bumped to 12-13px; letter-spacing eased */
.ticker-label,
.ticker-track span,
.masthead-meta,
.site-tagline,
.btn-live,
.masthead-social a,
.hero-meta,
.hero-sidebar-cat,
.hero-sidebar-date,
.post-card-meta,
.featured-strip-label,
.scanner-freq-label,
.cat-list a,
.cat-count,
.about-stat-label,
.affiliate-head,
.affiliate-cta,
.affiliate-disclosure { font-size: 12px !important; letter-spacing: 0.08em !important; }

.site-eyebrow,
.hero-cat-badge,
.section-header a,
.nav-inner a,
.post-card-cat,
.sidebar-section-label,
.widget-header,
.scanner-widget-title,
.scanner-listen-btn { font-size: 13px !important; letter-spacing: 0.1em !important; }

/* Body copy modestly up-sized */
.hero-excerpt,
.post-card-excerpt,
.featured-strip-excerpt,
.about-text,
.tip-text { font-size: 17px !important; line-height: 1.65 !important; }

.affiliate-title { font-size: 16px !important; }
.affiliate-desc { font-size: 14px !important; color: #555 !important; }

/* Titles bumped slightly for presence without reflow */
.site-title { font-size: 58px !important; }
.hero-title { font-size: 34px !important; }
.post-card-title { font-size: 21px !important; }
.hero-sidebar-title { font-size: 15px !important; }
.featured-strip-title { font-size: 24px !important; }
.section-header h2 { font-size: 22px !important; }
.scanner-freq { font-size: 34px !important; }
.about-stat-val { font-size: 26px !important; }

/* Contrast lifts on low-contrast gray text */
.post-card-meta { color: #555 !important; }
.affiliate-disclosure { color: #888 !important; }

/* Buttons: larger click targets + padding for 55+ hands */
.btn-live { padding: 10px 20px !important; font-size: 12px !important; }
.scanner-listen-btn { padding: 14px 12px !important; }
.nav-inner a { padding: 16px 20px !important; }

/* Nav contrast: light-gray text was thin on dark */
.nav-inner a { color: #ffffff !important; font-weight: 500 !important; }
.nav-inner a:hover { color: var(--red) !important; }

/* Mobile/responsive: keep bumps but a hair smaller */
@media(max-width: 700px) {
  .post-card-title { font-size: 19px !important; }
  .hero-title { font-size: 28px !important; }
  .site-title { font-size: 40px !important; }
  .hero-excerpt,
  .post-card-excerpt,
  .about-text,
  .tip-text { font-size: 16px !important; }
  .nav-inner a { font-size: 11px !important; padding: 10px 14px !important; }
}

/* ============================================================
   ACCESSIBILITY PASS v2 (2026-04-19 evening, per Joel feedback)
   First pass went wrong direction on gray. Most --gray usage is
   on DARK backgrounds (masthead, hero, widgets) where it needs
   to be BRIGHTER, not darker. And base white needs to be true
   white, not cream. Bumping fonts another step too.
   ============================================================ */
:root {
  --gray: #c8c5c0 !important;        /* was #5a5753 - brighter for dark bg pop */
  --light-gray: #f4f1ec !important;  /* was #e8e4dc - very bright on dark */
  --white: #ffffff !important;        /* was #faf9f6 - true white */
  --off-white: #f5f5f5 !important;   /* was #ede9e2 - cleaner */
}

/* Another size bump across small labels */
.ticker-label,
.ticker-track span,
.masthead-meta,
.site-tagline,
.btn-live,
.masthead-social a,
.hero-meta,
.hero-sidebar-cat,
.hero-sidebar-date,
.post-card-meta,
.featured-strip-label,
.scanner-freq-label,
.cat-list a,
.cat-count,
.about-stat-label,
.affiliate-head,
.affiliate-cta,
.affiliate-disclosure { font-size: 13px !important; }

.site-eyebrow,
.hero-cat-badge,
.section-header a,
.nav-inner a,
.post-card-cat,
.sidebar-section-label,
.widget-header,
.scanner-widget-title,
.scanner-listen-btn { font-size: 14px !important; }

/* Body copy another bump: was 17, now 18 */
.hero-excerpt,
.post-card-excerpt,
.featured-strip-excerpt,
.about-text,
.tip-text { font-size: 18px !important; line-height: 1.7 !important; }

.affiliate-title { font-size: 17px !important; }
.affiliate-desc { font-size: 15px !important; color: #4a4a4a !important; }

/* Base body text up one step */
body { font-size: 17px !important; }

/* Titles bumped further */
.site-title { font-size: 62px !important; }
.hero-title { font-size: 36px !important; }
.post-card-title { font-size: 23px !important; }
.hero-sidebar-title { font-size: 16px !important; }
.featured-strip-title { font-size: 26px !important; }
.section-header h2 { font-size: 24px !important; }
.scanner-freq { font-size: 38px !important; }
.about-stat-val { font-size: 28px !important; }

/* Contrast fixes — WHITE-BG muted text needs dark, not bright */
/* (these override the bright --gray for contexts where bg is light) */
.post-card-meta,
.cat-count,
.about-stat-label { color: #4a4a4a !important; }
.cat-list a { color: #1a1a1a !important; font-weight: 500 !important; }
.affiliate-disclosure { color: #666 !important; }

/* Re-lift the contrast on light-gray ELEMENTS (dark bg context) */
.featured-strip-excerpt { color: #f4f1ec !important; }
.hero-excerpt { color: #ffffff !important; }

/* Mobile */
@media(max-width: 700px) {
  body { font-size: 16px !important; }
  .post-card-title { font-size: 20px !important; }
  .hero-title { font-size: 30px !important; }
  .site-title { font-size: 42px !important; }
  .hero-excerpt,
  .post-card-excerpt,
  .about-text,
  .tip-text { font-size: 17px !important; }
}

/* WordPress emoji images: the global img rule above made them full-width (giant bell on the alerts box). */
img.emoji, img.wp-smiley { display: inline !important; width: 1em !important; height: 1em !important; max-width: none !important; margin: 0 .07em !important; vertical-align: -0.1em !important; border: none !important; box-shadow: none !important; background: none !important; }
