/*
 * Shared components for the Upcoming Departures options.
 * Every selector is scoped under .ot-dep and every class starts with ot-dep-,
 * so nothing reaches outside the section and the theme's element styles
 * (button, p, h2, ul) cannot leak in.
 *
 * Layout switches to the mobile structure at the live theme's tablet step:
 * desktop from 922px, mobile up to 921px.
 */

/* ---------- Section shell ---------- */

.ot-dep,
.ot-dep *,
.ot-dep *::before,
.ot-dep *::after {
  box-sizing: border-box;
}

.ot-dep {
  display: flex;
  flex-direction: column;
  gap: 32px;
  font-family: var(--ot-dep-font-body);
  font-size: 16px;
  line-height: 24px;
  color: var(--ot-dep-ink);
  -webkit-font-smoothing: antialiased;
}

.ot-dep [hidden] {
  display: none !important;
}

.ot-dep .ot-dep-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.ot-dep .ot-dep-icon {
  display: block;
  flex: none;
}

.ot-dep .ot-dep-icon--7 { width: 7px; height: 7px; }
.ot-dep .ot-dep-icon--13 { width: 13px; height: 13px; }
.ot-dep .ot-dep-icon--14 { width: 14px; height: 14px; }
.ot-dep .ot-dep-icon--16 { width: 16px; height: 16px; }
.ot-dep .ot-dep-icon--18 { width: 18px; height: 18px; }
.ot-dep .ot-dep-icon--20 { width: 20px; height: 20px; }
.ot-dep .ot-dep-icon--22 { width: 22px; height: 22px; }

/* ---------- Title ---------- */

.ot-dep .ot-dep-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ot-dep .ot-dep-eyebrow {
  margin: 0;
  font-family: var(--ot-dep-font-heading);
  font-weight: 400;
  font-size: 18px;
  line-height: 25.2px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ot-dep-gold);
}

.ot-dep .ot-dep-h2 {
  margin: 0;
  font-family: var(--ot-dep-font-heading);
  font-weight: 300;
  font-size: 36px;
  line-height: 46.8px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ot-dep-navy);
}

.ot-dep .ot-dep-h2__em {
  font-weight: 400;
  font-style: normal;
}

/* ---------- Buttons ---------- */

.ot-dep .ot-dep-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  margin: 0;
  border: 1px solid transparent;
  border-radius: var(--ot-dep-radius-button);
  font-family: var(--ot-dep-font-body);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
  transition: background-color var(--ot-dep-transition), border-color var(--ot-dep-transition), color var(--ot-dep-transition);
}

/* Button/Primary 241:508: gold pill, turns navy on hover like the live .button */
.ot-dep .ot-dep-btn--primary {
  padding: 14px 30px;
  line-height: 16px;
  background-color: var(--ot-dep-gold);
  border-color: var(--ot-dep-gold);
  color: var(--ot-dep-white);
}

.ot-dep .ot-dep-btn--primary:hover {
  background-color: var(--ot-dep-navy);
  border-color: var(--ot-dep-navy);
  color: var(--ot-dep-white);
}

/* Not available yet (no departure date chosen). Still focusable, so it is announced with its helper line. */
.ot-dep .ot-dep-btn[aria-disabled='true'],
.ot-dep .ot-dep-btn[aria-disabled='true']:hover {
  background-color: var(--ot-dep-gold);
  border-color: var(--ot-dep-gold);
  color: var(--ot-dep-white);
  opacity: 0.5;
  cursor: not-allowed;
}

/* Button/Ghost 467:2 (Button/Call in the frames): navy outline, fills navy on hover */
.ot-dep .ot-dep-btn--ghost {
  padding: 14px 28px;
  line-height: 18px;
  background-color: transparent;
  border-color: var(--ot-dep-navy);
  color: var(--ot-dep-navy);
}

