@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
    /* Colors */
    --bg-paper: #fafaf8;
    --paper-texture: rgba(0, 0, 0, 0.03);
    --ink-black: #111111;
    --ink-gray: #444444;
    --ink-muted: #666666;
    --white: #ffffff;
    
    /* Accent Colors */
    --blue-accent: #2E5090;
    --red-accent: #C41E3A;
    --accent: var(--red-accent);
    
    /* System Colors */
    --border-light: #dddddd;
    --border-heavy: #111111;
    
    /* Typography */
    --serif: 'Newsreader', Georgia, serif;
    --sans: 'Inter', system-ui, -apple-system, sans-serif;
    --mono: 'JetBrains Mono', 'Courier New', monospace;
    
    /* Spacing & Layout */
    --container-width: 1100px;
    --transition: all 0.2s ease-in-out;
}

/* ═══════════════════════════════════════
   BASE STYLES
   ═══════════════════════════════════════ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-paper);
    color: var(--ink-black);
    font-family: var(--sans);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Dot-matrix paper texture */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle, var(--paper-texture) 1px, transparent 1px);
    background-size: 4px 4px;
    pointer-events: none;
    z-index: 9999;
}

a {
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

img { max-width: 100%; height: auto; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Party color branding */
.blue { color: var(--blue-accent); }
.red { color: var(--red-accent); }

/* Gradient text effect — blue → purple → red */
.gradient-hover:hover {
    background: linear-gradient(to right, var(--blue-accent) 0%, #6B3FA0 50%, var(--red-accent) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* ═══════════════════════════════════════
   REPORTER PHOTO AVATARS
   Global: any avatar element with .avatar-photo
   becomes a circular cropped image.
   ═══════════════════════════════════════ */

img.avatar-photo {
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
}

img.avatar-photo.byline-avatar {
    width: 40px;
    height: 40px;
}

img.avatar-photo.card-byline-avatar {
    width: 28px;
    height: 28px;
}

img.avatar-photo.reporter-avatar {
    width: 48px;
    height: 48px;
}

img.avatar-photo.reporter-avatar.large {
    width: 80px;
    height: 80px;
}

.headline-main img.avatar-photo.byline-avatar {
    width: 36px;
    height: 36px;
}

/* ═══════════════════════════════════════
   TOP BAR
   ═══════════════════════════════════════ */

.top-bar {
    background: var(--ink-black);
    color: var(--white);
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-badge {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.7);
    padding: 3px 10px;
    font-family: var(--mono);
    font-size: 10px;
    border-radius: 2px;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════
   MASTHEAD
   ═══════════════════════════════════════ */

.masthead {
    text-align: center;
    padding: 32px 0 24px;
    border-bottom: 3px double var(--border-heavy);
}

.masthead-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.masthead-rule {
    height: 1px;
    width: 80px;
    background: var(--border-light);
}

.masthead-icon {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-muted);
    letter-spacing: 2px;
}

.masthead-title {
    font-family: var(--serif);
    font-size: 64px;
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -2px;
}

.masthead-title a {
    background: linear-gradient(to right, var(--blue-accent) 0%, #6B3FA0 50%, var(--red-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.masthead-title a:hover { opacity: 0.8; }

.masthead-title .dot {
    color: var(--red-accent);
}

.masthead-sub {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 12px;
    color: var(--ink-muted);
}

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */

nav {
    background: var(--bg-paper);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 0;
    white-space: nowrap;
}

.nav-links a {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--ink-muted);
    padding: 14px 16px;
    display: block;
    border-bottom: 2px solid transparent;
    flex-shrink: 0;
}

.nav-links a:hover {
    color: var(--ink-black);
    background: rgba(0,0,0,0.02);
}

.nav-links a.active {
    color: var(--ink-black);
    border-bottom-color: var(--ink-black);
}

/* ═══════════════════════════════════════
   HOMEPAGE — HEADLINE AREA
   ═══════════════════════════════════════ */

.headline {
    padding: 32px 0 20px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 8px;
}

.headline-layout {
    display: grid;
    grid-template-columns: 1.2fr 1px 0.8fr;
    gap: 32px;
}

.col-divider {
    background: var(--border-light);
    width: 1px;
}

.hl-label {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--red-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.headline-main h2 {
    font-family: var(--serif);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
}

.headline-main h2 a:hover { background: linear-gradient(to right, var(--blue-accent) 0%, #6B3FA0 50%, var(--red-accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.headline-main .lede {
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.6;
    color: var(--ink-gray);
    margin-bottom: 20px;
}

.headline-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.headline-main .byline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
    padding: 0;
    border: none;
}

.headline-main .byline-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.headline-main .byline-text .name {
    font-weight: 700;
    font-size: 13px;
}

.headline-main .byline-text .beat {
    font-size: 11px;
    color: var(--ink-muted);
}

.headline-meta {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink-muted);
    white-space: nowrap;
}

/* Sidebar stories */
.headline-side {
    padding-top: 4px;
}

.sidebar-story {
    display: block;
    padding: 16px 0;
    border-bottom: 1px dotted var(--border-light);
}

.sidebar-story:first-child { padding-top: 0; }
.sidebar-story:last-child { border-bottom: none; }

.sidebar-story .topic {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 600;
    color: var(--blue-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 6px;
}

.sidebar-story h3 {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 6px;
}

.sidebar-story:hover h3 { background: linear-gradient(to right, var(--blue-accent) 0%, #6B3FA0 50%, var(--red-accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.sidebar-story .story-byline {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-muted);
}

/* ═══════════════════════════════════════
   HOMEPAGE — THE BUREAU (REPORTERS)
   ═══════════════════════════════════════ */

.newsroom {
    margin-bottom: 48px;
}

.newsroom-header {
    border-bottom: 2px solid var(--ink-black);
    padding-bottom: 12px;
    margin-bottom: 24px;
}

.newsroom-header h2 {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 700;
}

.reporter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.reporter-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.reporter-card:hover {
    border-color: var(--ink-muted);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.reporter-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.r-name {
    font-weight: 700;
    font-size: 16px;
    display: block;
    line-height: 1.2;
}

.r-beat {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--blue-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin: 4px 0;
}

.r-desc {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.r-ai {
    font-family: var(--mono);
    font-size: 9px;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
    display: block;
}

.ai-tag {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--ink-muted);
    border: 1px dashed var(--border-light);
    padding: 1px 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════
   EIC MASTHEAD (Homepage)
   ═══════════════════════════════════════ */

.eic-masthead {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    margin-bottom: 20px;
    background: var(--bg-paper);
    color: var(--ink-black);
    border: 2px solid var(--ink-black);
    transition: var(--transition);
    position: relative;
}

.eic-masthead:hover {
    background: rgba(0, 0, 0, 0.02);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.eic-masthead-avatar {
    flex-shrink: 0;
}

.eic-masthead-avatar .reporter-avatar {
    border: 2px solid var(--border-light);
}

.eic-masthead-info {
    flex: 1;
}

.eic-masthead-title {
    display: block;
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ink-black);
    margin-bottom: 2px;
}

.eic-masthead-role {
    display: block;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.eic-masthead-desc {
    font-size: 13px;
    color: var(--ink-gray);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.eic-masthead-badge {
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: var(--ink-black);
    border: 1px solid var(--ink-black);
    padding: 4px 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════
   HOMEPAGE — 3-COLUMN ARTICLES
   ═══════════════════════════════════════ */

.columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 0;
    border-top: 2px solid var(--ink-black);
    padding-top: 24px;
}

.col {
    padding: 0 24px;
}

.col:first-child { padding-left: 0; }
.col:last-child { padding-right: 0; }

.col:not(:last-child) {
    border-right: 1px solid var(--border-light);
}

.col-label {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--red-accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    display: block;
}

.col-article {
    display: block;
    margin-bottom: 24px;
}

.col-article:hover h4 { background: linear-gradient(to right, var(--blue-accent) 0%, #6B3FA0 50%, var(--red-accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.col-article h4 {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
}

.col-article p {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.a-byline {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-muted);
}

.a-byline span { font-weight: 600; color: var(--ink-gray); }

/* ═══════════════════════════════════════
   ARTICLE CARDS (Topic/Reporter Pages)
   ═══════════════════════════════════════ */

.article-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.article-card:hover {
    border-color: var(--ink-muted);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.article-card h3 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
}

.article-card p {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-topic {
    font-family: var(--mono);
    font-size: 10px;
    background: var(--ink-black);
    color: var(--white);
    padding: 2px 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
    margin-bottom: 12px;
}

.card-byline {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-muted);
}

.card-byline-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 9px;
    flex-shrink: 0;
}

.card-byline .name { font-weight: 600; color: var(--ink-gray); }

/* ═══════════════════════════════════════
   ARTICLE PAGE
   ═══════════════════════════════════════ */

.article-topic {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--blue-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.article-topic:hover { color: var(--red-accent); }

.article-header {
    max-width: 740px;
    margin: 40px auto;
}

.article-header h1 {
    font-family: var(--serif);
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
    margin: 12px 0 16px;
}

.article-subhead {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--ink-gray);
    line-height: 1.5;
    margin-bottom: 20px;
}

.byline {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 8px;
}

.byline-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.byline .name {
    font-weight: 700;
    font-size: 14px;
}

.byline .name:hover { color: var(--blue-accent); }

.article-meta {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink-muted);
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 40px;
}

/* ─── Share Buttons ──────────────────── */

.share-buttons {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    margin-left: 8px;
}

.article-footer {
    max-width: 680px;
    margin: 0 auto;
}

.share-buttons-bottom {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 16px 0;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.share-label {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ink-muted);
    margin-right: 4px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: var(--white);
    color: var(--ink-muted);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    padding: 0;
    font-size: 0;
}

.share-btn:hover {
    border-color: var(--ink-muted);
    color: var(--ink-black);
    background: var(--bg-paper);
}

.share-btn.copied {
    border-color: var(--blue-accent);
    color: var(--blue-accent);
}

/* Bottom Line Executive Summary Card */
.bottom-line-card {
    max-width: 680px;
    margin: 0 auto 2em;
    background: rgba(46, 80, 144, 0.08);
    border-left: 4px solid var(--red-accent);
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
}
.bottom-line-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--red-accent);
    margin-bottom: 8px;
}
.bottom-line-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0 0 10px;
}
.bottom-line-link {
    font-size: 13px;
    color: var(--blue-accent);
    text-decoration: none;
    font-weight: 600;
}
.bottom-line-link:hover {
    text-decoration: underline;
}

.article-body {
    max-width: 680px;
    margin: 0 auto 60px;
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.75;
    color: var(--ink-black);
}

.article-body p { margin-bottom: 1.5em; }

.article-body h2 {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 700;
    margin: 48px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ink-black);
}

/* "The Void" — editorial closing question */
.the-void-section {
    margin: 48px 0 32px;
    padding: 28px 32px;
    background: rgba(196, 30, 58, 0.04);
    border-left: 4px solid var(--red-accent);
    border-radius: 0 8px 8px 0;
}

.the-void-section h2 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0 0 12px;
    padding-bottom: 0;
    border-bottom: none;
    color: var(--red-accent);
}

.the-void-section p {
    font-family: var(--serif);
    font-size: 20px;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    color: var(--ink-black);
}

.ai-notice {
    max-width: 680px;
    margin: 0 auto 60px;
    padding: 20px 24px;
    background: rgba(196, 30, 58, 0.04);
    border-left: 3px solid var(--red-accent);
    font-size: 13px;
    line-height: 1.6;
    color: var(--ink-gray);
}

.ai-notice strong { color: var(--red-accent); }

/* Article Sources */
.article-sources {
    max-width: 680px;
    margin: 0 auto 40px;
    padding: 20px 24px;
    background: var(--bg-paper);
    border: 1px solid var(--border-light);
    border-radius: 4px;
}

.article-sources h3 {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ink-muted);
    margin-bottom: 12px;
}

.article-sources ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.article-sources li {
    font-family: var(--sans);
    font-size: 14px;
    color: var(--ink-gray);
    padding-left: 16px;
    position: relative;
}

.article-sources li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--ink-muted);
    font-weight: 700;
}

.article-sources a {
    color: var(--blue-accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.article-sources a:hover {
    border-bottom-color: var(--blue-accent);
}

/* ═══════════════════════════════════════
   TOPIC & REPORTER PAGES
   ═══════════════════════════════════════ */

.topic-header, .reporter-header {
    margin: 40px 0 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--ink-black);
}

.topic-header h1, .reporter-header h1 {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 700;
}

.topic-header p, .reporter-header p {
    font-size: 16px;
    color: var(--ink-muted);
    margin-top: 8px;
}

/* ─── Reporter Profile Page ──────────────── */

.reporter-profile {
    margin: 40px 0 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--ink-black);
}

.reporter-profile-header {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.reporter-headshot {
    flex-shrink: 0;
    text-align: center;
}

.reporter-headshot-img {
    width: 180px;
    height: 220px;
    object-fit: cover;
    object-position: center top;
    border-radius: 4px;
    border: 1px solid var(--border-light);
}

.reporter-info h1 {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 6px;
}

.reporter-info .reporter-role {
    display: block;
    font-family: var(--sans);
    font-size: 16px;
    color: var(--ink-muted);
    margin-bottom: 4px;
}

.reporter-info .ai-tag {
    margin-bottom: 12px;
}

.reporter-stats {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reporter-backstory {
    max-width: 720px;
}

.reporter-backstory p {
    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink-gray);
    margin-bottom: 16px;
}

.reporter-backstory p:last-child {
    margin-bottom: 0;
}

.reporter-articles-header {
    margin-bottom: 24px;
}

.reporter-articles-header h2 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 700;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

/* ═══════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════ */

.about-content {
    max-width: 740px;
    margin: 40px auto 60px;
}

.about-content h1 {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
}

.about-content h2 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 700;
    margin: 32px 0 16px;
}

.about-content p {
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.7;
    color: var(--ink-gray);
    margin-bottom: 16px;
}

.about-content ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.about-content li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-gray);
    margin-bottom: 8px;
}

