.transport-page {
  color: #10233f;
}

.transport-page h1.text-body {
  height: auto !important;
  overflow: visible !important;
}

.transport-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
  margin: 18px 0 20px;
  padding: 30px 32px;
  border-left: 5px solid #165ddd;
  background: #eff4fc;
}

.transport-page-hero__copy > p:first-child,
.transport-directory__heading > div > p,
.transport-related > p {
  margin: 0 0 7px;
  color: #165ddd;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.transport-page-hero h1 {
  margin: 0 0 10px !important;
  color: #10233f !important;
  font-size: clamp(1.7rem, 3vw, 2.55rem) !important;
  font-weight: 800 !important;
  letter-spacing: -.035em;
  line-height: 1.06 !important;
}

.transport-page-hero__copy > p:last-child {
  max-width: 760px;
  margin: 0;
  color: #66758b;
  line-height: 1.55;
}

.transport-page-hero__facts {
  display: grid;
  gap: 1px;
  min-width: 210px;
  background: #d8e2ef;
}

.transport-page-hero__facts span {
  padding: 11px 13px;
  background: #fff;
  color: #52637a;
  font-size: .76rem;
  font-weight: 700;
}

.transport-directory {
  margin: 30px 0;
}

.transport-directory__heading {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 13px;
}

.transport-directory__heading h2,
.transport-related h2 {
  margin: 0;
  color: #10233f;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -.025em;
}

.transport-directory__search span {
  display: block;
  margin-bottom: 4px;
  color: #66758b;
  font-size: .68rem;
}

.transport-directory__search input {
  width: min(310px, 100%);
  padding: 9px 12px;
  border: 1px solid #c9d5e5;
  border-radius: 7px;
  background: #fff;
  color: #10233f;
}

.transport-directory__search input:focus {
  border-color: #165ddd;
  box-shadow: 0 0 0 3px rgba(22, 93, 221, .12);
  outline: 0;
}

.transport-directory__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #dbe4ef;
}

.transport-directory__route {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  min-width: 0;
  padding: 15px 13px;
  border-right: 1px solid #dbe4ef;
  border-bottom: 1px solid #dbe4ef;
  color: #10233f;
  text-decoration: none;
}

.transport-directory__route:nth-child(even) {
  border-right: 0;
}

.transport-directory__route:hover,
.transport-kind-nav a:hover,
.transport-related__list a:hover {
  background: #f5f8fe;
  color: #10233f;
}

.transport-directory__number {
  min-width: 54px;
  padding: 7px 8px;
  border-radius: 7px;
  background: #165ddd;
  color: #fff;
  font-size: .74rem;
  font-weight: 850;
  text-align: center;
}

.transport-directory__route strong {
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.transport-cluster {
  margin: 28px 0 10px;
}

.transport-cluster__heading p,
.transport-directory__count {
  margin: 0 0 6px;
  color: #66758b;
  font-size: .72rem;
}

.transport-cluster__heading h2 {
  margin: 0;
  color: #10233f;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -.025em;
}

.transport-cluster__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
  border: 1px solid #d5dfeb;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.transport-cluster__tabs a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 10px;
  align-items: center;
  min-width: 0;
  padding: 16px;
  border-right: 1px solid #d5dfeb;
  color: #10233f;
  text-decoration: none;
}

.transport-cluster__tabs a:last-child {
  border-right: 0;
}

.transport-cluster__tabs a:hover,
.transport-cluster__tabs a:focus-visible {
  background: #eef4ff;
  box-shadow: inset 0 3px 0 #165ddd;
}

.transport-cluster__tabs a > span {
  grid-row: 1 / span 2;
  font-size: 1.3rem;
}

.transport-cluster__tabs strong {
  overflow-wrap: anywhere;
  font-size: .9rem;
}

.transport-cluster__tabs small {
  color: #66758b;
  font-size: .7rem;
}

.transport-directory--cluster {
  scroll-margin-top: 24px;
  padding-top: 8px;
}

.transport-cluster-overview {
  margin: 22px 0;
  padding: clamp(16px, 2.5vw, 24px);
  border: 1px solid #d5dfeb;
  border-left: 4px solid #165ddd;
  border-radius: 0 18px 18px 0;
  background: linear-gradient(135deg, #fff 0%, #f4f8ff 100%);
}

.transport-cluster-overview > p:first-child {
  margin: 0 0 6px;
  color: #165ddd;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.transport-cluster-overview h2 {
  margin: 0 0 16px;
  color: #10233f;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 800;
}

.transport-cluster-overview__grid {
  display: grid;
  grid-template-columns: minmax(170px, .35fr) 1fr;
  gap: 16px;
  align-items: center;
}

.transport-cluster-overview__grid > div {
  display: flex;
  gap: 9px;
  align-items: baseline;
}

.transport-cluster-overview__grid strong {
  color: #165ddd;
  font-size: 1.65rem;
}

.transport-cluster-overview__grid span,
.transport-cluster-overview__grid p,
.transport-cluster-overview__routes {
  margin: 0;
  color: #66758b;
}

.transport-cluster-overview__routes {
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid #d5dfeb;
  line-height: 1.65;
}

.transport-cluster-overview__routes strong {
  color: #10233f;
}

.transport-directory__arrow,
.transport-related__list b {
  color: #df7a13;
  font-size: 1.12rem;
}

.transport-directory__notice {
  margin: 0 0 12px;
  padding: 10px 13px;
  border-left: 4px solid #df7a13;
  background: #fff7e9;
  color: #765229;
  font-size: .8rem;
}

.station-timetable {
  border-top: 1px solid #dbe4ef;
}

.station-timetable__route {
  display: grid;
  grid-template-columns: minmax(330px, .44fr) minmax(0, 1fr);
  border-bottom: 1px solid #dbe4ef;
  transition: background .15s ease;
}

.station-timetable__route:hover {
  background: #f7faff;
}

.station-timetable__route > header {
  padding: 16px 18px;
  border-right: 1px solid #dbe4ef;
}

.station-timetable__route > header a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #10233f;
  text-decoration: none;
}

