/* =============================================================
   MinerWorld News — Editorial Terminal
   Bloomberg × The Economist, dark crypto-native.
   Display: Fraunces (variable opsz) • UI: Manrope • Data: JetBrains Mono
   ============================================================= */

/* ---------- Design Tokens ---------- */
:root {
    /* Surfaces */
    --bg:            #0a0b0d;
    --bg-grain:      #0b0c10;
    --surface:       #111317;
    --surface-2:     #161920;
    --surface-3:     #1d2028;
    --line:          rgba(255, 255, 255, 0.07);
    --line-2:        rgba(255, 255, 255, 0.14);
    --line-bright:   rgba(245, 158, 11, 0.35);

    /* Text */
    --text:          #ece9e0;
    --text-2:        #9d9a92;
    --text-3:        #605e66;
    --text-dim:      #47454c;

    /* Accent — amber editorial */
    --accent:        #f59e0b;
    --accent-2:      #d97706;
    --accent-soft:   rgba(245, 158, 11, 0.12);

    /* Signal */
    --up:            #10b981;
    --up-soft:       rgba(16, 185, 129, 0.12);
    --down:          #f43f5e;
    --down-soft:     rgba(244, 63, 94, 0.12);

    /* Fonts — Fraunces display (variable opsz=144 for posters), Manrope UI (Cyrillic), JetBrains Mono for data */
    --font-display:  'Fraunces', 'Playfair Display', Georgia, serif;
    --font-ui:       'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono:     'JetBrains Mono', ui-monospace, Menlo, monospace;

    /* Layout */
    --container:     1360px;
    --gutter:        28px;
    --radius:        2px;
    --radius-lg:     4px;

    /* Motion */
    --ease:          cubic-bezier(0.2, 0.7, 0.2, 1);
    --t-fast:        160ms;
    --t:             240ms;
    --t-slow:        520ms;
}

html[data-theme="light"] {
    --bg:            #f6f4ef;
    --bg-grain:      #eeeae0;
    --surface:       #ffffff;
    --surface-2:     #f0ece2;
    --surface-3:     #e6e1d4;
    --line:          rgba(10, 11, 13, 0.10);
    --line-2:        rgba(10, 11, 13, 0.18);
    --text:          #0a0b0d;
    --text-2:        #4a4842;
    --text-3:        #8a877e;
    --text-dim:      #b8b5ac;
    --accent:        #b45309;
    --accent-2:      #92400e;
    --accent-soft:   rgba(180, 83, 9, 0.10);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-ui);
    font-size: 15px;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    font-feature-settings: "ss01", "cv11";
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    position: relative;
}

/* Subtle film-grain overlay — gives "printed paper" feel */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1000;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    opacity: 0.5;
    mix-blend-mode: overlay;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
html, body { overflow-x: clip; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 500; letter-spacing: -0.01em; }

/* ---------- Container ---------- */
.news-container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); width: 100%; }

/* =============================================================
   BREAKING BAR
   ============================================================= */
.news-breaking {
    position: relative;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 12px;
}
.news-breaking__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 10px var(--gutter);
    display: flex;
    align-items: center;
    gap: 14px;
}
.news-breaking__pulse {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--down);
    box-shadow: 0 0 0 0 var(--down);
    animation: pulse 2s ease-out infinite;
    flex-shrink: 0;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.55); }
    80%  { box-shadow: 0 0 0 10px rgba(244, 63, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}
.news-breaking__label {
    color: var(--down);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    flex-shrink: 0;
}
.news-breaking__link {
    color: var(--text);
    font-family: var(--font-ui);
    font-size: 13px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color var(--t-fast) var(--ease);
}
.news-breaking__link:hover { color: var(--accent); }
.news-breaking__close {
    color: var(--text-3);
    font-size: 18px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity var(--t-fast);
}
.news-breaking__close:hover { opacity: 1; color: var(--text); }

/* =============================================================
   HEADER
   ============================================================= */
.news-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10, 11, 13, 0.78);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line);
}
html[data-theme="light"] .news-header { background: rgba(246, 244, 239, 0.85); }

.news-header__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 18px var(--gutter);
    display: flex;
    align-items: center;
    gap: 32px;
}
.news-header__logo {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    transition: opacity var(--t-fast);
}
.news-header__logo:hover { opacity: 0.85; }
.news-header__wordmark {
    display: block;
    height: 15px;
    width: auto;
    color: var(--text);
}
.news-header__wordmark-sep {
    display: inline-block;
    width: 1px;
    height: 18px;
    background: var(--line-2);
}
.news-header__wordmark-sub {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-variation-settings: "opsz" 144;
    font-size: 22px;
    line-height: 1;
    color: var(--accent);
    letter-spacing: -0.01em;
    padding-top: 2px;
}

.news-header__nav {
    flex: 1;
    display: flex;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
}
.news-header__nav::-webkit-scrollbar { display: none; }
.news-header__nav-link {
    position: relative;
    padding: 10px 14px;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    white-space: nowrap;
    border-radius: var(--radius);
    transition: color var(--t-fast) var(--ease);
}
.news-header__nav-link:hover { color: var(--text); }
.news-header__nav-link.is-active { color: var(--text); }
.news-header__nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 4px;
    height: 1px;
    background: var(--cat, var(--accent));
}

