/* =============================================
   PULA PERSPECTIVE v5.0 — JOURNALISTIC
   Inspired by: NYT · The Guardian · The Atlantic
   ============================================= */

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

:root {
    --blue:       #0066B2;
    --blue-dk:    #004d87;
    --blue-lt:    #e8f2fa;
    --black:      #121212;
    --white:      #fff;
    --ink:        #1a1a1a;
    --paper:      #FAFAF8;
    --rule:       #d4d0c8;
    --rule-dk:    #333;
    --muted:      #6b6b6b;
    --byline:     #555;
    --badge-bg:   #0066B2;
    --serif:      'Playfair Display', 'Georgia', serif;
    --body-serif: 'Source Serif 4', Georgia, serif;
    --sans:       'Inter', system-ui, sans-serif;
    --wide:       1200px;
    --article:    680px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

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

/* ======================
   TOP STRIP
   ====================== */
.top-strip {
    background: var(--black);
    height: 34px;
    display: flex;
    align-items: center;
}

.top-strip-inner {
    max-width: var(--wide);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.top-strip-social { display: flex; align-items: center; gap: 4px; }

.social-icon-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,0.55);
    padding: 5px 8px;
    border-radius: 3px;
    transition: color 0.15s, background 0.15s;
    text-decoration: none;
}