.about-reporter {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
    align-items: flex-start;
}

.about-reporter .reporter-avatar {
    flex-shrink: 0;
}

.about-reporter .avatar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.about-reporter strong { font-size: 15px; }
.about-reporter p { font-size: 14px; margin: 4px 0 0; }

/* EIC Profile on About page */
.eic-profile {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.eic-silhouette {
    width: 140px;
    height: 140px;
    border-radius: 8px;
    flex-shrink: 0;
    object-fit: cover;
}

.eic-text p {
    margin-bottom: 12px;
}

@media (max-width: 600px) {
    .eic-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .eic-silhouette {
        width: 120px;
        height: 120px;
    }
}

/* ═══════════════════════════════════════
   ABOUT PAGE — SECTION SPACING
   ═══════════════════════════════════════ */

.about-section {
    margin-bottom: 32px;
}

.about-section:last-child {
    margin-bottom: 0;
}

/* ═══════════════════════════════════════
   PAGE HEADER (Topic/Archive Pages)
   ═══════════════════════════════════════ */

.page-header {
    margin: 40px 0 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--ink-black);
}

.page-header h1 {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 700;
}

.page-header p {
    font-size: 16px;
    color: var(--ink-muted);
    margin-top: 8px;
}

/* ═══════════════════════════════════════
   ARTICLE COUNT BADGE
   ═══════════════════════════════════════ */

