/* ============================================================
   EVrace — раздел /news/ (страницы собирает VPS: scripts/news/site/render.mjs).
   Токены темы (theme.css). Текст новости — IBM Plex Sans во всех темах:
   в аркадной пиксельный шрифт только у плашек и навигации.
   ============================================================ */

.news-page .visit-counter { display: none; }

.nw-wrap {
  --nw-read: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 48px;
  font-family: var(--nw-read);
  color: var(--fg);
}
.nw-wrap a { color: inherit; text-decoration: none; }
.nw-wrap h1, .nw-wrap h2, .nw-wrap h3 { font-family: var(--nw-read); }

.nw-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--fg-3); padding: 16px 0 4px; }
.nw-crumbs a:hover { color: var(--accent); }

.nw-head { padding: 8px 0 12px; }
.nw-title { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
.nw-sub { margin: 6px 0 0; color: var(--fg-2); font-size: 16px; }

.nw-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 16px; border-bottom: 1px solid var(--hairline); scrollbar-width: none; }
.nw-tabs::-webkit-scrollbar { display: none; }
/* 44 px — a finger target */
.nw-tab { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--hairline); font-size: 14px; color: var(--fg-2); background: var(--surface); }
.nw-tab:hover { color: var(--fg); border-color: var(--fg-3); }
.nw-tab.is-active { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.nw-chip { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-right: 8px; }
.nw-chip--world { color: var(--fg-2); }
.nw-meta { font-size: 13px; color: var(--fg-3); }

/* covers */
.nw-cover { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.nw-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nw-cover--plate {
  display: flex; flex-direction: column; justify-content: space-between; gap: 8px;
  padding: 6%; color: #fff;
  background: linear-gradient(135deg, #0b0c11, #134e4a 70%, #0d9488);
}
.nw-cover--op { background: linear-gradient(135deg, #0b0c11, color-mix(in srgb, var(--nw-op) 70%, #0b0c11) 65%, var(--nw-op)); }
.nw-plate-k { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; }
.nw-plate-t { font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; font-size: clamp(22px, 4vw, 56px); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.nw-plate-b { font-size: 12px; font-weight: 700; opacity: 0.7; align-self: flex-end; }
.nw-cover--s .nw-plate-t { font-size: 22px; -webkit-line-clamp: 3; }
.nw-cover--s .nw-plate-k { display: none; }

/* cards */
.nw-card-link { display: block; }
.nw-card-link:hover .nw-card-title { color: var(--accent); }
.nw-card-txt { padding-top: 12px; }
.nw-card-title { margin: 6px 0 6px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
.nw-card--l .nw-card-title { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; letter-spacing: -0.02em; }
.nw-card--m .nw-card-title { font-size: 19px; }
.nw-card--s .nw-card-title { font-size: 16px; }
.nw-card-dek { margin: 0 0 10px; font-size: 18px; line-height: 1.45; color: var(--fg-2); }

/* index */
.nw-hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; padding: 24px 0; border-bottom: 1px solid var(--hairline); }
.nw-feed-h { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-2); margin: 0 0 8px; font-weight: 600; }
.nw-feed-i { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--hairline); font-size: 15px; line-height: 1.35; }
.nw-feed-i:hover span { color: var(--accent); }
.nw-feed-i time { font-size: 13px; color: var(--fg-3); font-variant-numeric: tabular-nums; padding-top: 1px; }
.nw-feed-w { color: var(--accent); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.nw-feed-h a:hover, .nw-feed-all:hover { color: var(--accent); }
.nw-feed-all { display: block; padding: 10px 0 0; border-top: 1px solid var(--hairline); font-size: 14px; font-weight: 600; color: var(--fg-2); }
.nw-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--hairline); }
.nw-row4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.nw-sec-h { font-size: 22px; margin: 24px 0 12px; font-weight: 700; }
.nw-sec-h a::after { content: " →"; color: var(--accent); }
.nw-rub { padding-bottom: 24px; border-bottom: 1px solid var(--hairline); }

.nw-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 24px 0; background: var(--hairline); border: 1px solid var(--hairline); border-radius: 10px; overflow: hidden; }
.nw-nums a { background: var(--surface); padding: 16px; }
.nw-nums a:hover { background: var(--surface-2); }
.nw-nums b { display: block; font-size: 30px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.nw-nums span { font-size: 13px; color: var(--fg-2); }
.nw-nums-asof { grid-column: 1 / -1; margin: 0; padding: 8px 16px; background: var(--surface); font-size: 12px; color: var(--fg-3); }

.nw-list { display: flex; flex-direction: column; }
.nw-list .nw-card--l { padding: 16px 0 24px; border-bottom: 1px solid var(--hairline); }
.nw-card--row .nw-card-link { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.nw-card--row .nw-card-txt { padding-top: 0; }
.nw-card--row .nw-card-title { font-size: 19px; }
.nw-card--row .nw-plate-t { font-size: 15px; }
.nw-empty { color: var(--fg-2); padding: 24px 0; }
.nw-archive { font-size: 14px; color: var(--fg-2); padding: 20px 0; }
.nw-archive a { text-decoration: underline; text-underline-offset: 3px; }

/* article: a 680 px column, ~65–70 characters a line at 18 px (comfortable 50–75) */
.nw-art { max-width: 680px; margin: 0 auto; padding: 8px 0 24px; }
.nw-art-kicker { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--fg-3); }
.nw-h1 { font-size: clamp(28px, 4.2vw, 42px); line-height: 1.12; letter-spacing: -0.02em; margin: 8px 0 12px; font-weight: 700; text-wrap: balance; }
.nw-dek { font-size: clamp(18px, 2vw, 21px); line-height: 1.45; color: var(--fg-2); margin: 0 0 16px; text-wrap: pretty; }
.nw-byline { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--fg-3); padding: 12px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); margin-bottom: 20px; }
.nw-byline a, .nw-src a, .nw-ai a, .nw-body a, .nw-mark a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.nw-fig { margin: 0 0 24px; }
.nw-fig figcaption { font-size: 13px; color: var(--fg-3); margin-top: 6px; }
.nw-short { background: var(--surface); border: 1px solid var(--hairline); border-radius: 10px; padding: 16px 20px; margin-bottom: 24px; }
.nw-short b { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.nw-short ul { margin: 8px 0 0; padding-left: 20px; }
.nw-short li { margin: 4px 0; font-size: 17px; line-height: 1.45; }
.nw-body { font-size: 18px; line-height: 1.65; }
.nw-body p { margin: 0 0 18px; text-wrap: pretty; }
.nw-body h2 { font-size: 24px; line-height: 1.25; margin: 32px 0 12px; text-wrap: balance; }
.nw-body-end { display: block; height: 1px; }
.nw-body ul { margin: 0 0 18px; padding-left: 22px; }
.nw-body blockquote { margin: 24px 0; padding: 0 0 0 20px; border-left: 3px solid var(--fg); }
.nw-body blockquote p { font-size: 20px; line-height: 1.45; margin: 0; }
.nw-body blockquote cite { display: block; margin-top: 6px; font-size: 14px; font-style: normal; color: var(--fg-3); }

.nw-data { border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; margin: 28px 0; background: var(--surface); }
.nw-data-h { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--hairline); font-size: 13px; color: var(--fg-3); }
.nw-data-h b { letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.nw-data-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nw-data-g div { padding: 16px; border-right: 1px solid var(--hairline); }
.nw-data-g div:last-child { border-right: 0; }
.nw-data-g strong { display: block; font-size: 28px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.nw-data-g span { font-size: 13px; color: var(--fg-2); }
.nw-data-f { padding: 10px 16px; border-top: 1px solid var(--hairline); font-size: 14px; }
.nw-data-f a { color: var(--accent); font-weight: 600; }

.nw-mark { margin: 28px 0; padding: 16px 20px; border-left: 4px solid var(--accent); background: var(--accent-bg); border-radius: 0 10px 10px 0; }
.nw-mark-who { display: flex; gap: 10px; align-items: center; font-size: 14px; margin-bottom: 8px; }
.nw-mark-ava { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.nw-mark p { margin: 0 0 10px; font-size: 17px; line-height: 1.55; }
.nw-mark p:last-child { margin-bottom: 0; }
.nw-mark-fig { margin: 12px 0 0; }
.nw-mark-img { display: block; max-width: 100%; height: auto; border-radius: 8px; }

.nw-src { font-size: 15px; border-top: 1px solid var(--hairline); padding-top: 16px; margin-top: 28px; }
.nw-src p { margin: 0 0 8px; }
.nw-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.nw-tag { font-size: 13px; padding: 4px 10px; border-radius: 6px; background: var(--surface); border: 1px solid var(--hairline); }
.nw-tag--op { border-color: var(--nw-op); }
.nw-share { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.nw-share a, .nw-share button { font: inherit; font-size: 14px; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--hairline); background: var(--surface); color: var(--fg); cursor: pointer; }
.nw-share a:hover, .nw-share button:hover { border-color: var(--fg-3); }
.nw-ai { font-size: 13px; color: var(--fg-3); border-top: 1px solid var(--hairline); padding-top: 16px; margin-top: 24px; }
.nw-fix { font-size: 15px; line-height: 1.5; margin: 16px 0; padding: 10px 14px; border: 1px solid var(--hairline); border-radius: 8px; background: var(--surface); }
/* phones with a system share sheet: one «Поделиться» button instead of three (set by the page script) */
.nw-share-native { display: none; }
.nw-share.is-native > * { display: none; }
.nw-share.is-native > .nw-share-native { display: inline-block; }

/* end of an article: «Читать дальше», «По теме», «Свежее» */
.nw-next { max-width: 1000px; margin: 8px auto 0; padding: 24px 0; border-top: 1px solid var(--hairline); }
.nw-next-h, .nw-sec-h.nw-next-h { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-2); margin: 0 0 12px; font-weight: 600; }
.nw-card--next .nw-card-link { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; align-items: center; }
.nw-card--next .nw-card-txt { padding-top: 0; }
.nw-card--next .nw-card-title { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; }
.nw-card--next .nw-card-dek { font-size: 17px; }
.nw-card--next.nw-card--split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 24px; }
.nw-card--next.nw-card--split > .nw-card-img { grid-column: 1; grid-row: 1; }
.nw-card--next.nw-card--split > .nw-credit { grid-column: 1; grid-row: 2; }
.nw-card--next.nw-card--split > .nw-card-link { grid-column: 2; grid-row: 1 / span 2; display: block; align-self: center; }
.nw-more { max-width: 1000px; margin: 0 auto; }
.nw-more .nw-row3 { border-bottom: 0; padding-top: 0; }
.nw-fresh { max-width: 1000px; margin: 0 auto; padding-bottom: 8px; }
.nw-fresh .nw-feed-i:last-child { border-bottom: 1px solid var(--hairline); }

/* «Сюжет» in an article */
.nw-story { margin: 0 0 24px; border: 1px solid var(--hairline); border-radius: 10px; padding: 12px 16px; }
.nw-story-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding-bottom: 6px; }
.nw-story-h b { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.nw-story-h a { font-weight: 700; font-size: 16px; }
.nw-story-h a:hover, .nw-story-all:hover { color: var(--accent); }
.nw-story-h span { font-size: 13px; color: var(--fg-3); }
.nw-story-i { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--hairline); font-size: 15px; line-height: 1.35; }
.nw-story-i time { font-size: 13px; color: var(--fg-3); font-variant-numeric: tabular-nums; padding-top: 1px; }
a.nw-story-i:hover span { color: var(--accent); }
.nw-story-i.is-current span { font-weight: 600; }
.nw-story-i.is-current time::after { content: " ●"; color: var(--accent); }
.nw-story-all { display: block; padding-top: 8px; border-top: 1px solid var(--hairline); font-size: 14px; font-weight: 600; color: var(--fg-2); }

/* «Сюжеты» on /news/ */
.nw-stories { padding-bottom: 24px; border-bottom: 1px solid var(--hairline); }
.nw-stories-l { display: flex; flex-wrap: wrap; gap: 8px; }
.nw-story-chip { display: flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--hairline); border-radius: 10px; background: var(--surface); }
.nw-story-chip:hover { border-color: var(--fg-3); }
.nw-story-chip b { font-size: 15px; font-weight: 600; }
.nw-story-chip span { font-size: 12px; color: var(--fg-3); }