.news-header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.news-header__search-btn,
.news-header__theme {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    color: var(--text-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: all var(--t-fast) var(--ease);
    background: transparent;
}
.news-header__search-btn:hover,
.news-header__theme:hover {
    color: var(--text);
    border-color: var(--line-2);
    background: var(--surface);
}
.news-header__kbd {
    font-family: var(--font-mono);
    font-size: 10px;
    padding: 2px 5px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text-3);
}
.news-header__theme-icon { transition: transform var(--t) var(--ease); }
.news-header__theme-icon--light { display: none; }
html[data-theme="light"] .news-header__theme-icon--dark { display: none; }
html[data-theme="light"] .news-header__theme-icon--light { display: block; }

.news-header__shop-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--bg);
    background: var(--accent);
    border-radius: var(--radius);
    transition: all var(--t-fast) var(--ease);
}
.news-header__shop-link:hover {
    background: var(--accent-2);
    transform: translateY(-1px);
}

@media (max-width: 980px) {
    .news-header__nav { display: none; }
    .news-header__inner { gap: 16px; }
    .news-header__shop-link span { display: none; }
}

/* =============================================================
   SEARCH OVERLAY
   ============================================================= */
.news-search {
    position: fixed;
    inset: 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t) var(--ease), visibility var(--t) var(--ease);
}
.news-search.is-open { opacity: 1; visibility: visible; }
.news-search__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 11, 13, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.news-search__box {
    position: absolute;
    top: 15vh;
    left: 50%;
    transform: translate(-50%, -20px);
    width: min(680px, calc(100% - 32px));
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: var(--radius-lg);
    transition: transform var(--t) var(--ease);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.news-search.is-open .news-search__box { transform: translate(-50%, 0); }
.news-search__form {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
}
.news-search__form svg { color: var(--text-3); flex-shrink: 0; }
.news-search__input {
    flex: 1;
    background: none;
    border: 0;
    outline: 0;
    color: var(--text);
    font-family: var(--font-ui);
    font-size: 16px;
}
.news-search__input::placeholder { color: var(--text-3); }
.news-search__esc {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 3px 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text-3);
}

/* =============================================================
   MAIN
   ============================================================= */
.news-main {
    padding: 56px 0 100px;
    min-height: 70vh;
}

.news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 56px;
    margin-top: 56px;
}
.news-layout__main { min-width: 0; }
.news-layout__side {
    position: sticky;
    top: 100px;
    height: fit-content;
    align-self: start;
}
@media (max-width: 1080px) {
    .news-layout { grid-template-columns: 1fr; gap: 56px; }
    .news-layout__side { position: static; order: 2; }
}

/* Article page uses its own grid classes. Without these, the aside
   renders as a full-width block below the article — sidebar widgets
   (prices, most-read, newsletter) stretch edge-to-edge. */
.news-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 56px;
    margin-top: 40px;
    align-items: start;
}
.news-article-layout > .news-article { min-width: 0; }
.news-article-aside {
    position: sticky;
    top: 100px;
    height: fit-content;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-width: 0;
}
.news-article-aside > * { min-width: 0; }
@media (max-width: 1080px) {
    .news-article-layout { grid-template-columns: 1fr; gap: 40px; }
    .news-article-aside { position: static; order: 2; }
}

/* =============================================================
   HERO — editorial split
   ============================================================= */
.news-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 40px;
    align-items: stretch;
    padding: 24px 0 56px;
    border-bottom: 1px solid var(--line);
    position: relative;
}
.news-hero::before {
    content: "№ 01 / TODAY";
    position: absolute;
    top: 4px;
    left: 0;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.28em;
    color: var(--text-3);
}
@media (max-width: 900px) {
    .news-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
}

/* Hero main: image is the background, content sits overlaid on bottom. */
.news-hero__main {
    position: relative;
    display: block;
    color: inherit;
    aspect-ratio: 16 / 10.5;
    overflow: hidden;
    border-radius: var(--radius-lg);
    isolation: isolate;
    background: var(--surface-2);
}
.news-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background:
        radial-gradient(at 30% 20%, var(--cat, var(--accent)) 0%, transparent 55%),
        radial-gradient(at 80% 80%, rgba(245, 158, 11, 0.25) 0%, transparent 60%),
        repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 16px),
        var(--surface-2);
}
.news-hero__main:not(:has(img))::after {
    /* Giant editorial glyph when no photo */
    content: "№";
    position: absolute;
    top: 0%;
    right: 4%;
    font-family: var(--font-display);
    font-size: 360px;
    font-style: italic;
    font-variation-settings: "opsz" 144;
    line-height: 0.8;
    color: rgba(255, 255, 255, 0.07);
    pointer-events: none;
    z-index: 1;
}
.news-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    transform: scale(1.06);
    transform-origin: center 38%;
    transition: transform 900ms var(--ease);
    filter: saturate(1.05) contrast(1.04);
}
.news-hero__main:hover .news-hero__media img { transform: scale(1.10); }
.news-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 11, 13, 0.15) 0%, rgba(10, 11, 13, 0.10) 35%, rgba(10, 11, 13, 0.88) 100%);
    pointer-events: none;
}
.news-hero__gradient { display: none; }

