html,
body {
  overflow-x: clip;
}

.route-city-letter {
  color: #1769e0 !important;
  font-size: .9rem !important;
  font-weight: 850;
}

.season-bar--unknown i {
  min-height: 70px;
  background: linear-gradient(180deg, #dce5ef, #a9b9ca);
  filter: saturate(.4);
}

.season-bar--unknown.is-current i {
  background: linear-gradient(180deg, #dce5ef, #a9b9ca);
}

.editorial-route-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

.editorial-route-images figure,
.station-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px #16345c10;
}

.editorial-route-images img,
.station-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.editorial-route-images figcaption,
.station-media figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: .72rem;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #ffffff1f;
}

.station-fact-list {
  display: grid;
  gap: 0;
  margin: 24px 0;
}

.station-fact-list div {
  display: grid;
  grid-template-columns: minmax(120px, .42fr) 1fr;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.station-fact-list dt {
  color: var(--muted);
  font-size: .78rem;
}

.station-fact-list dd {
  margin: 0;
  color: var(--heading);
  font-weight: 700;
}

.station-overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.station-overview__grid--facts-only {
  grid-template-columns: minmax(0, 1fr);
}

/* Keep the horizontally scrollable chart inside the narrowest viewport. */
.season-card {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.season-chart {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overscroll-behavior-inline: contain;
}

.station-disclaimer {
  padding: 18px;
  border: 1px solid #cfdef1;
  border-radius: 14px;
  background: #f2f7fd;
}

.station-disclaimer p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .82rem;
}

.route-steps > li {
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  list-style: none;
}

.route-steps > li span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  margin-bottom: 24px;
  border-radius: 9px;
  color: #fff;
  background: var(--brand);
  font-size: .72rem;
  font-weight: 850;
}

.route-steps > li strong { color: var(--heading); }
.route-steps > li p { margin: 6px 0 0; color: var(--muted); font-size: .78rem; }

.station-hub-grid { grid-template-columns: repeat(2, 1fr); }
.station-hub-grid .info-card h2 { font-size: 1.25rem; }
.station-hub-notice { margin-top: 24px; }
.source-card .button { width: 100%; margin-top: 10px; }
.route-show-more[hidden] { display: none; }

@media (max-width: 900px) {
  .station-overview__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .editorial-route-images,
  .footer-links-grid,
  .station-hub-grid { grid-template-columns: 1fr; }
  .route-steps > li { min-height: 0; }
  .route-motion-v8 {
    display: block !important;
    min-height: 250px;
    padding: 18px 14px;
    overflow: hidden;
  }
  .route-motion-v8 .route-motion__map { display: block; margin-top: 0; }
  .route-motion-v8 .route-road { margin: 82px 22px 72px; }
  .route-motion-v8 figcaption { font-size: .7rem; line-height: 1.45; }
}

@media (max-width: 420px) {
  .shell { width: min(100% - 24px, 1240px); }
  .station-fact-list div { grid-template-columns: 1fr; gap: 4px; }
}
