/* Yangiliklar nashri qobig'i — NEWS_REJA N2.
   Ranglar FAQAT tokenlardan (base.css): dark mode o'zi ishlaydi.
   Kenglik: 1200px — o'qish uchun; base .container (1280) dan biroz tor. */

.nw { background: var(--bg); min-height: 60vh; }
.nw-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 768px) { .nw-wrap { padding: 0 12px; } }

/* ── Subnav ── */
.nw-subnav {
    background: var(--surface); border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 30;
}
.nw-subnav-in { display: flex; align-items: center; gap: .5rem; height: 52px; }
.nw-mark {
    display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; font-size: .95rem;
    color: var(--text); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; padding-right: .75rem;
    border-right: 1px solid var(--border); margin-right: .25rem;
}
.nw-mark-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--primary-glow); }
.nw-mark:hover { color: var(--text); text-decoration: none; }
.nw-sections {
    display: flex; align-items: center; gap: .15rem; overflow-x: auto; flex: 1; min-width: 0;
    scrollbar-width: none; -ms-overflow-style: none;
}
.nw-sections::-webkit-scrollbar { display: none; }
.nw-sec {
    font-size: .86rem; font-weight: 600; color: var(--text-2); text-decoration: none; white-space: nowrap;
    padding: .38rem .7rem; border-radius: 999px; transition: background .15s, color .15s;
}
.nw-sec:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.nw-sec.is-on { background: var(--text); color: var(--on-inverse); }
.nw-search { display: flex; align-items: center; background: var(--surface-2); border-radius: 999px; padding: 0 .25rem 0 .8rem; height: 34px; flex: 0 0 auto; }
.nw-search input { border: 0; background: transparent; outline: 0; font-size: .85rem; color: var(--text); width: 150px; }
.nw-search input::placeholder { color: var(--text-3); }
.nw-search button { border: 0; background: transparent; color: var(--text-2); width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.nw-search button:hover, .nw-search button:focus-visible { background: var(--surface-3); color: var(--text); }
.nw-rss { color: var(--text-3); font-size: 1rem; padding: .3rem .4rem; border-radius: 8px; text-decoration: none; }
.nw-rss:hover { color: var(--warning); text-decoration: none; }
@media (max-width: 992px) { .nw-search input { width: 110px; } }
@media (max-width: 768px) {
    .nw-subnav { position: static; }
    .nw-subnav-in { height: auto; flex-wrap: wrap; padding: .5rem 0; gap: .4rem; }
    .nw-mark { border-right: 0; margin-right: 0; padding-right: 0; }
    .nw-sections { order: 3; flex-basis: 100%; }
    .nw-search { margin-left: auto; }
    .nw-search input { width: 90px; }
}

/* ── Asosiy joy ── */
.nw-main { padding: 1.5rem 20px 3rem; }
@media (max-width: 768px) { .nw-main { padding: 1rem 12px 2rem; } }

/* Sarlavha bloki (ro'yxat sahifalari) */
.nw-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .6rem 1rem; margin-bottom: 1.1rem; }
.nw-head h1 { font-size: clamp(1.45rem, 2.8vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 0; color: var(--text); text-wrap: balance; }
.nw-head .nw-sub { color: var(--text-2); font-size: .95rem; margin-top: .3rem; max-width: 68ch; }
.nw-crumb { font-size: .8rem; color: var(--text-3); margin-bottom: .6rem; }
.nw-crumb a { color: var(--text-3); text-decoration: none; }
.nw-crumb a:hover { color: var(--brand-2); }

/* Filtr chiplar (news_list) */
.nw-chips { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .4rem; margin-bottom: 1rem; scrollbar-width: none; }
.nw-chips::-webkit-scrollbar { display: none; }
.nw-chip { font-size: .84rem; font-weight: 600; padding: .42rem .95rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); text-decoration: none; white-space: nowrap; }
.nw-chip:hover { border-color: var(--border-2); color: var(--text); text-decoration: none; }
.nw-chip.is-on { background: var(--text); border-color: var(--text); color: var(--on-inverse); }