/* tag and story pages */
.nw-group-about { max-width: 680px; margin-top: 12px; }
.nw-group-about b { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.nw-group-about p { font-size: 17px; line-height: 1.55; margin: 0 0 10px; color: var(--fg-2); }
.nw-group-link { margin: 10px 0 0; font-size: 15px; font-weight: 600; }
.nw-group-link a { color: var(--accent); }
a.nw-tag:hover { border-color: var(--fg-3); }

/* ads (news.ad): always labelled, size known — nothing shifts */
.nw-ad { margin: 24px auto; text-align: center; }
.nw-ad--index { padding: 8px 0 24px; border-bottom: 1px solid var(--hairline); }
.nw-ad--article { max-width: 1000px; }
.nw-ad-l { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 6px; text-align: left; }
.nw-ad picture, .nw-ad img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 6px; }
.nw-ad--list { margin: 0; text-align: left; }
.nw-ad-card { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.nw-ad-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.nw-ad-card b { display: block; font-size: 19px; font-weight: 600; line-height: 1.25; margin-top: 2px; }
.nw-ad-card:hover b { color: var(--accent); }
@media (max-width: 900px) {
  .nw-ad-card { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 12px 0; }
  .nw-ad-card img { aspect-ratio: 1; }
  .nw-ad-card b { font-size: 16px; }
}

/* /news/lenta/ */
.nw-day { max-width: 800px; padding: 8px 0 16px; }
.nw-day-h { font-size: 15px; font-weight: 700; margin: 16px 0 4px; }
.nw-day-i { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--hairline); line-height: 1.35; }
.nw-day-i time { font-size: 13px; color: var(--fg-3); font-variant-numeric: tabular-nums; padding-top: 2px; }
.nw-day-i b { display: block; font-size: 16px; font-weight: 600; margin-top: 2px; }
.nw-day-i:hover b { color: var(--accent); }

