.station-page {
  background: #fff;
  color: #252a2e;
}

.station-page .site-header {
  color: #23272b;
}

.station-page .site-header::before {
  background: #fff;
}

.station-page .header-shell {
  border-bottom-color: #cf1823;
}

.station-page .brand-overlay { display: none; }
.station-page .brand-solid { display: block; }

.station-main {
  padding: calc(var(--header-h) + 34px) 0 112px;
}

.station-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 58px;
  color: #6c7175;
  font-size: 13px;
}

.station-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.station-breadcrumbs a:hover { color: #d71920; }

.station-heading {
  margin-bottom: 48px;
}

.station-heading p {
  margin: 0 0 12px;
  color: #4b5054;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.station-heading h1 {
  margin: 0;
  color: #121518;
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.045em;
}

.station-locator {
  display: grid;
  grid-template-columns: minmax(340px, 420px) minmax(0, 1fr);
  min-height: 680px;
  border: 1px solid #cfd3d6;
  background: #fff;
}

.station-controls {
  position: relative;
  z-index: 3;
  display: flex;
  min-width: 0;
  max-height: 680px;
  flex-direction: column;
  border-right: 1px solid #cfd3d6;
  background: #fff;
}

.station-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 28px 22px 0;
}

.station-tab {
  position: relative;
  min-height: 52px;
  border: 0;
  border-bottom: 1px solid #d9dcde;
  padding: 0 10px 16px;
  background: transparent;
  color: #34393d;
  font: 700 13px/1.2 "ORLEN Sans", Arial, sans-serif;
  letter-spacing: .035em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.station-tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: #d71920;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.station-tab.is-active { color: #d71920; }
.station-tab.is-active::after { transform: scaleX(1); }

.station-panel {
  min-height: 0;
  padding: 25px 22px 28px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.station-panel[hidden] { display: none; }

.station-search-row {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr) 48px;
  min-height: 48px;
  border: 1px solid #cfd3d6;
  background: #fff;
}

.station-locate,
.station-search-submit {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #4a5155;
  cursor: pointer;
}

.station-locate {
  border-right: 1px solid #e0e2e4;
}

.station-locate svg,
.station-search-submit svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.station-locate:hover,
.station-locate:focus-visible { color: #d71920; }

.station-search-submit {
  background: #d71920;
  color: #fff;
}

.station-search-submit:hover,
.station-search-submit:focus-visible { background: #b9141c; }

.station-search-row input {
  min-width: 0;
  border: 0;
  padding: 0 13px;
  color: #252a2e;
  font: 15px/1 "ORLEN Sans", Arial, sans-serif;
}

.station-search-row input:focus { outline: 0; }

.station-search-row:focus-within {
  outline: 2px solid #d71920;
  outline-offset: 2px;
}

.station-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: #646b70;
  font-size: 12px;
  line-height: 1.5;
}

.station-filter-label {
  margin: 22px 0 12px;
  color: #30363a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.station-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.station-filter {
  min-height: 30px;
  border: 1px solid #d9dcde;
  border-radius: 18px;
  padding: 5px 11px;
  background: #fff;
  color: #c9202b;
  font: 500 12px/1.25 "ORLEN Sans", Arial, sans-serif;
  cursor: pointer;
  transition: .18s ease;
}

.station-filter:hover,
.station-filter:focus-visible {
  border-color: #d71920;
}

.station-filter[aria-pressed="true"] {
  border-color: #d71920;
  background: #d71920;
  color: #fff;
}

.station-filter-extra[hidden] { display: none; }

.station-more-filters {
  margin: 18px 0 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: #bd1c26;
  font: 600 12px/1.4 "ORLEN Sans", Arial, sans-serif;
  cursor: pointer;
}

.station-more-filters span { margin-left: 6px; }

.station-results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 28px 0 12px;
  padding-top: 20px;
  border-top: 1px solid #e1e3e5;
}

.station-results-heading h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.station-results-heading span {
  color: #737a7f;
  font-size: 12px;
}

.station-results {
  display: grid;
  gap: 9px;
}

.station-result {
  position: relative;
  width: 100%;
  border: 1px solid #dde0e2;
  padding: 16px 45px 16px 16px;
  background: #fff;
  color: #24292d;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: .18s ease;
}

.station-result:hover,
.station-result:focus-visible,
.station-result.is-active {
  border-color: #d71920;
  box-shadow: inset 3px 0 #d71920;
}

.station-result strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
  font-weight: 650;
}

.station-result small {
  display: block;
  color: #697075;
  font-size: 12px;
  line-height: 1.45;
}

.station-result::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: 17px;
  color: #d71920;
  font-size: 19px;
  transform: translateY(-50%);
}

.station-empty {
  padding: 22px 0;
  color: #646b70;
  font-size: 14px;
  line-height: 1.55;
}

.route-form {
  display: grid;
  gap: 19px;
}

