.timetable-page {
  width: 100%;
  margin: 0 auto 72px;
}
.timetable-hero {
  position: relative;
  overflow: visible;
  color: #fff;
  background:
    linear-gradient(
      90deg,
      rgb(4 31 68 / 95%) 0%,
      rgb(6 43 88 / 86%) 48%,
      rgb(8 48 92 / 48%) 100%
    ),
    url("../images/train-hero-background.png") center 56% / cover no-repeat;
}
.timetable-hero_inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 32px;
}
.timetable-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: #c9ddf4;
  font-size: 11px;
}
.timetable-breadcrumbs a {
  color: #fff;
  font-weight: 600;
}
.timetable-breadcrumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.timetable-hero_copy {
  max-width: 760px;
  margin-bottom: 18px;
}
.timetable-eyebrow {
  color: #c9def7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.timetable-eyebrow .fa-solid {
  margin-right: 5px;
}
.timetable-hero h1 {
  margin: 7px 0 8px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.045em;
}
.timetable-hero_copy p {
  max-width: 700px;
  margin: 0;
  color: #e2edf9;
  font-size: 14px;
}
.timetable-search {
  display: flex;
  max-width: 720px;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgb(255 255 255 / 66%);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 12px 30px rgb(3 23 52 / 24%);
}
.timetable-search_field {
  position: relative;
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
}
.timetable-search_icon {
  color: #8090a5;
}
.timetable-search_field input[type="search"] {
  width: 100%;
  min-width: 0;
  height: 44px;
  border: 0;
  outline: 0;
  color: #263b58;
  background: transparent;
  font-size: 14px;
}
.timetable-search_field input::placeholder {
  color: #8a97aa;
}
.timetable-search_field .station-suggestions {
  top: calc(100% + 9px);
}
.timetable-search > button {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.timetable-search > button:hover {
  background: var(--color-primary-hover);
}
.timetable-hero_points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin-top: 15px;
  color: #e0ebf9;
  font-size: 10px;
}
.timetable-hero_points span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.timetable-hero_points i {
  color: #a9c9f1;
}
.timetable-message {
  width: min(1120px, calc(100% - 40px));
  margin: 22px auto;
  padding: 14px 16px;
  border-radius: 9px;
  font-size: 13px;
}
.timetable-message--error {
  border: 1px solid #f1c5c2;
  color: #9f332b;
  background: #fff4f2;
}
.timetable-recent,
.timetable-seo-content {
  width: min(1120px, calc(100% - 40px));
  margin: 26px auto;
}
.timetable-section_heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 13px;
}
.timetable-section_heading .timetable-eyebrow {
  color: #72829a;
}
.timetable-section_heading h2 {
  margin: 4px 0 0;
  color: #293d59;
  font-size: 21px;
}
.timetable-section_heading > button {
  padding: 7px 10px;
  border: 1px solid #dce4ee;
  border-radius: 7px;
  color: #63738a;
  background: #fff;
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
}
.timetable-section_heading > button:hover {
  border-color: #b9c9df;
  color: #1d528e;
}
.timetable-recent_list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.timetable-recent_card {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid #e1e8f1;
  border-radius: 10px;
  color: #33445c;
  background: #fff;
  box-shadow: 0 3px 12px rgb(24 47 79 / 4%);
  transition:
    border-color 0.16s ease,
    transform 0.16s ease;
}
.timetable-recent_card:hover {
  transform: translateY(-1px);
  border-color: #a9bfdc;
}
.timetable-recent_number {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 11px;
  color: #24548d;
  background: #edf3ff;
  font-size: 10px;
  font-weight: 800;
}
.timetable-recent_details {
  display: grid;
  min-width: 0;
  gap: 4px;
}
.timetable-recent_details strong {
  overflow: hidden;
  color: #293d59;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.timetable-recent_details small {
  overflow: hidden;
  color: #75849a;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.timetable-recent_arrow {
  margin-left: auto;
  color: #4272aa;
  font-size: 18px;
}
.timetable-seo-content {
  padding: 21px;
  border: 1px solid #e4eaf2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 16px rgb(24 47 79 / 4%);
}
.timetable-faq-list {
  display: grid;
  gap: 9px;
}
.timetable-faq {
  padding: 13px 15px;
  border: 1px solid #e7ecf3;
  border-radius: 9px;
  background: #fbfcfe;
}
.timetable-faq summary {
  color: #304761;
  font-size: 16;
  font-weight: 700;
  cursor: pointer;
}
.timetable-faq summary::marker {
  color: #4474aa;
}
.timetable-faq p,
.timetable-related > p {
  margin: 9px 0 0;
  color: #68788e;
  font-size: 12px;
  line-height: 1.7;
}
.timetable-related_links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 15px;
}
.timetable-related_links a {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 11px;
  padding: 13px;
  border: 1px solid #e5ebf3;
  border-radius: 9px;
  color: #304761;
  background: #fbfcfe;
}
.timetable-related_links a:hover {
  border-color: #b9c9df;
  background: #f5f8fd;
}
.timetable-related_links a > i {
  margin-top: 2px;
  color: #2f65a0;
  font-size: 15px;
}
.timetable-related_links a > span {
  display: grid;
  gap: 4px;
}
.timetable-related_links strong {
  font-size: 12px;
}
.timetable-related_links small {
  color: #728198;
  font-size: 10px;
  line-height: 1.5;
}
.timetable-content {
  width: min(1120px, calc(100% - 40px));
  margin: 26px auto 0;
}
.timetable-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 22px;
  align-items: center;
  padding: 20px;
  border: 1px solid #e1e8f1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 18px rgb(24 47 79 / 6%);
}
.timetable-summary_heading {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}
.timetable-summary_icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 12px;
  color: var(--color-primary);
  background: #edf3ff;
  font-size: 18px;
}
.timetable-summary_number {
  color: #fff;
  font-size: 21px;
  font-weight: bold;
  letter-spacing: ba;
  background: #fd6804;
  padding: 3px 9px;
  border-radius: 5px;
  display: inline-block;
  line-height: 22px;
}
.timetable-summary_heading h2 {
  margin: 2px 0 0;
  color: #283b55;
  font-size: 19px;
}
.timetable-summary_route {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: #314864;
  font-size: 18px;
  font-weight: 700;
  text-align: right;
}
.timetable-summary_route > span {
  display: grid;
  gap: 2px;
}
.timetable-summary_route small {
  color: #8290a4;
  font-size: 9px;
  font-weight: 600;
}
.timetable-summary_route > i {
  color: var(--color-primary);
}
.timetable-summary_days {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.timetable-summary_days strong {
  margin-right: 4px;
  color: #53647c;
  font-size: 14px;
}
.timetable-summary_days > span {
  display: grid;
  min-width: 40px;
  min-height: 26px;
  place-items: center;
  border-radius: 6px;
  color: #94a0af;
  background: #f0f2f5;
  font-size: 12px;
  font-weight: 700;
}
.timetable-summary_days > span.is-active {
  color: #fff;
  background: #28a36b;
}
.timetable-summary_facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}
.timetable-summary_facts > span {
  padding: 7px 9px;
  border: 1px solid #e8edf4;
  border-radius: 7px;
  color: #7b899d;
  font-size: 14px;
}
.timetable-summary_facts strong {
  margin-right: 3px;
  color: #324a67;
}
.timetable-table_heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 26px 0 11px;
}
.timetable-table_heading .timetable-eyebrow {
  color: #72829a;
}
.timetable-table_heading h2 {
  margin: 3px 0 0;
  color: #293d59;
  font-size: 20px;
}
.timetable-table_heading > span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #254e88;
  background: #eaf1fc;
  font-size: 10px;
  font-weight: 700;
}
.timetable-table_wrap {
  overflow-x: auto;
  border: 1px solid #e0e7f0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 16px rgb(24 47 79 / 5%);
}
.timetable-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  color: #33445c;
  font-size: 13px;
  text-align: left;
}
.timetable-table th {
  padding: 12px 10px;
  color: #fff;
  background: #133779;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.timetable-table td {
  padding: 10px;
  border-bottom: 1px solid #e8edf3;
  white-space: nowrap;
}
.timetable-table tbody tr:nth-child(even) {
  background: #f8faff;
}
.timetable-table tbody tr:hover {
  background: #edf4ff;
}
.timetable-table tbody tr:last-child td {
  border-bottom: 0;
}
.timetable-table th:first-child,
.timetable-table td:first-child {
  padding-left: 15px;
}
.timetable-table th:nth-child(1),
.timetable-table td:nth-child(1) {
  width: 54px;
}
.timetable-table th:nth-child(2),
.timetable-table td:nth-child(2) {
  width: 100px;
}
.timetable-table th:nth-child(3),
.timetable-table td:nth-child(3) {
  min-width: 190px;
}
.timetable-station_code {
  color: #1d528e;
  font-size: 0;
}
.timetable-station_name {
  color: #263e5d;
  font-weight: 600;
}
.timetable-disclaimer {
  margin: 12px 0 0;
  padding: 11px 13px;
  border-left: 3px solid #9eb1f4;
  color: #6f7e94;
  background: #f5f8ff;
  font-size: 10px;
  line-height: 1.6;
}

