﻿:root {
    --bg: #071126;
    --header: #111827;
    --nav: #192337;
    --surface: #141f34;
    --surface-2: #18243a;
    --border: #26334b;
    --text: #f8fafc;
    --muted: #b3bfd2;
    --muted-2: #7f8ca5;
    --orange: #ff6b3d;
    --gold: #ffb33c;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    background: var(--header);
    border-bottom: 4px solid var(--orange);
}

.masthead {
    max-width: 1120px;
    margin: 0 auto;
    padding: 28px 18px 24px;
    text-align: center;
}

.logo {
    display: inline-block;
    font-size: clamp(38px, 8vw, 64px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: .5px;
}

.tagline {
    margin: 12px 0 0;
    color: #c8d1df;
    font-size: clamp(15px, 4vw, 19px);
    line-height: 1.4;
}

.category-nav {
    background: var(--nav);
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

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

.category-nav-inner {
    width: max-content;
    min-width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.category-nav a {
    flex: 0 0 auto;
    padding: 17px 14px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .2px;
}

.category-nav a:hover {
    color: var(--gold);
}

.page {
    width: min(1120px, calc(100% - 24px));
    margin: 30px auto 70px;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
}

.section-heading::before {
    content: "";
    width: 5px;
    height: 44px;
    border-radius: 20px;
    background: var(--orange);
    flex: 0 0 auto;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(23px, 6vw, 34px);
    line-height: 1;
    font-weight: 950;
    text-transform: uppercase;
}

.hero-card {
    display: block;
    overflow: hidden;
    margin-bottom: 38px;
    border: 1px solid rgba(255,255,255,.04);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 12px 35px rgba(0,0,0,.16);
}

.hero-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.hero-content {
    padding: 24px;
}

.story-tag {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--gold);
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.hero-title {
    margin: 0;
    max-width: 900px;
    font-size: clamp(32px, 7vw, 50px);
    line-height: 1.06;
    letter-spacing: -.7px;
    font-weight: 950;
}

.hero-summary {
    margin: 18px 0 0;
    max-width: 900px;
    color: var(--muted);
    font-size: clamp(17px, 4vw, 20px);
    line-height: 1.55;
}

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

.story-card {
    overflow: hidden;
    height: 100%;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.04);
    transition: transform .15s ease, background .15s ease;
}

.story-card:hover {
    transform: translateY(-3px);
    background: var(--surface-2);
}

.story-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.story-card-content {
    padding: 17px;
}

.story-card h3 {
    margin: 4px 0 10px;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 900;
}

.story-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.48;
}

.empty-state {
    padding: 30px 24px;
    border-radius: 16px;
    background: var(--surface);
    color: var(--muted);
    font-size: 17px;
    line-height: 1.5;
}

.category-title {
    margin: 0 0 28px;
}

.category-title span {
    color: var(--gold);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.category-title h1 {
    margin: 7px 0 0;
    font-size: clamp(34px, 8vw, 54px);
    line-height: 1;
    font-weight: 950;
}

.article-wrap {
    width: min(780px, calc(100% - 28px));
    margin: 34px auto 80px;
}

.article-category {
    color: var(--gold);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.article-title {
    margin: 10px 0 18px;
    font-size: clamp(34px, 8vw, 54px);
    line-height: 1.04;
    letter-spacing: -.8px;
    font-weight: 950;
}

.article-summary {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: clamp(18px, 4.5vw, 22px);
    line-height: 1.55;
}

.article-meta {
    margin-bottom: 25px;
    color: var(--muted-2);
    font-size: 13px;
}

.article-hero {
    width: 100%;
    display: block;
    margin: 0 0 30px;
    border-radius: 18px;
}

.article-body {
    color: #e5eaf2;
    font-size: 18px;
    line-height: 1.72;
}

.article-body p {
    margin: 0 0 23px;
}

.article-source {
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    color: var(--muted-2);
    font-size: 14px;
}

.article-source a {
    color: var(--gold);
    text-decoration: underline;
}

.site-footer {
    margin-top: 70px;
    padding: 35px 20px 48px;
    border-top: 1px solid rgba(255,255,255,.05);
    color: var(--muted-2);
    text-align: center;
    font-size: 13px;
}

@media (max-width: 850px) {
    .story-grid {
        grid-template-columns: 1fr;
    }

    .page {
        margin-top: 26px;
    }

    .hero-content {
        padding: 21px;
    }

    .category-nav a {
        padding: 16px 13px;
        font-size: 13px;
    }

    .article-wrap {
        margin-top: 29px;
    }
}

@media (min-width: 900px) {
    .hero-card.has-image {
        display: grid;
        grid-template-columns: 1.15fr 1fr;
    }

    .hero-card.has-image .hero-image {
        height: 100%;
        max-height: none;
    }

    .hero-card.has-image .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 34px;
    }
}