/* Kartalar (mavjud _article_cards.html bilan mos) */
.news-thumb { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.news-grid .card { transition: transform .18s ease, box-shadow .18s ease; border: 1px solid var(--border) !important; background: var(--surface); }
.news-grid .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md) !important; }
.news-grid .card-title-sm { font-size: .93rem; line-height: 1.35; min-height: 5.4em; }
.news-grid .card-title-sm a { color: var(--text) !important; }
@media (max-width: 768px) { .news-grid .card-title-sm { font-size: .88rem; min-height: 3.8em; } }

/* SEO matn (bo'lim tavsifi) */
.news-seo { max-width: 72ch; color: var(--text-2); line-height: 1.7; }

/* Pagination — Bootstrap utility yo'q: JS `display:none` qila olsin (d-flex !important ustun kelardi) */
.news-pag { display: flex; justify-content: center; align-items: center; gap: .5rem; padding: 1.5rem 0; }
.news-pag-btn { border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 999px; padding: .45rem 1rem; font-weight: 700; font-size: .88rem; text-decoration: none; }
.news-pag-btn:hover { border-color: var(--border-2); background: var(--surface-2); color: var(--text); text-decoration: none; }
.news-pag-n { color: var(--text-3); font-size: .82rem; padding: 0 .5rem; font-variant-numeric: tabular-nums; }

/* Reklama joyi — N5 gacha bo'sh; kampaniya bo'lsa balandlik band (CLS) */
.nw-ad { position: relative; margin: 1rem auto; text-align: center; }
.nw-ad-label { position: absolute; top: 4px; right: 6px; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }

/* ── Nashr futeri ── */
.nw-foot { border-top: 1px solid var(--border); background: var(--surface); }
.nw-foot-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; padding: 1.6rem 20px; }
.nw-foot-h { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: .6rem; }
.nw-foot-links { display: flex; flex-wrap: wrap; gap: .35rem .9rem; }
.nw-foot-links a { font-size: .86rem; color: var(--text-2); text-decoration: none; }
.nw-foot-links a:hover { color: var(--brand-2); }
@media (max-width: 768px) { .nw-foot-in { grid-template-columns: 1fr; gap: 1rem; padding: 1.2rem 12px; } }

/* ═══════════ N3 — bosh sahifa ═══════════ */

/* Ticker: yaqin sanalar */
.nw-ticker { display: flex; align-items: center; gap: .75rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: .45rem .5rem .45rem .9rem; margin-bottom: 1.25rem; }
.nw-ticker-h { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; display: inline-flex; align-items: center; gap: .35rem; }
.nw-ticker-h i { color: var(--brand); }
.nw-ticker-row { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.nw-ticker-row::-webkit-scrollbar { display: none; }
.nw-ticker-item { white-space: nowrap; font-size: .82rem; color: var(--text-2); background: var(--surface-2); border-radius: 999px; padding: .3rem .75rem; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.nw-ticker-item b { color: var(--text); font-weight: 700; }
.nw-ticker-item:hover { background: var(--surface-3); text-decoration: none; color: var(--text); }
.nw-ticker-days { font-size: .72rem; font-weight: 700; color: var(--brand-2); }
.nw-ticker-item.is-soon .nw-ticker-days { color: var(--danger); }
@media (max-width: 768px) { .nw-ticker { border-radius: 12px; padding: .4rem .5rem .4rem .7rem; } .nw-ticker-h span { display: none; } }

/* Teg / chip (bo'lim, qo'llanma, muhim) */
.nw-tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-2); text-decoration: none; }
.nw-tag:hover { color: var(--brand-2); text-decoration: underline; }
.nw-tag--guide { color: var(--info); }
.nw-tag--hot { color: var(--danger); }
.nw-row-top { display: flex; gap: .7rem; align-items: center; margin-bottom: .35rem; }
.nw-row-meta { display: flex; gap: .4rem; align-items: center; font-size: .76rem; color: var(--text-3); margin-top: .4rem; }
.nw-row-meta time { color: var(--text-3); }

