/* sora-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/sora-v17-latin-regular.woff2') format('woff2');
}
/* sora-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Sora';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/sora-v17-latin-500.woff2') format('woff2');
}
/* sora-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/sora-v17-latin-600.woff2') format('woff2');
}
/* sora-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Sora';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/sora-v17-latin-700.woff2') format('woff2');
}
/* sora-800 - latin */
@font-face {
  font-display: swap;
  font-family: 'Sora';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/sora-v17-latin-800.woff2') format('woff2');
}
/* archivo-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/archivo-v25-latin-regular.woff2') format('woff2'); 
}
/* archivo-500 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/archivo-v25-latin-500.woff2') format('woff2'); 
}
/* archivo-600 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/archivo-v25-latin-600.woff2') format('woff2');
}
/* archivo-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/archivo-v25-latin-700.woff2') format('woff2');
}

:root {
    --card-bg: #ffffff;
    --surface-bg: #f7f8fa;
    --text-main: #0a0e27;
    --text-secondary: #5b6582;
    --text-muted: #8891a8;
    --accent-primary: #ff6b00;
    --accent-secondary: #ff8f3d;
    --border-light: #e8ecf2;
    --border-medium: #d1d9e6;
    --shadow-sm: 0 1px 2px rgba(10,14,39,.04);
    --shadow-md: 0 4px 16px rgba(10,14,39,.06);
    --shadow-lg: 0 12px 32px rgba(10,14,39,.08);
    --shadow-hover: 0 8px 24px rgba(10,14,39,.1);
    --content-max: 1600px;
    --content-pad: clamp(12px, 4vw, 50px);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(180deg, #fafbfc 0%, #f3f5f8 100%);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

*:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.main-content {
    margin: 0 auto;
    padding: 0 var(--content-pad);
    max-width: var(--content-max);
    width: 100%;
    margin-bottom: 60px;
}

/* ═══════════════════════════════════════════════════
   BREADCRUMBS
═══════════════════════════════════════════════════ */

.breadcrumbs {
    padding: clamp(10px, 1.5vw, 14px) 0;
    position: relative;
}

.breadcrumbs::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--border-light) 15%,
        var(--border-light) 85%,
        transparent 100%
    );
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumbs-item {
    display: flex;
    align-items: center;
    gap: 2px;
    min-width: 0;
}

.breadcrumbs-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all .22s cubic-bezier(.4,0,.2,1);
    white-space: nowrap;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.breadcrumbs-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255,107,0,.06);
    opacity: 0;
    transition: opacity .2s;
}

.breadcrumbs-link:hover {
    color: var(--accent-primary);
    border-color: rgba(255,107,0,.18);
    transform: translateY(-1px);
}

.breadcrumbs-link:hover::before { opacity: 1; }

.breadcrumbs-home-icon {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    opacity: .75;
    transition: opacity .2s;
}

.breadcrumbs-link:hover .breadcrumbs-home-icon { opacity: 1; }

.breadcrumbs-sep {
    width: 13px;
    height: 13px;
    color: var(--text-muted);
    flex-shrink: 0;
    opacity: .5;
    margin: 0 1px;
}

.breadcrumbs-current {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--accent-primary);
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255,107,0,.07);
    border: 1px solid rgba(255,107,0,.15);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(280px, 50vw);
    display: block;
    line-height: 1.4;
    box-shadow: 0 1px 4px rgba(255,107,0,.08);
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .breadcrumbs-link,
    .breadcrumbs-current {
        font-size: 11.5px;
        padding: 3px 7px;
    }

    .breadcrumbs-sep { width: 11px; height: 11px; }
    .breadcrumbs-home-icon { width: 11px; height: 11px; }
    .breadcrumbs-current { max-width: min(160px, 42vw); }
}

@media (max-width: 360px) {
    .breadcrumbs-link span { display: none; }
    .breadcrumbs-home-icon { display: block !important; opacity: 1; }
    .breadcrumbs-current { max-width: 120px; }
}

/* ═══════════════════════════════════════════════════
   NEWS PAGE HERO
═══════════════════════════════════════════════════ */

.news-page-hero {
    position: relative;
    padding: clamp(36px, 7vw, 80px) 0 clamp(28px, 5vw, 52px);
    isolation: isolate;
    clip-path: inset(0 -9999px);
}

.news-page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,107,0,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,107,0,.035) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 85% 90% at 50% 50%, black 30%, transparent 100%);
    mask-image: radial-gradient(ellipse 85% 90% at 50% 50%, black 30%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.news-page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 55% 70% at 8% 20%,  rgba(255,107,0,.11) 0%, transparent 58%),
        radial-gradient(ellipse 40% 55% at 92% 80%,  rgba(139,92,246,.07) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 55% 0%,   rgba(255,143,61,.06) 0%, transparent 50%),
        radial-gradient(ellipse 35% 60% at 20% 90%,  rgba(16,185,129,.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: hero-glow-drift 12s ease-in-out infinite alternate;
    overflow: hidden !important;
}

@keyframes hero-glow-drift {
    0%   { opacity: .85; transform: scale(1) translateY(0); }
    100% { opacity: 1;   transform: scale(1.04) translateY(-8px); }
}

.news-page-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(20px, 4vw, 40px);
    flex-wrap: wrap;
}

.news-page-title-block {
    min-width: 0;
}

.news-page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(255,107,0,.1) 0%, rgba(255,143,61,.06) 100%);
    border: 1.5px solid rgba(255,107,0,.22);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 18px;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(255,107,0,.1), inset 0 1px 0 rgba(255,255,255,.5);
    transition: transform .3s, box-shadow .3s;
}