.ot-dep .ot-dep-btn--ghost:hover {
  background-color: var(--ot-dep-navy);
  border-color: var(--ot-dep-navy);
  color: var(--ot-dep-white);
}

.ot-dep .ot-dep-btn:focus-visible,
.ot-dep .ot-dep-link:focus-visible {
  outline: var(--ot-dep-focus);
  outline-offset: 2px;
}

/* Text link that opens a form ("Send an enquiry") */
.ot-dep .ot-dep-link {
  appearance: none;
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  line-height: inherit;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ot-dep-navy);
  /* The live theme styles bare buttons with a radius and a shadow; this one is a text link. */
  border-radius: 0;
  box-shadow: none;
  text-decoration: underline;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  cursor: pointer;
  transition: color var(--ot-dep-transition);
}

.ot-dep .ot-dep-link:hover {
  color: var(--ot-dep-gold);
}

.ot-dep .ot-dep-enquiry {
  margin: 0;
  font-weight: 300;
  font-size: 15px;
  line-height: 22px;
  color: var(--ot-dep-ink);
}

/* ---------- Tags ---------- */

.ot-dep .ot-dep-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ot-dep .ot-dep-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  margin: 0;
  padding: 5px 11px 5px 8px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 13px;
  line-height: 16px;
  white-space: nowrap;
  color: var(--ot-dep-navy);
}

/* The three calendar tags (TAGS in departures-data.js), one fixed style each. */

/* Popular: gold tint, gold star, navy text */
.ot-dep .ot-dep-tag--popular {
  background: var(--ot-dep-gold-tint);
}

.ot-dep .ot-dep-tag--popular .ot-dep-icon {
  color: var(--ot-dep-gold);
}

/* Selling fast: the same pill in orange, with the flame line icon (client
   feedback, 18 November 2026). Text on the tint is 6.4:1 (AA); the flame is
   decorative (aria-hidden), the label carries the meaning. */
.ot-dep .ot-dep-tag--selling {
  background: var(--ot-dep-orange-tint);
  color: var(--ot-dep-orange-text);
}

.ot-dep .ot-dep-tag--selling .ot-dep-icon {
  color: var(--ot-dep-orange);
}


.ot-dep .ot-dep-tag--full {
  padding: 4px 10px;
  border: 1px solid var(--ot-dep-input-border);
  background: var(--ot-dep-white);
  color: var(--ot-dep-navy);
}

/* Limited spots: light red tint, red dot, dark red text (Figma 568:241) */
.ot-dep .ot-dep-tag--limited {
  gap: 7px;
  padding: 5px 11px 5px 9px;
  background: var(--ot-dep-rust-tint);
  color: var(--ot-dep-rust);
}

/* ---------- Route line ---------- */

.ot-dep .ot-dep-route {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  color: var(--ot-dep-navy-deep);
}

.ot-dep .ot-dep-route__end {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0;
  white-space: nowrap;
}

.ot-dep .ot-dep-route__city {
  font-family: var(--ot-dep-font-heading);
  font-weight: 400;
  font-size: 24px;
  line-height: 31.2px;
}

.ot-dep .ot-dep-route__label {
  font-weight: 300;
  font-size: 15px;
  line-height: 22px;
}

.ot-dep .ot-dep-route__arrow {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 24px;
}

.ot-dep .ot-dep-route__line {
  flex: 1 1 0;
  height: 1.5px;
  margin-right: -9px;
  background: var(--ot-dep-navy-deep);
}

.ot-dep .ot-dep-route__head {
  display: block;
  flex: none;
  width: 10px;
  height: 14px;
}

/* ---------- Deposit banner (photo, navy wash, glass step cards) ---------- */

.ot-dep .ot-dep-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 40px 48px;
  overflow: hidden;
  border-radius: var(--ot-dep-radius-banner);
  background: var(--ot-dep-navy-deep);
  color: var(--ot-dep-white);
}