/* Hero */
.nw-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem; margin-bottom: 2rem; }
.nw-top-img { display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); aspect-ratio: 1200 / 630; }
.nw-top-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nw-top-body { padding-top: .9rem; }
.nw-top-title { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.18; margin: 0; text-wrap: balance; }
.nw-top-title a { color: var(--text); text-decoration: none; }
.nw-top-title a:hover { color: var(--brand-2); }
.nw-top-lead { color: var(--text-2); font-size: 1rem; line-height: 1.6; margin: .55rem 0 0; max-width: 62ch; }
.nw-sec-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border); }
.nw-mini { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: .85rem; padding: .8rem 0; border-bottom: 1px solid var(--border); align-items: start; }
.nw-mini-img { display: block; border-radius: 10px; overflow: hidden; background: var(--surface-2); aspect-ratio: 1200 / 630; }
.nw-mini-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nw-mini-cat { font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-2); }
.nw-mini-title { font-size: .95rem; font-weight: 700; line-height: 1.35; margin: .15rem 0 0; }
.nw-mini-title a { color: var(--text); text-decoration: none; }
.nw-mini-title a:hover { color: var(--brand-2); }
.nw-mini .nw-row-meta { margin-top: .25rem; }
@media (max-width: 992px) { .nw-hero { grid-template-columns: 1fr; gap: 1rem; } .nw-sec-list { border-top: 0; } }

/* Oqim + o'ng ustun */
.nw-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; align-items: start; }
.nw-side { position: sticky; top: 64px; display: flex; flex-direction: column; gap: 1rem; }
@media (max-width: 992px) { .nw-cols { grid-template-columns: 1fr; gap: 1.5rem; } .nw-side { position: static; } }
.nw-h2 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; margin: 0; }
.nw-h2 a { color: var(--text); text-decoration: none; }
.nw-feed-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .6rem; border-bottom: 2px solid var(--text); margin-bottom: .25rem; }
.nw-chips--sm { margin: 0; padding: 0; }
.nw-chips--sm .nw-chip { font-size: .76rem; padding: .3rem .7rem; }

.nw-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.nw-row-img { display: block; border-radius: 12px; overflow: hidden; background: var(--surface-2); aspect-ratio: 1200 / 630; }
.nw-row-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.nw-row:hover .nw-row-img img { transform: scale(1.03); }
.nw-row-noimg { display: flex; align-items: center; justify-content: center; height: 100%; font-size: .72rem; font-weight: 700; color: var(--text-3); }
.nw-row-title { font-size: 1.08rem; font-weight: 700; line-height: 1.3; margin: 0; letter-spacing: -.01em; }
.nw-row-title a { color: var(--text); text-decoration: none; }
.nw-row-title a:hover { color: var(--brand-2); }
.nw-row-lead { color: var(--text-2); font-size: .9rem; line-height: 1.55; margin: .4rem 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 640px) {
    .nw-row { grid-template-columns: 120px minmax(0, 1fr); gap: .75rem; padding: .8rem 0; }
    .nw-row-title { font-size: .95rem; }
    .nw-row-lead { display: none; }
}
.nw-empty { text-align: center; color: var(--text-3); padding: 3rem 0; }
.nw-sentinel { text-align: center; padding: 1rem 0; }