.news-page-eyebrow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,0,.18), inset 0 1px 0 rgba(255,255,255,.5);
}

.news-page-eyebrow::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 10px rgba(255,107,0,.9), 0 0 20px rgba(255,107,0,.4);
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1);   box-shadow: 0 0 10px rgba(255,107,0,.9), 0 0 20px rgba(255,107,0,.4); }
    50%       { opacity: .6; transform: scale(.75); box-shadow: 0 0 4px rgba(255,107,0,.5); }
}

.news-page-h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(28px, 5.5vw, 60px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.05;
    margin-bottom: 14px;
    position: relative;
}

.news-page-h1 .h1-main {
    display: block;
    background: linear-gradient(128deg,
        var(--text-main) 0%,
        #2a3060 35%,
        var(--accent-primary) 65%,
        #ff3d00 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: h1-shimmer 8s ease-in-out infinite alternate;
}

@keyframes h1-shimmer {
    0%   { background-position: 0%   50%; }
    100% { background-position: 100% 50%; }
}

.news-page-h1:not(:has(.h1-main)) {
    background: linear-gradient(128deg,
        var(--text-main) 0%,
        #2a3060 40%,
        var(--accent-primary) 75%,
        #ff3d00 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-page-sub {
    font-size: clamp(13px, 2vw, 16px);
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 58ch;
    position: relative;
    padding-left: 16px;
}

.news-page-sub::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-primary) 0%, transparent 100%);
    border-radius: 3px;
    opacity: .5;
}

.news-page-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-self: flex-start;
    padding-top: 4px;
    flex-shrink: 0;
}

.stat-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,.72);
    border: 1.5px solid rgba(255,255,255,.9);
    border-radius: 18px;
    padding: clamp(12px, 2vw, 18px) clamp(18px, 2.5vw, 26px);
    box-shadow:
        0 2px 8px rgba(10,14,39,.06),
        0 0 0 1px rgba(255,107,0,.06) inset,
        inset 0 1px 0 rgba(255,255,255,.9);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    min-width: 82px;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
    position: relative;
    overflow: hidden;
}

.stat-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,107,0,.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .3s;
}

.stat-pill:hover {
    transform: translateY(-5px) scale(1.04);
    box-shadow:
        0 12px 32px rgba(255,107,0,.16),
        0 0 0 1.5px rgba(255,107,0,.2) inset,
        inset 0 1px 0 rgba(255,255,255,.9);
}

.stat-pill:hover::before { opacity: 1; }

.stat-pill-value {
    font-family: 'Sora', sans-serif;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 800;
    letter-spacing: -.03em;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #ff3d00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(255,107,0,.25));
}

.stat-pill-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .09em;
    margin-top: 5px;
}

/* ═══════════════════════════════════════════════════
   FILTER BAR
═══════════════════════════════════════════════════ */

.filter-bar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 0 clamp(20px, 3vw, 36px);
    background: rgba(255,255,255,.8);
    border: 1.5px solid rgba(255,255,255,.95);
    border-radius: 22px;
    padding: clamp(12px, 2vw, 18px) clamp(14px, 2.5vw, 20px);
    box-shadow:
        0 4px 24px rgba(10,14,39,.07),
        0 1px 0 rgba(255,255,255,.9) inset,
        0 0 0 1px rgba(255,107,0,.06) inset;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    position: relative;
    overflow: hidden;
}

.filter-bar::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(255,107,0,.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.filter-bar::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 80px; height: 80px;
    background: radial-gradient(circle, rgba(139,92,246,.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.filter-bar > * { position: relative; z-index: 1; }

/* ── Search input ── */
.filter-search-wrap {
    position: relative;
    width: 100%;
}

.filter-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
    color: var(--text-muted);
    pointer-events: none;
    transition: color .25s;
}

.filter-search-wrap:focus-within .filter-search-icon {
    color: var(--accent-primary);
}

.filter-search-input {
    width: 100%;
    padding: 14px 48px 14px 48px;
    background: rgba(247,248,250,.8);
    border: 1.5px solid var(--border-light);
    border-radius: 14px;
    font-family: 'Archivo', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    outline: none;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 1px 3px rgba(10,14,39,.05) inset;
    box-sizing: border-box;
}

.filter-search-input::placeholder { color: var(--text-muted); }

.filter-search-input:focus {
    border-color: var(--accent-primary);
    background: #fff;
    box-shadow:
        0 0 0 4px rgba(255,107,0,.1),
        0 2px 8px rgba(255,107,0,.08);
}

.filter-search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--surface-bg);
    border: none;
    border-radius: 7px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all .2s;
    opacity: 0;
    pointer-events: none;
}

.filter-search-clear.visible {
    opacity: 1;
    pointer-events: auto;
}

.filter-search-clear:hover { background: rgba(239,68,68,.1); color: #ef4444; }
.filter-search-clear svg { width: 14px; height: 14px; }

/* ── Category Tabs ── */
.cat-tabs {
    display: flex;
    gap: 5px;
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 10px, black calc(100% - 10px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, black 10px, black calc(100% - 10px), transparent 100%);
}

.cat-tabs::-webkit-scrollbar { display: none; }

.cat-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    border-radius: 11px;
    font-family: 'Sora', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s cubic-bezier(.4,0,.2,1);
    text-decoration: none;
    white-space: nowrap;
    border: 1.5px solid transparent;
    background: transparent;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.cat-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--surface-bg);
    opacity: 0;
    transition: opacity .2s;
    z-index: -1;
}