.station-timetable__route > header span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 9px 13px;
  border-radius: 8px;
  background: #135adb;
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(19, 90, 219, .22);
  flex-shrink: 0;
}

.station-timetable__route > header strong {
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.35;
  color: #10233f;
}

.station-timetable__route > header a:hover strong {
  color: #135adb;
}

.station-timetable__times {
  min-width: 0;
  padding: 14px 18px;
}

.station-timetable__calendar {
  display: grid;
  grid-template-columns: minmax(180px, .36fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 8px 0;
}

.station-timetable__calendar > strong {
  color: #475569;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.4;
}

.station-timetable__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.station-timetable__chips > span {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid #d2dfe9;
  border-radius: 7px;
  background: #f2f6fb;
  color: #0f274a;
  font-size: .80rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: all .15s ease;
}

.station-timetable__chips > span:hover {
  background: #e7f1ff;
  border-color: #a4c9ff;
  color: #0b45b0;
}

@media (max-width: 860px) {
  .station-timetable__route {
    grid-template-columns: 1fr;
  }
  .station-timetable__route > header {
    border-right: none;
    border-bottom: 1px dashed #dbe4ef;
    padding: 12px 14px;
  }
  .station-timetable__times {
    padding: 10px 14px;
  }
  .station-timetable__calendar {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.transport-kind-nav {
  margin: 28px 0;
  padding-top: 20px;
  border-top: 1px solid #dbe4ef;
}

.transport-kind-nav h2 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  font-weight: 800;
}

.transport-kind-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.transport-kind-nav a {
  padding: 8px 10px;
  border: 1px solid #c9d5e5;
  border-radius: 7px;
  color: #0e3f9f;
  font-size: .76rem;
  font-weight: 700;
  text-decoration: none;
}

.transport-source-line {
  display: flex;
  justify-content: flex-end;
  margin: 14px 0 0;
  color: #66758b;
  font-size: .7rem;
}

.transport-related {
  margin: 34px 0;
  padding-top: 24px;
  border-top: 1px solid #dbe4ef;
}

.transport-related__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
  border-top: 1px solid #dbe4ef;
}

.transport-related__list a {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 13px;
  border-right: 1px solid #dbe4ef;
  border-bottom: 1px solid #dbe4ef;
  color: #10233f;
  font-weight: 700;
  text-decoration: none;
}

.transport-related__list a:nth-child(even) {
  border-right: 0;
}

.transport-article {
  max-width: 920px;
  margin: 36px auto 44px;
  color: #25364d;
  font-size: .96rem;
  line-height: 1.7;
}

.transport-article > :first-child {
  margin-top: 0;
}

.transport-article h2,
.transport-article [data-streamdown="heading-2"] {
  margin: 36px 0 13px;
  color: #10233f;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -.025em;
}

.transport-article h3,
.transport-article [data-streamdown="heading-3"] {
  margin: 27px 0 10px;
  color: #183252;
  font-size: 1.18rem;
  font-weight: 780;
}

.transport-article ol,
.transport-article ul {
  padding-left: 1.35rem;
}

.transport-article li {
  margin: 5px 0;
}

.transport-article hr {
  margin: 32px 0;
  border-top: 1px solid #dbe4ef;
  opacity: 1;
}

.transport-article .overflow-x-auto {
  max-width: 100%;
  overflow-x: auto;
}

.transport-article table {
  width: 100%;
  min-width: 620px;
  margin: 13px 0 20px;
  border-collapse: collapse;
}

.transport-article th,
.transport-article td {
  padding: 9px 11px;
  border: 1px solid #dbe4ef;
  text-align: left;
  vertical-align: top;
}

.transport-article th {
  background: #eff4fc;
  color: #10233f;
  font-size: .8rem;
}

.transport-article pre,
.transport-article code {
  max-width: 100%;
  overflow-wrap: anywhere;
}

[data-transport-item][hidden] {
  display: none !important;
}

@media (max-width: 767.98px) {
  .transport-cluster-overview__grid {
    grid-template-columns: 1fr;
  }

  .transport-page-hero,
  .station-timetable__route,
  .station-timetable__calendar {
    grid-template-columns: 1fr;
  }

  .transport-page-hero {
    gap: 20px;
    padding: 24px 19px;
  }

  .transport-page-hero__facts {
    min-width: 0;
  }

  .transport-directory__heading {
    align-items: stretch;
    flex-direction: column;
  }

  .transport-directory__search input {
    width: 100%;
  }

  .transport-directory__list,
  .transport-related__list,
  .transport-cluster__tabs {
    grid-template-columns: 1fr;
  }

  .transport-cluster__tabs a {
    border-right: 0;
    border-bottom: 1px solid #d5dfeb;
  }

  .transport-cluster__tabs a:last-child {
    border-bottom: 0;
  }

  .transport-directory__route,
  .transport-related__list a,
  .station-timetable__route > header {
    border-right: 0;
  }

  .station-timetable__route > header {
    border-bottom: 1px solid #edf1f6;
  }

  .transport-article {
    margin-top: 28px;
    font-size: .92rem;
  }
}
