
:root {
    --bg: #070b12;
    --panel: rgba(16, 21, 34, 0.78);
    --panel-strong: rgba(24, 31, 49, 0.92);
    --border: rgba(255,255,255,0.08);
    --border-strong: rgba(255,255,255,0.12);
    --text: #eef3fb;
    --muted: #9ca8bc;
    --positive: #2fd66b;
    --danger: #ff5c4d;
    --accent-start: #2b7fff;
    --accent-end: #5b6cff;
    --radius-xl: 30px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --shadow: 0 20px 60px rgba(0,0,0,0.34);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
    margin: 0;
    color: var(--text);
    font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 12% 20%, rgba(25, 92, 255, 0.16), transparent 24%),
        radial-gradient(circle at 82% 12%, rgba(126, 52, 255, 0.14), transparent 28%),
        radial-gradient(circle at 50% 100%, rgba(0, 181, 173, 0.10), transparent 28%),
        #070b12;
}

a { color: inherit; text-decoration: none; }
button {
    border: 0;
    border-radius: 999px;
    padding: 0.96rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    color: white;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(45, 106, 255, 0.28);
}

button {
    transition: transform 180ms ease, box-shadow 220ms ease, filter 220ms ease, background-position 260ms ease;
    background-size: 160% 160%;
    background-position: 0% 50%;
}
button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(45, 106, 255, 0.34);
    filter: saturate(1.06) brightness(1.03);
    background-position: 100% 50%;
}
button:active {
    transform: translateY(0);
    box-shadow: 0 10px 24px rgba(45, 106, 255, 0.24);
    filter: saturate(1.0) brightness(0.98);
}
button:focus-visible {
    outline: 2px solid rgba(113, 156, 255, 0.8);
    outline-offset: 3px;
}
input[type="text"] {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.04);
    color: var(--text);
    outline: none;
    border-radius: 20px;
    padding: 1rem 1.15rem;
    font-size: 1.05rem;
}
input[type="text"]::placeholder { color: var(--muted); }

.main-shell--full {
    min-height: 100vh;
    padding: 20px 28px 40px;
}
.page-chrome {
    position: sticky;
    top: 14px;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
    min-height: 72px;
    padding: 10px 12px;
    border-radius: 28px;
    background: rgba(9, 14, 26, 0.72);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(22px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.18);
    transition: box-shadow 220ms ease, border-color 220ms ease, background 220ms ease, transform 220ms ease;
}
.page-chrome.is-scrolled {
    box-shadow: 0 20px 48px rgba(0,0,0,0.32);
    border-color: rgba(255,255,255,0.11);
    background: rgba(9, 14, 26, 0.82);
}
.page-chrome__left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: max-content;
    flex: 0 0 auto;
}
.menu-button {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    padding: 0;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.menu-button span {
    width: 19px;
    height: 2px;
    border-radius: 999px;
    background: #f0f4fb;
    display: block;
}


.search-submit-button {
    min-width: 108px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.search-submit-button:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 20px 42px rgba(45, 106, 255, 0.38);
}
.search-submit-button:active {
    transform: translateY(0) scale(0.995);
}

.sidebar-drawer__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 2px 18px;
    margin-bottom: 14px;
}

.drawer-close-button {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 16px;
    padding: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    isolation: isolate;
}
.drawer-close-button::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.09), transparent 55%);
    opacity: 0;
    transition: opacity 180ms ease;
    z-index: -1;
}
.drawer-close-button:hover::before,
.drawer-close-button:focus-visible::before {
    opacity: 1;
}
.drawer-close-button span {
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: rgba(241, 245, 252, 0.92);
}
.drawer-close-button span:first-child { transform: rotate(45deg); }
.drawer-close-button span:last-child { transform: rotate(-45deg); }

.brand--drawer {
    padding: 6px 6px 0;
    margin-bottom: 0;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 12, 0.46);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    z-index: 30;
}
.sidebar-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 318px;
    max-width: calc(100vw - 24px);
    height: 100vh;
    padding: 20px;
    transform: translateX(-108%);
    transition: transform 260ms cubic-bezier(.2,.8,.2,1);
    z-index: 40;
}
.sidebar-drawer__inner {
    height: 100%;
    border-radius: 30px;
    padding: 22px 18px;
    background: rgba(13, 18, 30, 0.90);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(24px);
    box-shadow: 0 24px 80px rgba(0,0,0,0.42);
}
body.drawer-is-open .drawer-overlay {
    opacity: 1;
    pointer-events: auto;
}
body.drawer-is-open .sidebar-drawer {
    transform: translateX(0);
}

