/* The flight path shares the booking bar with the existing service tabs. */
#root .booking-v11 > .home-booking-tabs {
  background: url("./home-booking-coastline.svg") right center / auto 100% no-repeat,
    linear-gradient(103deg, #123667 15%, #164682 63%, #126574) !important;
}

.hero .home-album-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.home-album-scene img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.home-album-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0 18%, #fff8e8e6, transparent 68%);
}

.hero .home-album {
  position: absolute;
  right: clamp(24px, 4%, 55px);
  bottom: 100px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.home-album button {
  --postcard-angle: -6deg;
  position: relative;
  width: clamp(78px, 7vw, 101px);
  padding: 4px 4px 0;
  border: 0;
  border-radius: 2px;
  background: #fffdf7;
  color: #28445b;
  box-shadow: 0 3px 10px #16445155;
  transform: rotate(var(--postcard-angle));
  transform-origin: center 80%;
  cursor: pointer;
}

.home-album button:nth-child(2) { --postcard-angle: 1deg; }
.home-album button:nth-child(3) { --postcard-angle: 7deg; }

.home-album button[aria-pressed="true"] {
  z-index: 1;
  box-shadow: 0 0 0 2px #147e83, 0 5px 14px #0c41544f;
  transform: translateY(-5px) rotate(var(--postcard-angle));
}

.home-album button[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff9a45;
  box-shadow: 0 0 0 2px #fffce9;
}

.home-album button:focus-visible {
  z-index: 2;
  outline: 3px solid #074b88;
  outline-offset: 4px;
}

.home-album img {
  display: block;
  width: 100%;
  height: clamp(48px, 4vw, 61px);
  object-fit: cover;
}

.home-album span {
  display: block;
  padding: 4px 0 5px;
  font: italic bold 14px/1.15 Georgia, serif;
}

@media (max-width: 760px) {
  #root .booking-v11 > .home-booking-tabs {
    background: linear-gradient(103deg, #123667 15%, #164682 63%, #126574) !important;
  }

  .hero .home-album {
    right: 19px;
    bottom: 82px;
  }

  .home-album button { width: 62px; padding: 3px 3px 0; }
  .home-album img { height: 35px; }
  .home-album span { padding: 3px 0; font-size: 12px; }
  .home-album-scene::after {
    background: radial-gradient(ellipse 105% 80% at 5% 15%, #fff8e8e6, transparent 85%);
  }
}

.hero.live-home-hero { overflow: hidden; }
.hero .home-album-scene img { max-width: 100%; }

@media (min-width: 600px) and (max-width: 760px) {
  .site-grid .booking-v11:has(> #searchForm) {
    width: min(600px, calc(100% - 32px));
    margin-inline: auto !important;
  }

  .booking-v11 > #searchForm {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  #searchForm > .booking-field:nth-child(4) {
    grid-column: auto !important;
  }

  #searchForm > .booking-submit {
    grid-column: 3 !important;
    justify-self: stretch;
  }

  #flash .flash-aligned-cards:not(.flash-strip-expanded) {
    width: 100% !important;
    margin-right: 0;
    gap: 12px;
    align-items: stretch;
  }

  #flash .flash-aligned-cards:not(.flash-strip-expanded) > :is(.flash-mini-banner, .hotel-card) {
    flex: 0 0 calc((100% - 24px) / 3) !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
  }

  #flash .flash-aligned-cards:not(.flash-strip-expanded) > .hotel-card > .diditrip-hotel-media--panel-cover {
    aspect-ratio: 3 / 2;
    height: auto !important;
    object-fit: cover;
  }
}