.ot-dep .ot-dep-banner__photo,
.ot-dep .ot-dep-banner__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ot-dep .ot-dep-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--ot-dep-banner-wash-start), var(--ot-dep-banner-wash-end));
}

.ot-dep .ot-dep-banner__message {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  flex: 0 0 470px;
  max-width: 470px;
}

.ot-dep .ot-dep-kicker {
  margin: 0;
  font-weight: 600;
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 1.32px;
  text-transform: uppercase;
  color: var(--ot-dep-gold-light);
}

.ot-dep .ot-dep-banner__headline {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  margin: 0;
}

.ot-dep .ot-dep-banner__amount {
  flex: none;
  font-family: var(--ot-dep-font-heading);
  font-weight: 400;
  font-size: 64px;
  line-height: 64px;
  white-space: nowrap;
}

.ot-dep .ot-dep-banner__lead {
  flex: 1 1 0;
  min-width: 0;
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
}

.ot-dep .ot-dep-banner__balance {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px 8px 12px;
  border-radius: 30px;
  background: rgb(255 255 255 / 0.14);
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
}

.ot-dep .ot-dep-banner__balance .ot-dep-icon {
  color: var(--ot-dep-gold-light);
}

.ot-dep .ot-dep-steps {
  display: flex;
  align-items: stretch;
  gap: 14px;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ot-dep .ot-dep-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 20px 20px 22px;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: var(--ot-dep-radius-step);
  background: rgb(255 255 255 / 0.1);
}

.ot-dep .ot-dep-step--current {
  border-color: rgb(255 255 255 / 0.5);
  background: rgb(255 255 255 / 0.2);
}

.ot-dep .ot-dep-step__marker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ot-dep .ot-dep-step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.16);
  color: var(--ot-dep-white);
}

.ot-dep .ot-dep-step--current .ot-dep-step__icon {
  background: var(--ot-dep-gold);
}

.ot-dep .ot-dep-step__number {
  font-weight: 600;
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--ot-dep-gold-light);
  white-space: nowrap;
}

.ot-dep .ot-dep-step__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ot-dep .ot-dep-step__title {
  margin: 0;
  font-family: var(--ot-dep-font-heading);
  font-weight: 300;
  font-size: 24px;
  line-height: 31.2px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ot-dep-white);
}

.ot-dep .ot-dep-step__body {
  margin: 0;
  font-weight: 300;
  font-size: 14px;
  line-height: 20px;
  color: rgb(255 255 255 / 0.82);
}

/* ---------- Form fields ---------- */

.ot-dep .ot-dep-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.ot-dep .ot-dep-field__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: var(--ot-dep-navy);
}

.ot-dep .ot-dep-field__label .ot-dep-icon {
  color: var(--ot-dep-navy);
}

.ot-dep .ot-dep-field__note {
  margin: 0;
  font-weight: 300;
  font-size: 13px;
  line-height: 18px;
  color: var(--ot-dep-ink-70);
}

/* Closed select: shared by the custom dropdown button and the native select wrapper */
.ot-dep .ot-dep-control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  /* Every closed select is the same height, whatever its value. */
  height: 72px;
  margin: 0;
  padding: 13px 18px;
  border: 1px solid var(--ot-dep-input-border);
  border-radius: var(--ot-dep-radius-field);
  background: var(--ot-dep-white);
  font: inherit;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ot-dep-navy);
  box-shadow: none;
  cursor: pointer;
  transition: border-color var(--ot-dep-transition);
}

.ot-dep .ot-dep-control:hover {
  border-color: var(--ot-dep-navy);
  background: var(--ot-dep-white);
  color: var(--ot-dep-navy);
}

.ot-dep .ot-dep-control__value {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 0;
  min-width: 0;
}

.ot-dep .ot-dep-control__main {
  display: block;
  min-height: 24px;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--ot-dep-navy);
}

.ot-dep .ot-dep-control__main.is-placeholder {
  color: var(--ot-dep-ink-70);
}