.cat-tab:hover {
    color: var(--text-main);
    border-color: var(--border-medium);
}

.cat-tab:hover::before { opacity: 1; }

.cat-tab.active {
    background: linear-gradient(135deg, var(--accent-primary) 0%, #e05500 100%);
    border-color: transparent;
    color: #fff;
    box-shadow:
        0 4px 18px rgba(255,107,0,.35),
        0 1px 0 rgba(255,255,255,.25) inset;
}

.cat-tab.active::before { opacity: 0; }

.cat-tab-count {
    font-size: 10px;
    font-weight: 700;
    background: rgba(0,0,0,.18);
    color: inherit;
    padding: 2px 7px;
    border-radius: 20px;
    min-width: 22px;
    text-align: center;
    line-height: 1.45;
}

.cat-tab:not(.active) .cat-tab-count {
    background: rgba(10,14,39,.06);
    color: var(--text-muted);
}

/* Per-category tab hover colours */
.cat-tab[data-cat="markets"]:not(.active):hover    { color: var(--cat-markets);    border-color: rgba(16,185,129,.3); }
.cat-tab[data-cat="defi"]:not(.active):hover       { color: var(--cat-defi);       border-color: rgba(139,92,246,.3); }
.cat-tab[data-cat="mining"]:not(.active):hover     { color: var(--cat-mining);     border-color: rgba(245,158,11,.3); }
.cat-tab[data-cat="ai"]:not(.active):hover         { color: var(--cat-ai);         border-color: rgba(6,182,212,.3);  }
.cat-tab[data-cat="nft"]:not(.active):hover        { color: var(--cat-nft);        border-color: rgba(236,72,153,.3); }
.cat-tab[data-cat="gamefi"]:not(.active):hover     { color: var(--cat-gamefi);     border-color: rgba(249,115,22,.3); }
.cat-tab[data-cat="adoption"]:not(.active):hover   { color: var(--cat-adoption);   border-color: rgba(20,184,166,.3); }
.cat-tab[data-cat="technology"]:not(.active):hover { color: var(--cat-technology); border-color: rgba(99,102,241,.3); }
.cat-tab[data-cat="incidents"]:not(.active):hover  { color: var(--cat-incident);   border-color: rgba(239,68,68,.3);  }
.cat-tab[data-cat="regulation"]:not(.active):hover { color: var(--cat-regulation); border-color: rgba(59,130,246,.3); }

/* ═══════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════ */

.news-page-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: clamp(20px, 4vw, 40px);
}

.articles-grid {
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 2.5vw, 20px);
}

/* ═══════════════════════════════════════════════════
   ARTICLE CARDS
═══════════════════════════════════════════════════ */

.article-card {
    background: var(--card-bg);
    border: 1.5px solid var(--border-light);
    border-radius: clamp(14px, 2.5vw, 22px);
    padding: clamp(18px, 3vw, 32px);
    transition: all .4s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    -webkit-tap-highlight-color: transparent;
}

.article-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--accent-primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    border-radius: 0 3px 3px 0;
}

.article-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 40% at 0% 50%, rgba(255,107,0,.03) 0%, transparent 65%);
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
}

.article-card:hover {
    transform: translateX(6px);
    border-color: rgba(255,107,0,.2);
    box-shadow: var(--shadow-hover);
}

.article-card:hover::before { transform: scaleY(1); }
.article-card:hover::after  { opacity: 1; }

/* Per-category left-border colour */
.article-card[data-cat~="markets"]::before    { background: var(--cat-markets); }
.article-card[data-cat~="defi"]::before       { background: var(--cat-defi); }
.article-card[data-cat~="mining"]::before     { background: var(--cat-mining); }
.article-card[data-cat~="ai"]::before         { background: var(--cat-ai); }
.article-card[data-cat~="nft"]::before        { background: var(--cat-nft); }
.article-card[data-cat~="gamefi"]::before     { background: var(--cat-gamefi); }
.article-card[data-cat~="adoption"]::before   { background: var(--cat-adoption); }
.article-card[data-cat~="technology"]::before { background: var(--cat-technology); }
.article-card[data-cat~="incidents"]::before  { background: var(--cat-incident); }
.article-card[data-cat~="regulation"]::before { background: var(--cat-regulation); }

.article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════
   BADGES
═══════════════════════════════════════════════════ */