/* O'ng ustun qutilari */
.nw-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem 1.1rem; }
.nw-box-h { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text); margin-bottom: .6rem; display: flex; align-items: center; gap: .4rem; }
.nw-box-h i { color: var(--brand); }
.nw-box-h small { font-weight: 600; color: var(--text-3); letter-spacing: 0; text-transform: none; }
.nw-mr { list-style: none; margin: 0; padding: 0; counter-reset: mr; }
.nw-mr li { counter-increment: mr; display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .5rem; padding: .5rem 0; border-top: 1px solid var(--border); font-size: .9rem; line-height: 1.35; }
.nw-mr li:first-child { border-top: 0; padding-top: 0; }
.nw-mr li::before { content: counter(mr); font-weight: 800; color: var(--brand); font-size: 1.05rem; line-height: 1.2; }
.nw-mr a { color: var(--text); text-decoration: none; font-weight: 600; }
.nw-mr a:hover { color: var(--brand-2); }
.nw-cal { list-style: none; margin: 0; padding: 0; }
.nw-cal li { border-top: 1px solid var(--border); }
.nw-cal li:first-child { border-top: 0; }
.nw-cal a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: .7rem; align-items: center; padding: .5rem 0; text-decoration: none; color: var(--text); }
.nw-cal-d { text-align: center; background: var(--surface-2); border-radius: 10px; padding: .25rem 0; font-weight: 800; font-size: 1.05rem; line-height: 1; }
.nw-cal-d small { display: block; font-size: .62rem; font-weight: 700; text-transform: uppercase; color: var(--text-3); margin-top: .15rem; }
.nw-cal-t b { display: block; font-size: .88rem; font-weight: 700; }
.nw-cal-t small { color: var(--text-3); font-size: .74rem; }
.nw-box-more { display: inline-block; margin-top: .6rem; font-size: .82rem; font-weight: 700; color: var(--brand-2); text-decoration: none; }
.nw-box-more:hover { text-decoration: underline; }
.nw-tg { display: flex; align-items: center; gap: .8rem; background: var(--inverse); color: var(--on-inverse); border-radius: var(--radius-lg); padding: .9rem 1.1rem; text-decoration: none; }
.nw-tg:hover { color: var(--on-inverse); text-decoration: none; opacity: .94; }
.nw-tg i { font-size: 1.6rem; color: var(--brand); }
.nw-tg b { display: block; font-size: .95rem; }
.nw-tg small { color: var(--text-3); font-size: .78rem; }

/* Bo'lim bloklari */
.nw-block { margin-top: 2.25rem; }
.nw-block-h { display: flex; align-items: center; justify-content: space-between; padding-bottom: .6rem; border-bottom: 2px solid var(--text); margin-bottom: 1rem; }
.nw-block-h .nw-box-more { margin: 0; }
.nw-block-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.nw-card-img { display: block; border-radius: 12px; overflow: hidden; background: var(--surface-2); aspect-ratio: 1200 / 630; margin-bottom: .6rem; }
.nw-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nw-card-title { font-size: 1rem; font-weight: 700; line-height: 1.35; margin: 0; }
.nw-card-title a { color: var(--text); text-decoration: none; }
.nw-card-title a:hover { color: var(--brand-2); }
@media (max-width: 768px) { .nw-block-grid { grid-template-columns: 1fr 1fr; gap: .9rem; } .nw-card-title { font-size: .9rem; } }
@media (max-width: 480px) { .nw-block-grid { grid-template-columns: 1fr; } }

/* ═══════════ N4 — maqola sahifasi ═══════════ */
.nw-art-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2.5rem; align-items: start; }
.nw-art { max-width: 760px; min-width: 0; }
.nw-art-side { position: sticky; top: 64px; display: flex; flex-direction: column; gap: 1rem; }
@media (max-width: 992px) { .nw-art-cols { grid-template-columns: 1fr; gap: 1.5rem; } .nw-art { max-width: none; } .nw-art-side { position: static; } }