/* Content overlay — sits at the bottom of the hero image */
.news-hero__content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 28px 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 16px;
    color: #fff;
}
.news-hero__top {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.news-hero__badge {
    color: #fff;
    background: var(--cat, var(--accent));
    padding: 5px 10px;
    border-radius: var(--radius);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.news-hero__live {
    color: #fff;
    background: var(--down);
    padding: 5px 10px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    animation: blink 2s ease-in-out infinite;
}
.news-hero__title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.2vw, 48px);
    font-weight: 500;
    font-variation-settings: "opsz" 144, "wght" 500;
    line-height: 1.04;
    letter-spacing: -0.016em;
    color: #fff;
    transition: color var(--t) var(--ease);
    margin: 0;
    max-width: 28ch;
    text-shadow: 0 2px 24px rgba(0,0,0,0.45);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-width: 0;
}
.news-hero__main:hover .news-hero__title { color: var(--accent); }
.news-hero__excerpt {
    font-family: var(--font-ui);
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255,255,255,0.85);
    max-width: 60ch;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-hero__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.news-hero__tickers { display: flex; gap: 8px; }
.news-hero__tickers span { color: var(--cat, var(--accent)); font-weight: 600; }

/* Side stack */
.news-hero__side {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
    height: 100%;
}

/* =============================================================
   CARDS
   ============================================================= */
.news-card {
    position: relative;
    display: block;
    background: transparent;
    color: inherit;
}
.news-card__link {
    display: block;
    color: inherit;
}

/* --- default (bento grid item) --- */
.news-card--default .news-card__link {
    display: grid;
    grid-template-rows: auto 1fr;
}
.news-card--default .news-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background:
        radial-gradient(at 30% 25%, var(--cat, var(--accent)) 0%, transparent 60%),
        repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 14px),
        var(--surface-2);
    border-radius: var(--radius);
}
.news-card--default .news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    transform: scale(1.08);
    transform-origin: center 42%;
    transition: transform 700ms var(--ease);
    filter: saturate(1.05) contrast(1.02);
}
.news-card:hover .news-card__media img { transform: scale(1.12); }
.news-card--default .news-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 40%, rgba(10, 11, 13, 0.35) 70%, rgba(10, 11, 13, 0.85) 100%),
        linear-gradient(0deg, rgba(10, 11, 13, 0.0) 0, rgba(10, 11, 13, 0.0) 100%);
    pointer-events: none;
}
.news-card--default .news-card__media::before {
    /* Bottom-right watermark masker - hides typical CoinDesk/Bitcoin Mag logos */
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 55%;
    height: 28%;
    background: radial-gradient(ellipse at 85% 100%, rgba(10, 11, 13, 0.7) 0%, rgba(10, 11, 13, 0.4) 40%, transparent 75%);
    pointer-events: none;
    z-index: 1;
}
.news-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.35);
    background:
        linear-gradient(135deg, var(--cat, var(--accent)) 0%, transparent 70%),
        repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0 10px, transparent 10px 20px),
        var(--surface-2);
}
.news-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 4px 8px;
    color: var(--text);
    background: rgba(10, 11, 13, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--cat, var(--accent));
    border-radius: var(--radius);
    z-index: 2;
}
.news-card__live {
    position: absolute;
    top: 12px;
    right: 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    padding: 4px 8px;
    color: #fff;
    background: var(--down);
    border-radius: var(--radius);
    animation: blink 2s ease-in-out infinite;
    z-index: 2;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.news-card--default .news-card__body {
    padding: 14px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.news-card--default .news-card__title {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 500;
    font-variation-settings: "wght" 500;
    line-height: 1.15;
    letter-spacing: -0.008em;
    color: var(--text);
    transition: color var(--t-fast) var(--ease);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}
.news-card:hover .news-card__title { color: var(--accent); }
.news-card__excerpt {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-2);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-3);
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}
.news-card__byline { color: var(--text-2); font-weight: 500; }
.news-card__readtime { color: var(--text-3); }
.news-card__dot { color: var(--text-dim); }
.news-card__typo {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 18px;
    color: rgba(255,255,255,0.16);
    font-family: var(--font-display);
    font-style: italic;
    font-variation-settings: "opsz" 144;
    pointer-events: none;
}
.news-card__typo-cat {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 0.9;
    letter-spacing: -0.02em;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.news-card__typo-num {
    font-size: 14px;
    font-family: var(--font-mono);
    font-style: normal;
    font-variation-settings: normal;
    color: var(--cat, var(--accent));
    opacity: 0.6;
    align-self: flex-end;
    letter-spacing: 0.08em;
}
.news-card__tickers { display: flex; gap: 6px; margin-left: auto; }
.news-card__ticker { color: var(--text-2); transition: color var(--t-fast); }
.news-card:hover .news-card__ticker { color: var(--accent); }

/* --- SIDE variant --- */
.news-card--side {
    border-bottom: 1px solid var(--line);
}
.news-card--side:last-child { border-bottom: 0; }
.news-card--side .news-card__link {
    display: grid;
    grid-template-columns: 104px 1fr;
    gap: 18px;
    padding: 20px 0;
    align-items: start;
}
.news-card--side .news-card__media {
    position: relative;
    width: 104px;
    height: 78px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cat, var(--accent)) 0%, var(--surface-2) 120%);
    border-radius: var(--radius);
    flex-shrink: 0;
}
.news-card--side .news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-card--side .news-card__badge,
.news-card--side .news-card__live { display: none; }
.news-card--side .news-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
}
.news-card--side .news-card__title {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.005em;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--t-fast);
    margin: 0;
}
.news-card--side:hover .news-card__title { color: var(--accent); }
.news-card--side .news-card__excerpt { display: none; }
.news-card--side .news-card__meta {
    border: 0;
    padding: 0;
    margin: 0;
    font-size: 10px;
    gap: 10px;
}