.ot-dep .ot-dep-control__sub {
  display: block;
  min-height: 18px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 300;
  font-size: 13px;
  line-height: 18px;
  color: var(--ot-dep-ink-70);
}

.ot-dep .ot-dep-control__price {
  flex: none;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
  color: var(--ot-dep-navy);
}

.ot-dep .ot-dep-control__chev {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--ot-dep-navy);
  transition: transform var(--ot-dep-transition);
}

/* Native select laid over the closed state on mobile, so the phone's own picker opens */
.ot-dep .ot-dep-native {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--ot-dep-radius-field);
  opacity: 0;
  font-size: 16px;
  cursor: pointer;
  appearance: none;
}

.ot-dep .ot-dep-control:has(.ot-dep-native:focus-visible),
.ot-dep .ot-dep-select__control:focus-visible {
  outline: var(--ot-dep-focus);
  outline-offset: 2px;
}

/* ---------- Custom dropdown (desktop) ---------- */

.ot-dep .ot-dep-select {
  position: relative;
  min-width: 0;
}

.ot-dep .ot-dep-select.is-open .ot-dep-control {
  border-color: var(--ot-dep-navy);
  box-shadow: inset 0 0 0 0.5px var(--ot-dep-navy);
}

.ot-dep .ot-dep-select.is-open .ot-dep-control__chev {
  transform: rotate(180deg);
}

.ot-dep .ot-dep-select__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 30;
  overflow: hidden;
  border: 1px solid var(--ot-dep-input-border);
  border-radius: var(--ot-dep-radius-field);
  background: var(--ot-dep-white);
  box-shadow: var(--ot-dep-menu-shadow);
}

.ot-dep .ot-dep-select__menu[hidden] {
  display: none;
}

.ot-dep .ot-dep-select__list {
  max-height: 408px;
  overflow-y: auto;
  overscroll-behavior: contain;
  outline: none;
}

.ot-dep .ot-dep-select__group {
  padding: 9px 18px;
  background: var(--ot-dep-grey);
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.72px;
  text-transform: uppercase;
  color: var(--ot-dep-ink-70);
}

.ot-dep .ot-dep-select__option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 11px 18px;
  background: var(--ot-dep-white);
  color: var(--ot-dep-navy);
  cursor: pointer;
}

.ot-dep .ot-dep-select__option.is-active {
  background: var(--ot-dep-grey);
}

.ot-dep .ot-dep-select__list:focus-visible .ot-dep-select__option.is-active {
  box-shadow: inset 0 0 0 2px var(--ot-dep-navy);
}

.ot-dep .ot-dep-select__option[aria-selected='true'] {
  background: var(--ot-dep-cream);
}

.ot-dep .ot-dep-select__main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 0;
  min-width: 0;
}

.ot-dep .ot-dep-select__text {
  font-weight: 400;
  font-size: 15px;
  line-height: 22px;
}

.ot-dep .ot-dep-select__option[aria-selected='true'] .ot-dep-select__text {
  font-weight: 500;
}

.ot-dep .ot-dep-select__sub {
  font-weight: 300;
  font-size: 12px;
  line-height: 16px;
  color: var(--ot-dep-ink-70);
}

.ot-dep .ot-dep-select__price {
  flex: none;
  font-weight: 500;
  font-size: 15px;
  line-height: 22px;
  white-space: nowrap;
}

.ot-dep .ot-dep-select__check {
  display: none;
  flex: none;
  color: var(--ot-dep-gold);
}

.ot-dep .ot-dep-select__option[aria-selected='true'] .ot-dep-select__check {
  display: block;
}

/* Fully booked dates stay in the list, greyed (Figma 50%, raised to 70% for AA
   contrast), cannot be chosen, and have no hover or active state. */
.ot-dep .ot-dep-select__option[aria-disabled='true'] {
  cursor: default;
}