/* arcade: читаемый текст, пиксель только у плашек */
html[data-theme="arcade"] .nw-chip,
html[data-theme="arcade"] .nw-feed-h,
html[data-theme="arcade"] .nw-short b,
html[data-theme="arcade"] .nw-data-h b { font-family: var(--font-display); font-size: 9px; letter-spacing: 0.04em; }

@media (max-width: 900px) {
  .nw-hero { grid-template-columns: 1fr; gap: 16px; }
  .nw-row3 { grid-template-columns: 1fr; gap: 0; padding: 8px 0; }
  .nw-row3 .nw-card-link { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--hairline); }
  .nw-row3 .nw-card:first-child .nw-card-link { border-top: 0; }
  .nw-row3 .nw-cover { aspect-ratio: 1; }
  .nw-row3 .nw-card-txt { padding-top: 0; }
  .nw-row3 .nw-card-title { font-size: 16px; margin-top: 2px; }
  .nw-row3 .nw-plate-k, .nw-row3 .nw-plate-b { display: none; }
  .nw-row3 .nw-plate-t { font-size: 12px; -webkit-line-clamp: 4; }
  .nw-row4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .nw-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nw-card--row .nw-card-link { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
  .nw-card--row .nw-cover { aspect-ratio: 1; }
  .nw-card--row .nw-card-title { font-size: 16px; }
  .nw-card--row .nw-plate-k, .nw-card--row .nw-plate-b { display: none; }
  .nw-card--row .nw-plate-t { font-size: 12px; }
  .nw-body { font-size: 17px; }
  /* narrow column, long Russian words: hyphenate body text (html lang="ru"), never headings */
  .nw-body p, .nw-body li, .nw-short li { hyphens: auto; -webkit-hyphens: auto; }
  /* phones: «Лента» is 5 rows, then «Вся лента» */
  .nw-feed .nw-feed-i:nth-of-type(n + 6) { display: none; }
  /* rubric blocks: rows with a thumbnail, 3 per rubric */
  .nw-row4 { grid-template-columns: 1fr; gap: 0; }
  .nw-row4 > .nw-card:nth-child(n + 4) { display: none; }
  .nw-row4 .nw-card-link { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--hairline); }
  .nw-row4 .nw-card:first-child .nw-card-link { border-top: 0; }
  .nw-row4 .nw-cover { aspect-ratio: 1; }
  .nw-row4 .nw-card-txt { padding-top: 0; }
  .nw-row4 .nw-card-title { font-size: 16px; margin-top: 2px; }
  .nw-row4 .nw-plate-k, .nw-row4 .nw-plate-b { display: none; }
  .nw-row4 .nw-plate-t { font-size: 12px; -webkit-line-clamp: 4; }
  .nw-row4 .nw-card--split { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 12px; padding: 12px 0; border-top: 1px solid var(--hairline); }
  .nw-row4 .nw-card--split:first-child { border-top: 0; }
  .nw-row4 .nw-card--split > .nw-card-img { grid-column: 1; grid-row: 1; }
  .nw-row4 .nw-card--split > .nw-credit { grid-column: 1; grid-row: 2; }
  .nw-row4 .nw-card--split > .nw-card-link { grid-column: 2; grid-row: 1 / span 2; display: block; padding: 0; border: 0; }
  .nw-card--next .nw-card-link, .nw-card--next.nw-card--split { grid-template-columns: 1fr; gap: 12px; }
  .nw-card--next.nw-card--split > .nw-card-link { grid-column: 1; grid-row: 3; }
  /* три цифры в строку и на телефоне — компактнее */
  .nw-data-g div { padding: 12px 10px; }
  .nw-data-g strong { font-size: 22px; }
  .nw-data-g span { display: block; font-size: 12px; line-height: 1.3; }
}

