:root {
    --bg: #f2f3f5;
    --surface: #ffffff;
    --surface-2: #f7f7f8;
    --text: #141518;
    --muted: #737780;
    --line: #e1e3e7;
    --brand: #e52329;
    --brand-dark: #bd171c;
    --dark: #111214;
    --soft-shadow: 0 12px 40px rgba(14, 18, 27, .08);
    --radius: 16px;
    --shell: 1320px;
}

html[data-theme="dark"] {
    --bg: #0f1012;
    --surface: #17191d;
    --surface-2: #1c1f24;
    --text: #f3f4f6;
    --muted: #9aa0aa;
    --line: #2a2d33;
    --dark: #08090a;
    --soft-shadow: 0 12px 40px rgba(0, 0, 0, .22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

button,
input,
select {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.shell {
    width: min(calc(100% - 40px), var(--shell));
    margin-inline: auto;
}

.scroll-progress {
    position: fixed;
    inset: 0 auto auto 0;
    width: 0;
    height: 3px;
    background: var(--brand);
    z-index: 1000;
}

.utility-bar {
    background: var(--dark);
    color: #b9bdc6;
    font-size: 12px;
}

.utility-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.live-status,
.utility-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-dot,
.pulse-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #33c66b;
    box-shadow: 0 0 0 4px rgba(51, 198, 107, .12);
}

.utility-separator {
    opacity: .45;
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.brand {
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
}

.brand-main {
    font-size: 34px;
    font-weight: 950;
    letter-spacing: -1.9px;
}

.brand-main span,
.footer-brand span {
    color: var(--brand);
}

.brand small {
    margin-top: 7px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .25px;
}

.header-tools {
    width: min(520px, 52vw);
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-box {
    flex: 1;
    height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.search-box svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: var(--muted);
    stroke-width: 1.8;
    stroke-linecap: round;
}

.search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
}

.search-box input::placeholder {
    color: var(--muted);
}

.icon-button {
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
}

.source-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.nav-scroll {
    min-height: 53px;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-scroll::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    flex: 0 0 auto;
    border: 0;
    padding: 9px 13px;
    border-radius: 9px;
    background: transparent;
    color: var(--text);
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}

.filter-chip:hover {
    background: var(--surface-2);
}

.filter-chip.active {
    background: var(--dark);
    color: #fff;
}

.ticker {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.ticker-inner {
    min-height: 44px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
}

.ticker-label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--brand);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .5px;
}

.ticker-label span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
}

.ticker-window {
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: flex;
    gap: 28px;
    width: max-content;
    animation: ticker 70s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-track a {
    position: relative;
    color: var(--muted);
    text-decoration: none;
    font-size: 12px;
}

.ticker-track a::after {
    content: "•";
    position: absolute;
    right: -17px;
    color: var(--line);
}

@keyframes ticker {
    from { transform: translateX(5%); }
    to { transform: translateX(-65%); }
}

.main-content {
    padding-top: 30px;
    padding-bottom: 70px;
}

.lead-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, .72fr);
    gap: 24px;
    align-items: stretch;
}

.hero-story {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    border-radius: 20px;
    background: #222;
    box-shadow: var(--soft-shadow);
}

.hero-image {
    position: absolute;
    inset: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image.image-placeholder {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(229, 35, 41, .35), transparent 35%),
        linear-gradient(135deg, #191b20, #2d3038);
}

.hero-image.image-placeholder span {
    color: rgba(255, 255, 255, .18);
    font-size: 90px;
    font-weight: 950;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .02) 0%, rgba(0, 0, 0, .2) 38%, rgba(0, 0, 0, .92) 100%);
}

.hero-copy {
    position: relative;
    z-index: 2;
    width: min(860px, 100%);
    padding: 42px;
    color: #fff;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 15px;
    padding: 7px 10px;
    border-radius: 7px;
    background: rgba(13, 14, 16, .76);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .25px;
}

.hero-copy h1 {
    margin: 0 0 14px;
    font-size: clamp(32px, 4.1vw, 58px);
    line-height: 1.02;
    letter-spacing: -2.2px;
    text-wrap: balance;
}

.hero-copy h1 a {
    text-decoration: none;
}