@media (max-width: 680px) {
  .timetable-page {
    margin-bottom: 55px;
  }
  .timetable-hero {
    background-position:
      center,
      60% center;
  }
  .timetable-hero_inner {
    width: calc(100% - 32px);
    padding: 14px 0 22px;
  }
  .timetable-breadcrumbs {
    margin-bottom: 17px;
  }
  .timetable-hero_copy {
    margin-bottom: 14px;
  }
  .timetable-hero h1 {
    margin: 6px 0;
    font-size: 27px;
  }
  .timetable-hero_copy p {
    font-size: 12px;
    line-height: 1.5;
    display: none;
  }
  .timetable-summary_number {
    font-size: 14px;
  }
  .timetable-search {
    gap: 4px;
    padding: 5px;
  }
  .timetable-search_field {
    gap: 7px;
    padding: 0 5px;
  }
  .timetable-search_field input[type="search"] {
    height: 42px;
    font-size: 12px;
  }
  .timetable-search > button {
    min-height: 42px;
    gap: 6px;
    padding: 0 10px;
    font-size: 10px;
  }
  .timetable-hero_points {
    gap: 7px 12px;
    font-size: 9px;
  }
  .timetable-recent,
  .timetable-seo-content {
    width: calc(100% - 28px);
    margin: 19px auto;
  }
  .timetable-section_heading {
    align-items: flex-start;
  }
  .timetable-section_heading h2 {
    font-size: 17px;
  }
  .timetable-section_heading > button {
    flex: 0 0 auto;
  }
  .timetable-recent_list,
  .timetable-related_links {
    grid-template-columns: 1fr;
  }
  .timetable-seo-content {
    padding: 15px;
  }
  .timetable-faq {
    padding: 11px 12px;
  }
  .timetable-faq summary {
    font-size: 13px;
  }
  .timetable-faq p,
  .timetable-related > p {
    font-size: 11px;
  }
  .timetable-content {
    width: calc(100% - 28px);
    margin-top: 17px;
  }
  .timetable-summary {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 14px;
  }
  .timetable-summary_heading h2 {
    font-size: 16px;
  }
  .timetable-summary_route {
    justify-content: flex-start;
  }
  .timetable-summary_days {
    gap: 4px;
  }
  .timetable-summary_days > span {
    min-width: auto;
    min-height: auto;
    padding: 0 4px;
    font-size: 11px;
  }
  .timetable-summary_facts > span {
    font-size: 10px;
  }
  .timetable-summary_facts {
    justify-content: flex-start;
  }
  .timetable-table_heading {
    margin-top: 20px;
  }
  .timetable-table_heading h2 {
    font-size: 17px;
  }
  .timetable-table_wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .timetable-table {
    display: block;
    min-width: 0;
  }
  .timetable-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
  }
  .timetable-table tbody {
    display: grid;
    gap: 9px;
  }
  .timetable-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 10px;
    padding: 8px 11px;
    border: 1px solid #e0e7f0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 3px 12px rgb(24 47 79 / 5%);
  }
  .timetable-table tbody tr:nth-child(even) {
    background: #fff;
  }
  .timetable-table tbody tr:hover {
    background: #fff;
  }
  .timetable-table tbody td {
    display: grid;
    min-width: 0;
    gap: 3px;
    padding: 7px 2px;
    border: 0;
    white-space: normal;
  }
  .timetable-table tbody td::before {
    color: #8996a8;
    content: attr(data-label);
    font-size: 8px;
    font-weight: 600;
  }
  .timetable-table tbody td:nth-child(3) {
    grid-column: 1 / -1;
    grid-row: 1;
    padding-bottom: 9px;
    border-bottom: 1px solid #edf0f5;
    color: #263e5d;
    font-size: 13px;
    font-weight: 700;
  }
  .timetable-table tbody td:nth-child(3)::before {
    content: "Station";
  }
  .timetable-table tbody td:nth-child(1) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .timetable-table tbody td:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 6px;
  }
  .timetable-table tbody td:nth-child(2)::before {
    content: "Station code";
  }
  .timetable-table tbody td:nth-child(4) {
    grid-column: 1;
  }
  .timetable-table tbody td:nth-child(5) {
    grid-column: 2;
  }
  .timetable-table tbody td:nth-child(6) {
    grid-column: 1;
  }
  .timetable-table tbody td:nth-child(7) {
    grid-column: 2;
  }
  .timetable-table tbody td:nth-child(8) {
    grid-column: 1;
  }
  .timetable-table tbody td:nth-child(9) {
    grid-column: 2;
  }
}
