/* Home only: a compact editorial opening and a quiet, ruled news list. */
.news-page {
  background: var(--bg-elevated);
}
.news-page .dn-page-intro {
  padding-block: 22px 16px;
  border-bottom: 0;
}
.news-page .dn-page-title {
  color: var(--accent-deep);
  font-size: clamp(1.5rem, 2.7vw, 2.15rem);
  line-height: 1.5;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.news-page .site-lead { color: var(--text-secondary); }
.news-page .dn-page-title span { display: inline-block; max-width: 100%; }
.news-page .news-jump { gap: 4px 24px; margin: 0; border: 0; }
.news-page .news-jump a { font-size: .8125rem; }

.news-page .featured { margin: 12px 0 16px; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; }
.news-page .featured__head { padding-bottom: 4px; }
.news-page .featured__head h2 { font-size: .875rem; }
.news-page .featured__note { color: var(--text-secondary); }
.news-page .featured__list { display: block; margin: 0; }
.news-page .featured__item + .featured__item { border-top: 1px solid var(--border-subtle); }
.news-page .featured__link { display: block; padding: 8px 0; height: auto; border-radius: 0; background: none; }
.news-page .featured__link:hover { background: var(--accent-soft); }
.news-page .featured__body { min-width: 0; }
.news-page .featured__body > .chip { display: none; }
.news-page .featured__title { font-size: 1rem; line-height: 1.65; margin: 0; overflow-wrap: anywhere; }
.news-page .featured__meta { display: block; font-size: .8125rem; line-height: 1.7; color: var(--text-secondary); }

.news-page .articles-head { align-items: baseline; gap: 10px 20px; margin: 0; padding-bottom: 14px; border-bottom: 2px solid var(--accent-deep); }
.news-page .articles-head h2 { font-size: 1.4rem; }
.news-page .articles-head .meta { font-size: .8125rem; font-variant-numeric: tabular-nums; }
.news-page .toolbar { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.news-page .search-field input { padding-left: 14px; background: var(--bg-base); border-color: var(--border-default); min-height: 48px; }
.news-page .news-filters summary { padding-block: 12px; }
.news-page .news-update { margin: 0 0 8px; }
.news-page .news-group-note { color: var(--text-secondary); font-size: .8125rem; margin: 0 0 8px; line-height: 1.75; }
.news-page .articles { gap: 0 36px; }
.news-page .card {
  padding: 22px 0;
  gap: 12px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  transition: border-color 150ms ease;
}
.news-page .card:hover, .news-page .card:focus-within { border-color: var(--accent-deep); box-shadow: none; transform: none; }
.news-page .card__title { font-size: 1.125rem; line-height: 1.7; }
.news-page .card__summary { max-width: 70ch; line-height: 1.85; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-page .card__foot { border: 0; padding-top: 2px; gap: 8px; }
.news-page .card__read { border: 0; padding-inline: 0; text-underline-offset: 4px; }
.news-page .card__read:hover { background: none; text-decoration: underline; }
.news-page .card__thumbnail { width: 120px; height: 90px; border-radius: 6px; }
.news-page .card__new-badge { border-radius: 3px; background: var(--accent-soft); color: var(--accent-deep); letter-spacing: .025em; }
.news-page .card__time { font-size: .75rem; }
.news-page .card__source { font-size: .8125rem; }
.news-page .source-tier { padding: 2px 6px; border-radius: 3px; }
.news-page .load-more-btn { border-radius: 6px; }

.news-topic { min-width: 0; align-self: start; border-top: 1px solid var(--border-default); }
.news-topic:focus-within { border-color: var(--accent-deep); }
.news-page .card__content { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 18px; align-items: start; }
.news-page .card__text { min-width: 0; }
.news-media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 5px; background: var(--accent-soft); }
.news-media__fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 12px; color: var(--accent-deep); font-size: .8125rem; font-weight: 600; text-align: center; line-height: 1.7; overflow-wrap: anywhere; }
.news-page .news-media .card__thumbnail { position: absolute; z-index: 1; inset: 0; float: none; width: 100%; height: 100%; margin: 0; border-radius: 0; object-fit: contain; background: var(--bg-base); }
.news-media:has(img) .news-media__fallback { visibility: hidden; }
.topic-related { margin: -4px 0 16px; border-top: 1px solid var(--border-subtle); }
.topic-related > summary { cursor: pointer; min-height: 44px; padding: 12px 0; color: var(--accent-deep); font-size: .875rem; font-weight: 600; }
.topic-related > summary span { margin-left: 8px; font-variant-numeric: tabular-nums; }
.topic-related > summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.topic-related ul { list-style: none; margin: 0; padding: 0; }
.news-page .topic-related .card { padding: 14px 0; gap: 6px; border-top: 1px solid var(--border-subtle); }
.news-page .topic-related .card__content { display: block; }
.news-page .topic-related :is(.news-media, .card__thumbnail, .card__summary, .card__new-badge, .chip, .source-tier, .card__read) { display: none; }
.news-page .topic-related .card__title { font-size: .9375rem; }
.news-page .topic-related .card__head { min-height: 0; }
.news-page .topic-related .card__time { margin-left: 0; }
.news-page .topic-related .card__foot { margin-top: 0; }
:root[data-font="large"] .news-page .card__content,
:root[data-font="xlarge"] .news-page .card__content { grid-template-columns: 96px minmax(0, 1fr); }

@media (max-width: 719px) {
  .news-page .dn-page-intro { padding-block: 18px 14px; }
  .news-page .news-jump { gap: 0 16px; margin-bottom: 18px; }
  .news-page .news-jump a { font-size: .75rem; }
  .news-page .articles-head { flex-wrap: wrap; gap: 4px 16px; padding-bottom: 10px; }
  .news-page .articles-head h2 { font-size: 1.25rem; }
  .news-page .card { padding-block: 20px; }
  .news-page .card__title { font-size: 1.0625rem; }
  .news-page .card__thumbnail { width: 88px; height: 66px; margin-left: 12px; }
  .news-page .card__time { margin-left: 0; }
  .news-page .card__content { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 380px) {
  .news-page .card__content { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
  .news-media__fallback { padding: 6px; font-size: .75rem; }
}
@media (max-width: 520px) {
  :root[data-font] .news-page .card__content { grid-template-columns: minmax(0, 1fr); }
  :root[data-font] .news-page .card__content > .news-media { width: 96px; }
  :root[data-font] .news-page .featured__link { grid-template-columns: minmax(0, 1fr); }
  :root[data-font] .news-page .featured__link > .news-media { display: none; }
}
@media print {
  .news-page .card { break-inside: avoid; }
}

/* Keep the introduction and related links compact and text-first. */
.news-opening { display:block; }
.news-opening__text { min-width:0; }
.news-page .news-concept { color:var(--accent-deep);font-size:1rem;font-weight:600;margin:8px 0; }
.news-page .site-lead { max-width:65ch;line-height:1.8;margin-bottom:0; }
.news-next { margin:28px 0;padding:24px 0;border-block:1px solid var(--border-default); }
.news-next h2 { font-size:1.2rem;line-height:1.65;margin:0 0 10px; }
.news-next p { max-width:65ch;line-height:1.85; }
.news-next nav { display:flex;gap:4px 20px;flex-wrap:wrap; }
.news-next nav a { display:inline-flex;min-height:44px;align-items:center;text-underline-offset:4px; }
@media(max-width:680px){
 .news-page .news-opening .dn-page-title { font-size:1.35rem;line-height:1.55; }
 .news-page .news-concept { font-size:.875rem; }
 .news-page .articles-head h2 { font-size:1.125rem; }
 .news-next h2 { font-size:1rem; }
}

/* Text-only stories use the full measure; failed optional images collapse too. */
.news-page .card__content:not(:has(img)),
:root[data-font] .news-page .card__content:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }
.news-page .news-media:not(:has(img)) { display: none; }
.news-page .card { height: auto; }
.news-page .card__title { flex: none; }
.news-page .card__title a { display: block; min-height: 44px; }
.news-page .card__source-group a { display: inline-flex; align-items: center; min-height: 44px; }
.news-page .card__foot { margin-top: 0; }
.news-page .news-jump a { font-size: .8125rem; }
.news-page .news-group-note { margin-top: 8px; }
.news-page .news-navigation { margin-block: 8px; }
.news-page .news-update { padding-top: 8px; }
@media (min-width: 720px) {
 .news-page .featured__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
 .news-page .featured__item + .featured__item { border-top: 0; }
}
@media (max-width: 719px) {
 .news-page .news-jump { margin-bottom: 0; }
 .news-page .card { padding-block: 16px; gap: 8px; }
 .news-page .dn-page-intro { padding-bottom: 4px; }
 .news-page .site-lead { font-size: .875rem; }
}