.hero-copy p {
    max-width: 760px;
    margin: 0 0 23px;
    color: rgba(255, 255, 255, .79);
    font-size: 16px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 13px;
}

.hero-actions time {
    color: rgba(255, 255, 255, .62);
}

.hero-actions a {
    font-weight: 800;
    text-decoration: none;
}

.brief-panel {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--soft-shadow);
}

.panel-heading {
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
}

.eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--brand);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.panel-heading h2,
.feed-heading h2 {
    margin: 0;
    font-size: 27px;
    line-height: 1.1;
    letter-spacing: -.8px;
}

.panel-time {
    padding: 5px 7px;
    border-radius: 5px;
    background: rgba(229, 35, 41, .1);
    color: var(--brand);
    font-size: 10px;
    font-weight: 950;
}

.brief-list {
    padding: 4px 22px 8px;
}

.brief-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 11px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}

.brief-item:last-child {
    border-bottom: 0;
}

.brief-number {
    color: #c5c8cf;
    font-size: 13px;
    font-weight: 900;
}

.brief-copy strong {
    display: block;
    font-size: 14px;
    line-height: 1.28;
}

.brief-copy small {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 11px;
}

.brief-item:hover strong {
    color: var(--brand);
}

.feed-section {
    margin-top: 46px;
}

.feed-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 19px;
}

.feed-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feed-controls select {
    min-width: 160px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    outline: 0;
    background: var(--surface);
    color: var(--text);
}

.visible-counter {
    color: var(--muted);
    font-size: 12px;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 286px;
    gap: 28px;
}

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

.news-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--line) 45%, var(--text));
    box-shadow: var(--soft-shadow);
}

.news-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #222;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.025);
}

.news-image.image-placeholder {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(229, 35, 41, .25), transparent 35%),
        linear-gradient(135deg, #1d1f24, #31353d);
}

.news-image.image-placeholder span {
    color: rgba(255, 255, 255, .2);
    font-size: 34px;
    font-weight: 950;
}

.news-card-body {
    padding: 18px;
}

.news-meta {
    min-height: 21px;
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 11px;
}

.source-name {
    color: var(--brand);
    font-weight: 850;
}

.meta-dot {
    opacity: .5;
}

.fresh-badge {
    margin-left: auto;
    padding: 3px 6px;
    border-radius: 5px;
    background: rgba(51, 198, 107, .11);
    color: #25a759;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.news-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.22;
    letter-spacing: -.45px;
}

.news-card h3 a {
    text-decoration: none;
}

.news-card h3 a:hover {
    color: var(--brand);
}

.news-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.card-bottom {
    margin-top: 17px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.category-label {
    color: var(--muted);
    font-size: 11px;
}

.read-link {
    color: var(--brand);
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sidebar-card {
    padding: 21px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.sticky-card {
    position: sticky;
    top: 73px;
}

.sidebar-card h3 {
    margin: 0 0 15px;
    font-size: 18px;
}

.source-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}

.source-stat:last-child {
    border-bottom: 0;
}

.source-stat strong {
    min-width: 28px;
    padding: 3px 6px;
    border-radius: 5px;
    background: var(--surface-2);
    text-align: center;
    font-size: 10px;
}

.sidebar-note {
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 14px;
}

.info-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--dark);
    color: var(--brand);
    font-weight: 950;
}

.info-card p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.no-results {
    display: none;
    padding: 42px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    text-align: center;
}

.no-results strong,
.no-results span {
    display: block;
}

.no-results span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
}

.load-more-wrap {
    margin-top: 28px;
    text-align: center;
}

.load-more {
    min-width: 170px;
    padding: 12px 18px;
    border: 0;
    border-radius: 10px;
    background: var(--dark);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.load-more:hover {
    opacity: .88;
}

.site-footer {
    background: var(--dark);
    color: #8e939d;
    padding: 48px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .7fr .7fr;
    gap: 40px;
}

.footer-brand {
    color: #fff;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -1px;
}

.site-footer p {
    max-width: 650px;
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.6;
}

.footer-meta {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 11px;
}

.footer-meta strong {
    margin-bottom: 3px;
    color: #fff;
}

.footer-right {
    text-align: right;
}

@media (max-width: 1080px) {
    .lead-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
    }

    .hero-story {
        min-height: 470px;
    }

    .content-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .sidebar {
        display: none;
    }
}