.news-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px clamp(10px,2vw,14px);
    border-radius: 100px;
    font-size: clamp(10px,1.5vw,11px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    transition: all .3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.badge-main {
    background: linear-gradient(135deg, var(--cat-main) 0%, var(--accent-secondary) 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255,107,0,.3), 0 0 0 3px rgba(255,107,0,.1);
    animation: badge-breathe 3s ease-in-out infinite;
}

@keyframes badge-breathe {
    0%, 100% { box-shadow: 0 4px 16px rgba(255,107,0,.25), 0 0 0 3px rgba(255,107,0,.08); }
    50%       { box-shadow: 0 6px 24px rgba(255,107,0,.4),  0 0 0 5px rgba(255,107,0,.12); }
}

.badge-markets    { background: rgba(16,185,129,.1);  color: var(--cat-markets);    border: 1.5px solid rgba(16,185,129,.2); }
.badge-defi       { background: rgba(139,92,246,.1);  color: var(--cat-defi);       border: 1.5px solid rgba(139,92,246,.2); }
.badge-mining     { background: rgba(245,158,11,.1);  color: var(--cat-mining);     border: 1.5px solid rgba(245,158,11,.2); }
.badge-ai         { background: rgba(6,182,212,.1);   color: var(--cat-ai);         border: 1.5px solid rgba(6,182,212,.2);  }
.badge-nft        { background: rgba(236,72,153,.1);  color: var(--cat-nft);        border: 1.5px solid rgba(236,72,153,.2); }
.badge-gamefi     { background: rgba(249,115,22,.1);  color: var(--cat-gamefi);     border: 1.5px solid rgba(249,115,22,.2); }
.badge-adoption   { background: rgba(20,184,166,.1);  color: var(--cat-adoption);   border: 1.5px solid rgba(20,184,166,.2); }
.badge-technology { background: rgba(99,102,241,.1);  color: var(--cat-technology); border: 1.5px solid rgba(99,102,241,.2); }
.badge-incident   { background: rgba(239,68,68,.1);   color: var(--cat-incident);   border: 1.5px solid rgba(239,68,68,.2);  }
.badge-regulation { background: rgba(59,130,246,.1);  color: var(--cat-regulation); border: 1.5px solid rgba(59,130,246,.2); }

.article-meta .news-date {
    margin-left: auto;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.article-meta .news-date svg { width: 13px; height: 13px; opacity: .65; flex-shrink: 0; }

.article-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(15px,2.5vw,20px);
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-main);
    margin-bottom: 10px;
    letter-spacing: -.02em;
    transition: color .25s;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card:hover .article-title { color: var(--accent-primary); }
.article-title a { color: inherit; text-decoration: none; }

.article-excerpt {
    font-size: clamp(13px,2vw,15px);
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 16px;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    flex-wrap: wrap;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.article-tags { display: flex; gap: 6px; flex-wrap: wrap; min-width: 0; }

.article-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--surface-bg);
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    text-decoration: none;
    transition: all .2s;
    display: inline-block;
    white-space: nowrap;
}

.article-tag:hover {
    background: var(--accent-primary);
    color: #fff;
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.article-read-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-primary);
    text-decoration: none;
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1.5px solid rgba(255,107,0,.25);
    background: rgba(255,107,0,.05);
    transition: all .25s cubic-bezier(.4,0,.2,1);
    flex-shrink: 0;
}

.article-read-link:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #fff;
    transform: translateX(3px);
    box-shadow: 0 4px 16px rgba(255,107,0,.25);
}

.article-read-link svg { width: 13px; height: 13px; transition: transform .25s; flex-shrink: 0; }
.article-read-link:hover svg { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════
   EMPTY STATE
═══════════════════════════════════════════════════ */

.empty-state {
    text-align: center;
    padding: clamp(48px,8vw,80px) 20px;
    background: var(--card-bg);
    border: 1.5px dashed var(--border-medium);
    border-radius: 24px;
}

.empty-state-icon {
    width: 72px; height: 72px;
    background: var(--surface-bg);
    border: 1.5px solid var(--border-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.empty-state-icon svg { width: 36px; height: 36px; color: var(--text-muted); }
.empty-state-title { font-family: 'Sora', sans-serif; font-size: 20px; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.empty-state-text { font-size: 15px; color: var(--text-secondary); margin-bottom: 24px; }

.empty-state-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--accent-primary);
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all .3s;
    box-shadow: 0 4px 16px rgba(255,107,0,.25);
}

.empty-state-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,0,.35); }

/* ═══════════════════════════════════════════════════
   SEARCH BANNER
═══════════════════════════════════════════════════ */

.search-result-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,107,0,.06);
    border: 1.5px solid rgba(255,107,0,.2);
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.search-result-banner strong { color: var(--accent-primary); }
.search-result-banner svg { width: 17px; height: 17px; color: var(--accent-primary); flex-shrink: 0; }

.search-result-clear {
    margin-left: auto;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
    padding: 5px 11px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    background: var(--card-bg);
    transition: all .2s;
    white-space: nowrap;
}

.search-result-clear:hover { color: #ef4444; border-color: rgba(239,68,68,.3); }

/* ═══════════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════════ */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: clamp(28px,5vw,48px);
    flex-wrap: wrap;
    padding: 0 4px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    border-radius: 12px;
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all .25s cubic-bezier(.4,0,.2,1);
    border: 1.5px solid var(--border-light);
    background: var(--card-bg);
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.page-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(255,107,0,.06);
    transform: translateY(-2px);
}

.page-btn.active {
    background: linear-gradient(135deg, var(--accent-primary) 0%, #ff5c00 100%);
    border-color: var(--accent-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255,107,0,.3);
}

.page-btn.disabled { opacity: .4; pointer-events: none; }
.page-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.page-dots { width: 32px; text-align: center; color: var(--text-muted); font-weight: 700; font-size: 14px; }

/* ═══════════════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════════════ */

.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: clamp(18px,3vw,28px);
}

.widget {
    background: var(--card-bg);
    border-radius: clamp(16px,2.5vw,20px);
    padding: clamp(16px,4vw,32px);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    overflow: visible;
    position: relative;
}

.widget-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(15px,2.5vw,19px);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: clamp(16px,3vw,24px);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -.01em;
}

.widget-title svg { width: clamp(16px,3vw,22px); height: clamp(16px,3vw,22px); color: var(--accent-primary); flex-shrink: 0; }

.popular-list { display: flex; flex-direction: column; gap: 2px; }

.popular-item {
    display: flex;
    gap: clamp(10px,2vw,14px);
    cursor: pointer;
    transition: all .4s cubic-bezier(.4,0,.2,1);
    padding: clamp(10px,2vw,14px);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.popular-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    transform: scaleY(0);
    transition: transform .4s cubic-bezier(.4,0,.2,1);
    border-radius: 0 2px 2px 0;
}