.article-count {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════
   TOPIC HUB
   ═══════════════════════════════════════ */

.topic-hub {
    margin-bottom: 40px;
}

.topic-hub .page-header {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 20px;
}

.topic-tagline {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--ink-gray);
    margin-top: 8px;
}

.topic-overview {
    padding: 16px 20px;
    background: rgba(46, 80, 144, 0.04);
    border-left: 3px solid var(--blue-accent);
    border-radius: 0 6px 6px 0;
    margin-bottom: 8px;
}

.topic-overview p {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-dark);
    margin: 0;
}

.section-heading {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--ink-black);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hairline);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

/* ═══════════════════════════════════════
   RELATED ARTICLES
   ═══════════════════════════════════════ */

.related-articles {
    max-width: 680px;
    margin: 48px auto 0;
    padding-top: 32px;
    border-top: 1px solid var(--hairline);
}

.related-articles h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--ink-black);
    margin: 0 0 20px;
    letter-spacing: -0.01em;
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.related-article-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--hairline);
    border-radius: 6px;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.related-article-card:hover {
    border-color: var(--blue-accent);
    box-shadow: 0 2px 8px rgba(46, 80, 144, 0.08);
}

.related-article-card .related-topic {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue-accent);
}

.related-article-card h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ink-black);
    margin: 0;
}

