.news-page {
    width: min(100%, 1080px);
    margin: 0 auto;
}

.news-page-header {
    padding: 0 0 1.25rem;
    border-bottom: 1px solid var(--border);
}

.news-page-header h1 {
    margin: 0;
    color: #ffffff;
    font-family: "Gobold", Impact, sans-serif;
    font-size: clamp(2.8rem, 6vw, 4.4rem);
    line-height: 0.9;
    text-transform: uppercase;
}

.news-page-header p {
    max-width: 660px;
    margin: 0.7rem 0 0;
    color: var(--muted);
}

.news-refresh-button[disabled] {
    cursor: wait;
    opacity: 0.62;
}

.news-feed-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem 0 clamp(2rem, 5vw, 3.5rem);
}

.news-feed-status {
    padding: 0.4rem 0;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.news-feed-status::before {
    display: inline-block;
    width: 0.48rem;
    height: 0.48rem;
    margin-right: 0.5rem;
    border-radius: 50%;
    background: var(--accent-soft);
    content: "";
}

.news-feed-status[data-state="ready"]::before {
    background: var(--green);
}

.news-feed-status[data-state="stale"]::before {
    background: #f2bd48;
}

.news-feed-status[data-state="error"]::before {
    background: var(--accent);
}

.news-top-section {
    margin-top: 1.25rem;
}

.news-top-section > .eyebrow {
    margin: 0 0 0.65rem;
}

.news-top-card {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
    overflow: hidden;
    min-height: 270px;
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-large);
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(255, 74, 84, 0.17),
            transparent 42%
        ),
        var(--surface);
    box-shadow: var(--shadow);
}

.news-top-card:has(.news-top-copy:only-child) {
    grid-template-columns: 1fr;
    min-height: 0;
}

.news-top-copy {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.news-top-headline {
    max-width: 760px;
    margin: 0.8rem 0 0;
    color: #ffffff;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.06;
    letter-spacing: -0.025em;
}

.news-top-headline a,
.news-story-card h3 a {
    color: inherit;
    text-decoration: none;
}

.news-top-headline a:hover,
.news-top-headline a:focus-visible,
.news-story-card h3 a:hover,
.news-story-card h3 a:focus-visible {
    color: var(--accent-soft);
}

.news-top-excerpt {
    max-width: 680px;
    display: -webkit-box;
    overflow: hidden;
    margin: 0.8rem 0 1rem;
    color: var(--text-soft);
    font-size: 0.92rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.news-top-copy > .primary-button {
    margin-top: 1.25rem;
}

.news-top-excerpt + .primary-button {
    margin-top: 0;
}

.news-related-sources {
    margin: 0.9rem 0 0;
    color: var(--muted);
    font-size: 0.76rem;
}

.news-related-sources strong {
    color: var(--text-soft);
}

.news-top-image,
.news-story-image {
    overflow: hidden;
    background: #080808;
}

.news-top-image img,
.news-story-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-story-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem 0.7rem;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.news-story-source {
    color: var(--accent-soft);
    text-decoration: none;
}

.news-story-source:hover,
.news-story-source:focus-visible {
    color: #ffffff;
}

.news-coverage-count {
    padding: 0.2rem 0.42rem;
    border: 1px solid rgba(61, 221, 120, 0.35);
    border-radius: 999px;
    color: #a3f5bf;
}

.news-latest-section {
    overflow: hidden;
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-large);
    background: var(--surface);
}

.news-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.1rem clamp(1rem, 3vw, 1.5rem);
    border-bottom: 3px solid var(--accent);
    background: #0d0d0d;
}

.news-section-heading h2 {
    margin: 0;
    color: #ffffff;
    font-family: "Gobold", Impact, sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    line-height: 1;
    text-transform: uppercase;
}

.news-section-heading > p {
    margin: 0;
    color: var(--muted);
    font-size: 0.76rem;
}

.news-story-list {
    padding: 0 clamp(1rem, 3vw, 1.5rem);
}

.news-story-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: clamp(1rem, 3vw, 1.6rem);
    padding: clamp(1.25rem, 3vw, 1.8rem) 0;
    border-bottom: 1px solid var(--border);
}

.news-story-card:last-child {
    border-bottom: 0;
}

.news-story-card:has(.news-story-copy:only-child) {
    grid-template-columns: 1fr;
}

.news-story-image {
    aspect-ratio: 16 / 10;
    border: 1px solid var(--border);
    border-radius: var(--radius-small);
}

.news-story-card h3 {
    max-width: 820px;
    margin: 0.55rem 0 0;
    color: #ffffff;
    font-size: clamp(1.2rem, 3vw, 1.65rem);
    line-height: 1.18;
}

.news-story-excerpt {
    max-width: 800px;
    margin: 0.7rem 0 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.55;
}

.news-loading-card,
.news-loading-row {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    background: var(--surface);
}

.news-loading-card {
    min-height: 270px;
}

.news-loading-row {
    min-height: 150px;
    margin: 1rem 0;
}

.news-loading-card::after,
.news-loading-row::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        transparent 20%,
        rgba(255, 255, 255, 0.045) 45%,
        transparent 70%
    );
    content: "";
    transform: translateX(-100%);
    animation: news-loading 1.4s infinite;
}

.news-noscript {
    margin-top: 1.5rem;
    padding: 1rem;
    border: 1px solid var(--border);
    color: var(--text-soft);
}

@keyframes news-loading {
    to {
        transform: translateX(100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-loading-card::after,
    .news-loading-row::after {
        animation: none;
    }
}

@media (max-width: 760px) {
    .news-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.4rem;
    }

    .news-feed-controls {
        margin-bottom: 2rem;
    }

    .news-refresh-button {
        display: none;
    }

    .news-top-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .news-top-image {
        order: -1;
        aspect-ratio: 16 / 9;
        max-height: 260px;
    }

    .news-story-card {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .news-story-excerpt {
        display: none;
    }

    .news-top-excerpt {
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 520px) {
    .news-story-card,
    .news-story-card:has(.news-story-copy:only-child) {
        grid-template-columns: 1fr;
    }

    .news-story-image {
        aspect-ratio: 16 / 9;
    }
}
