﻿@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);
    }
}

    .news-portal {
        --news-bg: #08111f;
        --news-panel: #0f1b2d;
        --news-panel-soft: #14233a;
        --news-panel-raised: #172943;
        --news-line: rgba(148, 163, 184, 0.18);
        --news-text: #f8fafc;
        --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: #1a1a1a;
        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 #2e2e2e;
        background: linear-gradient(135deg, #1a1a1a 0%, #202020 100%);
        padding: 2.5rem 0 2.1rem;
    }

    .news-hero-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 1.5rem;
    }

    .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;
        width: min(452px, 100%);
        background: var(--news-warm);
        color: #fff;
        border-radius: 2px;
        padding: .26rem .68rem;
        font-family: 'Barlow Condensed', sans-serif;
        font-size: .82rem;
        font-weight: 800;
        letter-spacing: .16em;
        line-height: 1.25;
    }

    .news-hero h1 {
        font-family: 'Barlow Condensed', sans-serif;
        max-width: 740px;
        margin: .45rem 0 0;
        color: #fff;
        font-size: clamp(2.35rem, 4.1vw, 3.65rem);
        line-height: .9;
        font-weight: 900;
        letter-spacing: .015em;
        text-transform: uppercase;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        text-shadow: 0 2px 0 rgba(0, 0, 0, .18);
    }

    .news-hero p {
        max-width: 660px;
        margin-top: .7rem;
        color: #b7bcc5;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.55;
    }

    .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: .45rem;
        border: 1px solid #2e2e2e;
        background: #2a2a2a;
        color: #8a8a8a;
        border-radius: 4px;
        padding: .65rem 1.05rem;
        font-size: .82rem;
        font-weight: 700;
        text-decoration: none;
        box-shadow: none;
        transition: border-color .2s ease, color .2s ease, background .2s ease;
        white-space: nowrap;
    }

    .news-btn:hover {
        border-color: var(--news-warm);
        background: #242424;
        color: var(--news-warm);
    }

    .news-ticker {
        background: #cae3d2;
        overflow: hidden;
        position: relative;
    }

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

    .news-ticker-label {
        flex: 0 0 auto;
        width: 98px;
        background: #111;
        color: var(--news-warm);
        padding: .7rem .9rem;
        font-size: .8rem;
        font-weight: 950;
        letter-spacing: .14em;
        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: #191818;
        font-size: .86rem;
        font-weight: 700;
        white-space: nowrap;
        letter-spacing: 0;
        text-transform: none;
    }

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

    .news-topic-bar {
        border-bottom: 1px solid var(--news-line);
        background: rgba(8, 17, 31, .98);
    }

    .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) 360px;
        gap: 1.5rem;
        padding: 2rem 1rem 3.5rem;
    }

    .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 #e2e8f0;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 20px 45px 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-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: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;
        -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-top: 2rem;
        }

        .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;
        }
    }