.sidebar__nav { display: grid; gap: 10px; }
.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    color: var(--muted);
    border: 1px solid transparent;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.nav-link::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(69, 125, 255, 0.10), rgba(125, 93, 255, 0.06));
    opacity: 0;
    transition: opacity 180ms ease;
}
.nav-link:hover, .nav-link.is-active {
    color: var(--text);
    background: rgba(255,255,255,0.045);
    border-color: rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.nav-link:hover::before, .nav-link.is-active::before {
    opacity: 1;
}
.nav-link:hover {
    transform: translateX(2px);
}
.nav-link__icon {
    position: relative;
    z-index: 1;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(214, 223, 239, 0.82);
    filter: drop-shadow(0 0 0 rgba(73, 126, 255, 0));
    transition: color 180ms ease, filter 180ms ease, transform 180ms ease;
}
.nav-link__icon svg {
    width: 22px;
    height: 22px;
    display: block;
}
.nav-link:hover .nav-link__icon, .nav-link.is-active .nav-link__icon {
    color: #eef4ff;
    filter: drop-shadow(0 0 10px rgba(77, 128, 255, 0.20));
    transform: translateY(-0.5px);
}
.nav-link > span:last-child {
    position: relative;
    z-index: 1;
}

.card {
    background: linear-gradient(180deg, rgba(17, 23, 36, 0.82), rgba(13, 18, 30, 0.92));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    padding: 24px;
}
.card--hero {
    padding: 26px;
    margin-bottom: 22px;
}
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.section-head--compact { margin-bottom: 14px; }
.section-head h2 {
    margin: 0;
    font-size: clamp(1.9rem, 2.5vw, 2.6rem);
    letter-spacing: -0.04em;
    line-height: 1.02;
}
.leaders-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 18px;
}
.leaders-card { min-height: 100%; }
.compact-list { display: grid; gap: 12px; }
.compact-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 18px 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.035));
    border: 1px solid rgba(255,255,255,0.07);
    overflow: hidden;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}
.compact-row::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 12% 10%, rgba(255,255,255,0.08), transparent 38%);
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
}
.compact-row:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 22px 40px rgba(0,0,0,0.36), 0 0 0 1px rgba(255,255,255,0.04) inset;
    border-color: rgba(255,255,255,0.12);
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.045));
}
.compact-row:hover::after { opacity: 1; }
.compact-row__title {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.compact-row__meta {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.35;
}
.compact-row__side {
    text-align: right;
    min-width: 102px;
}
.is-positive { color: var(--positive); font-weight: 700; }
.is-negative { color: var(--danger); font-weight: 700; }
.empty-state {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 980px) {
    .leaders-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .main-shell--full { padding: 14px 16px 28px; }
    .card, .card--hero { padding: 20px; }
    .section-head h2 { font-size: 1.7rem; }
    .page-chrome {
        top: 10px;
        flex-wrap: wrap;
        align-items: stretch;
        min-height: auto;
        padding: 10px;
        border-radius: 24px;
    }
    .page-chrome__left {
        width: 100%;
    }
    .chrome-search {
        width: 100%;
        min-width: 0;
        flex-basis: 100%;
        grid-template-columns: 1fr auto;
    }
    .chrome-search__button {
        min-width: 84px;
    }
}



.brand,
.topbar-brand {
    display: inline-flex;
    align-items: flex-start;
    gap: 0;
}

.brand--drawer {
    padding: 6px 8px 18px;
    margin-bottom: 16px;
}

.brand__mark--symbol,
.topbar-brand__mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-top: 0;
    color: rgba(245, 248, 255, 0.95);
}

.brand__mark--symbol img,
.topbar-brand__mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.brand__text,
.topbar-brand__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 0;
    padding-top: 0;
    margin-left: -2px;
}

.brand__title,
.topbar-brand__title {
    display: block;
    font-size: 1.17rem;
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.96;
    margin-left: 0;
    transform: translate(1px, -1.5px);
    color: rgba(245, 248, 255, 0.985);
}