.popular-item:hover { background: var(--surface-bg); border-color: rgba(255,107,0,.1); transform: translateX(4px); }
.popular-item:hover::before { transform: scaleY(1); }

.popular-number {
    flex-shrink: 0;
    width: clamp(34px,5.5vw,44px);
    height: clamp(34px,5.5vw,44px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: clamp(12px,2vw,15px);
    position: relative;
    z-index: 1;
    border: 2px solid transparent;
    transition: all .4s;
    margin-right: 4px;
}

.popular-item:nth-child(1) .popular-number { border-color: #F59E0B; color: #F59E0B; box-shadow: 0 0 0 4px rgba(245,158,11,.10), 0 2px 12px rgba(245,158,11,.20); }
.popular-item:nth-child(2) .popular-number { border-color: #94A3B8; color: #94A3B8; box-shadow: 0 0 0 4px rgba(148,163,184,.10), 0 2px 10px rgba(148,163,184,.18); }
.popular-item:nth-child(3) .popular-number { border-color: #CD7F32; color: #CD7F32; box-shadow: 0 0 0 4px rgba(205,127,50,.10); }
.popular-item:nth-child(4) .popular-number,
.popular-item:nth-child(5) .popular-number { border-color: #e4e8f0; color: #c8cedf; }

.popular-content { flex: 1; min-width: 0; position: relative; z-index: 1; }

.popular-title {
    font-size: clamp(12px,2vw,14px);
    font-weight: 700;
    line-height: 1.5;
    color: var(--text-main);
    margin-bottom: clamp(4px,1vw,8px);
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .3s;
}

.popular-title a { color: inherit; text-decoration: none; }
.popular-item:hover .popular-title { color: var(--accent-primary); }
.popular-meta { display: flex; align-items: center; gap: clamp(6px,1.5vw,12px); flex-wrap: wrap; }
.popular-date { display: flex; align-items: center; gap: 4px; font-size: clamp(10px,1.5vw,12px); color: var(--text-muted); font-weight: 500; }
.popular-date svg { width: 13px; height: 13px; opacity: .6; flex-shrink: 0; }
.popular-trending { display: inline-flex; align-items: center; gap: 3px; font-size: clamp(9px,1.3vw,10px); font-weight: 700; color: #10b981; text-transform: uppercase; letter-spacing: .05em; }
.popular-trending svg { width: 11px; height: 11px; flex-shrink: 0; animation: trending-pulse 2s ease-in-out infinite; }

@keyframes trending-pulse {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50%       { opacity: .7; transform: translateY(-2px); }
}

.trending-tags-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

.trending-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 13px;
    background: var(--surface-bg);
    border: 1.5px solid var(--border-light);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all .25s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.trending-tag-pill:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,107,0,.2);
}

/* ═══════════════════════════════════════════════════
   SIDEBAR AD
═══════════════════════════════════════════════════ */

.sidebar-ad-banner {
    border-radius: clamp(16px,2.5vw,24px);
    overflow: hidden;
    position: sticky;
    cursor: pointer;
    top: 170px;
    transition: all .45s cubic-bezier(.4,0,.2,1);
}

.sidebar-ad-inner {
    background: linear-gradient(160deg, #0d0f1a 0%, #1a0f05 45%, #0a0d18 100%);
    border: 1.5px solid rgba(255,107,0,.2);
    border-radius: inherit;
    padding: clamp(20px,3vw,32px);
    position: relative;
    overflow: hidden;
    transition: border-color .45s;
    box-shadow:
        0 0 0 1px rgba(255,255,255,.03) inset,
        0 8px 32px rgba(0,0,0,.35),
        0 0 60px rgba(255,107,0,.05);
}

.sidebar-ad-banner:hover .sidebar-ad-inner {
    border-color: rgba(255,107,0,.42);
    box-shadow:
        0 0 0 1px rgba(255,255,255,.04) inset,
        0 16px 48px rgba(0,0,0,.4),
        0 0 90px rgba(255,107,0,.1);
}

.sidebar-ad-banner:hover { transform: translateY(-5px); }

.sidebar-ad-bg-glow {
    position: absolute;
    top: -60px; right: -60px;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(255,107,0,.22) 0%, rgba(255,60,0,.1) 40%, transparent 70%);
    pointer-events: none;
    animation: sidebar-ad-drift 6s ease-in-out infinite alternate;
}

@keyframes sidebar-ad-drift {
    0%   { transform: scale(1) translate(0,0);            opacity: .8; }
    100% { transform: scale(1.18) translate(-16px,16px);  opacity: 1; }
}

.sidebar-ad-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,107,0,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,107,0,.04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.sidebar-ad-top { display: flex; align-items: center; justify-content: space-between; }

.sidebar-ad-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: rgba(255,107,0,.85);
    background: rgba(255,107,0,.1);
    border: 1px solid rgba(255,107,0,.25);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.sidebar-ad-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 7px rgba(255,107,0,.9);
    animation: sidebar-ad-blink 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes sidebar-ad-blink {
    0%, 100% { opacity: 1; box-shadow: 0 0 7px rgba(255,107,0,.9); }
    50%       { opacity: .35; box-shadow: none; }
}

.sidebar-ad-icon-wrap { position: relative; width: 60px; height: 60px; margin-bottom: 20px; z-index: 1; }

.sidebar-ad-icon {
    width: 60px; height: 60px;
    background: linear-gradient(145deg, rgba(255,107,0,.2) 0%, rgba(255,60,0,.1) 100%);
    border: 1.5px solid rgba(255,107,0,.35);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 24px rgba(255,107,0,.2), inset 0 1px 0 rgba(255,107,0,.15);
}

.sidebar-ad-icon svg { width: 28px; height: 28px; color: var(--accent-primary); filter: drop-shadow(0 0 8px rgba(255,107,0,.55)); }
.sidebar-ad-icon-rings { position: absolute; inset: 0; }

.sidebar-ad-icon-rings span {
    position: absolute;
    inset: -8px;
    border-radius: 22px;
    border: 1px dashed rgba(255,107,0,.3);
    animation: sidebar-icon-spin 8s linear infinite;
}

.sidebar-ad-icon-rings span:nth-child(2) {
    inset: -16px;
    border-radius: 30px;
    border-color: rgba(255,107,0,.15);
    animation-duration: 14s;
    animation-direction: reverse;
}

@keyframes sidebar-icon-spin { to { transform: rotate(360deg); } }

.sidebar-ad-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(15px,2.5vw,20px);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -.025em;
    background: linear-gradient(135deg, #ffffff 0%, #fff7ed 50%, #fdba74 80%, #ff6b00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.sidebar-ad-desc { font-size: 13px; color: rgba(255,255,255,.58); line-height: 1.65; margin-bottom: 18px; position: relative; z-index: 1; }

.sidebar-ad-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; position: relative; z-index: 1; }

.sidebar-ad-feature { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.75); }
.sidebar-ad-feature svg { width: 15px; height: 15px; color: #10b981; flex-shrink: 0; filter: drop-shadow(0 0 5px rgba(16,185,129,.5)); }

.sidebar-ad-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #ff3d00 100%);
    color: #fff;
    border-radius: 14px;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .01em;
    text-decoration: none;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 5px 20px rgba(255,107,0,.4), inset 0 1px 0 rgba(255,255,255,.15);
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.sidebar-ad-cta::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
    transition: left .55s;
}

.sidebar-ad-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(255,107,0,.55); color: #fff; }
.sidebar-ad-cta:hover::before { left: 100%; }
.sidebar-ad-cta svg { width: 16px; height: 16px; transition: transform .3s; flex-shrink: 0; }
.sidebar-ad-cta:hover svg { transform: translateX(5px); }

.sidebar-ad-inner::after {
    content: '';
    position: absolute;
    bottom: 0; left: 10%; right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff6b00, #ff8f3d, #ff6b00, transparent);
    border-radius: 2px;
    animation: sidebar-ad-line 3.5s ease-in-out infinite;
}

@keyframes sidebar-ad-line {
    0%, 100% { opacity: .4; transform: scaleX(.65); }
    50%       { opacity: 1;  transform: scaleX(1); }
}

.sidebar-ad-disclaimer { font-size: 10px; color: rgba(255,255,255,.28); text-align: center; line-height: 1.5; position: relative; z-index: 1; }

/* ── Coming Soon Modal ── */
.cs-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s cubic-bezier(.4,0,.2,1);
}

.cs-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.cs-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 20, .75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.cs-card {
    position: relative;
    z-index: 1;
    background: linear-gradient(145deg, #0d0f1c 0%, #131629 50%, #0d0f1c 100%);
    border: 1.5px solid rgba(255, 107, 0, .22);
    border-radius: 28px;
    padding: clamp(36px, 6vw, 64px) clamp(28px, 5vw, 72px);
    max-width: 520px;
    width: 100%;
    text-align: center;
    box-shadow:
        0 0 0 1px rgba(255,107,0,.06),
        0 24px 80px rgba(0,0,0,.6),
        0 0 120px rgba(255,107,0,.08);
    transform: translateY(24px) scale(.96);
    transition: transform .4s cubic-bezier(.34,1.56,.64,1);
    overflow: hidden;
}

.cs-overlay.is-open .cs-card {
    transform: translateY(0) scale(1);
}

/* Фоновые лучи */
.cs-card::before {
    content: '';
    position: absolute;
    top: -120px; left: 50%;
    transform: translateX(-50%);
    width: 380px; height: 380px;
    background: radial-gradient(ellipse, rgba(255,107,0,.18) 0%, transparent 65%);
    pointer-events: none;
    animation: cs-breathe 4s ease-in-out infinite;
}

.cs-card::after {
    content: '';
    position: absolute;
    bottom: -80px; right: -60px;
    width: 260px; height: 260px;
    background: radial-gradient(ellipse, rgba(139,92,246,.1) 0%, transparent 65%);
    pointer-events: none;
    animation: cs-breathe 6s ease-in-out infinite reverse;
}

@keyframes cs-breathe {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: .7; }
    50% { transform: translateX(-50%) scale(1.15); opacity: 1; }
}

.cs-card::after { transform: none; }
@keyframes cs-breathe-2 {
    0%, 100% { opacity: .6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Верхняя светящаяся полоска */
.cs-glow-line {
    position: absolute;
    top: 0; left: 15%; right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,107,0,.9), rgba(255,143,61,1), rgba(255,107,0,.9), transparent);
    border-radius: 2px;
    animation: cs-line-pulse 3s ease-in-out infinite;
}

@keyframes cs-line-pulse {
    0%, 100% { opacity: .5; transform: scaleX(.7); }
    50% { opacity: 1; transform: scaleX(1); }
}

/* Иконка */
.cs-icon {
    width: 72px; height: 72px;
    margin: 0 auto 28px;
    background: linear-gradient(135deg, rgba(255,107,0,.15) 0%, rgba(255,143,61,.08) 100%);
    border: 1.5px solid rgba(255,107,0,.3);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 32px rgba(255,107,0,.15), inset 0 1px 0 rgba(255,107,0,.15);
    animation: cs-icon-float 3s ease-in-out infinite;
}

@keyframes cs-icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.cs-icon::before {
    content: '';
    position: absolute;
    inset: -7px;
    border-radius: 28px;
    border: 1.5px dashed rgba(255,107,0,.25);
    animation: icon-rotate 10s linear infinite;
}

.cs-icon svg {
    width: 34px; height: 34px;
    color: #ff8f3d;
    filter: drop-shadow(0 0 10px rgba(255,107,0,.55));
}

/* Бейдж */
.cs-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,107,0,.1);
    border: 1px solid rgba(255,107,0,.25);
    color: #ff8f3d;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .18em;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.cs-badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #ff6b00;
    animation: pulse-live 2s ease-in-out infinite;
}