@media (max-width: 820px) {
    .shell {
        width: min(calc(100% - 24px), var(--shell));
    }

    .utility-meta {
        display: none;
    }

    .header-inner {
        min-height: auto;
        padding: 17px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .header-tools {
        width: 100%;
    }

    .lead-layout {
        grid-template-columns: 1fr;
    }

    .hero-story {
        min-height: 470px;
    }

    .brief-panel {
        box-shadow: none;
    }

    .brief-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 18px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-right {
        text-align: left;
    }
}

@media (max-width: 560px) {
    .brand-main {
        font-size: 30px;
    }

    .ticker {
        display: none;
    }

    .main-content {
        padding-top: 16px;
    }

    .hero-story {
        min-height: 450px;
        border-radius: 14px;
    }

    .hero-copy {
        padding: 24px;
    }

    .hero-copy h1 {
        font-size: 32px;
        line-height: 1.04;
        letter-spacing: -1.4px;
    }

    .hero-copy p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        font-size: 14px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .brief-list {
        display: block;
    }

    .feed-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .feed-controls {
        width: 100%;
        justify-content: space-between;
    }

    .news-card h3 {
        font-size: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
    }

    .ticker-track {
        animation: none;
    }
}

/* ==========================================================
   PRESS BOSS 2.0 / SQLite additions
========================================================== */
.container {
    width: min(calc(100% - 40px), var(--shell));
    margin-inline: auto;
}

[hidden] { display: none !important; }

/* Date + exchange rates */
.market-bar {
    background: var(--dark);
    color: #c6c9d0;
    font-size: 11px;
}
.market-inner {
    min-height: 39px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}
.market-date {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}
.market-date strong { color: #fff; }
.market-zone, .market-update { color: #747984; }
.currency-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}
.currency-item {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.currency-item strong { color: #fff; font-size: 10px; }
.currency-up { color: #ef6469; font-size: 9px; }
.currency-down { color: #45c378; font-size: 9px; }
.currency-flat { color: #8c919b; font-size: 9px; }
.currency-unavailable { color: #777d87; }

/* Header compatibility */
.logo {
    text-decoration: none;
    font-size: 34px;
    font-weight: 950;
    letter-spacing: -1.9px;
    line-height: 1;
}
.logo-mark { color: var(--brand); }
.logo-subtitle {
    margin-top: 7px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}
.header-tools {
    width: min(530px, 55vw);
    display: flex;
    align-items: center;
    gap: 10px;
}
.header-tools .search-wrapper { flex: 1; width: auto; max-width: none; }
.theme-button {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
}
.back-home {
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
}

/* Main categories */
.category-nav {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}
.category-nav-inner {
    min-height: 45px;
    display: flex;
    align-items: center;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
}
.category-nav-inner::-webkit-scrollbar { display: none; }
.category-nav-inner a {
    flex: 0 0 auto;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}
.category-nav-inner a:hover,
.category-nav-inner a.active { color: var(--brand); }

.main-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}
.nav-inner {
    min-height: 49px;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }

/* Ticker */
.ticker {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}
.ticker-inner {
    min-height: 42px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
}
.ticker-label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--brand);
    font-size: 10px;
    font-weight: 950;
}
.ticker-label span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
}
.ticker-window { overflow: hidden; white-space: nowrap; }
.ticker-track {
    width: max-content;
    display: flex;
    gap: 30px;
    animation: ticker2 78s linear infinite;
}
.ticker-track a {
    position: relative;
    color: var(--muted);
    text-decoration: none;
    font-size: 11px;
}
.ticker-track a::after {
    content: "•";
    position: absolute;
    right: -17px;
    color: var(--line);
}
@keyframes ticker2 {
    from { transform: translateX(3%); }
    to { transform: translateX(-65%); }
}

/* Layout */
.main { padding: 28px 0 70px; }
.feed-section { margin-top: 40px; }
.feed-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.feed-heading h2 { margin: 0; }
.feed-controls { display: flex; align-items: center; gap: 15px; }
.visible-counter { color: var(--muted); font-size: 12px; }

/* Archive navigation */
.archive-strip {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 7px;
    overflow-x: auto;
    scrollbar-width: none;
}
.archive-strip strong { margin-right: 3px; color: var(--muted); font-size: 11px; }
.archive-strip a,
.archive-side-links a {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    text-decoration: none;
    font-size: 11px;
}
.archive-strip a:hover,
.archive-side-links a:hover { border-color: var(--brand); color: var(--brand); }

/* Source clustering */
.more-sources {
    margin-top: 13px;
    padding-top: 10px;
    border-top: 1px dashed var(--line);
}
.more-sources summary {
    color: var(--brand);
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
}
.more-sources-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 8px;
}
.more-sources-list a {
    color: var(--muted);
    text-decoration: none;
    font-size: 10px;
}
.image-link { display: block; text-decoration: none; }
.category-label { text-decoration: none; }

/* Sidebar metrics */
.sidebar-box {
    padding: 21px;
    margin-bottom: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.sidebar-box h3 { margin: 0 0 15px; font-size: 18px; }
.metric-card { display: flex; flex-direction: column; }
.metric-card span,
.metric-card small { color: var(--muted); font-size: 11px; }
.metric-card strong { margin: 3px 0; font-size: 30px; letter-spacing: -1px; }

/* Listing pages */
.listing-header {
    padding: 34px 0 26px;
    border-bottom: 1px solid var(--line);
}
.listing-header h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 62px);
    letter-spacing: -2px;
}
.listing-header p {
    max-width: 700px;
    margin: 10px 0 0;
    color: var(--muted);
}
.listing-count {
    display: inline-block;
    margin-top: 14px;
    color: var(--muted);
    font-size: 11px;
}
.compact-heading { margin-top: 28px; }
.listing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Article pages */
.article-shell {
    padding-top: 42px;
    padding-bottom: 80px;
    display: grid;
    grid-template-columns: minmax(0, 820px) 260px;
    gap: 70px;
    justify-content: center;
}
.article-breadcrumbs {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    color: var(--muted);
    font-size: 11px;
}
.article-breadcrumbs a { text-decoration: none; }
.article-source { color: var(--brand); font-size: 12px; font-weight: 900; }
.article-page h1 {
    margin: 10px 0 14px;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.03;
    letter-spacing: -2.4px;
}
.article-meta { margin-bottom: 28px; color: var(--muted); font-size: 12px; }
.article-image {
    overflow: hidden;
    margin: 0 0 30px;
    border-radius: 18px;
    background: #222;
}
.article-image img { width: 100%; max-height: 520px; object-fit: cover; }
.article-summary {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.6;
}
.source-button {
    display: inline-flex;
    margin-top: 28px;
    padding: 13px 18px;
    border-radius: 10px;
    background: var(--dark);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}
.archive-side-links { display: flex; flex-direction: column; gap: 8px; }

/* Footer additions */
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr; gap: 40px; align-items: start; }
.footer-links,
.footer-right { display: flex; flex-direction: column; gap: 7px; font-size: 11px; }
.footer-links a,
.footer-right a { text-decoration: none; }
.footer-right { text-align: right; }

@media (max-width: 1080px) {
    .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article-shell { grid-template-columns: minmax(0, 820px); }
    .article-side { display: none; }
}

@media (max-width: 820px) {
    .container { width: min(calc(100% - 24px), var(--shell)); }
    .market-inner { grid-template-columns: 1fr; gap: 4px; padding: 8px 0; }
    .currency-strip { justify-content: flex-start; overflow-x: auto; }
    .market-update { display: none; }
    .header-tools { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-right { text-align: left; }
}

@media (max-width: 600px) {
    .logo { font-size: 30px; }
    .category-nav-inner { gap: 16px; }
    .ticker { display: none; }
    .listing-grid { grid-template-columns: 1fr; }
    .feed-heading { align-items: flex-start; flex-direction: column; }
    .feed-controls { width: 100%; justify-content: space-between; }
    .article-shell { padding-top: 26px; }
    .article-page h1 { font-size: 36px; letter-spacing: -1.4px; }
    .article-summary { font-size: 19px; }
}
.load-more-wrapper { margin-top: 28px; text-align: center; }