/* --- COMPACT variant --- */
.news-card--compact .news-card__link {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.news-card--compact .news-card__media { display: none; }
.news-card--compact .news-card__title {
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-ui);
    line-height: 1.4;
}

/* =============================================================
   SECTION HEADERS
   ============================================================= */
.news-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--line-2);
    position: relative;
}
.news-section-head::before {
    content: "§";
    position: absolute;
    left: -28px;
    top: 4px;
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--accent);
    font-style: italic;
}
.news-section-head__title {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.015em;
    color: var(--text);
    margin: 0;
}
.news-section-head__sub {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-3);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.news-section-head__link { font-size: 13px; color: var(--accent); font-weight: 500; }
.news-section-head__link:hover { color: var(--accent-2); }

/* =============================================================
   BENTO FEED
   ============================================================= */
.news-bento {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 24px;
}
@media (max-width: 1100px) {
    .news-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
}
@media (max-width: 640px) {
    .news-bento { grid-template-columns: 1fr; gap: 32px; }
}
/* Uniform 3-col bento - no special 7n+1 editorial card (was causing clipping) */

/* =============================================================
   SIDEBAR WIDGETS
   ============================================================= */
.news-widget {
    margin-bottom: 44px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
}
.news-widget:last-child { border-bottom: 0; }
.news-widget__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 18px;
}
.news-widget__title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 24px;
    font-weight: 400;
    color: var(--text);
    letter-spacing: -0.01em;
    margin: 0;
}
.news-widget__live,
.news-widget__sub {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-3);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.news-widget__live::before {
    content: "";
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--up);
    animation: pulse-green 2s ease-out infinite;
}
@keyframes pulse-green {
    0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
    80%  { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Prices list */
.news-prices { padding: 0; }
.news-prices__item,
.news-price {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 13px;
}
.news-prices__item:last-child,
.news-price:last-child { border-bottom: 0; }
.news-prices__item .sym,
.news-price__sym {
    font-weight: 500;
    color: var(--text);
    min-width: 44px;
}
.news-prices__item .name,
.news-price__name {
    font-family: var(--font-ui);
    font-size: 12px;
    color: var(--text-3);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.news-prices__price,
.news-prices__item .price,
.news-price__val {
    font-variant-numeric: tabular-nums;
    color: var(--text);
    transition: color var(--t-fast), transform var(--t-fast);
}
.news-price__val.is-flash-up,
.news-prices__price.is-flash-up { color: var(--up); transform: translateY(-1px); }
.news-price__val.is-flash-down,
.news-prices__price.is-flash-down { color: var(--down); transform: translateY(1px); }
.news-prices__chg,
.news-prices__item .chg,
.news-price__chg {
    font-size: 11px;
    padding: 3px 6px;
    border-radius: var(--radius);
    font-variant-numeric: tabular-nums;
    min-width: 58px;
    text-align: right;
}
.news-prices__chg--up, .news-price__chg--up { color: var(--up); background: var(--up-soft); }
.news-prices__chg--dn, .news-price__chg--dn { color: var(--down); background: var(--down-soft); }

/* Top list */
.news-top { padding: 0; }
.news-top__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    transition: opacity var(--t-fast);
}
.news-top__item:last-child { border-bottom: 0; }
.news-top__item:hover { opacity: 0.78; }
.news-top__num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 30px;
    line-height: 1;
    color: var(--accent);
    font-weight: 400;
    min-width: 34px;
}
.news-top__title {
    font-size: 13px;
    line-height: 1.45;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Promo block */
.news-promo {
    padding: 26px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(245, 158, 11, 0));
    border: 1px solid var(--line-bright);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}
.news-promo::before {
    content: "";
    position: absolute;
    top: -50px; right: -50px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.22), transparent 70%);
    pointer-events: none;
}
.news-promo__title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 10px;
    color: var(--text);
    position: relative;
}
.news-promo__text {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.55;
    margin: 0 0 18px;
    position: relative;
}
.news-promo__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 10px 16px;
    color: var(--bg);
    background: var(--accent);
    border-radius: var(--radius);
    transition: all var(--t-fast);
    position: relative;
}
.news-promo__btn:hover { background: var(--accent-2); transform: translateX(3px); }