.related-article-card .related-meta {
    font-size: 12px;
    color: var(--ink-gray);
    margin-top: auto;
}

/* Topic page related coverage (full-width, not article's 680px cap) */
.topic-related.related-articles {
    max-width: none;
    margin: 48px 0 0;
}

@media (min-width: 640px) {
    .topic-related .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* Archive link on topic pages */
.topic-archive-link {
    text-align: center;
    margin: 40px 0 20px;
    padding-top: 24px;
    border-top: 1px solid var(--hairline);
}
.topic-archive-link a {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--blue-accent);
    text-decoration: none;
}
.topic-archive-link a:hover {
    color: var(--red-accent);
}

/* ═══════════════════════════════════════
   ARCHIVE PAGES
   ═══════════════════════════════════════ */

/* Archive pages now use .topic-hub + .page-header for consistency */
.archive-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
}
.archive-back {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--blue-accent);
    text-decoration: none;
}
.archive-back:hover { color: var(--red-accent); }

.archive-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.archive-item {
    display: block;
    padding: 20px 0;
    border-bottom: 1px solid var(--hairline);
    text-decoration: none;
    transition: background 0.15s;
}
.archive-item:first-child { padding-top: 0; }
.archive-item:hover { background: rgba(46, 80, 144, 0.02); }
.archive-item-content { max-width: 720px; }
.archive-topic {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue-accent);
}
.archive-item h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--ink-black);
    margin: 6px 0;
    line-height: 1.3;
}
.archive-item:hover h3 { background: linear-gradient(to right, var(--blue-accent) 0%, #6B3FA0 50%, var(--red-accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.archive-item p {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--ink-dark);
    line-height: 1.5;
    margin: 0 0 8px;
}
.archive-meta {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ink-gray);
}

