.transfer-page > .prose {
  max-width: none;
}
.transfer-page > .prose p {
  max-width: none;
}

.transfer-airport {
  margin: 8px 0 36px;
  padding: 22px 24px 24px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  max-width: none;
}
.transfer-airport h2 {
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 4px 0 10px;
}
.transfer-airport p:last-child {
  margin: 0;
  color: var(--mute);
  line-height: 1.55;
  font-weight: 550;
}

/* Transfer map — premium stage */
.transfer-map-block {
  margin: 56px 0 64px;
}

.transfer-stage {
  display: grid;
  gap: 18px;
  align-items: stretch;
}
@media (min-width: 980px) {
  .transfer-stage {
    grid-template-columns: 1.55fr 0.9fr;
    gap: 20px;
    min-height: 580px;
  }
}

.transfer-stage__map {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: #dce6ef;
  min-height: 360px;
}
@media (min-width: 980px) {
  .transfer-stage__map { min-height: 560px; }
}

.transfer-map {
  height: 100%;
  min-height: 360px;
  width: 100%;
  z-index: 1;
}
@media (min-width: 980px) {
  .transfer-map { min-height: 560px; }
}

.map-chip {
  position: absolute;
  z-index: 500;
  left: 16px;
  top: 16px;
  max-width: min(280px, calc(100% - 32px));
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(11, 15, 20, 0.06);
  box-shadow: 0 12px 40px rgba(11, 15, 20, 0.12);
  display: grid;
  gap: 2px;
}
.map-chip__label {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}
.map-chip strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.map-chip span:last-child {
  font-size: 13px;
  font-weight: 600;
  color: var(--mute);
}

.transfer-stage__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.route-card {
  text-align: left;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: transparent;
  display: grid;
  gap: 6px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  cursor: pointer;
}
.route-card__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.route-card__top strong {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.route-card__top em {
  font-style: normal;
  font-size: 12px;
  font-weight: 750;
  color: var(--brand-blue);
  white-space: nowrap;
}
.route-card__blurb {
  font-size: 13px;
  color: var(--mute);
  font-weight: 550;
  line-height: 1.35;
}
.route-card:hover {
  background: var(--bg);
}
.route-card.is-on {
  background: rgba(232, 32, 0, 0.05);
  border-color: rgba(232, 32, 0, 0.35);
}
.route-card.is-on .route-card__top em {
  color: var(--brand-red);
}

.route-request {
  margin-top: 6px;
  width: 100%;
  border-radius: 999px;
}

/* Custom pins */
.map-pin-wrap {
  background: transparent !important;
  border: 0 !important;
}
.map-pin {
  position: relative;
  transform: translate(-50%, -100%);
  white-space: nowrap;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.map-pin i {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #1a3a6e;
  box-shadow: 0 2px 8px rgba(11, 15, 20, 0.35);
  position: relative;
}
.map-pin i::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #a8e063;
  transform: rotate(45deg);
}
.map-pin span {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(11, 15, 20, 0.1);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(11, 15, 20, 0.12);
  white-space: nowrap;
}
.map-pin--hub i {
  background: #e82000;
  box-shadow: 0 0 0 4px rgba(232, 32, 0, 0.18), 0 2px 8px rgba(11, 15, 20, 0.35);
}
.map-pin--hub i::after {
  background: #fff;
}
.map-pin.is-active i {
  background: #ff6a00;
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.2), 0 2px 8px rgba(11, 15, 20, 0.35);
}
.map-pin.is-active i::after {
  background: #fff;
}
.map-pin.is-active span {
  border-color: rgba(255, 106, 0, 0.45);
  color: #c2410c;
}
.map-pin--hub.is-active i {
  background: #e82000;
}