/* photo under the source's own rules (BelTA): shown whole, credit link right under it */
.nw-cover--whole { background: #0b0c11; }
.nw-cover--whole img { object-fit: contain; }
.nw-credit { display: block; font-size: 12px; color: var(--fg-3); margin-top: 4px; }
a.nw-credit { text-decoration: underline; text-underline-offset: 2px; }
.nw-card-img { display: block; }
.nw-card--split .nw-card-txt { padding-top: 8px; }
.nw-card--row.nw-card--split { display: grid; grid-template-columns: 240px minmax(0, 1fr); column-gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.nw-card--row.nw-card--split > .nw-card-img { grid-column: 1; grid-row: 1; }
.nw-card--row.nw-card--split > .nw-credit { grid-column: 1; grid-row: 2; }
.nw-card--row.nw-card--split > .nw-card-link { grid-column: 2; grid-row: 1 / span 2; display: block; padding: 0; border: 0; }
.nw-card--row.nw-card--split .nw-card-txt { padding-top: 0; }
@media (max-width: 900px) {
  .nw-row3 .nw-card--split { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 12px; padding: 12px 0; border-top: 1px solid var(--hairline); }
  .nw-row3 .nw-card--split:first-child { border-top: 0; }
  .nw-row3 .nw-card--split > .nw-card-img { grid-column: 1; grid-row: 1; }
  .nw-row3 .nw-card--split > .nw-credit { grid-column: 1; grid-row: 2; }
  .nw-row3 .nw-card--split > .nw-card-link { grid-column: 2; grid-row: 1 / span 2; display: block; padding: 0; border: 0; }
  .nw-row3 .nw-card--split .nw-card-txt { padding-top: 0; }
  .nw-card--row.nw-card--split { grid-template-columns: 112px minmax(0, 1fr); column-gap: 12px; }
}

/* ── Новый стиль (03.11.2026, как главная и /stations): белая колонна 1200, по бокам фон страницы на всю высоту;
   блоки без рамок на серой подложке; «Читать дальше / По теме / Свежее» — серая полоса колонны. Аркада прежняя. ── */
html[data-theme="light"] .news-page { --col-base: #ffffff; --col-alt: #f1f2f5; }
html[data-theme="dark"] .news-page { --col-base: #15171d; --col-alt: #1d2027; }
html:not([data-theme="arcade"]) .news-page .nw-wrap { position: relative; isolation: isolate; background: var(--col-base); }

/* крошки: «›» и последний пункт — по центру строки, как ссылки (у них min-height 44 px); в статье — над колонкой текста */
.nw-crumbs { align-items: center; }
html:not([data-theme="arcade"]) .news-article .nw-crumbs { max-width: 680px; margin: 0 auto; padding-bottom: 0; }

html:not([data-theme="arcade"]) .news-page .nw-short,
html:not([data-theme="arcade"]) .news-page .nw-data,
html:not([data-theme="arcade"]) .news-page .nw-story,
html:not([data-theme="arcade"]) .news-page .nw-fix { background: var(--col-alt); border: 0; }
html:not([data-theme="arcade"]) .news-page .nw-data-h { border-bottom: 0; padding-bottom: 4px; }
html:not([data-theme="arcade"]) .news-page .nw-data-f { border-top: 0; padding-top: 4px; padding-bottom: 14px; }
html:not([data-theme="arcade"]) .news-page .nw-data-g div { border-right-color: color-mix(in srgb, var(--fg) 10%, var(--col-alt)); }

/* хвост статьи: тег — как рубрика над заголовком, кнопки — заливка без рамки */
html:not([data-theme="arcade"]) .news-page .nw-tags { gap: 4px 16px; }
html:not([data-theme="arcade"]) .news-page .nw-tags .nw-tag { display: inline-flex; align-items: center; min-height: 32px; padding: 0; border: 0; border-radius: 0; background: none; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
html:not([data-theme="arcade"]) .news-page .nw-tags a.nw-tag:hover { color: var(--fg); }
html:not([data-theme="arcade"]) .news-page .nw-share a,
html:not([data-theme="arcade"]) .news-page .nw-share button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--col-alt); font-weight: 600; }
html:not([data-theme="arcade"]) .news-page .nw-share a:hover,
html:not([data-theme="arcade"]) .news-page .nw-share button:hover { background: color-mix(in srgb, var(--fg) 8%, var(--col-alt)); }
html:not([data-theme="arcade"]) .news-page .nw-share > .nw-share-native,
html:not([data-theme="arcade"]) .news-page .nw-share.is-native > * { display: none; }
html:not([data-theme="arcade"]) .news-page .nw-share.is-native > .nw-share-native { display: inline-flex; }

/* «Читать дальше», «По теме», «Свежее»: одна серая полоса во всю колонну, без просветов */
html:not([data-theme="arcade"]) .news-article .nw-wrap { padding-bottom: 0; }
html:not([data-theme="arcade"]) .news-article .nw-next,
html:not([data-theme="arcade"]) .news-article .nw-more,
html:not([data-theme="arcade"]) .news-article .nw-fresh { position: relative; margin-top: 0; margin-bottom: 0; border-top: 0; }
html:not([data-theme="arcade"]) .news-article .nw-next::before,
html:not([data-theme="arcade"]) .news-article .nw-more::before,
html:not([data-theme="arcade"]) .news-article .nw-fresh::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0;
  left: calc(50% - min(50vw, 600px)); right: calc(50% - min(50vw, 600px));
  background: var(--col-alt); pointer-events: none;
}
html:not([data-theme="arcade"]) .news-article .nw-next { padding: 32px 0 8px; }
html:not([data-theme="arcade"]) .news-article .nw-more .nw-sec-h { margin-top: 0; padding-top: 24px; }
html:not([data-theme="arcade"]) .news-article .nw-fresh { padding-bottom: 40px; }
html:not([data-theme="arcade"]) .news-article .nw-fresh .nw-sec-h { margin-top: 0; padding-top: 24px; }
html:not([data-theme="arcade"]) .news-article .nw-fresh .nw-feed-i { border-top-color: color-mix(in srgb, var(--fg) 10%, var(--col-alt)); }
html:not([data-theme="arcade"]) .news-article .nw-fresh .nw-feed-i:last-child { border-bottom-color: color-mix(in srgb, var(--fg) 10%, var(--col-alt)); }
@media (max-width: 900px) {
  html:not([data-theme="arcade"]) .news-article .nw-more .nw-row3 .nw-card-link,
  html:not([data-theme="arcade"]) .news-article .nw-more .nw-row3 .nw-card--split { border-top-color: color-mix(in srgb, var(--fg) 10%, var(--col-alt)); }
}

/* ── /news/ (04.11.2026): под главными новостями — полосы во всю колонну, тон чередуется (nw-b-base / nw-b-alt
   ставит render.mjs по присутствующим блокам); заголовки разделов — как на страницах операторов и /tariffs
   (капс 14 px, акцентная черта); цифры каталога и сюжеты — без рамок. Аркада прежняя. ── */
html:not([data-theme="arcade"]) .news-page .nw-sec-h,
html:not([data-theme="arcade"]) .news-page .nw-feed-h,
html:not([data-theme="arcade"]) .news-page .nw-next-h {
  position: relative; margin: 0 0 18px; padding-left: 13px; font-size: 14px; font-weight: 700; line-height: 1.2;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg);
}
html:not([data-theme="arcade"]) .news-page .nw-sec-h::before,
html:not([data-theme="arcade"]) .news-page .nw-feed-h::before,
html:not([data-theme="arcade"]) .news-page .nw-next-h::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 14px; margin-top: -7px; border-radius: 2px; background: var(--accent);
}
html:not([data-theme="arcade"]) .news-page .nw-sec-h a::after { content: " →"; color: var(--accent); }
html:not([data-theme="arcade"]) .news-page .nw-sec-h a:hover { color: var(--accent); }
html:not([data-theme="arcade"]) .news-page .nw-feed-h { margin-bottom: 12px; }