/* =============================================================
   LOAD MORE
   ============================================================= */
.news-loadmore-wrap {
    display: flex;
    justify-content: center;
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--line);
}
.news-loadmore,
.news-loadmore__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--t-fast) var(--ease);
}
.news-loadmore:hover,
.news-loadmore__btn:hover {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}
.news-loadmore.is-loading,
.news-loadmore__btn.is-loading { opacity: 0.5; pointer-events: none; }
.news-loadmore svg { transition: transform var(--t); }
.news-loadmore:hover svg { transform: translateY(2px); }

.news-progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 2px;
    z-index: 200;
    pointer-events: none;
}
.news-progress__bar {
    height: 100%;
    background: var(--accent);
    width: 0;
    transition: width var(--t-fast) var(--ease);
}

/* =============================================================
   ARTICLE PAGE
   ============================================================= */
.news-article {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.news-article__crumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 40px;
}
.news-article__crumbs a { color: var(--text-3); }
.news-article__crumbs a:hover { color: var(--accent); }
.news-article__crumbs svg { opacity: 0.5; }

.news-article__header { margin-bottom: 40px; }
.news-article__meta-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-3);
}
.news-article__cat {
    color: var(--cat, var(--accent));
    padding: 4px 8px;
    border: 1px solid currentColor;
    border-radius: var(--radius);
    font-weight: 500;
}

.news-article__title {
    font-family: var(--font-display);
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0 0 24px;
}
.news-article__excerpt {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 22px;
    line-height: 1.45;
    color: var(--text-2);
    border-left: 2px solid var(--accent);
    padding-left: 20px;
    margin: 0 0 32px;
}

.news-article__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 32px;
}
.news-article__tickers { display: flex; gap: 8px; }
.news-article__ticker {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 4px 8px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    color: var(--text-2);
    transition: all var(--t-fast);
}
.news-article__ticker:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }

.news-article__share { margin-left: auto; display: flex; gap: 8px; }
.news-article__share-btn {
    width: 36px; height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-2);
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    transition: all var(--t-fast);
}
.news-article__share-btn:hover { color: var(--accent); border-color: var(--accent); }

.news-article__image {
    margin: 0 0 32px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface-2);
    aspect-ratio: 16 / 9;
    max-height: 520px;
}
.news-article__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}
@media (max-width: 720px) {
    .news-article__image { aspect-ratio: 16 / 10; max-height: 340px; }
}

.news-article__body {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text);
    font-family: var(--font-ui);
}
.news-article__body p { margin: 0 0 22px; }
.news-article__body p:first-child::first-letter {
    font-family: var(--font-display);
    font-size: 4.2em;
    float: left;
    line-height: 0.85;
    padding: 6px 10px 0 0;
    color: var(--accent);
    font-style: italic;
}
.news-article__body h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin: 44px 0 16px;
    color: var(--text);
}
.news-article__body h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    margin: 32px 0 12px;
    color: var(--text);
}
.news-article__body ul, .news-article__body ol { margin: 0 0 22px; padding-left: 22px; list-style: disc; }
.news-article__body ol { list-style: decimal; }
.news-article__body li { margin-bottom: 10px; }
.news-article__body a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.news-article__body blockquote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 24px;
    line-height: 1.4;
    color: var(--text);
    border-left: 2px solid var(--accent);
    padding: 4px 0 4px 24px;
    margin: 32px 0;
}
.news-article__body img,
.news-article__body figure img,
.news-article__body p img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 520px;
    margin: 24px auto;
    border-radius: var(--radius);
    object-fit: contain;
}
.news-article__body figure {
    margin: 24px auto;
    max-width: 100%;
    text-align: center;
}
.news-article__body figure figcaption {
    font-size: 13px;
    color: var(--text-muted, #94a3b8);
    margin-top: 8px;
    text-align: center;
    font-style: italic;
}
@media (max-width: 720px) {
    .news-article__body img,
    .news-article__body figure img,
    .news-article__body p img { max-height: 360px; margin: 18px auto; }
}

.news-article__source {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    margin-top: 40px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 2px solid var(--accent);
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--text-2);
}
.news-article__source-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-3);
}
.news-article__source a { color: var(--accent); font-weight: 500; }

/* Related */
.news-related {
    max-width: 1080px;
    margin: 80px auto 0;
    padding: 60px var(--gutter) 0;
    border-top: 1px solid var(--line);
}
.news-related__title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 34px;
    font-weight: 400;
    margin: 0 0 32px;
    color: var(--text);
}
.news-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
}
@media (max-width: 820px) { .news-related__grid { grid-template-columns: 1fr; } }