.nw-art-h1 { font-size: clamp(1.55rem, 3.2vw, 2.35rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.18; margin: .3rem 0 .7rem; color: var(--text); text-wrap: balance; }
.nw-art-lead { font-size: 1.12rem; line-height: 1.6; color: var(--text-2); margin: 0 0 1.1rem; max-width: 66ch; }

.nw-art-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; padding: .85rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 1.25rem; }
.nw-author { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.nw-author-img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.nw-author-img--brand { background: var(--brand); color: var(--on-brand); font-size: 1.05rem; }
.nw-author-name { font-weight: 800; color: var(--text); text-decoration: none; font-size: .95rem; }
.nw-author-name:hover { color: var(--brand-2); }
.nw-author-meta { display: flex; flex-wrap: wrap; gap: .35rem; font-size: .78rem; color: var(--text-3); }

.nw-actions { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.nw-act { display: inline-flex; align-items: center; gap: .35rem; height: 36px; padding: 0 .75rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-size: .86rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.nw-act:hover { background: var(--surface-2); color: var(--text); border-color: var(--border-2); }
.nw-act.is-on { color: var(--danger); border-color: var(--danger-bg); background: var(--danger-bg); }
.nw-act[data-act="save"].is-on { color: var(--brand-2); border-color: var(--success-bg); background: var(--success-bg); }
.nw-act--static { cursor: default; }
.nw-act--static:hover { background: var(--surface); color: var(--text-2); border-color: var(--border); }
.nw-act-n { font-variant-numeric: tabular-nums; }
.nw-google { display: inline-flex; align-items: center; gap: .4rem; height: 36px; padding: 0 .85rem; border-radius: 999px; background: var(--info-bg); color: var(--info-text); font-size: .84rem; font-weight: 700; text-decoration: none; }
.nw-google:hover { color: var(--info-text); text-decoration: none; filter: brightness(.97); }
@media (max-width: 480px) { .nw-google span { display: none; } .nw-google { padding: 0 .65rem; } }
.nw-share-wrap { position: relative; }
.nw-share { position: absolute; top: calc(100% + 6px); right: 0; z-index: 40; min-width: 210px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-md); padding: .4rem; display: grid; }
.nw-share a, .nw-share button { display: flex; align-items: center; gap: .55rem; padding: .5rem .7rem; border-radius: 9px; border: 0; background: transparent; color: var(--text); font-size: .88rem; font-weight: 600; text-decoration: none; text-align: left; cursor: pointer; }
.nw-share a:hover, .nw-share button:hover { background: var(--surface-2); text-decoration: none; }
.nw-share i { width: 1.2em; text-align: center; color: var(--text-2); }
.nw-toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 12px); background: var(--inverse); color: var(--on-inverse); padding: .6rem 1rem; border-radius: 999px; font-size: .86rem; font-weight: 600; opacity: 0; transition: opacity .2s, transform .2s; z-index: 1000; pointer-events: none; }
.nw-toast.is-in { opacity: 1; transform: translate(-50%, 0); }

.nw-art-fig { margin: 0 0 1.4rem; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); aspect-ratio: 1200 / 630; }
.nw-art-fig img { width: 100%; height: 100%; object-fit: cover; display: block; }

.nw-summary { background: var(--brand-soft, var(--success-bg)); border-left: 4px solid var(--brand); border-radius: 0 14px 14px 0; padding: .9rem 1.1rem; margin: 0 0 1.3rem; }
.nw-summary-h { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-2); margin-bottom: .4rem; }
.nw-summary ul { margin: 0; padding-left: 1.1rem; }
.nw-summary li { margin: .25rem 0; font-size: .97rem; line-height: 1.55; color: var(--text); }
.nw-toc { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: .85rem 1.1rem; margin: 0 0 1.4rem; }
.nw-toc-h { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: .4rem; }
.nw-toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 1.5rem; }
.nw-toc li { font-size: .9rem; line-height: 1.5; margin: .15rem 0; break-inside: avoid; }
.nw-toc a { color: var(--text); text-decoration: none; }
.nw-toc a:hover { color: var(--brand-2); }
@media (max-width: 640px) { .nw-toc ol { columns: 1; } }

