
.news-hero { padding: 120px 0 80px; background: var(--white); position: relative; overflow: hidden; }
.news-hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 60% 80% at 90% 20%, rgba(99,102,241,.09) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(6,182,212,.07) 0%, transparent 60%);
}
.news-hero-inner { position: relative; z-index: 1; }
.news-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(99,102,241,.08); border: 1px solid rgba(99,102,241,.18);
    border-radius: var(--rfull); padding: 5px 16px;
    font-size: .78rem; font-weight: 700; color: var(--p);
    letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px;
}
.news-hero-h1 {
    font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 900; color: var(--t9);
    letter-spacing: -.04em; line-height: 1.1; margin-bottom: 18px;
}
.news-hero-sub { font-size: 1.0625rem; color: var(--t5); line-height: 1.75; max-width: 580px; margin-bottom: 36px; }
.news-hero-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.news-count { font-size: .875rem; color: var(--t5); }
.news-count strong { color: var(--t9); font-weight: 700; }

.filter-bar { background: var(--white); border-bottom: 1px solid var(--bdr); position: sticky; top: 64px; z-index: 100; }
.filter-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; gap: 4px;
    overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.filter-inner::-webkit-scrollbar { display: none; }
.filter-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 16px 16px; font-size: .875rem; font-weight: 600; color: var(--t5);
    border: none; border-bottom: 2px solid transparent; background: none;
    cursor: pointer; white-space: nowrap; flex-shrink: 0;
    transition: color var(--tr), border-color var(--tr);
    font-family: inherit;
}
.filter-btn:hover { color: var(--p); }
.filter-btn.active { color: var(--p); border-bottom-color: var(--p); }
.fbadge { background: var(--alt); color: var(--t5); font-size: .7rem; font-weight: 700; padding: 1px 7px; border-radius: var(--rfull); }
.filter-btn.active .fbadge { background: rgba(99,102,241,.1); color: var(--p); }

.news-page-wrap { padding: 52px 0 88px; }
.news-page-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }

.ntag {
    display: inline-flex; align-items: center; padding: 4px 12px;
    border-radius: var(--rfull); font-size: .7rem; font-weight: 700;
    letter-spacing: .04em; text-transform: uppercase;
}
.ntag-p   { background: var(--p);    color: #fff; }
.ntag-s   { background: var(--ok);   color: #fff; }
.ntag-w   { background: var(--warn); color: #fff; }
.ntag-a   { background: var(--acc);  color: #fff; }
.ntag-e   { background: var(--err);  color: #fff; }
.ntag-sec { background: var(--sec);  color: #fff; }

.nmeta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ndate, .nread { font-size: .75rem; color: var(--t5); display: flex; align-items: center; gap: 4px; }
.nlink {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .875rem; font-weight: 700; color: var(--p);
    transition: gap .2s, color .2s; text-decoration: none;
}
.nlink:hover { color: var(--pd); gap: 10px; }

.ng1 { background: linear-gradient(135deg,#6366f1,#a855f7); }
.ng2 { background: linear-gradient(135deg,#10b981,#06b6d4); }
.ng3 { background: linear-gradient(135deg,#f59e0b,#ef4444); }
.ng4 { background: linear-gradient(135deg,#3b82f6,#8b5cf6); }
.ng5 { background: linear-gradient(135deg,#6366f1,#3b82f6); }
.ng6 { background: linear-gradient(135deg,#10b981,#059669); }
.ng7 { background: linear-gradient(135deg,#f59e0b,#f97316); }
.ng8 { background: linear-gradient(135deg,#ec4899,#f97316); }
.ng9 { background: linear-gradient(135deg,#8b5cf6,#06b6d4); }

.section-label {
    font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--t5); margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--bdr); }

.ncard-hero {
    background: var(--white); border: 1px solid var(--bdr); border-radius: var(--r24);
    overflow: hidden; margin-bottom: 32px;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.ncard-hero:hover { transform: translateY(-4px); box-shadow: var(--sh3); border-color: rgba(99,102,241,.25); }
.ncard-hero-img { height: 300px; width: 100%; position: relative; }
.ncard-hero-img .ntag { position: absolute; top: 20px; left: 20px; }
.ncard-hero-img,
.ncard-std-img,
.ncard-row-img,
.ncard-related-img {
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}
.ncard-hero-body { padding: 34px; }
.ncard-hero h2 { font-size: 1.55rem; font-weight: 800; color: var(--t9); line-height: 1.35; margin: 14px 0 10px; }
.ncard-hero p  { font-size: .9375rem; color: var(--t5); line-height: 1.75; margin-bottom: 22px; }

.news-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }
.ncard-std {
    background: var(--white); border: 1px solid var(--bdr); border-radius: var(--r20);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.ncard-std:hover { transform: translateY(-4px); box-shadow: var(--sh3); border-color: rgba(99,102,241,.25); }
.ncard-std-img { height: 160px; position: relative; flex-shrink: 0; }
.ncard-std-img .ntag { position: absolute; top: 12px; left: 12px; }
.ncard-std-body { padding: 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.ncard-std h3 { font-size: 1rem; font-weight: 700; color: var(--t9); line-height: 1.45; }
.ncard-std p  { font-size: .875rem; color: var(--t5); line-height: 1.65; flex: 1; }

.news-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.ncard-row {
    background: var(--white); border: 1px solid var(--bdr); border-radius: var(--r16);
    display: flex; align-items: stretch; overflow: hidden;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.ncard-row:hover { transform: translateY(-3px); box-shadow: var(--sh2); border-color: rgba(99,102,241,.25); }
.ncard-row-img { width: 140px; min-width: 140px; flex-shrink: 0; position: relative; }
.ncard-row-img .ntag { position: absolute; top: 10px; left: 10px; }
.ncard-row-body { padding: 18px 22px; display: flex; flex-direction: column; justify-content: center; gap: 7px; flex: 1; }
.ncard-row h3 { font-size: 1rem; font-weight: 700; color: var(--t9); line-height: 1.4; }
.ncard-row p  { font-size: .875rem; color: var(--t5); line-height: 1.65; }
.ncard-row-meta { display: flex; align-items: center; gap: 14px; margin-top: 4px; flex-wrap: wrap; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 48px; }
.pag-btn {
    min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--r12);
    display: flex; align-items: center; justify-content: center;
    font-size: .875rem; font-weight: 600; border: 1.5px solid var(--bdr);
    color: var(--t7); background: var(--white); cursor: pointer;
    transition: all var(--tr); gap: 6px; text-decoration: none; font-family: inherit;
}
.pag-btn:hover { border-color: var(--p); color: var(--p); }
.pag-btn.active { background: var(--gp); color: #fff; border-color: transparent; box-shadow: 0 4px 12px rgba(99,102,241,.3); }
.pag-btn.disabled { opacity: .4; pointer-events: none; }

.newsletter-banner {
    background: linear-gradient(135deg, rgba(99,102,241,.06), rgba(139,92,246,.06));
    border: 1px solid rgba(99,102,241,.15); border-radius: var(--r24);
    padding: 40px 48px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.newsletter-ico {
    width: 60px; height: 60px; background: var(--gp); border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #fff; flex-shrink: 0;
}
.newsletter-text { flex: 1; min-width: 200px; }
.newsletter-text h3 { font-size: 1.25rem; font-weight: 700; color: var(--t9); margin-bottom: 6px; }
.newsletter-text p  { font-size: .9rem; color: var(--t5); }

.sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 120px; }
.sbar-block { background: var(--white); border: 1px solid var(--bdr); border-radius: var(--r20); overflow: hidden; }
.sbar-head {
    padding: 18px 20px 14px; border-bottom: 1px solid var(--bdr);
    font-size: .9375rem; font-weight: 700; color: var(--t9);
    display: flex; align-items: center; gap: 8px;
}
.sbar-head i { color: var(--p); }
.sbar-body { padding: 16px 20px 20px; }

.sbar-tg { background: var(--gp); border: none; }
.sbar-tg-inner { padding: 28px 24px; text-align: center; }
.sbar-tg-ico {
    width: 56px; height: 56px; background: rgba(255,255,255,.15); border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #fff; margin: 0 auto 16px;
}
.sbar-tg h4 { font-size: 1.0625rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.sbar-tg p  { font-size: .875rem; color: rgba(255,255,255,.82); line-height: 1.6; margin-bottom: 20px; }
.btn-tg-white {
    background: #fff; color: var(--p); border-radius: var(--rfull);
    padding: 10px 22px; font-size: .875rem; font-weight: 700;
    display: inline-flex; align-items: center; gap: 7px;
    transition: all var(--tr); text-decoration: none;
}
.btn-tg-white:hover { background: rgba(255,255,255,.9); transform: translateY(-2px); }

.pop-list { display: flex; flex-direction: column; gap: 0; }
.pop-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--bdr); }
.pop-item:last-child { border-bottom: none; padding-bottom: 0; }
.pop-num {
    width: 28px; height: 28px; border-radius: 8px;
    background: rgba(99,102,241,.08); color: var(--p);
    font-size: .78rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.pop-text { flex: 1; }
.pop-text h5 {
    font-size: .875rem; font-weight: 600; color: var(--t9); line-height: 1.4;
    margin-bottom: 4px; cursor: pointer; transition: color var(--tr);
}
.pop-text h5:hover { color: var(--p); }
.pop-text span { font-size: .75rem; color: var(--t5); }

.tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-chip {
    padding: 5px 14px; border-radius: var(--rfull); font-size: .78rem; font-weight: 600;
    background: var(--alt); color: var(--t7); border: 1px solid var(--bdr);
    cursor: pointer; transition: all var(--tr);
}
.tag-chip:hover { background: rgba(99,102,241,.1); border-color: rgba(99,102,241,.3); color: var(--p); }

.sbar-try { border: 1px solid rgba(99,102,241,.2); background: linear-gradient(135deg, rgba(99,102,241,.04), rgba(139,92,246,.04)); }
.sbar-try-body { padding: 24px; text-align: center; }
.sbar-try-body .sbar-emoji { font-size: 2rem; margin-bottom: 12px; display: block; }
.sbar-try-body h4 { font-size: 1rem; font-weight: 700; color: var(--t9); margin-bottom: 8px; }
.sbar-try-body p  { font-size: .85rem; color: var(--t5); margin-bottom: 16px; line-height: 1.6; }
.sbar-try-body .btn { width: 100%; justify-content: center; }

@media(max-width: 1024px) {
    .news-page-grid { grid-template-columns: 1fr; }
    .sidebar { position: static; top: auto; }
    .news-cards-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 768px) {
    .news-hero { padding: 100px 0 52px; }
    .news-hero-h1 { font-size: 1.9rem; }
    .news-cards-grid { grid-template-columns: 1fr; }
    .ncard-row { flex-direction: column; }
    .ncard-row-img { width: 100%; height: 140px; min-width: unset; }
    .newsletter-banner { flex-direction: column; text-align: center; padding: 28px 24px; }
    .newsletter-banner .btn { width: 100%; max-width: 300px; justify-content: center; }
}
@media(max-width: 480px) {
    .ncard-hero-body { padding: 20px; }
    .ncard-hero h2 { font-size: 1.2rem; }
}