/* =============================================================
   FOOTER
   ============================================================= */
.news-footer {
    margin-top: 100px;
    padding: 64px 0 44px;
    border-top: 1px solid var(--line);
    background: var(--bg);
}
.news-footer__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr 1fr;
    gap: 40px;
}
@media (max-width: 1100px) { .news-footer__inner { grid-template-columns: 1.2fr 1fr 1fr; } .news-footer__col:nth-child(1) { grid-column: 1 / -1; } }
@media (max-width: 640px) { .news-footer__inner { grid-template-columns: 1fr 1fr; } .news-footer__col:nth-child(1) { grid-column: 1 / -1; } }
.news-footer__col { min-width: 0; }
.news-footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--text);
}
.news-footer__wordmark {
    display: block;
    height: 13px;
    width: auto;
    color: var(--text);
}
.news-footer__brand-sub {
    font-family: var(--font-display);
    font-style: italic;
    font-variation-settings: "opsz" 144;
    font-size: 18px;
    line-height: 1;
    color: var(--accent);
}
.news-footer__about {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.65;
    max-width: 360px;
    margin: 0;
}
.news-footer__title {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 16px;
    font-weight: 500;
}
.news-footer__list li { margin-bottom: 10px; font-size: 13px; }
.news-footer__list a { color: var(--text-2); transition: color var(--t-fast); }
.news-footer__list a:hover { color: var(--accent); }
.news-footer__copy { font-size: 12px; color: var(--text-3); line-height: 1.6; margin: 0; }

/* =============================================================
   UTILITY
   ============================================================= */
.news-empty {
    text-align: center;
    padding: 100px 20px;
    color: var(--text-3);
}
.news-empty__icon { font-size: 48px; opacity: 0.5; margin-bottom: 16px; }
.news-empty__text { font-size: 16px; }

.news-page-title {
    margin: 8px 0 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line-2);
}
.news-page-title__chip {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.news-page-title h1 {
    font-family: var(--font-display);
    font-size: clamp(38px, 5vw, 64px);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 900px) {
    :root { --gutter: 18px; }
    .news-main { padding: 28px 0 60px; }
    .news-layout { margin-top: 48px; gap: 40px; }
    .news-hero { padding: 16px 0 40px; gap: 32px; }
    .news-hero__content { padding-top: 22px; gap: 14px; }
    .news-section-head__title { font-size: 28px; }
    .news-section-head::before { display: none; }
    .news-article__body { font-size: 16px; }
    .news-card--default .news-card__title { font-size: 20px; }
}

/* =============================================================
   MOTION — staggered reveal on load
   ============================================================= */
@media (prefers-reduced-motion: no-preference) {
    .news-hero__main { animation: rise 720ms var(--ease) both; }
    .news-hero__side .news-card { animation: rise 720ms var(--ease) both; }
    .news-hero__side .news-card:nth-child(1) { animation-delay: 80ms; }
    .news-hero__side .news-card:nth-child(2) { animation-delay: 160ms; }
    .news-hero__side .news-card:nth-child(3) { animation-delay: 240ms; }
    .news-hero__side .news-card:nth-child(4) { animation-delay: 320ms; }
    .news-bento .news-card { animation: rise 720ms var(--ease) both; }
    .news-bento .news-card:nth-child(1) { animation-delay: 120ms; }
    .news-bento .news-card:nth-child(2) { animation-delay: 180ms; }
    .news-bento .news-card:nth-child(3) { animation-delay: 240ms; }
    .news-bento .news-card:nth-child(4) { animation-delay: 300ms; }
    .news-bento .news-card:nth-child(5) { animation-delay: 360ms; }
    .news-bento .news-card:nth-child(6) { animation-delay: 420ms; }
    .news-bento .news-card:nth-child(n + 7) { animation-delay: 480ms; }
}
@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}

/* =============================================================
   BLADE COMPATIBILITY — match actual class names emitted
   ============================================================= */
.news-widget__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}
.news-widget__head .news-widget__title { flex: 1; }
.news-prices__pulse {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--up);
    animation: pulse-green 2s ease-out infinite;
    flex-shrink: 0;
}

/* Prices — nested structure */
.news-prices__list { padding: 0; }
.news-prices__item {
    display: block;
    padding: 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mono);
}
.news-prices__item:last-child { border-bottom: 0; }
.news-prices__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    color: inherit;
    transition: opacity var(--t-fast);
}
.news-prices__row:hover { opacity: 0.82; }
.news-prices__sym {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.news-prices__sym strong {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: 0.01em;
}
.news-prices__name {
    font-family: var(--font-ui);
    font-size: 11px;
    color: var(--text-3);
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 140px;
}
.news-prices__data {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.news-prices__price {
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    color: var(--text);
    transition: color var(--t-fast), transform var(--t-fast);
}
.news-prices__chg {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: var(--radius);
    font-variant-numeric: tabular-nums;
}
.news-prices__chg.is-up   { color: var(--up); background: var(--up-soft); }
.news-prices__chg.is-down { color: var(--down); background: var(--down-soft); }

/* Top 24h list */
.news-top__list { padding: 0; }
.news-top__link {
    color: var(--text);
    font-size: 13px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--t-fast);
}
.news-top__link:hover { color: var(--accent); }

/* Promo block — actual structure */
.news-promo { display: block; color: inherit; text-decoration: none; }
.news-promo__body { position: relative; }
.news-promo__label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
    display: block;
}
.news-promo__title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 26px;
    font-weight: 400;
    margin: 0 0 8px;
    color: var(--text);
}
.news-promo__sub {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.5;
    margin-bottom: 18px;
    display: block;
}
.news-promo__cta {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
    transition: transform var(--t-fast);
}
.news-promo:hover .news-promo__cta { transform: translateX(4px); }