html:not([data-theme="arcade"]) .news-index .nw-wrap { padding-bottom: 0; }
html:not([data-theme="arcade"]) .news-index .nw-row3 { border-bottom: 0; padding-bottom: 32px; }
html:not([data-theme="arcade"]) .news-index .nw-band { position: relative; padding: 32px 0; }
html:not([data-theme="arcade"]) .news-index .nw-band::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0;
  left: calc(50% - min(50vw, 600px)); right: calc(50% - min(50vw, 600px));
  background: var(--col-base); pointer-events: none;
}
html:not([data-theme="arcade"]) .news-index .nw-b-alt::before { background: var(--col-alt); }
html:not([data-theme="arcade"]) .news-index .nw-band > * { margin-top: 0; margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
html:not([data-theme="arcade"]) .news-index .nw-band > .nw-sec-h,
html:not([data-theme="arcade"]) .news-index .nw-band .nw-sec-h { margin: 0 0 18px; }
html:not([data-theme="arcade"]) .news-index .nw-band > .nw-ad { padding: 0; }
html:not([data-theme="arcade"]) .news-index .nw-band > .nw-archive { padding: 0; }
html:not([data-theme="arcade"]) .news-index .nw-foot { padding: 20px 0 28px; }

/* цифры каталога: просто числа в ряд, без рамки и плиток */
html:not([data-theme="arcade"]) .news-index .nw-nums { gap: 24px; background: none; border: 0; border-radius: 0; overflow: visible; }
html:not([data-theme="arcade"]) .news-index .nw-nums a { background: none; padding: 0; }
html:not([data-theme="arcade"]) .news-index .nw-nums a:hover b { color: var(--accent); }
html:not([data-theme="arcade"]) .news-index .nw-nums b { font-size: 36px; line-height: 1.1; font-weight: 700; }
html:not([data-theme="arcade"]) .news-index .nw-nums span { display: block; margin-top: 4px; font-size: 14px; }
html:not([data-theme="arcade"]) .news-index .nw-nums-asof { padding: 0; background: none; font-size: 13px; }

/* сюжеты: заливка противоположного тона полосы вместо рамки */
html:not([data-theme="arcade"]) .news-index .nw-story-chip { border: 0; background: var(--col-alt); }
html:not([data-theme="arcade"]) .news-index .nw-b-alt .nw-story-chip { background: var(--col-base); }
html:not([data-theme="arcade"]) .news-index .nw-story-chip:hover b { color: var(--accent); }
@media (max-width: 900px) {
  html:not([data-theme="arcade"]) .news-index .nw-band { padding: 24px 0; }
  html:not([data-theme="arcade"]) .news-index .nw-nums { gap: 20px 16px; }
  html:not([data-theme="arcade"]) .news-index .nw-nums b { font-size: 28px; }
}