.brand__subtitle,
.topbar-brand__subtitle {
    display: block;
    font-family: "Exo 2", Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
    font-weight: 500;
    margin-top: -1px;
    font-size: 0.735rem;
    color: rgba(195, 205, 223, 0.66);
    letter-spacing: 0.012em;
    line-height: 1.04;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.topbar-brand {
    margin-left: 0;
    padding-right: 0;
    flex: 0 0 auto;
}

.topbar-brand__mark {
    width: 34px;
    height: 34px;
}

.page-chrome {
    gap: 22px;
}

.menu-button {
    flex: 0 0 auto;
}

.chrome-search {
    flex: 1 1 320px;
    min-width: 0;
    width: auto;
    margin-left: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.chrome-search input[type="text"] {
    min-width: 0;
    padding: 0.86rem 1rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.045);
    border-color: rgba(255,255,255,0.08);
    font-size: 0.98rem;
}


.chrome-search__button {
    min-width: 94px;
    padding: 0.86rem 1.2rem;
    font-size: 0.98rem;
    box-shadow: 0 12px 28px rgba(45, 106, 255, 0.24);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.chrome-search__button-label {
    display: inline-block;
}

.chrome-search__button-icon {
    display: none;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.chrome-search__button-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.chrome-search__button:hover {
    box-shadow: 0 16px 34px rgba(45, 106, 255, 0.3);
}

@media (max-width: 720px) {
    .topbar-brand__subtitle {
        display: none;
    }

    .topbar-brand__title {
        font-size: 1.02rem;
        letter-spacing: -0.05em;
        margin-left: 0;
    }

    .topbar-brand {
        margin-left: 0;
        gap: 1px;
    }

    .brand__mark--symbol,
    .topbar-brand__mark {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 560px) {
    .main-shell--full {
        padding-top: 12px;
    }

    .page-chrome {
        top: 8px;
        gap: 8px;
        padding: 0;
        margin-bottom: 16px;
        min-height: 0;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        backdrop-filter: none;
        align-items: center;
        flex-wrap: nowrap;
    }

    .page-chrome.is-scrolled {
        background: transparent;
        border-color: transparent;
        box-shadow: none;
    }

    .page-chrome__left {
        width: auto;
        flex: 0 0 auto;
        gap: 8px;
    }

    .topbar-brand__text {
        display: none;
        min-width: 0;
    }

    .topbar-brand {
        margin-left: 0;
        padding-right: 0;
        gap: 0;
    }

    .topbar-brand__mark {
        width: 28px;
        height: 28px;
    }

    .topbar-brand__title {
        font-size: 0.95rem;
        margin-left: -1px;
        letter-spacing: -0.055em;
    }

    .topbar-brand__subtitle {
        display: none;
    }

    .menu-button {
        width: 48px;
        height: 48px;
        border-radius: 18px;
    }

    .chrome-search {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        flex-basis: auto;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        align-items: center;
    }

    .chrome-search input[type="text"] {
        padding: 0.78rem 0.92rem;
        font-size: 0.95rem;
        min-width: 0;
    }

    .chrome-search__button {
        min-width: 50px;
        width: 50px;
        height: 50px;
        padding: 0;
        border-radius: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 50px;
        color: rgba(236, 242, 255, 0.96);
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.09);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
        backdrop-filter: blur(14px);
        transition: transform 180ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease, color 220ms ease;
    }

    .chrome-search__button:hover,
    .chrome-search__button:focus-visible {
        background: rgba(61, 116, 255, 0.16);
        border-color: rgba(116, 156, 255, 0.34);
        box-shadow: 0 14px 30px rgba(20, 44, 94, 0.28), inset 0 1px 0 rgba(255,255,255,0.06);
        color: rgba(247, 250, 255, 1);
    }

    .page-chrome.is-scrolled .chrome-search__button {
        background: linear-gradient(135deg, rgba(46, 107, 255, 0.24), rgba(89, 108, 255, 0.18));
        border-color: rgba(124, 161, 255, 0.28);
        box-shadow: 0 14px 28px rgba(25, 48, 106, 0.26), inset 0 1px 0 rgba(255,255,255,0.08);
    }

    .chrome-search__button-label {
        display: none;
    }

    .chrome-search__button-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 390px) {
    .chrome-search__button {
        min-width: 50px;
        width: 50px;
        height: 46px;
        border-radius: 16px;
    }

    .chrome-search__button-icon {
        width: 17px;
        height: 17px;
    }
}


@media (max-width: 720px) {
    .sidebar-drawer {
        width: min(332px, calc(100vw - 12px));
        padding: 12px 10px 16px;
    }
    .drawer-close-button {
        width: 48px;
        height: 48px;
        border-radius: 18px;
    }
    .drawer-close-button span {
        width: 20px;
    }
}


.prose-block {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.prose-block p {
    margin: 0;
    color: rgba(226, 231, 240, 0.88);
    line-height: 1.7;
}

.detail-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.ghost-link {
    color: rgba(196, 212, 255, 0.88);
    text-decoration: none;
    font-weight: 600;
}

.ghost-link:hover {
    color: rgba(255, 255, 255, 0.96);
}


.eyebrow {
    margin-bottom: 10px;
    color: rgba(157, 185, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-head__muted {
    color: var(--muted);
    font-size: 0.95rem;
}

.section-head__description {
    margin: 10px 0 0;
    max-width: 720px;
    color: rgba(227, 233, 244, 0.78);
    line-height: 1.65;
}

.news-page-intro {
    margin-bottom: 20px;
}

.news-page-intro__head {
    align-items: flex-start;
    gap: 18px;
}


.featured-news-stage {
    padding: 18px 20px 20px;
    margin-bottom: 16px;
}

.featured-news-stage__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.featured-news-stage__title,
.featured-news-stage__head h2 {
    margin: 0;
    letter-spacing: -0.04em;
}

.featured-news-stage__title {
    font-size: clamp(1.55rem, 2.2vw, 2rem);
    line-height: 1.05;
}

.featured-news-stage__link {
    color: rgba(226, 233, 245, 0.74);
    font-size: 0.94rem;
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: color 0.18s ease, transform 0.18s ease;
}

.featured-news-stage__link:hover {
    color: rgba(255,255,255,0.96);
    transform: translateX(1px);
}

.featured-news-stage__grid {
    display: grid;
    align-items: stretch;
    gap: 14px;
}

.featured-news-stage__grid--home {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.featured-news-stage__grid--news {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.featured-news-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 136px;
    padding: 14px 15px;
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.024));
    border: 1px solid rgba(255,255,255,0.075);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.025);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.featured-news-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.13);
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.032));
    box-shadow: 0 14px 28px rgba(0,0,0,0.16), inset 0 1px 0 rgba(255,255,255,0.04);
}

.featured-news-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    color: rgba(187, 198, 220, 0.74);
    font-size: 0.83rem;
}