/* Pagination */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 40px 0 20px;
    padding-top: 24px;
    border-top: 1px solid var(--hairline);
}
.page-link, .page-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-family: var(--font-mono);
    font-size: 14px;
    border-radius: 4px;
    text-decoration: none;
}
.page-link {
    color: var(--ink-dark);
    border: 1px solid var(--hairline);
}
.page-link:hover {
    background: var(--blue-accent);
    color: white;
    border-color: var(--blue-accent);
}
.page-current {
    background: var(--blue-accent);
    color: white;
    font-weight: 700;
}

/* ═══════════════════════════════════════
   SEARCH PAGE
   ═══════════════════════════════════════ */

.search-header {
    margin-bottom: 24px;
}
.search-header h1 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--ink-black);
    margin: 0 0 8px;
}
.search-description {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--ink-gray);
}
.search-controls {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--hairline);
}
.search-input-wrap {
    margin-bottom: 16px;
}
.search-input {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 16px;
    border: 2px solid var(--hairline);
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
    background: var(--paper);
    color: var(--ink-black);
}
.search-input:focus {
    border-color: var(--blue-accent);
}
.search-input::placeholder {
    color: var(--ink-gray);
}
.search-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.search-filter {
    padding: 8px 12px;
    font-family: var(--font-mono);
    font-size: 13px;
    border: 1px solid var(--hairline);
    border-radius: 4px;
    background: var(--paper);
    color: var(--ink-dark);
    cursor: pointer;
}
.search-filter:focus {
    border-color: var(--blue-accent);
    outline: none;
}
.search-empty {
    text-align: center;
    padding: 48px 0;
}
.search-empty p {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--ink-gray);
}

/* ═══════════════════════════════════════
   ARTICLE DISCLOSURE (Footer Notice)
   ═══════════════════════════════════════ */