.route-field label {
  display: block;
  margin-bottom: 8px;
  color: #343a3e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.route-field input,
.route-field select {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  border: 1px solid #cfd3d6;
  border-radius: 0;
  padding: 0 13px;
  background: #fff;
  color: #2d3236;
  font: 15px/1 "ORLEN Sans", Arial, sans-serif;
}

.route-field input:focus,
.route-field select:focus {
  outline: 2px solid #d71920;
  outline-offset: 2px;
}

.route-location-button {
  justify-self: start;
  border: 0;
  padding: 0;
  background: none;
  color: #c51f29;
  font: 600 12px/1.4 "ORLEN Sans", Arial, sans-serif;
  cursor: pointer;
}

.route-submit {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  padding: 0 18px;
  background: #d71920;
  color: #fff;
  font: 700 12px/1 "ORLEN Sans", Arial, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}

.route-result {
  margin-top: 25px;
  padding: 22px;
  background: #f1f2f2;
}

.route-result[hidden] { display: none; }

.route-result strong {
  display: block;
  margin-bottom: 8px;
  color: #d71920;
  font-size: 24px;
  font-weight: 600;
}

.route-result p {
  margin: 0;
  color: #51585d;
  font-size: 13px;
  line-height: 1.55;
}

.station-map-wrap {
  position: relative;
  min-width: 0;
  min-height: 680px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 30%, rgba(190, 214, 180, .75), transparent 28%),
    linear-gradient(145deg, #b9e3ec, #dbe7d2);
}

#station-map {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.station-map-fallback {
  position: absolute;
  z-index: 0;
  inset: 50% auto auto 50%;
  width: min(420px, calc(100% - 60px));
  color: #3f555b;
  text-align: center;
  transform: translate(-50%, -50%);
}

.station-map-style {
  position: absolute;
  z-index: 500;
  top: 12px;
  right: 12px;
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.22);
  border-radius: 2px;
  box-shadow: 0 1px 5px rgba(0,0,0,.22);
}

.station-map-style button {
  border: 0;
  border-right: 1px solid #d8dadd;
  padding: 9px 13px;
  background: rgba(255,255,255,.94);
  color: #343a3e;
  font: 600 12px/1 "ORLEN Sans", Arial, sans-serif;
  cursor: pointer;
}

.station-map-style button:last-child { border-right: 0; }
.station-map-style button.is-active { color: #d71920; background: #fff; }

.station-map-note {
  position: absolute;
  z-index: 500;
  right: 12px;
  bottom: 25px;
  max-width: 245px;
  padding: 8px 10px;
  background: rgba(255,255,255,.91);
  color: #535b60;
  font-size: 10px;
  line-height: 1.45;
  box-shadow: 0 1px 5px rgba(0,0,0,.15);
}

.station-pin.leaflet-div-icon {
  border: 0;
  background: transparent;
}

.station-pin__mark {
  position: relative;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 8px;
  box-sizing: border-box;
  background: #d71920;
  color: #fff;
  box-shadow: 0 5px 13px rgba(0,0,0,.28);
  font: 700 7px/1 Arial, sans-serif;
  letter-spacing: -.02em;
  transform: rotate(-45deg);
  transition: transform .18s ease, background .18s ease;
}

.station-pin__mark span {
  transform: rotate(45deg);
}

.station-pin.is-active .station-pin__mark {
  background: #252a2e;
  transform: rotate(-45deg) scale(1.16);
}

.station-cluster {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 3px solid rgba(255,255,255,.78);
  border-radius: 50%;
  background: #34393d;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
  font: 700 12px/1 "ORLEN Sans", Arial, sans-serif;
}

.leaflet-popup-content-wrapper {
  border-radius: 0;
  box-shadow: 0 10px 32px rgba(0,0,0,.2);
}

.leaflet-popup-content {
  min-width: 205px;
  margin: 18px 20px;
  font-family: "ORLEN Sans", Arial, sans-serif;
}

.station-popup strong {
  display: block;
  margin-bottom: 7px;
  color: #202529;
  font-size: 16px;
}

.station-popup span {
  display: block;
  color: #687075;
  font-size: 12px;
  line-height: 1.45;
}

.station-popup em {
  display: block;
  margin-top: 10px;
  color: #d71920;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.leaflet-control-attribution {
  font-family: Arial, sans-serif;
  font-size: 9px;
}

.station-info-band {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 75px;
  border-top: 1px solid #d4d7d9;
  border-bottom: 1px solid #d4d7d9;
}

.station-info-item {
  min-height: 180px;
  padding: 36px 34px;
  border-right: 1px solid #d4d7d9;
}

.station-info-item:last-child { border-right: 0; }

.station-info-item span {
  color: #d71920;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.station-info-item h2 {
  margin: 22px 0 10px;
  color: #2e3438;
  font-size: 24px;
  font-weight: 600;
}

.station-info-item p {
  margin: 0;
  color: #646b70;
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 1000px) {
  .station-locator { grid-template-columns: minmax(310px, 38%) minmax(0, 1fr); }
}

@media (max-width: 800px) {
  .station-main { padding-top: calc(var(--header-h) + 25px); }
  .station-breadcrumbs { margin-bottom: 42px; }
  .station-heading { margin-bottom: 34px; }
  .station-locator { grid-template-columns: 1fr; }
  .station-controls { max-height: none; border-right: 0; border-bottom: 1px solid #cfd3d6; }
  .station-panel { max-height: none; overflow: visible; }
  .station-map-wrap { min-height: 560px; }
  .station-info-band { grid-template-columns: 1fr; }
  .station-info-item { min-height: 0; border-right: 0; border-bottom: 1px solid #d4d7d9; }
  .station-info-item:last-child { border-bottom: 0; }
}

@media (max-width: 520px) {
  .station-main { padding-bottom: 80px; }
  .station-heading h1 { font-size: 46px; }
  .station-tabs { padding: 23px 16px 0; }
  .station-tab { font-size: 11px; }
  .station-panel { padding: 21px 16px 25px; }
  .station-search-row { grid-template-columns: 43px minmax(0, 1fr) 46px; }
  .station-map-wrap { min-height: 500px; }
  .station-map-style { top: 10px; right: 10px; }
  .station-map-note { right: 10px; bottom: 28px; left: 10px; max-width: none; }
  .station-info-band { margin-top: 55px; }
  .station-info-item { padding: 30px 20px; }
}

@media (max-width: 800px) {
  .station-results {
    max-height: 360px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
  }
}