/* Заголовок */
.cs-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.1;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #ffffff 0%, #ffe0c8 50%, #ff8f3d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

/* Описание */
.cs-desc {
    font-size: clamp(13px, 2vw, 15px);
    color: rgba(255,255,255,.5);
    line-height: 1.75;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

/* Разделитель */
.cs-divider {
    width: 40px; height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
    margin: 0 auto 28px;
    box-shadow: 0 0 10px rgba(255,107,0,.4);
}

/* Кнопка закрытия */
.cs-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #ff3d00 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 6px 24px rgba(255,107,0,.35), inset 0 1px 0 rgba(255,255,255,.15);
    position: relative;
    z-index: 1;
    letter-spacing: .01em;
}

.cs-close:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 36px rgba(255,107,0,.5);
}

.cs-close:active { transform: scale(.98); }

/* X-кнопка */
.cs-close-x {
    position: absolute;
    top: 18px; right: 18px;
    width: 36px; height: 36px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s;
    z-index: 2;
}

.cs-close-x:hover { background: rgba(255,107,0,.15); border-color: rgba(255,107,0,.3); }
.cs-close-x svg { width: 16px; height: 16px; color: rgba(255,255,255,.6); }

/* Частицы */
.cs-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 28px;
}

.cs-particle {
    position: absolute;
    width: 3px; height: 3px;
    background: rgba(255,107,0,.6);
    border-radius: 50%;
    animation: cs-particle-float linear infinite;
}