/* Selection */
::selection { background: var(--accent); color: var(--bg); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--line-2); }

/* =============================================================
   LIVE TICKER STRIP (sits under the header)
   ============================================================= */
.news-ticker-strip {
    background: linear-gradient(180deg, rgba(245,158,11,0.06) 0%, rgba(245,158,11,0) 100%), var(--bg);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    position: sticky;
    top: 0;
    z-index: 90;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.news-ticker-strip__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    gap: 24px;
    height: 44px;
}
.news-ticker-strip__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.24em;
    font-weight: 600;
    color: var(--down);
    flex-shrink: 0;
    padding-right: 18px;
    border-right: 1px solid var(--line);
    height: 100%;
}
.news-ticker-strip__pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--down);
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.6);
    animation: ticker-pulse 2s ease-out infinite;
}
@keyframes ticker-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.6); }
    70%  { box-shadow: 0 0 0 10px rgba(244, 63, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}
.news-ticker-strip__track {
    display: flex;
    align-items: center;
    gap: 28px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 100%;
    flex: 1;
    mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 40px), transparent);
}
.news-ticker-strip__track::-webkit-scrollbar { display: none; }
.news-ticker-strip__item {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 4px 2px;
    transition: opacity var(--t-fast);
}
.news-ticker-strip__item:hover { opacity: 0.7; }
.news-ticker-strip__sym {
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.04em;
}
.news-ticker-strip__price {
    font-weight: 500;
    color: var(--text-2);
    font-variant-numeric: tabular-nums;
}
.news-ticker-strip__chg {
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    padding: 2px 6px;
    border-radius: var(--radius);
}
.news-ticker-strip__chg.is-up {
    color: var(--up);
    background: var(--up-soft);
}
.news-ticker-strip__chg.is-down {
    color: var(--down);
    background: var(--down-soft);
}
@media (max-width: 720px) {
    .news-ticker-strip__inner { gap: 14px; height: 40px; padding: 0 16px; }
    .news-ticker-strip__label { padding-right: 12px; font-size: 9px; }
    .news-ticker-strip__track { gap: 18px; }
    .news-ticker-strip__item { font-size: 11px; }
}

/* =============================================================
   MOST-READ WIDGET
   ============================================================= */
.news-mostread__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.news-mostread__item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
    padding-bottom: 18px;
    border-bottom: 1px dashed var(--line);
}
.news-mostread__item:last-child { border-bottom: 0; padding-bottom: 0; }
.news-mostread__rank {
    font-family: var(--font-display);
    font-style: italic;
    font-variation-settings: "opsz" 144;
    font-size: 36px;
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.03em;
    padding-top: 2px;
}
.news-mostread__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    transition: transform var(--t-fast);
}
.news-mostread__body:hover { transform: translateX(3px); }
.news-mostread__cat {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
}
.news-mostread__title {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text);
    transition: color var(--t-fast);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-mostread__body:hover .news-mostread__title { color: var(--accent); }
.news-mostread__time {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-3);
    letter-spacing: 0.04em;
}

/* =============================================================
   NEWSLETTER WIDGET
   ============================================================= */
.news-newsletter {
    position: relative;
    padding: 26px 24px 28px;
    margin-bottom: 44px;
    background:
        radial-gradient(at 100% 0%, rgba(245,158,11,0.18) 0%, transparent 55%),
        linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
    border: 1px solid var(--line-2);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.news-newsletter::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -30%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(245,158,11,0.3) 0%, transparent 60%);
    pointer-events: none;
    filter: blur(40px);
}
.news-newsletter__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.24em;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 14px;
    position: relative;
}
.news-newsletter__title {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 144, "wght" 500;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0 0 10px;
    position: relative;
}
.news-newsletter__title em {
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}
.news-newsletter__sub {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-2);
    margin: 0 0 18px;
    position: relative;
}
.news-newsletter__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}
.news-newsletter__input {
    font-family: var(--font-ui);
    font-size: 13px;
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    padding: 11px 14px;
    transition: border-color var(--t-fast), background var(--t-fast);
    width: 100%;
}
.news-newsletter__input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--surface);
}
.news-newsletter__input:disabled { opacity: 0.5; cursor: not-allowed; }
.news-newsletter__btn {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: var(--accent);
    color: var(--bg);
    border: 0;
    padding: 12px 14px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background var(--t-fast), transform var(--t-fast);
}
.news-newsletter__btn:hover { background: var(--accent-2); transform: translateY(-1px); }
.news-newsletter__btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.news-newsletter__legal {
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-3);
    letter-spacing: 0.08em;
    position: relative;
}
.news-newsletter__success {
    padding: 10px 14px;
    background: var(--up-soft);
    color: var(--up);
    font-size: 12px;
    border-radius: var(--radius);
    font-weight: 500;
}