.featured-news-card__signals {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.news-analysis-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.news-analysis-pill--positive {
    color: #b8ffd1;
    background: rgba(47, 214, 107, 0.14);
    border-color: rgba(47, 214, 107, 0.28);
}

.news-analysis-pill--danger {
    color: #ffd0cb;
    background: rgba(255, 92, 77, 0.14);
    border-color: rgba(255, 92, 77, 0.28);
}

.news-analysis-pill--warning {
    color: #ffe1a8;
    background: rgba(255, 187, 71, 0.14);
    border-color: rgba(255, 187, 71, 0.24);
}

.news-analysis-pill--muted {
    color: rgba(225, 233, 245, 0.88);
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.10);
}

.featured-news-card__title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.32;
    letter-spacing: -0.024em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 3.96em;
}

.featured-news-card--home .featured-news-card__title {
    -webkit-line-clamp: 2;
    max-height: 2.64em;
}

.featured-news-card--news .featured-news-card__title {
    font-size: 1.02rem;
}

.featured-news-stage--news {
    padding: 20px;
}

.news-feed-shell {
    padding: 18px 22px 10px;
}

.news-feed-shell__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.news-feed-shell__controls {
    display: grid;
    gap: 10px;
    justify-items: end;
}

.news-feed-shell__head h2 {
    margin: 0;
    letter-spacing: -0.04em;
}

.news-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.news-filter-chip {
    padding: 9px 13px;
    border-radius: 999px;
    text-decoration: none;
    color: rgba(214, 222, 237, 0.78);
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.news-filter-chip:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.92);
}

.news-filter-chip.is-active {
    color: rgba(255,255,255,0.96);
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.14);
}

.news-filter-row--sort {
    justify-content: flex-end;
}