.ot-dep .ot-dep-select__option[aria-disabled='true'],
.ot-dep .ot-dep-select__option[aria-disabled='true'].is-active {
  background: var(--ot-dep-white);
  box-shadow: none;
}

.ot-dep .ot-dep-select__option[aria-disabled='true'] .ot-dep-select__text {
  opacity: 0.7;
}

/* A notice line, e.g. "All 2026 departures are fully booked." */
.ot-dep .ot-dep-notice {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: var(--ot-dep-navy);
}

.ot-dep .ot-dep-select__hint {
  margin: 0;
  padding: 10px 18px;
  border-top: 1px solid var(--ot-dep-line);
  font-weight: 300;
  font-size: 13px;
  line-height: 18px;
  text-align: center;
  color: var(--ot-dep-ink-60);
}

.ot-dep .ot-dep-select__hint[hidden] {
  display: none;
}

/* ---------- Segmented switch (radio inputs) ---------- */

.ot-dep .ot-dep-switch {
  display: flex;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 4px;
  border: 0;
  border-radius: 30px;
  background: var(--ot-dep-cream);
}

.ot-dep .ot-dep-switch__option {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.ot-dep .ot-dep-switch__input {
  position: absolute;
  /* Reaches into the switch's 4px padding so the touch target is 46px+ while the pill stays as drawn. */
  inset: -4px 0;
  width: 100%;
  height: calc(100% + 8px);
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.ot-dep .ot-dep-switch__label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
  white-space: nowrap;
  color: var(--ot-dep-navy);
  transition: background-color var(--ot-dep-transition), color var(--ot-dep-transition);
}

.ot-dep .ot-dep-switch__input:checked + .ot-dep-switch__label {
  background: var(--ot-dep-navy);
  font-weight: 500;
  color: var(--ot-dep-white);
}

.ot-dep .ot-dep-switch__input:focus-visible + .ot-dep-switch__label {
  outline: var(--ot-dep-focus);
  outline-offset: 2px;
}

/* Label beside a segmented switch that sizes to its labels (Year, Room type in a filter row) */
.ot-dep .ot-dep-inline-field {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ot-dep .ot-dep-inline-field__label {
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
  color: var(--ot-dep-navy);
}

.ot-dep .ot-dep-switch--fit {
  width: auto;
}

.ot-dep .ot-dep-switch--fit .ot-dep-switch__option {
  flex: 0 0 auto;
}

/* ---------- Deposit panel ---------- */

.ot-dep .ot-dep-deposit {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px;
  border-radius: var(--ot-dep-radius-panel);
  background: var(--ot-dep-navy);
  color: var(--ot-dep-white);
}


.ot-dep .ot-dep-deposit__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ot-dep .ot-dep-deposit__labels {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ot-dep .ot-dep-deposit__label {
  margin: 0;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.72px;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.7);
}

.ot-dep .ot-dep-deposit__sub {
  margin: 0;
  min-height: 20px;
  font-weight: 300;
  font-size: 14px;
  line-height: 20px;
}

.ot-dep .ot-dep-deposit__amount {
  margin: 0;
  flex: none;
  min-height: 46.8px;
  font-family: var(--ot-dep-font-heading);
  font-weight: 400;
  font-size: 36px;
  line-height: 46.8px;
  white-space: nowrap;
}

.ot-dep .ot-dep-deposit__divider {
  height: 1px;
  margin: 0;
  border: 0;
  background: rgb(255 255 255 / 0.2);
}

.ot-dep .ot-dep-deposit__balance {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-height: 20px;
  font-weight: 300;
  font-size: 14px;
  line-height: 20px;
  color: rgb(255 255 255 / 0.9);
}

/* ---------- No-JavaScript departure list ---------- */

.ot-dep .ot-dep-fallback {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--ot-dep-line);
  border-radius: var(--ot-dep-radius-card);
  background: var(--ot-dep-white);
}

.ot-dep .ot-dep-fallback__year {
  margin: 0;
  font-family: var(--ot-dep-font-heading);
  font-weight: 400;
  font-size: 24px;
  line-height: 31.2px;
  color: var(--ot-dep-navy);
}

.ot-dep .ot-dep-fallback__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ot-dep .ot-dep-fallback__item {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 12px 0;
  border-top: 1px solid var(--ot-dep-line);
  font-size: 15px;
  line-height: 22px;
}

.ot-dep .ot-dep-fallback__dates {
  flex: 1 1 260px;
  color: var(--ot-dep-navy);
}

.ot-dep .ot-dep-fallback__price {
  flex: 0 1 auto;
  font-weight: 500;
  color: var(--ot-dep-navy);
}

.ot-dep .ot-dep-fallback__meta {
  flex: 1 1 100%;
  font-weight: 300;
  font-size: 13px;
  line-height: 18px;
  color: var(--ot-dep-ink-70);
}

/* ---------- Medium desktop: 922 to 1199 ---------- */

@media (min-width: 922px) and (max-width: 1199px) {
  .ot-dep .ot-dep-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .ot-dep .ot-dep-banner__message {
    flex-basis: auto;
    max-width: none;
  }

  .ot-dep .ot-dep-banner__headline {
    max-width: 470px;
  }
}

/* ---------- Mobile and tablet: up to 921 ---------- */

@media (max-width: 921px) {
  .ot-dep {
    gap: 22px;
  }

  .ot-dep .ot-dep-title {
    gap: 4px;
  }

  .ot-dep .ot-dep-h2 {
    font-size: 28px;
    line-height: 36.4px;
  }

  .ot-dep .ot-dep-enquiry {
    font-size: 14px;
  }






  .ot-dep .ot-dep-route {
    gap: 14px;
  }

  .ot-dep .ot-dep-route__end {
    gap: 2px;
  }

  .ot-dep .ot-dep-route__city {
    font-size: 18px;
    line-height: 18px;
  }

  .ot-dep .ot-dep-route__label {
    font-size: 13px;
    line-height: 18px;
  }

  .ot-dep .ot-dep-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding: 26px 22px;
  }

  .ot-dep .ot-dep-banner__message {
    flex-basis: auto;
    max-width: none;
    gap: 12px;
  }

  .ot-dep .ot-dep-banner__headline {
    gap: 12px;
  }

  .ot-dep .ot-dep-banner__amount {
    font-size: 44px;
    line-height: 44px;
  }

  .ot-dep .ot-dep-banner__lead {
    font-size: 15px;
    line-height: 22px;
  }

  .ot-dep .ot-dep-banner__balance {
    font-size: 13px;
  }

  .ot-dep .ot-dep-steps {
    flex-direction: column;
    gap: 10px;
  }

  .ot-dep .ot-dep-step {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
  }

  .ot-dep .ot-dep-step__icon {
    width: 40px;
    height: 40px;
  }

  .ot-dep .ot-dep-step__icon .ot-dep-icon {
    width: 20px;
    height: 20px;
  }

  .ot-dep .ot-dep-step__number {
    display: none;
  }

  .ot-dep .ot-dep-step__text {
    flex: 1 1 0;
    min-width: 0;
  }

  .ot-dep .ot-dep-step__title {
    font-size: 22px;
    line-height: 28.6px;
  }

  /* On narrow phones a long date range may need two lines, so the closed
     select can grow there. From 375px up every value fits on one line. */
  .ot-dep .ot-dep-control {
    height: auto;
    min-height: 72px;
  }

  .ot-dep .ot-dep-deposit__amount {
    min-height: 36.4px;
    font-size: 28px;
    line-height: 36.4px;
  }

  .ot-dep .ot-dep-deposit__balance {
    font-size: 13px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .ot-dep *,
  .ot-dep *::before,
  .ot-dep *::after {
    transition: none !important;
  }
}
