/* Booking page presentation extras. */

.gtg-template-card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gtg-template-card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gtg-booking-template__sales .gtg-template-card {
  display: flex;
  flex-direction: column;
}

.gtg-booking-template__sales .gtg-template-card > .gtg-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 18rem);
  margin: auto auto 0;
  padding-inline: 1.35rem;
  padding-block: .72rem;
  text-align: center;
}

.gtg-booking-template__sales .gtg-template-card > .gtg-button::before {
  content: "";
  display: block;
  height: .65rem;
}

.gtg-booking-template__sales .gtg-template-card > .gtg-button.gtg-button--paper {
  background: var(--gtg-yellow);
}

.gtg-booking-template__how-it-works .gtg-template-card,
.gtg-booking-template__included .gtg-template-card,
.gtg-booking-template__before-you-book .gtg-template-card {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.gtg-booking-template__before-you-book .gtg-button {
  width: fit-content;
  margin-top: auto;
}

.gtg-booking-template__image-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(1.5rem, 4vw, 3rem);
  padding-top: clamp(4.2rem, 7vw, 6.4rem);
  padding-bottom: clamp(3.8rem, 7vw, 6rem);
  background: #242a30;
  clip-path: polygon(0 clamp(2.6rem, 5vw, 5.25rem), 100% 0, 100% 100%, 0 100%);
}

.gtg-booking-template__image-band::before {
  content: "";
  position: absolute;
  inset: -10% 0;
  z-index: -2;
  background-image: var(--gtg-booking-faq-image);
  background-size: cover;
  background-position: center 48%;
  background-repeat: no-repeat;
  filter: saturate(.98) contrast(.98);
  transform: scale(1.06);
}

.gtg-booking-template__image-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(37,43,50,.16), rgba(37,43,50,.56)),
    linear-gradient(90deg, rgba(37,43,50,.48), rgba(37,43,50,.18) 55%, rgba(37,43,50,.46));
}

.gtg-booking-template__image-band .gtg-booking-template__form,
.gtg-booking-template__image-band .gtg-booking-template__faq {
  background: transparent;
}

.gtg-booking-template__image-band .gtg-booking-template__form {
  padding-top: clamp(1.8rem, 4vw, 3rem);
}

.gtg-booking-form-heading {
  margin: 0 0 clamp(1rem, 2.6vw, 1.75rem);
  color: var(--gtg-paper);
  text-shadow: 0 0 14px rgba(255,250,243,.35), 0 2px 8px rgba(0,0,0,.55);
}

.gtg-booking-form-heading p {
  margin: 0 0 .35rem;
  color: var(--gtg-yellow);
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gtg-booking-form-heading h2 {
  margin: 0;
  color: var(--gtg-paper);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
}

.gtg-booking-template__image-band .gtg-booking__header {
  display: none;
}

.gtg-template-faq-list {
  display: grid;
  gap: .75rem;
}

.gtg-template-faq-list details {
  border: var(--gtg-border);
  border-radius: var(--gtg-radius-sm);
  background: var(--gtg-paper);
  box-shadow: var(--gtg-shadow-sm);
}

.gtg-template-faq-list summary {
  cursor: pointer;
  padding: .9rem 1rem;
  font-weight: 950;
}

.gtg-template-faq-list details[open] summary {
  border-bottom: 2px solid rgba(37, 32, 29, .16);
}

.gtg-template-faq-list p {
  margin: 0;
  padding: .85rem 1rem 1rem;
  color: #5f564f;
  line-height: 1.45;
}

.gtg-booking-template__faq {
  padding-bottom: 0;
}

.gtg-booking-template__image-band .gtg-template-section-heading {
  color: var(--gtg-paper);
  text-shadow: 0 0 14px rgba(255,250,243,.38), 0 2px 8px rgba(0,0,0,.55);
}

.gtg-booking-template__image-band .gtg-template-section-heading h2,
.gtg-booking-template__image-band .gtg-template-section-heading p {
  color: var(--gtg-paper);
}

.gtg-booking-template__image-band .gtg-template-faq-list details {
  background: rgba(255,250,243,.96);
}

@media (min-width: 1100px) {
  .gtg-booking-template__image-band::before {
    background-size: 100% auto;
  }
}

@media (max-width: 980px) {
  .gtg-template-card-grid--four,
  .gtg-template-card-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .gtg-template-card-grid--two,
  .gtg-template-card-grid--three,
  .gtg-template-card-grid--four {
    grid-template-columns: 1fr;
  }

  .gtg-template-note .gtg-button {
    margin-left: 0;
  }

  .gtg-booking-template__sales .gtg-template-card > .gtg-button {
    width: 100%;
  }

  .gtg-booking-template__image-band {
    padding-top: 3.5rem;
    clip-path: polygon(0 2.75rem, 100% 0, 100% 100%, 0 100%);
  }
}