.news-filter-chip--sort {
    font-size: 0.9rem;
}

.news-feed-list {
    display: grid;
    gap: 12px;
}

.news-feed-item {
    padding: 18px 18px 16px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.news-feed-item:hover {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,0.11);
    background: rgba(255,255,255,0.032);
    box-shadow: 0 14px 28px rgba(0,0,0,0.12);
}

.news-feed-item.is-important {
    border-color: rgba(255, 204, 96, 0.14);
    background: linear-gradient(180deg, rgba(255,255,255,0.026), rgba(255,255,255,0.018));
}

.news-feed-item__header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}
.news-feed-item__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(187, 198, 220, 0.74);
    font-size: 0.83rem;
}


.news-feed-item__body {
    max-width: 78ch;
}

.news-feed-item__title {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.34;
    letter-spacing: -0.024em;
}

.news-feed-item__title a {
    color: inherit;
    text-decoration: none;
}

.news-feed-item__title a:hover,
.featured-news-card:hover .featured-news-card__title {
    color: rgba(255,255,255,0.98);
}

.news-feed-item__taxonomy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
}

.news-feed-item__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
}

.news-entity-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: rgba(226, 233, 245, 0.82);
    text-decoration: none;
    font-size: 0.87rem;
    line-height: 1;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.news-entity-tag:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.96);
    transform: translateY(-1px);
}

.news-entity-tag--secondary {
    color: rgba(208, 218, 235, 0.72);
}

.news-feed-item__insight {
    margin: 10px 0 0;
    color: rgba(224, 231, 242, 0.74);
    line-height: 1.55;
    font-size: 0.96rem;
}

.news-feed-item__insight--muted {
    color: rgba(189, 202, 229, 0.68);
}


.news-feed-item__signals {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
}

.news-feed-shell__more {
    display: flex;
    justify-content: center;
    padding: 18px 0 6px;
}

.news-feed-shell__more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 11px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: rgba(235, 240, 248, 0.86);
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.news-feed-shell__more-link:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.96);
    transform: translateY(-1px);
}

