/* News articles and the news listing (tools/upgrade_news.py, js/news-page.js). Added 2026-11-29. */
.nw-brief{background:#f1f7fb;border:1px solid #d8e6f0;border-left:4px solid #ed4d50;border-radius:14px;padding:1rem 1.2rem;margin:0 0 1.6rem;font-family:'Hind Siliguri',sans-serif}
.nw-brief-h{display:flex;flex-wrap:wrap;gap:.4rem 1rem;justify-content:space-between;align-items:center;margin:0 0 .5rem}
.nw-brief-h b{color:#152e40;font-size:1.05rem}
.nw-brief-h b i{color:#ed4d50;margin-right:.3rem}
.nw-brief-h span{font-size:.85rem;color:#64748b}
.nw-brief p{margin:0 0 .6rem;color:#334155;line-height:1.7}
.nw-toc{border-top:1px solid #d8e6f0;padding-top:.7rem;margin-top:.2rem}
.nw-toc b{display:block;color:#152e40;font-size:.95rem;margin-bottom:.3rem}
.nw-toc ol{margin:0;padding-left:1.3rem;columns:2;column-gap:2rem}
.nw-toc li{margin-bottom:.25rem;break-inside:avoid;font-size:.95rem}
.nw-toc a{color:#21506e;text-decoration:none}
.nw-toc a:hover{text-decoration:underline}
.post-body h3[id^="nw-"]{scroll-margin-top:100px}
.nw-old{background:#fff7e6;border:1px solid #f3d9a4;border-radius:12px;padding:.7rem 1rem;margin:0 0 1.4rem;font-family:'Hind Siliguri',sans-serif;color:#7a4b00;font-size:.95rem}
.nw-old i{margin-right:.3rem}
.nw-guides{margin:2rem 0;padding-top:1.4rem;border-top:1px solid #e2e8f0;font-family:'Hind Siliguri',sans-serif}
.nw-guides h3,.nw-more h3{margin:0 0 .8rem;color:#152e40;font-size:1.25rem;font-family:'Hind Siliguri',sans-serif}
.nw-links{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}
.nw-links a{display:block;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:.9rem 1rem;text-decoration:none;color:#334155;min-width:0}
.nw-links a:hover{border-color:#152e40}
.nw-links i{color:#ed4d50;margin-right:.4rem}
.nw-links b{color:#152e40}
.nw-links span{display:block;font-size:.88rem;color:#64748b;margin-top:.15rem}
.nw-note{margin:1rem 0 0;font-size:.9rem;color:#475569;background:#f8fafc;border-radius:10px;padding:.7rem .9rem}
.nw-note i{color:#21506e;margin-right:.3rem}
.nw-more{margin-top:2.4rem;padding-top:1.4rem;border-top:1px solid #e2e8f0}
.nw-more .news-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.nw-more .news-content h3{font-size:1rem}
.nw-more .news-content p{display:none}
.nw-more .news-image{height:130px}
.nw-pn{display:grid;grid-template-columns:1fr 1fr;gap:.8rem;margin:1.4rem 0 0;font-family:'Hind Siliguri',sans-serif}
.nw-pn a{display:block;border:1px solid #e2e8f0;border-radius:12px;padding:.8rem 1rem;text-decoration:none;color:#152e40;font-weight:700;font-size:.95rem;min-width:0}
.nw-pn a:hover{border-color:#152e40}
.nw-pn a.next{text-align:right}
.nw-pn small{display:block;font-weight:500;color:#64748b;margin-bottom:.2rem}
.social-share .nw-copied{font-size:.85rem;color:#17784f;font-weight:700;font-family:'Hind Siliguri',sans-serif}
/* listing */
.nw-tools{display:flex;gap:.7rem;flex-wrap:wrap;max-width:820px;margin:0 auto 1rem}
.nw-search{flex:1 1 280px;display:flex;align-items:center;gap:.6rem;border:1px solid #cbd5e1;border-radius:12px;padding:0 .9rem;background:#fff;min-width:0}
.nw-search i{color:#64748b}
.nw-search input{flex:1;border:0;outline:0;padding:.75rem 0;font:inherit;font-family:'Hind Siliguri',sans-serif;min-width:0;background:transparent}
.nw-tools select{flex:0 1 240px;border:1px solid #cbd5e1;border-radius:12px;padding:.7rem .8rem;font:inherit;background:#fff;color:#152e40;min-width:0}
.nw-count{text-align:center;color:#475569;margin:0 0 1.4rem;font-family:'Hind Siliguri',sans-serif}
.nw-morebtn{text-align:center;margin:2rem 0 0}
.nw-morebtn .btn-secondary{color:#152e40;border-color:#152e40;cursor:pointer;font-family:'Hind Siliguri',sans-serif}
.nw-morebtn .btn-secondary:hover{background:#152e40;color:#fff}
@media (max-width:1007px){.nw-more .news-grid{grid-template-columns:1fr}.nw-more .news-image{height:160px}}
@media (max-width:640px){.nw-toc ol{columns:1}.nw-links,.nw-pn{grid-template-columns:1fr}.nw-pn a.next{text-align:left}}
.news-filter a i{margin-right:.35rem}