.social-icon-link:hover {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.social-icon-link svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.social-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Platform hover colors */
.social-icon-link[title="Facebook"]:hover  { color: #1877F2; background: rgba(24,119,242,0.15); }
.social-icon-link[title="Twitter / X"]:hover { color: #fff; background: rgba(255,255,255,0.1); }
.social-icon-link[title="YouTube"]:hover   { color: #FF0000; background: rgba(255,0,0,0.12); }
.social-icon-link[title="TikTok"]:hover    { color: #69C9D0; background: rgba(105,201,208,0.12); }
.social-icon-link[title="WhatsApp"]:hover  { color: #25D366; background: rgba(37,211,102,0.12); }

.top-strip-date {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.top-strip-account { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.top-strip-account a { color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.8px; font-weight: 600; transition: color 0.15s; }
.top-strip-account a:hover { color: var(--white); }
.strip-pipe { color: rgba(255,255,255,0.2); }
.strip-join { color: var(--blue) !important; }

/* ======================
   MASTHEAD — newspaper style
   ====================== */
.masthead {
    background: var(--white);
    padding: 20px 0 0;
    border-bottom: 1px solid var(--rule);
}

.masthead-inner {
    max-width: var(--wide);
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.masthead-top-rule {
    height: 3px;
    background: var(--black);
    margin-bottom: 16px;
}

.masthead-link { text-decoration: none; display: block; }

.masthead-eyebrow {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.masthead-name {
    font-family: var(--serif);
    font-size: clamp(42px, 7vw, 90px);
    font-weight: 900;
    color: var(--black);
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 10px;
    transition: color 0.15s;
}

.masthead-link:hover .masthead-name { color: var(--blue); }

.masthead-tagline {
    font-family: var(--body-serif);
    font-size: 14px;
    color: var(--muted);
    font-style: italic;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.masthead-bottom-rule {
    height: 1px;
    background: var(--rule);
}

/* ======================
   SECTION NAV
   ====================== */
.section-nav {
    background: var(--white);
    border-bottom: 3px solid var(--blue);
    position: sticky;
    top: 0;
    z-index: 200;
}

.section-nav-inner {
    max-width: var(--wide);
    margin: 0 auto;
    padding: 0 24px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.section-nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    overflow: hidden;
}

.section-nav-links a {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0 14px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    white-space: nowrap;
    transition: color 0.15s, border-color 0.15s;
}

.section-nav-links a:hover {
    color: var(--blue);
    border-bottom-color: var(--blue);
}

.section-nav-cta {
    background: var(--blue);
    color: var(--white) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 7px 16px !important;
    border-radius: 3px;
    letter-spacing: 0.5px !important;
    border-bottom: none !important;
    flex-shrink: 0;
    height: auto !important;
    margin-bottom: 0 !important;
    transition: background 0.15s !important;
}

.section-nav-cta:hover { background: var(--blue-dk) !important; color: var(--white) !important; }

/* Mobile hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--ink);
    padding: 4px 8px;
    flex-shrink: 0;
}

/* ======================
   BREAKING TICKER
   ====================== */
.breaking-bar {
    background: var(--blue);
    padding: 6px 0;
    overflow: hidden;
}

.breaking-inner {
    max-width: var(--wide);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    overflow: hidden;
}

.breaking-tag {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    background: rgba(0,0,0,0.3);
    padding: 3px 10px;
    border-radius: 2px;
    white-space: nowrap;
    flex-shrink: 0;
}

.breaking-scroll {
    overflow: hidden;
    white-space: nowrap;
}

.breaking-scroll span {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.3px;
}

/* ======================
   SECTION BADGE (category label)
   ====================== */
.section-badge {
    display: inline-block;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    background: var(--blue);
    padding: 3px 10px;
    border-radius: 2px;
    margin-bottom: 10px;
    transition: background 0.15s;
}

.section-badge:hover { background: var(--blue-dk); }
.section-badge--white { background: rgba(255,255,255,0.25); }

.section-badge-sm {
    display: inline-block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 4px;
}

/* ======================
   SECTION RULE (divider)
   ====================== */
.section-rule {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 32px 0 24px;
    position: relative;
}

.section-rule::before,
.section-rule::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--rule);
}

.section-rule::before { margin-right: 12px; }
.section-rule::after  { margin-left: 12px; }

.section-rule-label {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

/* ======================
   FRONTPAGE
   ====================== */
.frontpage { padding: 32px 0 64px; }

/* Lead / Hero story */
.lead-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--rule-dk);
    margin-bottom: 8px;
}

.lead-headline {
    font-family: var(--serif);
    font-size: clamp(28px, 3.5vw, 46px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--black);
    margin-bottom: 16px;
}

.lead-headline a:hover { color: var(--blue); }

.lead-standfirst {
    font-family: var(--body-serif);
    font-size: 18px;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 18px;
}

.lead-byline {
    font-size: 13px;
    color: var(--byline);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.byline-label { font-weight: 400; color: var(--muted); }
.byline-name  { font-weight: 700; color: var(--ink); }
.byline-name-sm { font-weight: 600; color: var(--ink); }
.byline-name-lg { font-weight: 700; font-size: 15px; color: var(--white); }
.byline-sep   { color: var(--rule); }

.lead-read-btn {
    display: inline-block;
    background: var(--blue);
    color: var(--white);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 700;
    padding: 11px 24px;
    border-radius: 3px;
    letter-spacing: 0.3px;
    transition: background 0.15s;
}

.lead-read-btn:hover { background: var(--blue-dk); }

.lead-story-img a { display: block; overflow: hidden; border-radius: 4px; }
.lead-story-img img { width: 100%; height: 380px; object-fit: cover; transition: transform 0.4s; border-radius: 4px; }
.lead-story:hover .lead-story-img img { transform: scale(1.02); }

/* ======================
   NEWSPAPER LAYOUT (stories + sidebar)
   ====================== */
.newspaper-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
    padding: 8px 0;
}

/* Story list */
.story-list { display: flex; flex-direction: column; }

.story-item {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 16px;
    align-items: start;
    padding: 20px 0;
    border-bottom: 1px solid var(--rule);
}

.story-item:last-child { border-bottom: none; }

.story-headline {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--black);
    margin-bottom: 8px;
}

.story-headline a:hover { color: var(--blue); }

.story-standfirst {
    font-family: var(--body-serif);
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 10px;
}

.story-meta {
    font-size: 12px;
    color: var(--byline);
    display: flex;
    align-items: center;
    gap: 6px;
}

.story-item-img-link { display: block; flex-shrink: 0; }
.story-item-img { width: 120px; height: 90px; object-fit: cover; border-radius: 3px; }

/* ======================
   SIDEBAR
   ====================== */
.sidebar { display: flex; flex-direction: column; gap: 24px; }

.sidebar-box {
    border: 1px solid var(--rule);
    border-radius: 4px;
    overflow: hidden;
    background: var(--white);
}

.sidebar-box-head {
    background: var(--black);
    padding: 10px 16px;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
}

.sidebar-box-head-label {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 10px;
}

.sidebar-story {
    padding: 14px 16px;
    border-bottom: 1px solid var(--rule);
}

.sidebar-story:last-child { border-bottom: none; }

.sidebar-headline {
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
    color: var(--black);
}

.sidebar-headline a:hover { color: var(--blue); }

.sidebar-meta { font-size: 12px; color: var(--byline); }

/* Dispatch box */
.sidebar-dispatch {
    background: var(--blue);
    border-radius: 4px;
    padding: 24px;
    text-align: center;
}

.sidebar-dispatch-icon { font-size: 28px; margin-bottom: 10px; }
.sidebar-dispatch-title { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.sidebar-dispatch-desc  { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.5; margin-bottom: 16px; }

.sidebar-dispatch-btn {
    display: inline-block;
    background: var(--white);
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 3px;
    transition: opacity 0.15s;
}

.sidebar-dispatch-btn:hover { opacity: 0.88; }

/* Quote box */
.sidebar-quote {
    border-left: 4px solid var(--blue);
    padding: 20px 20px 20px 18px;
    background: var(--white);
    border-radius: 0 4px 4px 0;
    border: 1px solid var(--rule);
    border-left: 4px solid var(--blue);
}

.sidebar-quote-text {
    font-family: var(--body-serif);
    font-size: 16px;
    font-style: italic;
    color: var(--ink);
    line-height: 1.6;
    margin-bottom: 10px;
}

.sidebar-quote-attr { font-size: 12px; color: var(--muted); font-weight: 600; }

/* ======================
   CARD GRID (bottom stories)
   ====================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.news-card {
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

.news-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); transform: translateY(-2px); }

.news-card-img-wrap { display: block; height: 190px; overflow: hidden; background: var(--black); flex-shrink: 0; }
.news-card-img-blank { background: linear-gradient(135deg, #111 0%, var(--blue) 100%); height: 100%; }
.news-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.news-card:hover .news-card-img { transform: scale(1.04); }

.news-card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }

.news-card-headline {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin: 8px 0 10px;
    flex: 1;
    color: var(--black);
}

.news-card-headline a:hover { color: var(--blue); }

.news-card-meta { font-size: 12px; color: var(--byline); display: flex; align-items: center; gap: 6px; margin-top: auto; }

/* ======================
   PAGINATION
   ====================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    border-top: 1px solid var(--rule);
    font-size: 13px;
}

.pagination a {
    font-weight: 700;
    color: var(--blue);
    padding: 8px 20px;
    border: 2px solid var(--blue);
    border-radius: 3px;
    transition: background 0.15s, color 0.15s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
}

.pagination a:hover { background: var(--blue); color: var(--white); }

/* ======================
   ARTICLE PAGE
   ====================== */
.article-page { background: var(--paper); }

.article-header {
    background: var(--black);
    padding: 60px 24px 52px;
    text-align: center;
}

.article-header--page { background: var(--blue); }

.article-header-inner { max-width: 800px; margin: 0 auto; }

.article-headline {
    font-family: var(--serif);
    font-size: clamp(28px, 4.5vw, 54px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin: 12px 0 18px;
    letter-spacing: -0.5px;
}

.article-standfirst {
    font-family: var(--body-serif);
    font-size: 20px;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
}

.article-byline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.reading-time-badge {
    background: rgba(255,255,255,0.12);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
}

/* Article hero image */
.article-hero { max-width: 960px; margin: 40px auto; padding: 0 24px; }
.article-hero-img { width: 100%; border-radius: 4px; max-height: 540px; object-fit: cover; }
.article-hero-cap { font-size: 13px; color: var(--byline); text-align: center; margin-top: 8px; font-family: var(--sans); }

/* Article layout (content + sidebar) */
.article-layout {
    max-width: var(--wide);
    margin: 0 auto;
    padding: 0 24px 60px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 56px;
    align-items: start;
}

.article-layout--full { grid-template-columns: 1fr; max-width: 760px; }

/* Article content typography */
.article-content {
    background: var(--white);
    padding: 44px 48px 48px;
    border-radius: 4px;
    border: 1px solid var(--rule);
    font-family: var(--body-serif);
    font-size: 20px;
    line-height: 1.82;
    color: var(--ink);
}

.article-content h2 {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 700;
    margin: 48px 0 16px;
    line-height: 1.25;
    color: var(--black);
    border-top: 3px solid var(--blue);
    padding-top: 20px;
}

.article-content h3 { font-family: var(--serif); font-size: 23px; font-weight: 700; margin: 36px 0 12px; line-height: 1.3; }
.article-content h4 { font-family: var(--sans); font-size: 16px; font-weight: 700; margin: 28px 0 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--blue); }

.article-content p { margin-bottom: 28px; }
.article-content p:first-child::first-letter {
    font-family: var(--serif);
    font-size: 72px;
    font-weight: 900;
    float: left;
    line-height: 0.8;
    margin: 8px 12px 0 0;
    color: var(--blue);
}

.article-content a { color: var(--blue); text-decoration: underline; text-decoration-color: rgba(0,102,178,0.3); }
.article-content a:hover { text-decoration-color: var(--blue); }

.article-content blockquote {
    border-left: none;
    padding: 24px 32px;
    margin: 40px -48px;
    background: var(--black);
    font-style: italic;
    font-size: 22px;
    color: var(--white);
    line-height: 1.55;
    position: relative;
}

.article-content blockquote::before {
    content: '\201C';
    font-family: var(--serif);
    font-size: 80px;
    color: var(--blue);
    position: absolute;
    top: -10px;
    left: 24px;
    line-height: 1;
}

.article-content ul, .article-content ol { margin: 0 0 28px 28px; }
.article-content li { margin-bottom: 10px; }
.article-content img { border-radius: 4px; margin: 32px 0; }
.article-content hr { border: none; border-top: 1px solid var(--rule); margin: 44px 0; }

/* Article tags */
.article-tags {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--rule);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.tags-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-right: 4px; }

.article-tag {
    background: var(--rule);
    color: var(--byline);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 2px;
    transition: background 0.15s, color 0.15s;
}

.article-tag:hover { background: var(--blue); color: var(--white); }

/* Share buttons */
.article-share {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.share-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-right: 4px; }

.share-btn {
    font-size: 12px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 3px;
    transition: opacity 0.15s;
}

.share-btn--x  { background: #000; color: #fff; }
.share-btn--fb { background: #1877F2; color: #fff; }
.share-btn--wa { background: #25D366; color: #fff; }
.share-btn:hover { opacity: 0.85; }

/* Article sidebar */
.article-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 60px; }

.article-sidebar-subscribe {
    background: var(--blue);
    padding: 24px;
    border-radius: 4px;
    text-align: center;
}

.asc-label { font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.asc-title { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.asc-desc  { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.5; margin-bottom: 16px; }
.asc-btn   { display: inline-block; background: var(--white); color: var(--blue); font-size: 13px; font-weight: 700; padding: 10px 20px; border-radius: 3px; }

.article-sidebar-more {
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 4px;
    padding: 18px;
}

.sidebar-more-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--rule);
}

.sidebar-more-item:last-child { border-bottom: none; }

.sidebar-more-headline { font-family: var(--serif); font-size: 15px; font-weight: 700; line-height: 1.35; margin: 4px 0 6px; }
.sidebar-more-headline a:hover { color: var(--blue); }
.sidebar-more-date { font-size: 12px; color: var(--byline); }

/* ======================
   SUBSCRIBE CTA (article)
   ====================== */
.article-sub-cta {
    background: var(--black);
    padding: 72px 24px;
    text-align: center;
    margin-top: 0;
}

.article-sub-cta-inner { max-width: 560px; margin: 0 auto; }

.sub-cta-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 12px;
}

.sub-cta-headline {
    font-family: var(--serif);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.sub-cta-body {
    font-family: var(--body-serif);
    font-size: 17px;
    color: rgba(255,255,255,0.62);
    margin-bottom: 28px;
    line-height: 1.65;
}

.sub-cta-btn {
    display: inline-block;
    background: var(--blue);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 3px;
    letter-spacing: 0.3px;
    transition: background 0.15s;
}

.sub-cta-btn:hover { background: var(--blue-dk); }

/* ======================
   MORE STORIES
   ====================== */
.more-stories { padding: 48px 0; }

/* ======================
   GHOST CARD CLASSES (required)
   ====================== */
.kg-width-wide  { width: 85vw; max-width: 1100px; margin: 32px auto; }
.kg-width-full  { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.kg-image       { max-width: 100%; height: auto; }
.kg-image-card  { margin: 32px 0; }
.kg-image-card figcaption { font-size: 13px; color: var(--byline); text-align: center; margin-top: 8px; font-family: var(--sans); }
.kg-gallery-container { margin: 32px 0; }
.kg-gallery-row { display: flex; gap: 8px; margin-bottom: 8px; }
.kg-gallery-image { flex: 1; overflow: hidden; }
.kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; }
.kg-embed-card { margin: 32px 0; }
.kg-embed-card iframe { max-width: 100%; }
.kg-video-card { margin: 32px 0; }
.kg-bookmark-card { margin: 32px 0; }
.kg-bookmark-container { display: flex; border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; color: inherit; }
.kg-bookmark-container:hover { border-color: var(--blue); }
.kg-bookmark-content { padding: 18px; flex: 1; }
.kg-bookmark-title { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.kg-bookmark-description { font-size: 13px; color: var(--muted); line-height: 1.5; }
.kg-bookmark-thumbnail { width: 160px; flex-shrink: 0; }
.kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.kg-callout-card { display: flex; gap: 14px; padding: 20px 24px; background: var(--blue-lt); border-left: 4px solid var(--blue); margin: 32px 0; border-radius: 0 4px 4px 0; }
.kg-callout-emoji { font-size: 22px; flex-shrink: 0; }

/* ======================
   ERROR PAGE
   ====================== */
.error-pg { padding: 100px 24px; text-align: center; }
.error-num { font-family: var(--serif); font-size: 120px; font-weight: 900; color: var(--blue); line-height: 1; margin-bottom: 16px; }
.error-txt { font-family: var(--body-serif); font-size: 22px; color: var(--muted); margin-bottom: 32px; }

/* ======================
   FOOTER
   ====================== */
.site-footer { background: var(--black); padding-top: 48px; }

.footer-masthead { text-align: center; padding: 0 24px 32px; }
.footer-rule-top { height: 3px; background: var(--white); max-width: 400px; margin: 0 auto 16px; }
.footer-pub-name { font-family: var(--serif); font-size: 36px; font-weight: 900; color: var(--white); letter-spacing: -0.5px; }
.footer-pub-sub  { font-family: var(--body-serif); font-size: 13px; color: rgba(255,255,255,0.35); font-style: italic; margin-top: 4px; }
.footer-rule-bot { height: 1px; background: rgba(255,255,255,0.15); max-width: 600px; margin: 16px auto 0; }

.footer-cols {
    max-width: var(--wide);
    margin: 0 auto;
    padding: 40px 24px 48px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.6fr;
    gap: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col-head {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 18px;
}

.footer-col { display: flex; flex-direction: column; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; }
.footer-col a, .footer-col li a { font-size: 13px; color: rgba(255,255,255,0.52); margin-bottom: 12px; transition: color 0.15s; }
.footer-col a:hover, .footer-col li a:hover { color: var(--white); }

.footer-dispatch-blurb { font-size: 13px; color: rgba(255,255,255,0.42); line-height: 1.6; margin-bottom: 18px; }
.footer-sub-btn { display: inline-block; background: var(--blue); color: var(--white); font-size: 13px; font-weight: 700; padding: 10px 22px; border-radius: 3px; transition: background 0.15s; align-self: flex-start; }
.footer-sub-btn:hover { background: var(--blue-dk); }

.footer-base { border-top: 1px solid rgba(255,255,255,0.07); }
.footer-base-inner { max-width: var(--wide); margin: 0 auto; padding: 16px 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: rgba(255,255,255,0.18); }

/* ======================
   RESPONSIVE
   ====================== */
@media (max-width: 1024px) {
    .social-label { display: none; }
    .lead-story { grid-template-columns: 1fr; }
    .lead-story-img { order: -1; }
    .lead-story-img img { height: 300px; }
    .newspaper-layout { grid-template-columns: 1fr; }
    .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .section-nav-links {
        display: none;
        position: absolute;
        top: 46px;
        left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 8px 0 16px;
        border-bottom: 3px solid var(--blue);
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        z-index: 199;
    }
    .section-nav-links.open { display: flex; }
    .section-nav-links a { height: auto; padding: 12px 24px; border-bottom: none; width: 100%; }
    .masthead-name { font-size: 38px; }
    .top-strip { display: none; }
    .card-grid { grid-template-columns: 1fr; }
    .sidebar { grid-template-columns: 1fr; }
    .article-sidebar { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
    .article-content { padding: 28px 24px; }
    .article-content blockquote { margin: 24px 0; }
    .story-item { grid-template-columns: 1fr 90px; }
    .story-item-img { width: 90px; height: 70px; }
    .kg-width-wide { width: 100%; }
}

@media (max-width: 480px) {
    .masthead-name { font-size: 30px; }
    .story-item { grid-template-columns: 1fr; }
    .story-item-img-link { display: none; }
    .footer-cols { grid-template-columns: 1fr; }
    .article-content p:first-child::first-letter { display: none; }
    .footer-base-inner { flex-direction: column; gap: 4px; }
}