.news-feed-item__signals {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

@media (max-width: 1180px) {
    .featured-news-stage__grid--home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .featured-news-stage__head,
    .news-feed-shell__head,
    .news-feed-item__header,
    .news-feed-item__taxonomy {
        flex-direction: column;
        align-items: flex-start;
    }

    .featured-news-stage,
    .featured-news-stage--news,
    .news-feed-shell {
        padding-left: 18px;
        padding-right: 18px;
    }

    .news-feed-shell__controls {
        justify-items: stretch;
        width: 100%;
    }

    .news-filter-row--sort,
    .news-feed-item__signals {
        justify-content: flex-start;
    }
}

@media (max-width: 860px) {
    .featured-news-stage__grid--news {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .featured-news-stage__grid--home,
    .featured-news-stage__grid--news {
        grid-template-columns: 1fr;
    }
}
.search-results-card {
    margin-bottom: 14px;
    padding: 18px 22px;
}

.compact-list--search-results {
    gap: 10px;
}

.compact-row--search-result {
    padding: 14px 16px;
}

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

@media (max-width: 720px) {
    .news-topline,
    .news-feed-card__head {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

    .news-feed-item__signals {
        justify-content: flex-start;
    }
}


.signal-card {
    border-radius: 24px;
    padding: 22px 24px;
}
.signal-card--positive {
    border-color: rgba(47, 214, 107, 0.18);
}
.signal-card--danger {
    border-color: rgba(255, 92, 77, 0.18);
}
.signal-card--warning {
    border-color: rgba(255, 200, 87, 0.18);
}
.signal-card__summary {
    margin: 2px 0 10px;
    font-size: 1.02rem;
    line-height: 1.55;
}
.signal-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 14px;
}
.signal-card__news {
    display: grid;
    gap: 10px;
}
.signal-card__news-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}
.signal-card__news-item:hover {
    background: rgba(255,255,255,0.06);
}
.signal-card__news-title {
    font-weight: 600;
    line-height: 1.4;
}
.signal-card__news-pills {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}
@media (max-width: 860px) {
    .signal-card__news-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .signal-card__news-pills {
        justify-content: flex-start;
    }
}

.news-detail-page {
    display: grid;
    gap: 18px;
}

.news-detail-hero,
.news-detail-focus,
.news-detail-source,
.news-detail-analysis,
.news-detail-story {
    padding: 28px 30px;
}

.news-detail-hero {
    background: linear-gradient(180deg, rgba(255,255,255,0.038), rgba(255,255,255,0.02));
}

.news-detail-hero__head,
.news-detail-source__head {
    display: grid;
    gap: 12px;
}

.news-detail-hero__title {
    margin: 0;
    font-size: clamp(1.75rem, 2.3vw, 2.3rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
    max-width: 24ch;
    text-wrap: balance;
}

.news-detail-hero__date {
    color: var(--muted);
    white-space: nowrap;
    font-size: 0.92rem;
    justify-self: end;
}

.news-detail-hero__meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px 18px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.news-detail-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    color: rgba(214, 222, 237, 0.74);
    font-size: 0.95rem;
}

.news-detail-hero__meta span,
.news-detail-hero__meta a {
    color: inherit;
    text-decoration: none;
}

.news-detail-hero__meta span {
    position: relative;
}

.news-detail-hero__source a {
    color: rgba(232, 238, 248, 0.84);
}

.news-detail-hero__source a:hover {
    color: rgba(255,255,255,0.98);
}

.news-detail-hero__signals {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.news-detail-story__list {
    display: grid;
    gap: 0;
}

.news-detail-story__row {
    display: grid;
    grid-template-columns: minmax(132px, 168px) minmax(0, 1fr);
    gap: 24px;
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.news-detail-story__row:first-child {
    border-top: none;
    padding-top: 0;
}

.news-detail-story__row h2 {
    margin: 0;
    padding-top: 2px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(173, 186, 205, 0.8);
}

.news-detail-story__row p {
    margin: 0;
    color: rgba(224, 231, 242, 0.84);
    line-height: 1.74;
    max-width: 66ch;
    font-size: 1.02rem;
}

.news-detail-story__row--lead p {
    color: rgba(247, 250, 255, 0.96);
    font-size: clamp(1.05rem, 1.28vw, 1.16rem);
    line-height: 1.8;
}

.news-detail-disclaimer {
    margin-top: 18px;
    color: rgba(173, 186, 205, 0.74);
    font-size: 0.9rem;
    line-height: 1.58;
    max-width: 62ch;
}

.news-detail-disclaimer--story {
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.news-detail-postscript {
    margin-top: 12px;
    display: grid;
    gap: 8px;
    max-width: 64ch;
}

.news-detail-postscript p {
    margin: 0;
    color: rgba(214, 222, 237, 0.68);
    line-height: 1.6;
    font-size: 0.94rem;
}

.news-detail-actions {
    margin-top: -2px;
}


.news-detail-back-link {
    min-width: 0;
    padding: 0.92rem 1.35rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(135deg, rgba(43, 127, 255, 0.18), rgba(91, 108, 255, 0.12));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 14px 34px rgba(8, 14, 28, 0.34);
    color: rgba(240, 245, 255, 0.96);
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: transform 180ms ease, box-shadow 220ms ease, border-color 180ms ease, background 220ms ease, color 180ms ease;
}
.news-detail-back-link:hover {
    transform: translateY(-2px);
    border-color: rgba(112, 157, 255, 0.34);
    background: linear-gradient(135deg, rgba(53, 138, 255, 0.24), rgba(100, 118, 255, 0.18));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 18px 42px rgba(17, 44, 102, 0.34);
}
.news-detail-back-link:active {
    transform: translateY(0);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 10px 24px rgba(8, 14, 28, 0.28);
}
.news-detail-back-link:focus-visible {
    outline: 2px solid rgba(113, 156, 255, 0.82);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .news-detail-hero,
    .news-detail-focus,
    .news-detail-source,
    .news-detail-analysis,
    .news-detail-story {
        padding: 24px 24px;
    }
}

@media (max-width: 720px) {
    .news-detail-page {
        gap: 14px;
    }

    .news-detail-hero__meta-row {
        align-items: flex-start;
    }

    .news-detail-story__row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 16px 0;
    }

    .news-detail-hero,
    .news-detail-focus,
    .news-detail-source,
    .news-detail-analysis,
    .news-detail-story {
        padding: 20px 18px;
    }

    .news-detail-hero__title {
        max-width: none;
    }

    .news-detail-hero__date {
        justify-self: start;
        white-space: normal;
    }
}


