﻿@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Barlow:wght@300;400;500;600;700;800&display=swap');

.news-topbar {
    font-family: 'Barlow Condensed', sans-serif;
}

.news-topbar > div {
    height: 64px !important;
}

.news-topbar img[data-topbar-logo] {
    max-height: 38px;
    filter: none;
}

.news-topbar [data-topbar-text] {
    font-family: 'Barlow Condensed', sans-serif;
    gap: 2rem !important;
}

.news-topbar [data-topbar-text] a,
.news-topbar a[data-topbar-muted] {
    color: inherit;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: .95rem !important;
    font-weight: 600 !important;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .2s ease;
}

.news-topbar [data-topbar-text] a:hover,
.news-topbar [data-topbar-text] a.active,
.news-topbar a[data-topbar-muted]:hover {
    color: #27a350 !important;
}

.news-topbar.bg-transparent [data-topbar-text] a.active,
.news-topbar.bg-transparent [data-topbar-text] a:hover,
.news-topbar.bg-transparent a[data-topbar-muted],
.news-topbar.bg-transparent a[data-topbar-muted]:hover {
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}

.news-topbar.bg-transparent [data-topbar-text] a.active {
    border-bottom: 2px solid #27a350;
    padding-bottom: 2px;
}

.news-topbar.bg-white [data-topbar-text] a.active {
    border-bottom: 2px solid #27a350;
    padding-bottom: 2px;
}

.news-topbar a.bg-emerald-600 {
    background: #27a350 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    color: #fff !important;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: .85rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.news-topbar a.bg-emerald-600:hover {
    background: #1f8a43 !important;
}

.news-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(39, 163, 80, .3);
    background: rgba(39, 163, 80, .12);
    border-radius: 20px;
    color: #27a350;
    flex: 0 0 auto;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 10px;
    text-transform: uppercase;
}

.news-ai-dot {
    width: 5px;
    height: 5px;
    background: #27a350;
    border-radius: 50%;
    animation: newsBlink 1.5s ease-in-out infinite;
}

@keyframes newsBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: .3; }
}

@media (max-width: 767px) {
    .news-topbar > div {
        height: auto !important;
        min-height: 64px;
        padding: .65rem 1rem .7rem !important;
        flex-wrap: wrap;
        gap: .7rem !important;
    }

    .news-topbar > div > a:first-child {
        width: 100%;
        align-items: flex-start;
    }

    .news-topbar img[data-topbar-logo] {
        max-height: 34px;
        max-width: 190px;
    }

    .news-topbar [data-topbar-muted] {
        font-size: .68rem !important;
        line-height: 1.15;
        max-width: 220px;
        text-align: left;
    }

    .news-topbar [data-topbar-text] {
        display: flex !important;
        order: 3;
        width: 100%;
        justify-content: flex-start !important;
        gap: 1.1rem !important;
        overflow-x: auto;
        padding: .15rem 0 .2rem;
        scrollbar-width: none;
    }

    .news-topbar [data-topbar-text]::-webkit-scrollbar {
        display: none;
    }

    .news-topbar [data-topbar-text] a {
        flex: 0 0 auto;
        font-size: .84rem !important;
    }

    .news-topbar > div > .flex.items-center {
        margin-left: auto;
    }

    .news-topbar a[data-topbar-muted] {
        display: inline-block !important;
        font-size: .84rem !important;
    }

    .news-topbar a.bg-emerald-600 {
        display: inline-block !important;
        margin-left: auto;
        padding: .5rem .75rem !important;
        font-size: .76rem !important;
    }

    .news-topbar.bg-transparent [data-topbar-text] a {
        color: #fff !important;
        text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
    }
}

.admin-page {
    min-height: 100vh;
    background: #f9fafb;
    padding: 0 1rem 3rem;
}

.admin-shell {
    width: 100%;
    max-width: none;
}

.admin-sidebar {
    margin-bottom: 2rem;
}

.admin-sidebar > div {
    border-radius: 18px;
}

.admin-main {
    width: 100%;
    min-width: 0;
}

.admin-users-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
}

.admin-data-card {
    border: 1px solid #dbe3ef;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.admin-data-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e7edf5;
    background: linear-gradient(180deg, #f8fbff 0%, #f3f7fb 100%);
}

.admin-data-card__title {
    margin: 0;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 700;
}

.admin-data-card__subtitle {
    margin: .35rem 0 0;
    color: #64748b;
    font-size: .92rem;
}

.admin-data-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .5rem .85rem;
    border-radius: 999px;
    background: #e8f3ec;
    color: #157347;
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
}