/* ─── Story Thread Navigation ──────────────────────────────── */

.thread-previous, .thread-updated {
    max-width: 680px;
    margin: 0 auto 20px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}

.thread-previous {
    background: rgba(46, 80, 144, 0.06);
    border-left: 3px solid var(--blue-accent, #2E5090);
}

.thread-updated {
    background: rgba(196, 30, 58, 0.06);
    border-left: 3px solid var(--red-accent, #C41E3A);
}

.thread-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-gray, #666);
    margin-bottom: 4px;
}

.thread-previous a, .thread-updated a {
    color: var(--blue-accent, #2E5090);
    text-decoration: none;
    font-weight: 500;
}

.thread-previous a:hover, .thread-updated a:hover {
    text-decoration: underline;
}

.thread-nav {
    max-width: 680px;
    margin: 40px auto;
    padding: 24px;
    background: rgba(46, 80, 144, 0.03);
    border: 1px solid rgba(46, 80, 144, 0.1);
    border-radius: 8px;
}

.thread-nav-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--ink-black, #1a1a1a);
}

.thread-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.thread-timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: rgba(46, 80, 144, 0.15);
}

.thread-item {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

.thread-item:last-child {
    margin-bottom: 0;
}

.thread-dot {
    position: absolute;
    left: 2px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(46, 80, 144, 0.3);
    border: 2px solid #fff;
}

.thread-item.current .thread-dot {
    background: var(--blue-accent, #2E5090);
    box-shadow: 0 0 0 3px rgba(46, 80, 144, 0.15);
}

.thread-headline {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

a.thread-headline {
    color: var(--blue-accent, #2E5090);
    text-decoration: none;
}

a.thread-headline:hover {
    background: linear-gradient(to right, var(--blue-accent) 0%, #6B3FA0 50%, var(--red-accent) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.thread-item.current .thread-headline {
    color: var(--ink-black, #1a1a1a);
    font-weight: 700;
}

.thread-date {
    display: block;
    font-size: 12px;
    color: var(--ink-gray, #666);
    margin-top: 2px;
}

@media (max-width: 768px) {
    .thread-nav { padding: 16px; }
    .thread-previous, .thread-updated { font-size: 13px; }
}

.article-disclosure {
    max-width: 680px;
    margin: 0 auto 60px;
    padding: 20px 24px;
    background: rgba(196, 30, 58, 0.04);
    border-left: 3px solid var(--red-accent);
    font-size: 13px;
    line-height: 1.6;
    color: var(--ink-gray);
}

.article-disclosure strong {
    color: var(--red-accent);
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */

footer {
    background: var(--ink-black);
    color: var(--white);
    padding: 48px 0 32px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 0.95;
    margin-bottom: 12px;
    background: linear-gradient(to right, #5B8FD4 0%, #9B6FC0 40%, #E04858 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

.footer-nav h4 {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.4);
}

.footer-nav a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    padding: 4px 0;
    transition: var(--transition);
}

.footer-nav a:hover { color: var(--white); }

.footer-social {
    display: flex;
    gap: 10px;
    padding: 4px 0;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
    padding: 0;
}

.footer-social a:hover {
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.footer-bottom p { margin-bottom: 8px; }

.footer-ai-disclosure {
    font-size: 12px;
    line-height: 1.5;
}

.footer-ai-disclosure a {
    color: rgba(255,255,255,0.6);
    text-decoration: underline;
}

.footer-ai-disclosure a:hover { color: var(--white); }

/* ═══════════════════════════════════════
   404 ERROR PAGE
   ═══════════════════════════════════════ */

.error-page {
    padding: 120px 0;
    text-align: center;
}

.error-code {
    font-family: var(--mono);
    font-size: 120px;
    font-weight: 700;
    color: var(--border-light);
    line-height: 1;
    display: block;
    margin-bottom: 16px;
}

.error-content h1 {
    font-family: var(--serif);
    font-size: 36px;
    margin-bottom: 12px;
}

.error-content p {
    font-size: 18px;
    color: var(--ink-muted);
    max-width: 480px;
    margin: 0 auto 32px;
}

.error-home-link {
    font-family: var(--mono);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--blue-accent);
    border-bottom: 2px solid var(--blue-accent);
    padding-bottom: 2px;
}

.error-home-link:hover {
    color: var(--red-accent);
    border-color: var(--red-accent);
}

/* ═══════════════════════════════════════
   RESPONSIVE — TABLET (768px)
   ═══════════════════════════════════════ */

@media (max-width: 768px) {
    .nav-links {
        justify-content: flex-start;
    }

    .masthead-title { font-size: 48px; letter-spacing: -1px; }
    
    .headline-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .col-divider { display: none; }
    
    .headline-side {
        border-top: 1px solid var(--border-light);
        padding-top: 20px;
    }
    
    .headline-main h2 { font-size: 32px; }
    
    .headline-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .reporter-grid {
        grid-template-columns: 1fr;
    }
    
    .eic-masthead {
        flex-wrap: wrap;
        gap: 12px;
        padding: 16px 20px;
    }
    
    .eic-masthead-badge {
        position: static;
    }
    
    .columns {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .col {
        border-right: none !important;
        padding: 0;
        margin-bottom: 32px;
        padding-bottom: 32px;
        border-bottom: 1px solid var(--border-light);
    }
    
    .col:last-child { border-bottom: none; margin-bottom: 0; }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .article-header h1 { font-size: 32px; }
    .article-grid { grid-template-columns: 1fr; }
    
    .reporter-profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .reporter-headshot-img {
        width: 140px;
        height: 170px;
    }
    
    .reporter-info h1 { font-size: 28px; }
    
    .reporter-stats { justify-content: center; }
    
    .reporter-backstory p { font-size: 16px; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE (480px)
   ═══════════════════════════════════════ */

@media (max-width: 600px) {
    .article-meta {
        flex-wrap: wrap;
        gap: 6px 12px;
    }
    .article-meta .share-buttons {
        flex-basis: 100%;
        margin-left: 0;
        margin-top: 4px;
    }
}

@media (max-width: 480px) {
    .masthead-title { font-size: 36px; }
    .masthead-sub { font-size: 9px; letter-spacing: 2px; }
    
    .top-bar span:first-child { font-size: 9px; }
    .ai-badge { display: none; }
    
    .article-body { font-size: 17px; }
    .article-header h1 { font-size: 28px; }
    
    /* Touch targets */
    .nav-links a {
        padding: 12px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .footer-nav a {
        padding: 8px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* ═══════════════════════════════════════
   RESPONSIVE — X/TWITTER (375px)
   ═══════════════════════════════════════ */

@media (max-width: 375px) {
    body { padding-bottom: env(safe-area-inset-bottom); }
    .container { padding: 0 15px; }
    
    .masthead-title { font-size: 32px; }
    .masthead { padding: 24px 0 20px; }
    .masthead-rule { width: 40px; }
    
    .headline-main h2 { font-size: 26px; }
    .headline-main .lede { font-size: 16px; }
    
    .article-header h1 { font-size: 26px; }
    .article-body h2 { font-size: 22px; }
    
    .newsroom-header h2 { font-size: 22px; }
    
    .reporter-card { padding: 16px; gap: 12px; }
    .reporter-avatar { width: 40px; height: 40px; font-size: 12px; }
    .r-name { font-size: 14px; }
    .r-desc { font-size: 12px; -webkit-line-clamp: 1; }
    
    /* Prevent overflows */
    * { max-width: 100%; }
}

/* ═══════════════════════════════════════
   ACCESSIBILITY & PRINT
   ═══════════════════════════════════════ */

/* Skip navigation link (accessibility) */
.skip-nav {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--blue-accent);
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
  font-family: var(--sans);
  font-size: 0.9rem;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-nav:focus {
  top: 0;
}

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--blue-accent);
    outline-offset: 4px;
}

/* Ensure all interactive elements have visible focus */
input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--blue-accent);
    outline-offset: 2px;
}

/* ═══════════════════════════════════════
   AI IMAGE DISCLOSURE LABELS
   ═══════════════════════════════════════ */

.ai-image-label {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted, #888);
    text-align: center;
    margin-top: 4px;
    font-style: italic;
    letter-spacing: 0.02em;
    line-height: 1;
}

.reporter-headshot .ai-image-label {
    font-size: 0.75rem;
    margin-top: 8px;
}

@media print {
    body::before { display: none; }
    nav, footer, .top-bar { display: none; }
    .container { max-width: 100%; padding: 0; }
    .article-body { max-width: 100%; color: #000; }
    a { text-decoration: underline; color: #000; }
}

/* AI Disclosure Banner (EU AI Act / GDPR) */
.ai-disclosure-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a2e;
  color: #e0e0e0;
  z-index: 9999;
  padding: 12px 0;
  font-family: var(--sans);
  font-size: 0.85rem;
  line-height: 1.4;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
.ai-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ai-disclosure-banner p { margin: 0; }
.ai-disclosure-banner a { color: #7ca0d6; text-decoration: underline; }
.ai-disclosure-banner a:hover { color: #fff; }
.ai-disclosure-banner button {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: #e0e0e0;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.ai-disclosure-banner button:hover { background: rgba(255,255,255,0.1); }

/* ===== Recent Articles Section ===== */
.recent-articles {
  padding: 12px 0 24px;
  border-bottom: 2px solid var(--border);
}
.recent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.recent-header h2 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}
.view-all {
  font-size: 13px;
  color: var(--blue-accent);
  text-decoration: none;
  font-weight: 500;
}
.view-all:hover { text-decoration: underline; }
.recent-ticker {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.recent-card {
  flex: 0 0 260px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.recent-card:hover {
  border-color: var(--blue-accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.recent-topic {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.recent-card h3 {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}
.recent-meta {
  font-size: 12px;
  color: var(--text-muted, #666);
  margin-top: auto;
}
@media (max-width: 600px) {
  .recent-card { flex: 0 0 220px; }
  .recent-ticker { gap: 10px; }
}

/* ===== Topics Index Page ===== */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 8px;
}
.topic-index-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border: 1px solid var(--hairline);
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.topic-index-card:hover {
    border-color: var(--blue-accent);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.topic-index-card h2 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}
.topic-index-card p {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--ink-gray);
    line-height: 1.5;
    margin: 0;
}
.topic-index-card .article-count {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ink-gray);
    margin-top: auto;
}

/* Breaking News Banner */
.breaking-banner {
  background: var(--pb-red, #C41E3A);
  color: #fff;
  padding: 10px 0;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  animation: breakingPulse 2s ease-in-out 1;
}
.breaking-banner a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.breaking-banner a:hover {
  opacity: 0.85;
}
.breaking-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breaking-label {
  font-family: var(--font-sans, sans-serif);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: #fff;
  color: var(--pb-red, #C41E3A);
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
}
@keyframes breakingPulse {
  0% { opacity: 0; transform: translateY(-100%); }
  100% { opacity: 1; transform: translateY(0); }
}
@media (max-width: 600px) {
  .breaking-banner { font-size: 13px; padding: 8px 0; }
}

/* ─── Hero Image (Media Resolver) ─────────────────────────── */
.article-hero {
  margin: 0 0 24px 0;
  text-align: center;
}
.article-hero-img {
  max-width: 360px;
  max-height: 440px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
}
.hero-attribution {
  font-size: 11px;
  color: #888;
  padding: 6px 0;
  font-style: italic;
  text-align: center;
}

/* ─── Social Embeds ───────────────────────────────────────── */
.social-embeds-section {
  margin: 32px 0;
  padding: 20px 0;
  border-top: 1px solid #333;
}
.social-embeds-section .section-label {
  font-size: 14px;
  font-weight: 600;
  color: #2E5090;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.social-embed-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.embed-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ccc;
  font-size: 14px;
  font-weight: 500;
}
.embed-link {
  color: #2E5090;
  font-size: 13px;
  text-decoration: none;
  font-weight: 500;
}
.embed-link:hover {
  text-decoration: underline;
}
@media (max-width: 600px) {
  .article-hero-img { max-width: 280px; max-height: 340px; }
  .social-embed-card { flex-direction: column; gap: 8px; align-items: flex-start; }
}