@keyframes cs-particle-float {
    0% { transform: translateY(0) scale(1); opacity: .8; }
    100% { transform: translateY(-100px) scale(0); opacity: 0; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════════════════════════════════ */

@media (min-width: 1440px) {
    .news-page-layout { grid-template-columns: 1fr 400px; }
}

@media (max-width: 1200px) {
    .news-page-layout { grid-template-columns: 1fr 340px; }
}

/* ── Сайдбар переходит в grid ── */
@media (max-width: 1100px) {
    .news-page-layout { grid-template-columns: 1fr; }

    .news-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }

    .sidebar-ad-banner {
        grid-column: 1 / -1;
        max-width: 680px;
        justify-self: center;
        width: 100%;
    }
}

/* ══════════════════════════════════════════════════════════
   ПЛАНШЕТ: 769px – 1100px
══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    .news-page-hero {
        padding: clamp(20px, 4vw, 36px) 0 clamp(16px, 3vw, 28px);
    }

    .news-page-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .news-page-stats {
        width: 100%;
        justify-content: flex-start;
    }

    .stat-pill {
        flex: 1 1 auto;
        min-width: 70px;
        padding: 10px 14px;
    }

    .filter-bar {
        gap: 10px;
        margin: 16px 0 20px;
        border-radius: 18px;
        padding: 12px 14px;
    }

    .article-card { padding: 18px 16px; }

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

/* ══════════════════════════════════════════════════════════
   СМАРТФОН: ≤ 640px
══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {

    /* ── Hero ── */
    .news-page-hero {
        padding: 18px 0 12px;
    }

    .news-page-hero-inner {
        flex-direction: column;
        gap: 12px;
    }

    .news-page-eyebrow {
        font-size: 10px;
        padding: 4px 12px;
        margin-bottom: 10px;
        gap: 6px;
    }

    .news-page-eyebrow::before {
        width: 6px;
        height: 6px;
    }

    .news-page-h1 {
        font-size: clamp(24px, 7vw, 32px);
        letter-spacing: -.03em;
        margin-bottom: 10px;
    }

    .news-page-sub {
        font-size: 13px;
        line-height: 1.6;
        padding-left: 12px;
    }

    .news-page-sub::before { top: 3px; bottom: 3px; }

    /* ── Stats: компактные ── */
    .news-page-stats {
        gap: 8px;
        flex-wrap: nowrap;
    }

    .stat-pill {
        padding: 9px 12px;
        border-radius: 14px;
        min-width: 0;
        flex: 1;
    }

    .stat-pill-value { font-size: clamp(16px, 4.5vw, 22px); }
    .stat-pill-label { font-size: 9px; letter-spacing: .07em; margin-top: 3px; }

    /* ── Filter bar ── */
    .filter-bar {
        gap: 8px;
        margin: 12px 0 16px;
        border-radius: 16px;
        padding: 10px 12px;
    }

    .filter-search-input {
        padding: 12px 40px 12px 42px;
        font-size: 14px;
        border-radius: 12px;
    }

    /* ── Cat tabs ── */
    .cat-tabs { gap: 5px; }

    .cat-tabs {
        -webkit-mask-image: linear-gradient(to right, transparent 0, black 5px, black calc(100% - 10px), transparent 100%);
        mask-image: linear-gradient(to right, transparent 0, black 5px, black calc(100% - 10px), transparent 100%);
    }

    .cat-tab {
        padding: 8px 13px;
        font-size: 12px;
        border-radius: 10px;
    }

    /* Скрываем счётчики чтобы не забивали место */
    .cat-tab-count { display: none; }

    /* ── Article cards ── */
    .article-card {
        padding: 16px 14px;
        border-radius: 16px;
    }

    .article-meta { gap: 7px; margin-bottom: 10px; }

    .article-title {
        font-size: clamp(14px, 4.5vw, 18px);
        margin-bottom: 8px;
        letter-spacing: -.02em;
    }

    .article-excerpt {
        font-size: 13px;
        line-height: 1.7;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        margin-bottom: 12px;
    }

    /* ── Article footer: теги + кнопка ── */
    .article-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding-top: 10px;
        flex-wrap: nowrap;
    }

    .article-tags {
        flex-wrap: wrap;
        gap: 5px;
        flex: 1;
        min-width: 0;
    }

    .article-tag {
        font-size: 11px;
        padding: 4px 8px;
        border-radius: 7px;
        min-height: unset;
        height: auto;
    }

    .article-read-link {
        font-size: 11.5px;
        padding: 8px 12px;
        border-radius: 9px;
        gap: 5px;
        flex-shrink: 0;
        white-space: nowrap;
        min-height: unset;
    }

    .article-read-link svg { width: 12px; height: 12px; }

    /* ── Sidebar: 1 колонка ── */
    .news-sidebar { grid-template-columns: 1fr; }

    /* ── Pagination ── */
    .pagination { gap: 5px; margin-top: 24px; }

    /* ── Search banner ── */
    .search-result-banner {
        flex-wrap: wrap;
        gap: 6px;
        padding: 10px 12px;
        font-size: 12px;
    }

    /* ── News badges ── */
    .news-badge {
        font-size: 9.5px;
        padding: 4px 9px;
        letter-spacing: .06em;
    }
}

