.news-preview-badge {
  display: inline-block;
  margin: 0 0 14px;
  padding: .4rem .75rem;
  border-radius: 2rem;
  background: #fff1d4;
  color: #64420a;
  font-size: .82rem;
  font-weight: 700;
}

.news-draft-feed { margin-bottom: clamp(2.5rem, 7vw, 5rem); }
.news-draft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.news-draft-grid .news-card h3 { margin: .8rem 0; font-size: 1.25rem; }
.news-draft-grid .news-card h3 a { color: inherit; text-decoration: underline; text-decoration-color: #9ebed7; text-underline-offset: .18em; }
.news-draft-grid .news-card-copy { padding: clamp(.9rem, 2.4vw, 1.5rem); }
.news-draft-grid .news-card-copy p { margin-bottom: 0; }
.news-batch .news-hero h1 { max-width: 26ch; }
.news-batch .news-cover { max-width: 960px; }
.news-batch .news-cover img { background: #e8f0f6; }
.news-batch .news-key { margin-top: 2rem; }
.news-batch .news-key h2 { margin-top: 0; }
.news-batch .news-report { padding: clamp(1rem, 3vw, 1.5rem); }
.news-batch-summary {
  padding: clamp(1rem, 4vw, 2rem);
  border: 1px solid #c6ddec;
  border-radius: 18px;
  background: linear-gradient(148deg, #e9f5fe, #f8fbfd 62%);
}
.news-batch-summary h2 { margin-top: .45rem; }
.news-batch-summary .news-summary-lead { font-size: clamp(1.15rem, 3vw, 1.55rem); line-height: 1.4; font-weight: 750; }
.news-summary-findings { display: grid; gap: .75rem; margin: 1.35rem 0; padding: 0; list-style: none; }
.news-summary-findings li { background: #fff; border: 1px solid #cbddeb; border-radius: 12px; padding: .85rem 1rem; }
.news-summary-findings h3 { display: flex; align-items: baseline; gap: .6rem; margin: 0; font-size: 1.05rem; line-height: 1.35; }
.news-summary-findings h3 span { color: #075b85; font-size: .77rem; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.news-summary-findings p { margin: .55rem 0; }
.news-summary-jump { font-weight: 750; color: #0a5382; text-decoration: underline; text-underline-offset: .25em; }
[id^="news-block-"], #recommended-projects, [id^="station-"] { scroll-margin-top: 110px; }
.news-data-block { margin-block: clamp(2rem, 5vw, 3.5rem); }
.news-data-caption { color: #4d667b; font-size: .88rem; }
.news-batch-table table { min-width: 39rem; }
.news-batch-table th, .news-batch-table td { font-size: .94rem; }
.news-table-toolbar { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: space-between; align-items: end; margin: .75rem 0; }
.news-table-toolbar label { display: grid; gap: .22rem; flex: 1 1 13rem; max-width: 23rem; font-size: .88rem; font-weight: 700; }
.news-table-toolbar :is(input, select) { min-height: 44px; width: 100%; padding: .45rem .65rem; background: #fff; color: #102e54; border: 1px solid #aac5db; border-radius: 8px; }
.news-interactive-status, .news-chart-help { margin: .5rem 0; font-size: .88rem; color: #3c5d76; }
.news-batch-table tbody tr:nth-child(even) td { background: #f7fbfe; }
.news-batch-table tbody td.news-column-active { background: #fff0d1; }
.news-batch-table thead th.news-column-active { background: #174f7a; box-shadow: inset 0 -4px #ffc663; }
.news-project-group + .news-project-group { margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid #d2e2ee; }
.news-project-group .editorial-project-grid { margin: 1rem 0 2rem; }
.news-compare-action { text-align: center; }
.news-related-links { display: flex; flex-wrap: wrap; gap: .6rem 1.1rem; }
.news-related-links a { text-decoration: underline; text-underline-offset: .2em; }

.news-bars, .news-diagram-cards, .news-slides { list-style: none; padding: 0; margin: 1rem 0; }
.news-bars { border: 1px solid #c6ddec; border-radius: 14px; padding: clamp(.65rem, 3vw, 1.35rem); background: #eff7fc; }
.news-bar-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr) minmax(3.6rem, auto);
  align-items: center;
  gap: .65rem;
  width: 100%; padding: .5rem .45rem;
  font-size: .92rem;
  color: #102e54; text-align: left; border: 1px solid transparent; border-radius: 8px; background: transparent;
}
button.news-bar-row { cursor: pointer; }
button.news-bar-row:hover { background: #fff; }
button.news-bar-row[aria-pressed="true"] { border-color: #e6bc69; background: #fff5de; }
button.news-bar-row[aria-pressed="true"] .news-bar-track span { background: #9c5b04; }
.news-chart-readout { width: fit-content; margin: .65rem 0; border-radius: 7px; padding: .45rem .65rem; background: #102e54; color: #fff; font-weight: 750; }
.news-bars strong { justify-self: end; white-space: nowrap; }
.news-bar-track { display: block; height: .9rem; border-radius: 1rem; background: #dceaf5; }
.news-bar-track span {
  display: block; width: var(--fill); height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, #104c81, #087fac);
  transform-origin: left;
}
.news-data-block.news-animate .news-bar-track span { animation: news-bar-in .65s ease-out both; }
@keyframes news-bar-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.news-diagram-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.news-diagram-cards li { border: 1px solid #c8ddeb; border-radius: 14px; background: #eef6fd; padding: .95rem; }
.news-diagram-cards li:nth-child(2) { background: #fff6e8; border-color: #ebd5b7; }
.news-diagram-cards li:nth-child(3) { background: #edf8f3; border-color: #c8e4d7; }
.news-diagram-cards summary { display: grid; grid-template-columns: auto 1fr; gap: .55rem; align-items: start; font-weight: 750; cursor: pointer; list-style: none; }
.news-diagram-cards summary::-webkit-details-marker { display: none; }
.news-diagram-cards summary::after { content: '+ Details'; grid-column: 2; font-size: .77rem; color: #245c81; }
.news-diagram-cards details[open] summary::after { content: '− Details'; }
.news-diagram-cards details p { margin: .6rem 0 0; }
.news-diagram-number { border-radius: 100%; padding: .21rem .38rem; font-size: .75rem; background: #102e54; color: #fff; }
.news-diagram-cards p, .news-slides p { margin: 0; font-size: .94rem; }

.news-slide-control { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; }
.news-slide-status { font-size: .88rem; font-weight: 700; }
.news-arrow-buttons, .news-slide-picks { display: flex; flex-wrap: wrap; gap: .4rem; }
.news-arrow-buttons button, .news-slide-picks button {
  width: 44px; height: 44px; border: 1px solid #99bad4; border-radius: 9px;
  background: #102e54; color: white; cursor: pointer; font-size: 1.2rem;
}
.news-arrow-buttons button:disabled { opacity: .48; cursor: default; }
.news-slide-picks button { background: #eef6fd; color: #102e54; font-size: 1rem; }
.news-slide-picks button[aria-pressed="true"] { background: #102e54; color: #fff; border-color: #e2ba62; }
.news-slides { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: .7rem; overflow: auto; scroll-snap-type: x mandatory; padding: 0 0 .45rem; margin-block: .5rem; }
.news-slides li { scroll-snap-align: start; min-height: 11rem; padding: clamp(1.2rem, 4vw, 2rem); border-radius: 14px; background: linear-gradient(145deg, #102e54, #075c82); color: #fff; }
.news-slides li:nth-child(even) { background: #eaf4fd; color: #102e54; }
.news-slides .eyebrow { color: #ffd293; }
.news-slides li:nth-child(even) .eyebrow { color: #245c81; }
.news-slides h3 { margin: .75rem 0 .55rem; color: inherit; font-size: clamp(1.25rem, 4vw, 1.75rem); }
.news-slide-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; margin: .8rem 0; }
.news-slide-metrics div { padding: .55rem .65rem; border: 1px solid #c1d9eb; border-radius: 8px; background: #f8fbfd; color: #102e54; }
.news-slide-metrics div + div { background: #fff1d0; border-color: #e9c674; }
.news-slide-metrics dt { font-size: .75rem; }
.news-slide-metrics dd { margin: .2rem 0 0; font-size: clamp(.86rem,2.4vw,1.18rem); font-weight: 800; line-height: 1.2; }

.news-visitor-map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.news-map-plot { position: relative; width: min(100%, 23rem); aspect-ratio: 1; }
.news-visitor-map svg { display: block; width: 100%; height: 100%; background: #e1f2fa; border: 1px solid #bfd9e8; border-radius: 14px; }
.news-map-interactive svg :is(circle,text) { visibility: hidden; }
.news-map-marker { position: absolute; top: var(--y); left: var(--x); transform: translate(-50%,-50%); width: 29px; height: 29px; border: 2px solid white; border-radius: 100%; background: #133b64; color: #fff; font-weight: 800; cursor: pointer; }
.news-map-marker[aria-pressed="true"] { background: #ffc663; color: #102e54; z-index: 1; }
.news-visitor-map path { fill: #b9d8c0; stroke: #779a81; stroke-width: .6; }
.news-visitor-map circle { fill: #133b64; stroke: white; stroke-width: .5; }
.news-visitor-map text { fill: white; font: 700 4px system-ui; text-anchor: middle; }
.news-visitor-map ol { align-self: center; margin-block: 0; padding-inline-start: 1.5rem; }
.news-visitor-map li { margin-block: .45rem; font-size: .9rem; }
.news-visitor-map li summary { cursor: pointer; font-weight: 750; }
.news-visitor-map li p { margin: .25rem 0 .6rem; }
.news-batch [hidden] { display: none !important; }
.news-outlook {
  padding: clamp(1rem, 4vw, 1.75rem); color: #102e54; background: #fff6e8;
  border: 1px solid #ead4ae; border-left: 4px solid #be7d29; border-radius: 14px;
}
.news-outlook h2 { margin-top: .35rem; }
.news-outlook ul { margin: .9rem 0 0; padding-inline-start: 1.2rem; }
.news-outlook li + li { margin-top: .75rem; }
.news-outlook li p { margin: .25rem 0 0; }
.news-timeline { margin: 1rem 0; padding-left: .95rem; list-style: none; border-left: 2px solid #d6ac58; }
.news-timeline li { position: relative; }
.news-timeline li::before {
  content: ''; position: absolute; left: -1.31rem; top: 1.1rem; width: .62rem; height: .62rem; border-radius: 50%;
  background: #102e54; border: 2px solid #fff; box-shadow: 0 0 0 1px #d6ac58;
}
.news-timeline li + li { margin-top: .55rem; }
.news-timeline details { padding: .65rem .8rem; border-radius: 10px; background: #edf6fc; border: 1px solid #cbdfed; }
.news-timeline summary { cursor: pointer; }
.news-timeline summary span { display: inline-block; margin: .05rem .55rem .05rem 0; padding: .2rem .45rem; border-radius: 5px; background: #102e54; color: #fff; font-size: .8rem; }
.news-timeline details p { margin: .45rem 0 0; }
.rail-map-wrap { max-width: none; }
.rail-map-frame { width: 100%; height: 720px; display: block; border: 1px solid #c6ddec; border-radius: 14px; background: #edf6fc; }
.rail-stations { margin-block: 2rem; }
.rail-station-picks { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .55rem; margin: 1rem 0 2rem; }
.rail-station-picks a { display: flex; gap: .5rem; align-items: center; min-height: 44px; padding: .55rem .7rem; color: #102e54; background: #eef6fd; border: 1px solid #c0d9eb; border-radius: 9px; font-weight: 750; }
.rail-station-picks a:hover { background: #dcedfa; }
.rail-station-picks a span { flex: none; color: #fff; background: #102e54; border-radius: 4px; padding: .12rem .28rem; font-size: .75rem; }
.rail-station { border-top: 1px solid #c8ddeb; margin-block: 1.75rem; padding-top: 1.5rem; }
.rail-station:target { border-top: 3px solid #e2ad45; }
.rail-station h3 { margin: .35rem 0 .75rem; font-size: clamp(1.35rem,4vw,2rem); }
.rail-station h4 { margin: .9rem 0 .4rem; }
.rail-station .editorial-project-grid { margin-block: .65rem 1.1rem; }
#rail-station-index { scroll-margin-top: 110px; }

body.news-rail-map { margin: 0; padding: 0; background: #f7fbfe; }
.news-rail-map > :not(main, script, dialog), .news-rail-map #main > :not(:has(#map-panel)),
.news-rail-map #main > :has(#map-panel) > :not(.directory-layout),
.news-rail-map .directory-layout > :not(#map-panel) { display: none !important; }
#news-rail-map :is(.iris-float, .whatsapp-float, .f9-interest-float, .map-mobile-jump, .directory-map-back) { display: none !important; }
.news-rail-map #main, .news-rail-map #main > :has(#map-panel), .news-rail-map .directory-layout {
  max-width: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; display: block !important;
}
.news-rail-map #map-panel { position: static; width: 100%; max-height: none; border: 0; margin: 0; }
.news-rail-map #project-map { min-height: 410px; }

@media (max-width: 940px) { .news-draft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .news-draft-grid, .news-diagram-cards, .news-visitor-map { grid-template-columns: 1fr; }
  .news-bar-row { gap: .42rem; font-size: .82rem; }
  .rail-station-picks { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rail-station-picks a { font-size: .85rem; }
  .rail-map-frame { height: 690px; }
}
@media (prefers-reduced-motion: reduce) {
  .news-data-block.news-animate .news-bar-track span { animation: none; }
}