.admin-table-wrap {
    width: 100%;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.admin-table thead {
    background: #f8fafc;
}

.admin-table th {
    color: #64748b;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-bottom: 1px solid #e2e8f0;
}

.admin-table td {
    vertical-align: top;
    border-bottom: 1px solid #edf2f7;
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
    line-height: 1.55;
}

.admin-table tbody tr {
    transition: background-color .18s ease;
}

.admin-table tbody tr:hover {
    background: #f8fbff;
}

.admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-table-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
}

.admin-table td > div + div,
.admin-table td > div + span,
.admin-table td > span + div {
    margin-top: .45rem;
}

@media (min-width: 1024px) {
    .admin-shell {
        display: flex;
        align-items: flex-start;
        gap: 2rem;
    }

    .admin-sidebar {
        position: sticky;
        top: 0;
        flex: 0 0 200px;
        width: 200px;
        min-width: 200px;
        margin-bottom: 0;
    }

    .admin-main {
        flex: 1 1 auto;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .admin-users-hero,
    .admin-data-card__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-users-hero > a {
        width: 100%;
    }
}

    .news-portal {
        --news-bg: #0b1623;
        --news-panel: #0f1d2e;
        --news-panel-soft: #14263f;
        --news-panel-raised: #172f4d;
        --news-line: rgba(148, 163, 184, 0.12);
        --news-text: #f1f5f9;
        --news-muted: #94a3b8;
        --news-soft: #cbd5e1;
        --news-brand: #10b981;
        --news-brand-strong: #059669;
        --news-brand-soft: rgba(16, 185, 129, 0.14);
        --news-warm: #27a350;
        background: var(--news-bg);
        color: var(--news-text);
        font-family: 'Barlow', sans-serif;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        margin-top: 0;
    }

    .news-portal .news-shell {
        max-width: none;
    }

    .news-shell {
        max-width: 1520px;
        margin: 0 auto;
        padding: 0 1rem;
    }

    .news-hero {
        border-bottom: 1px solid rgba(255,255,255,.05);
        background: linear-gradient(135deg, #0b1623 0%, #0f2318 55%, #0b1623 100%);
        padding: 4.5rem 0 3.75rem;
        position: relative;
        overflow: hidden;
    }

    .news-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            radial-gradient(ellipse 65% 120% at 80% 50%, rgba(27,122,62,.22), transparent),
            radial-gradient(ellipse 40% 80% at 10% 80%, rgba(16,185,129,.08), transparent);
        pointer-events: none;
    }

    .news-hero::after {
        content: '';
        position: absolute;
        right: -5%;
        top: 50%;
        transform: translateY(-50%);
        width: min(520px, 42%);
        aspect-ratio: 1;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(27,122,62,.12) 0%, transparent 70%);
        pointer-events: none;
    }

    .news-hero-grid {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: flex-end;
        gap: 2rem;
    }

    .news-kicker,
    .news-topic,
    .news-source,
    .news-section-title,
    .news-btn,
    .news-read,
    .news-ticker-label,
    .news-widget-head {
        font-family: 'Barlow Condensed', sans-serif;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .news-kicker {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        background: rgba(27,122,62,.25);
        border: 1px solid rgba(39,163,80,.35);
        color: #6ee7a0;
        border-radius: 100px;
        padding: .3rem .85rem;
        font-family: 'Barlow Condensed', sans-serif;
        font-size: .75rem;
        font-weight: 800;
        letter-spacing: .18em;
        line-height: 1.25;
    }

    .news-kicker::before {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #6ee7a0;
        flex-shrink: 0;
    }

    .news-hero h1 {
        font-family: 'Barlow Condensed', sans-serif;
        max-width: 720px;
        margin: .65rem 0 0;
        color: #fff;
        font-size: clamp(2.6rem, 5vw, 4.4rem);
        line-height: 1.0;
        font-weight: 900;
        letter-spacing: .01em;
        text-transform: uppercase;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
    }

    .news-hero p {
        max-width: 560px;
        margin-top: .95rem;
        color: #94a3b8;
        font-size: 1.05rem;
        font-weight: 400;
        line-height: 1.6;
    }

    .news-hero-actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: .75rem;
        margin-top: 1.75rem;
    }

    .news-hero-meta {
        display: flex;
        flex-wrap: wrap;
        gap: .65rem;
        margin-top: 1.35rem;
    }

    .news-pill {
        display: inline-flex;
        align-items: center;
        gap: .45rem;
        border: 1px solid rgba(148, 163, 184, .22);
        background: rgba(15, 27, 45, .78);
        color: var(--news-soft);
        border-radius: 999px;
        padding: .5rem .78rem;
        font-size: .78rem;
        font-weight: 700;
    }

    .news-btn {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        border: none;
        background: var(--news-warm);
        color: #fff;
        border-radius: 6px;
        padding: .72rem 1.25rem;
        font-size: .8rem;
        font-weight: 700;
        text-decoration: none;
        transition: background .2s ease, transform .15s ease;
        white-space: nowrap;
        letter-spacing: .06em;
    }

    .news-btn:hover {
        background: #1f8a43;
        color: #fff;
        transform: translateY(-1px);
    }

    .news-btn-ghost {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        border: 1px solid rgba(255,255,255,.15);
        background: transparent;
        color: #94a3b8;
        border-radius: 6px;
        padding: .72rem 1.25rem;
        font-family: 'Barlow Condensed', sans-serif;
        font-size: .8rem;
        font-weight: 700;
        letter-spacing: .1em;
        text-transform: uppercase;
        text-decoration: none;
        transition: all .2s ease;
        white-space: nowrap;
    }

    .news-btn-ghost:hover {
        border-color: rgba(255,255,255,.35);
        color: #fff;
    }

    .news-ticker {
        background: rgba(255,255,255,.04);
        border-bottom: 1px solid rgba(255,255,255,.06);
        overflow: hidden;
        position: relative;
    }

    .news-ticker-inner {
        display: flex;
        align-items: center;
        min-height: 36px;
    }

    .news-ticker-label {
        flex: 0 0 auto;
        width: 98px;
        background: var(--news-warm);
        color: #fff;
        padding: .65rem .9rem;
        font-size: .75rem;
        font-weight: 800;
        letter-spacing: .16em;
        text-transform: uppercase;
        position: relative;
        z-index: 2;
        white-space: nowrap;
    }

    .news-ticker-track {
        display: flex;
        gap: 4.5rem;
        min-width: max-content;
        padding-left: 2.25rem;
        animation: newsTicker 95s linear infinite;
        position: relative;
        z-index: 1;
    }

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

    .news-ticker-item {
        font-family: 'Barlow', sans-serif;
        color: #64748b;
        font-size: .83rem;
        font-weight: 600;
        white-space: nowrap;
        letter-spacing: .01em;
        text-transform: none;
    }

    @keyframes newsTicker {
        from { transform: translateX(0); }
        to { transform: translateX(-50%); }
    }

    .news-topic-bar {
        border-bottom: 1px solid rgba(255,255,255,.06);
        background: rgba(11, 22, 35, .98);
        backdrop-filter: blur(8px);
    }

    .news-topic-row {
        display: flex;
        flex-wrap: wrap;
        gap: .15rem;
        padding-top: .15rem;
    }

    .news-topic {
        flex: 0 0 auto;
        border-bottom: 3px solid transparent;
        color: var(--news-muted);
        padding: .85rem .9rem .75rem;
        font-size: .76rem;
        font-weight: 900;
        text-decoration: none;
        transition: color .2s ease, border-color .2s ease, background .2s ease;
    }

    .news-topic:hover,
    .news-topic.is-active {
        color: #a7f3d0;
        border-bottom-color: var(--news-brand);
        background: rgba(16, 185, 129, .07);
    }

    .news-main {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 2rem;
        padding: 2.5rem 1rem 4rem;
    }

    .news-section-head {
        display: flex;
        align-items: center;
        gap: .8rem;
        margin-bottom: 1rem;
    }

    .news-section-title {
        color: #64748b;
        font-size: .78rem;
        font-weight: 950;
        white-space: nowrap;
    }

    .news-section-line {
        height: 1px;
        flex: 1;
        background: #e2e8f0;
    }

    .news-featured,
    .news-card,
    .news-side-widget,
    .news-empty {
        border: 1px solid #e8edf4;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 2px 12px rgba(15, 23, 42, .06);
    }

    .news-featured {
        display: grid;
        grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
        overflow: hidden;
        margin-bottom: 1rem;
    }

    .news-visual {
        position: relative;
        min-height: 282px;
        background:
            linear-gradient(135deg, rgba(16, 185, 129, .92), rgba(15, 23, 42, .92)),
            repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 1px, transparent 1px 14px);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .news-visual::after {
        content: "";
        position: absolute;
        inset: auto -8% -32% 24%;
        height: 58%;
        background: rgba(255, 255, 255, .11);
        transform: skewX(-24deg);
    }

    .news-visual i {
        position: relative;
        z-index: 1;
        color: rgba(255, 255, 255, .9);
        font-size: 4.5rem;
    }

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

    .news-visual img {
        position: absolute;
        inset: 0;
        z-index: 0;
    }

    .news-visual:has(img)::after {
        inset: 0;
        height: auto;
        background: linear-gradient(180deg, rgba(2, 6, 23, .06), rgba(2, 6, 23, .22));
        transform: none;
        z-index: 1;
    }

    .news-visual.is-fallback img {
        inset: 12%;
        width: 76%;
        height: 76%;
        object-fit: contain;
        filter: drop-shadow(0 18px 28px rgba(15, 23, 42, .22));
    }

    .news-featured-body {
        padding: 1.6rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .news-source {
        color: var(--news-brand-strong);
        font-size: .72rem;
        font-weight: 950;
    }

    .news-featured h2,
    .news-card h3,
    .news-side-title {
        font-family: 'Barlow', sans-serif;
        color: #0f172a;
        letter-spacing: 0;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .news-featured h2 {
        margin-top: .7rem;
        font-size: clamp(1.32rem, 1.75vw, 1.72rem);
        line-height: 1.28;
        font-weight: 700;
    }

    .news-featured p,
    .news-card p {
        color: #475569;
        line-height: 1.7;
        font-weight: 400;
    }

    .news-featured p {
        margin-top: .95rem;
        font-size: .96rem;
    }

    .news-meta {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: .5rem;
        margin-top: 1rem;
        color: #64748b;
        font-size: .78rem;
        font-weight: 700;
    }

    .news-meta span {
        display: inline-flex;
        align-items: center;
        gap: .35rem;
    }

    .news-read {
        display: inline-flex;
        align-items: center;
        gap: .45rem;
        width: max-content;
        margin-top: 1.25rem;
        color: var(--news-brand-strong);
        font-size: .76rem;
        font-weight: 950;
        text-decoration: none;
    }

    .news-read:hover {
        color: #047857;
    }

    .news-spotlight {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
        margin-bottom: 1.25rem;
    }

    .news-card {
        min-width: 0;
        overflow: hidden;
        padding: 0;
        transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    }

    .news-card > :not(.news-card-image) {
        margin-left: 1.1rem;
        margin-right: 1.1rem;
    }

    .news-card > :last-child {
        margin-bottom: 1.1rem;
    }

    .news-card-image {
        height: 142px;
        background:
            linear-gradient(135deg, rgba(16, 185, 129, .9), rgba(15, 23, 42, .9)),
            repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 1px, transparent 1px 14px);
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255,255,255,.88);
        font-size: 2rem;
        overflow: hidden;
    }

    .news-card-image.is-fallback {
        padding: 1.2rem;
    }

    .news-card-image.is-fallback img {
        object-fit: contain;
        filter: drop-shadow(0 10px 18px rgba(15, 23, 42, .2));
    }

    .news-card:hover {
        border-color: rgba(16, 185, 129, .42);
        box-shadow: 0 24px 50px rgba(15, 23, 42, .09);
        transform: translateY(-2px);
    }

    .news-card-top {
        display: flex;
        justify-content: space-between;
        gap: .75rem;
        margin-top: 1rem;
        margin-bottom: .8rem;
    }

    .news-card h3 {
        font-size: .98rem;
        line-height: 1.42;
        font-weight: 600;
    }

    .news-card p {
        margin-top: .7rem;
        font-size: .9rem;
        display: -webkit-box;
        line-clamp: 3;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

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

    .news-tag {
        display: inline-flex;
        align-items: center;
        border-radius: 999px;
        background: #ecfdf5;
        color: #047857;
        padding: .28rem .55rem;
        font-size: .7rem;
        font-weight: 900;
    }

    .news-side {
        min-width: 0;
    }

    .news-side-widget {
        overflow: hidden;
        margin-bottom: 1rem;
    }

    .news-widget-head {
        display: flex;
        align-items: center;
        gap: .55rem;
        border-bottom: 1px solid #e2e8f0;
        background: #f8fafc;
        color: #0f766e;
        padding: .9rem 1rem;
        font-size: .78rem;
        font-weight: 950;
        letter-spacing: .14em;
        text-transform: uppercase;
    }

    .news-side-link {
        display: block;
        padding: .95rem 1rem;
        border-bottom: 1px solid #e2e8f0;
        text-decoration: none;
        transition: background .2s ease;
    }

    .news-side-link:last-child {
        border-bottom: 0;
    }

    .news-side-link:hover {
        background: #f8fafc;
    }

    .news-side-title {
        font-size: .93rem;
        line-height: 1.45;
        font-weight: 600;
    }

    .news-side-meta {
        display: flex;
        gap: .4rem;
        flex-wrap: wrap;
        margin-top: .45rem;
        color: #64748b;
        font-size: .74rem;
        font-weight: 700;
    }

    .news-date {
        color: #64748b;
        font-size: .74rem;
        font-weight: 700;
        white-space: nowrap;
    }

    .news-market-card {
        padding: 1rem;
        background:
            linear-gradient(145deg, rgba(15, 23, 42, .94), rgba(15, 118, 110, .88)),
            #0f172a;
        color: #e2e8f0;
    }

    .news-market-card h3 {
        color: #fff;
        font-size: 1.08rem;
        line-height: 1.25;
        font-weight: 900;
    }

    .news-market-card p {
        margin-top: .6rem;
        color: #cbd5e1;
        font-size: .88rem;
        line-height: 1.55;
    }

    .news-market-card a {
        margin-top: 1rem;
        display: inline-flex;
        color: #a7f3d0;
        font-size: .78rem;
        font-weight: 900;
        letter-spacing: .1em;
        text-transform: uppercase;
        text-decoration: none;
    }

    .news-ad-slot {
        border: 1px dashed #cbd5e1;
        background: #f8fafc;
        border-radius: 8px;
        color: #64748b;
        text-align: center;
    }

    .news-ad-slot > span {
        display: block;
        padding-top: .75rem;
        color: #94a3b8;
        font-family: 'Barlow Condensed', sans-serif;
        font-size: .72rem;
        font-weight: 800;
        letter-spacing: .16em;
        text-transform: uppercase;
    }

    .news-ad-placeholder {
        min-height: 96px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        font-size: .85rem;
        font-weight: 600;
    }

    .news-ad-slot-horizontal {
        margin: 1rem 0 1.25rem;
    }

    .news-ad-slot-vertical .news-ad-placeholder {
        min-height: 250px;
    }

    .news-empty {
        padding: 3rem 1.5rem;
        text-align: center;
    }

    .news-empty i {
        color: var(--news-brand-strong);
        font-size: 2.5rem;
    }

    .news-empty h2 {
        font-family: 'Barlow Condensed', sans-serif;
        margin-top: 1rem;
        color: #0f172a;
        font-size: 1.6rem;
        font-weight: 900;
    }

    .news-empty p {
        max-width: 560px;
        margin: .7rem auto 0;
        color: #64748b;
        line-height: 1.7;
    }

    @media (max-width: 1024px) {
        .news-main {
            grid-template-columns: 1fr;
        }

        .news-side {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr);
            gap: 1rem;
        }
    }

    @media (max-width: 820px) {
        .news-topbar-inner {
            height: auto;
            min-height: 64px;
            padding: .75rem 1rem;
            flex-wrap: wrap;
            gap: .75rem 1rem;
        }

        .news-topbar-links {
            order: 3;
            width: 100%;
            justify-content: flex-start;
            gap: 1rem;
            overflow-x: auto;
            padding-bottom: .2rem;
            scrollbar-width: none;
        }

        .news-topbar-links::-webkit-scrollbar {
            display: none;
        }

        .news-ai-badge {
            margin-left: auto;
        }

        .news-hero-grid,
        .news-featured,
        .news-spotlight,
        .news-grid,
        .news-side {
            grid-template-columns: 1fr;
        }

        .news-hero {
            padding: 3rem 0 2.5rem;
        }

        .news-hero h1 {
            font-size: clamp(2rem, 8vw, 2.8rem);
        }

        .news-btn {
            width: 100%;
            justify-content: center;
        }

        .news-ticker-label {
            display: none;
        }

        .news-topic-row {
            flex-wrap: nowrap;
            overflow-x: auto;
            scrollbar-width: none;
        }

        .news-topic-row::-webkit-scrollbar {
            display: none;
        }

        .news-featured-body {
            padding: 1.25rem;
        }
    }