/* ══════════════════════════════════════════════════════════
   СМАРТФОН УЗКИЙ: ≤ 480px
══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

    .news-page-hero { padding: 14px 0 8px; }

    /* Убираем stats на очень маленьких — они дублируют счётчики из hero-text */
    .news-page-stats { display: none; }

    .news-page-eyebrow { margin-bottom: 8px; }

    /* ── Article footer: теги на отдельной строке, кнопка полная ширина ── */
    .article-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .article-tags {
        flex-wrap: wrap;
        gap: 5px;
    }

    .article-read-link {
        width: 100%;
        justify-content: center;
        padding: 11px 16px;
        font-size: 13px;
    }

    /* ── Pagination ── */
    .page-btn {
        min-width: 40px;
        height: 40px;
        font-size: 13px;
        border-radius: 10px;
    }

    .page-dots { display: none; }

    .search-result-clear {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    /* ── Cat tabs ── */
    .cat-tab {
        padding: 7px 11px;
        font-size: 11.5px;
    }
}

/* ══════════════════════════════════════════════════════════
   ОЧЕНЬ МАЛЕНЬКИЙ: ≤ 360px
══════════════════════════════════════════════════════════ */
@media (max-width: 360px) {

    .news-page-hero { padding: 10px 0 6px; }

    .news-page-h1 {
        font-size: 22px;
        letter-spacing: -.025em;
    }

    .news-page-eyebrow { display: none; }

    .cat-tab {
        padding: 7px 10px;
        font-size: 11px;
    }

    .article-card { padding: 14px 12px; }
    .article-title { font-size: 14px; }
    .article-meta .news-date { font-size: 11px; }

    .news-badge { font-size: 9px; padding: 3px 8px; }
    .article-tag { font-size: 10.5px; padding: 3px 7px; }

    .page-btn {
        min-width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .filter-search-input { font-size: 13px; }
}

/* ══════════════════════════════════════════════════════════
   TOUCH DEVICES
══════════════════════════════════════════════════════════ */
@media (hover: none) and (pointer: coarse) {

    /* Карточки: убираем hover-трансформации (нет залипания на iOS) */
    .article-card:hover {
        transform: none;
        border-color: var(--border-light);
        box-shadow: var(--shadow-sm);
    }

    .article-card:active {
        transform: scale(.985);
        border-color: rgba(255,107,0,.2);
        transition: transform .12s;
    }

    .article-card:hover::before { transform: scaleY(0); }
    .article-card:hover::after  { opacity: 0; }

    /* Минимальная зона касания — только интерактивные элементы */
    .cat-tab        { min-height: 42px; }
    .page-btn       { min-height: 44px; }
    .article-read-link { min-height: 44px; }

    /* Теги — НЕ растягиваем */
    .article-tag,
    .trending-tag-pill,
    .news-badge {
        min-height: unset;
        height: auto;
    }

    /* Отключаем ненужные hover на остальных элементах */
    .sidebar-ad-banner:hover  { transform: none; }
    .trending-tag-pill:hover  { transform: none; }
    .popular-item:hover       { transform: none; }
    .stat-pill:hover          { transform: none; box-shadow: 0 2px 8px rgba(10,14,39,.06); }

    .popular-item:hover::before { transform: scaleY(0); }
}

/* ══════════════════════════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ══════════════════════════════════════════════════════════
   PRINT
══════════════════════════════════════════════════════════ */
@media print {
    .filter-bar,
    .news-sidebar,
    .pagination,
    .sidebar-ad-banner,
    .breadcrumbs { display: none !important; }

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

    .article-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}