/* =============================================================
   SECTION HEAD — tighter for density
   ============================================================= */
.news-section-head { padding-bottom: 14px; margin-bottom: 28px; }
.news-section-head__title { font-size: 32px; }

/* =============================================================
   CONTAINER — slightly wider for 3-col density
   ============================================================= */
.news-container { max-width: var(--container); }
@media (min-width: 1600px) { :root { --container: 1480px; } }
@media (min-width: 1900px) { :root { --container: 1560px; } }

/* Tighter layout for 3-col bento: sidebar shrinks slightly */
@media (min-width: 1100px) {
    .news-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 48px;
    }
}

/* ============================================================
   SUBMIT-NEWS MODAL + FORM
   ============================================================ */
.news-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.news-modal.is-open { display: flex; }
.news-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 16, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: newsFadeIn .2s ease;
}
.news-modal__dialog {
    position: relative;
    width: min(620px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 36px 28px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.55);
    animation: newsSlideUp .24s cubic-bezier(.16,1,.3,1);
}
.news-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: transparent;
    border: none;
    color: var(--fg-muted);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: .15s;
}
.news-modal__close:hover { color: var(--fg); background: var(--bg-soft); }
.news-modal__title {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.news-modal__sub {
    margin: 0 0 22px;
    color: var(--fg-muted);
    font-size: 14px;
}
@keyframes newsFadeIn { from {opacity: 0;} to {opacity: 1;} }
@keyframes newsSlideUp { from {opacity: 0; transform: translateY(16px);} to {opacity: 1; transform: translateY(0);} }

.news-form { display: flex; flex-direction: column; gap: 14px; }
.news-form__honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important; height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.news-form__row { display: grid; gap: 14px; }
.news-form__row--2 { grid-template-columns: 1fr 1fr; }
.news-form__field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--fg-muted); }
.news-form__field span em { color: #ef4444; font-style: normal; }
.news-form__field input,
.news-form__field textarea,
.news-form__field select {
    width: 100%;
    padding: 11px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--fg);
    font: inherit;
    transition: .15s;
}
.news-form__field textarea { resize: vertical; min-height: 96px; }
.news-form__field input:focus,
.news-form__field textarea:focus,
.news-form__field select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(247,147,26,0.15);
}
.news-form__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 6px;
}
.news-form__submit {
    background: var(--accent);
    color: #0a0e1a;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: .15s;
}
.news-form__submit:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(247,147,26,0.35); }
.news-form__status { font-size: 13px; color: var(--fg-muted); }
.news-form__status.is-ok { color: #10b981; }
.news-form__status.is-error { color: #ef4444; }
.news-form__status.is-loading { color: var(--fg-muted); opacity: .7; }

@media (max-width: 540px) {
    .news-modal__dialog { padding: 24px 20px; }
    .news-form__row--2 { grid-template-columns: 1fr; }
}

/* ============================================================
   NEWS COMMENTS
   ============================================================ */
.news-comments {
    margin: 48px 0 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.news-comments__head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
}
.news-comments__title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.news-comments__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 22px;
    padding: 0 8px;
    background: var(--bg-soft);
    color: var(--fg-muted);
    font-size: 12px;
    font-weight: 700;
    border-radius: 11px;
}
.news-comments__form {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}
.news-comments__form-row { margin-bottom: 10px; }
.news-comments__form input,
.news-comments__form textarea {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--fg);
    font: inherit;
    transition: .15s;
}
.news-comments__form textarea { resize: vertical; min-height: 80px; }
.news-comments__form input:focus,
.news-comments__form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(247,147,26,0.15);
}
.news-comments__form-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}
.news-comments__submit {
    background: var(--accent);
    color: #0a0e1a;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: .15s;
}
.news-comments__submit:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(247,147,26,0.3); }
.news-comments__status { font-size: 13px; color: var(--fg-muted); }
.news-comments__status.is-ok { color: #10b981; }
.news-comments__status.is-error { color: #ef4444; }
.news-comments__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.news-comments__item {
    padding: 16px 18px;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: 10px;
}
.news-comments__item-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    font-size: 13px;
}
.news-comments__item-author { font-weight: 700; color: var(--fg); }
.news-comments__item-head time { color: var(--fg-muted); font-size: 12px; }
.news-comments__item-text {
    color: var(--fg);
    line-height: 1.55;
    font-size: 14px;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.news-comments__empty {
    text-align: center;
    padding: 20px;
    color: var(--fg-muted);
    font-size: 14px;
    background: var(--bg-elev);
    border: 1px dashed var(--border);
    border-radius: 10px;
}
