/* News section: /{lang}/news/ and /{lang}/news/{slug}/ on the dark document shell. */
.news-page { max-width: 58rem; }
.news-page a:focus-visible { outline: 2px solid #98caff; outline-offset: 2px; border-radius: 3px; }

/* Header: wordmark, languages, then the site sections. */
.news-top { margin-bottom: .25rem; }
.news-site-nav { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; font-size: .9rem; line-height: 1.6; }
.news-site-nav a { color: #a9b7c5; text-decoration: none; }
.news-site-nav a:hover { color: #e1e8ef; }
.news-site-nav a.is-current { color: #f2f5fa; font-weight: 650; }

.news-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .5rem 1rem; margin: 1.5rem 0 .25rem; }
.news-head h1 { margin: 0; }
.news-tg { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; color: #a9b7c5 !important; text-decoration: none; }
.news-tg:hover { color: #e1e8ef !important; }

/* Telegram card under a Russian story */
.news-tg-card { display: flex; align-items: center; gap: .9rem; margin: .5rem 0 1rem; padding: .9rem 1rem; border: 1px solid #263240; border-radius: 10px; background: #131a23; }
.news-tg-logo { display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #2a8ad8; color: #fff; }
.news-tg-logo svg { margin-inline-start: -2px; }
.news-tg-card p { flex: 1; margin: 0; display: flex; flex-direction: column; line-height: 1.35; }
.news-tg-card strong { color: #f2f5fa; font-size: 1rem; }
.news-tg-card p span { color: #8b98a6; font-size: .85rem; }
.news-tg-card a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border-radius: 8px; background: #2a8ad8; color: #fff !important; font-weight: 650; text-decoration: none; }
.news-tg-card a:hover, .news-tg-card a:focus-visible { background: #3a98e6; }

/* Filters */
.news-filter { display: flex; gap: .4rem; margin: 1rem 0 .5rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; line-height: 1.3 !important; }
.news-filter a { display: inline-flex; align-items: center; gap: .45rem; flex: none; min-height: 44px; padding: 0 .9rem; border: 1px solid #2c3743; border-radius: 999px; color: #c9d5e1 !important; text-decoration: none; font-size: .9rem; white-space: nowrap; }
.news-filter a:hover { border-color: #4a5a6c; }
.news-filter a[aria-current="page"] { background: #e1e8ef; border-color: #e1e8ef; color: #10151d !important; font-weight: 650; }
.news-dot { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; flex: none; }

/* Story text blocks */
.news-page h2 a, .news-page h3 a, .news-more a { color: #f2f5fa; text-decoration: none; }
.news-page h2 a:hover, .news-page h3 a:hover, .news-more a:hover { text-decoration: underline; text-underline-offset: .15em; }
.news-mark { display: inline-block; margin-inline-end: .5rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: .12em; }
.news-mark-urgent { color: #f2b33d; }
.news-mark-important { color: #ff7a6e; }
.news-snippet { margin: .3rem 0 0; color: #a9b7c5; font-size: .95rem; line-height: 1.55; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin: .45rem 0 0; font-size: .8rem; color: #8b98a6; line-height: 1.4; }
.news-meta time { font-variant-numeric: tabular-nums; }
.news-rubric { color: inherit !important; text-decoration: none; }
.news-rubric:hover { text-decoration: underline; }

/* Lead story */
.news-lead { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.5rem; align-items: center; margin: 1rem 0 .5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #222c37; }
.news-lead.is-text { grid-template-columns: 1fr; }
.news-lead-media { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; background: #0e1116; }
.news-lead-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.news-lead h2 { margin: 0; font-size: clamp(1.35rem, 3vw, 1.75rem); line-height: 1.22; font-weight: 750; }
.news-lead .news-snippet { font-size: 1.02rem; color: #c9d5e1; }

/* Day groups */
.news-day > h2 { margin: 1.75rem 0 0; padding-bottom: .4rem; border-bottom: 1px solid #222c37; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8b98a6; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-item { border-bottom: 1px solid #1c242e; }
.news-item article { display: grid; grid-template-columns: minmax(0, 1fr) 8.5rem; gap: 1.25rem; padding: 1rem 0; align-items: start; }
.news-item article:not(:has(.news-item-media)) { grid-template-columns: 1fr; }
.news-item h3 { margin: 0; font-size: 1.125rem; line-height: 1.3; font-weight: 700; }
.news-item .news-snippet { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item-media { display: block; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 9; background: #0e1116; }
.news-item-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.news-empty { margin: 2rem 0; color: #a9b7c5; }

/* Article */
.news-article { max-width: 44rem; }
.news-article-head { margin: 1.5rem 0 1.25rem; }
.news-crumbs { display: flex; gap: .45rem; font-size: .85rem; color: #8b98a6; }
.news-crumbs a { color: #a9b7c5; text-decoration: none; }
.news-crumbs a:hover { text-decoration: underline; }
.news-article-mark { margin: .9rem 0 -.35rem; }
.news-article h1 { margin: .6rem 0 .75rem; font-size: clamp(1.75rem, 4.5vw, 2.5rem); line-height: 1.15; color: #f2f5fa; }
.news-standfirst { margin: 0; font-size: 1.18rem; line-height: 1.55; color: #c9d5e1; }
.news-date { margin: .9rem 0 0; font-size: .85rem; color: #8b98a6; }
.news-figure { margin: 0 0 1.5rem; }
.news-figure img { display: block; width: 100%; height: auto; border-radius: 8px; background: #0e1116; }
.news-figure.is-photo img { aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 22%; }
.news-figure figcaption { margin-top: .5rem; font-size: .8rem; line-height: 1.5; color: #8b98a6; }
.news-figure figcaption a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.news-cap { color: #c9d5e1; }
.news-body p { margin: 0 0 1.1rem; font-size: 1.08rem; line-height: 1.75; color: #e1e8ef; }
.news-body .news-source { font-size: .9rem; color: #8b98a6; }
.news-body .news-source a { color: #a9b7c5; }
.news-related-data ul, .news-more ul { list-style: none; margin: 0; padding: 0; }
.news-related-data li { display: inline-block; margin: 0 .5rem .5rem 0; }
.news-related-data a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 .9rem; border: 1px solid #2c3743; border-radius: 8px; text-decoration: none; }
.news-more li { padding: .7rem 0; border-bottom: 1px solid #1c242e; }
.news-more li a { display: block; font-weight: 600; line-height: 1.35; }
.news-more time { display: block; margin-top: .2rem; font-size: .8rem; color: #8b98a6; }
.news-page section > h2 { margin: 2.25rem 0 .5rem; font-size: 1rem; }

.news-footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid #222c37; }
.news-footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; font-size: .88rem; }
.news-footer a { color: #a9b7c5; text-decoration: none; }
.news-footer a:hover { color: #e1e8ef; }

@media (max-width: 640px) {
  .news-lead { grid-template-columns: 1fr; gap: 1rem; }
  .news-item article { grid-template-columns: minmax(0, 1fr) 6rem; gap: .9rem; }
  .news-item h3 { font-size: 1.04rem; }
  .news-item .news-snippet { display: none; }
}