/* Matn (article_detail'dan ko'chirildi — faqat tokenlar) */
.article-content { font-size: 1.08rem; line-height: 1.8; color: var(--dark-700); }
.article-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 24px 0; }
.article-content h2 { font-weight: 800; font-size: 1.45rem; letter-spacing: -.01em; margin: 2.2rem 0 .9rem; color: var(--text); scroll-margin-top: 80px; }
.article-content h3 { font-weight: 800; font-size: 1.15rem; margin: 1.6rem 0 .6rem; color: var(--text); }
.article-content p { margin-bottom: 1.15rem; }
.article-content p > strong:only-child { display: block; font-size: 1.18rem; font-weight: 800; color: var(--text); margin: 2rem 0 .25rem; padding-left: .75rem; border-left: 4px solid var(--brand); line-height: 1.4; }
.article-content > p:first-of-type { font-size: 1.15rem; color: var(--dark-800); }
.article-content strong { color: var(--text); }
.article-content a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 2px; }
.article-content ul, .article-content ol { padding-left: 1.4rem; margin-bottom: 1.15rem; }
.article-content li { margin: .3rem 0; }
.article-content blockquote { border-left: 4px solid var(--border-2); margin: 1.4rem 0; padding: .4rem 1rem; color: var(--text-2); }
.article-content .tbl-wrap { overflow-x: auto; margin: 1.6rem 0; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: 12px; }
.article-content table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 420px; margin: 0; }
.article-content th { background: var(--surface-2); color: var(--text); font-weight: 800; text-align: left; padding: .7rem .85rem; border-bottom: 2px solid var(--border-2); font-size: .86rem; }
.article-content td { padding: .62rem .85rem; border-bottom: 1px solid var(--border); font-size: .93rem; }
.article-content tbody tr:last-child td { border-bottom: none; }
.article-content tbody tr:nth-child(even) { background: var(--bg); }
.article-content th:last-child, .article-content td:last-child { text-align: center; font-weight: 800; color: var(--brand-2); white-space: nowrap; }
@media (max-width: 768px) { .article-content { font-size: 1rem; line-height: 1.75; } }

.nw-art-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.5rem 0 0; }
.nw-series { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: .9rem 1.1rem; margin-top: 1.25rem; }
.nw-series ol { margin: 0; padding-left: 1.3rem; }
.nw-series li { margin: .3rem 0; font-size: .92rem; }
.nw-series li a { color: var(--text-2); text-decoration: none; }
.nw-series li.is-cur a { color: var(--text); font-weight: 800; }

.nw-action { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; margin-top: 1.75rem; padding: 1.1rem 1.2rem; border-radius: var(--radius-lg); background: var(--inverse); color: var(--on-inverse); text-decoration: none; }
.nw-action:hover { color: var(--on-inverse); text-decoration: none; opacity: .95; }
.nw-action-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--brand); color: var(--on-brand); display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.nw-action-t b { display: block; font-size: 1.05rem; line-height: 1.3; }
.nw-action-t small { display: block; color: var(--text-3); font-size: .82rem; margin-top: .15rem; }
.nw-action-x { display: inline-block; margin-top: .35rem; font-size: .8rem; font-weight: 700; color: var(--brand); }
.nw-action-go { font-weight: 800; font-size: .9rem; white-space: nowrap; color: var(--brand); }
@media (max-width: 640px) { .nw-action { grid-template-columns: auto minmax(0, 1fr); } .nw-action-go { display: none; } }

.nw-next { display: block; margin-top: 1.25rem; padding: 1rem 1.2rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); text-decoration: none; }
.nw-next:hover { border-color: var(--border-2); text-decoration: none; }
.nw-next-l { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.nw-next-t { display: block; font-size: 1.1rem; font-weight: 800; color: var(--text); line-height: 1.3; margin: .25rem 0; }
.nw-next-m { display: block; font-size: .78rem; color: var(--text-3); }
.nw-rel { margin-top: 2.25rem; }

.nw-sl { list-style: none; margin: 0; padding: 0; }
.nw-sl li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem; padding: .5rem 0; border-top: 1px solid var(--border); font-size: .9rem; line-height: 1.35; }
.nw-sl li:first-child { border-top: 0; padding-top: 0; }
.nw-sl a { color: var(--text); text-decoration: none; font-weight: 600; }
.nw-sl a:hover { color: var(--brand-2); }
.nw-sl time { color: var(--text-3); font-size: .76rem; white-space: nowrap; }
