.language-switcher {
  flex: 0 0 auto;
  margin-left: 0;
  position: relative;
  white-space: nowrap;
}

.language-switcher details {
  position: relative;
}

.language-switcher summary {
  align-items: center;
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  font-size: .78rem;
  font-weight: 800;
  gap: .5rem;
  justify-content: space-between;
  list-style: none;
  min-height: 42px;
  min-width: 7.5rem;
  padding: .55rem .75rem;
}

.language-switcher summary::-webkit-details-marker {
  display: none;
}

.language-switcher summary i {
  font-style: normal;
  transition: transform .16s ease;
}

.language-switcher details[open] summary i {
  transform: rotate(180deg);
}

.language-switcher summary:focus-visible,
.language-switcher a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--booking-button-color, #b8452d) 45%, transparent);
  outline-offset: 3px;
}

.language-switcher ul {
  background: var(--white, #fffdf9);
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 1rem;
  box-shadow: var(--shadow, 0 18px 50px rgba(20,31,36,.14));
  display: grid;
  gap: .15rem;
  list-style: none;
  margin: .55rem 0 0;
  max-height: min(70vh, 30rem);
  min-width: 12rem;
  overflow-y: auto;
  padding: .45rem;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 80;
}

.language-switcher a {
  align-items: center;
  border-radius: .65rem;
  color: inherit;
  display: flex;
  font-size: .82rem;
  font-weight: 750;
  gap: 1rem;
  justify-content: space-between;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  text-decoration: none;
}

.language-switcher a:hover {
  background: color-mix(in srgb, var(--booking-button-color, #b8452d) 9%, transparent);
}

.language-switcher a[aria-current="page"] {
  background: color-mix(in srgb, var(--booking-button-color, #b8452d) 14%, transparent);
  color: var(--ink, #17242b);
}

.language-switcher a small {
  color: color-mix(in srgb, currentColor 58%, transparent);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .08em;
}

/* Fixed conversion UI must yield whenever an embedded availability form is
   visible. Visibility and pointer suppression avoid both scroll jumps and an
   invisible element intercepting taps. */
.mobile-book.is-suppressed {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

/* Long localized compound nouns must not widen narrow legal layouts. */
.legal-copy h2 {
  overflow-wrap: anywhere;
}

.header-cta {
  white-space: nowrap;
}

/* The provider's horizontal participant form uses an internal transition
   track. At desktop widths the native iframe therefore needs the full content
   row, rather than a roughly 600px prose column, or labels can remain on the
   off-screen track after expansion/resizing. This changes host geometry only;
   the cross-origin provider interface remains native and untouched. */
.gyg-availability-widget {
  overflow: visible !important;
}

.gyg-availability-widget iframe {
  min-height: 420px;
}

@media (min-width: 981px) {
  .intro > .shell.split:has(> .gyg-availability-widget) {
    column-gap: 90px;
    row-gap: 0;
  }

  .intro > .shell.split:has(> .gyg-availability-widget) > .prose {
    grid-column: 2;
    grid-row: 1;
  }

  .intro > .shell.split:has(> .gyg-availability-widget) > .gyg-availability-widget {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 2rem;
  }

  .guide-rec:has(> .gyg-availability-widget) > .gyg-availability-widget {
    grid-column: 1 / -1;
  }
}

/* Localized navigation can be wider than English. Enter the existing compact
   navigation mode before the header CTA is forced to wrap. */
@media (max-width: 1120px) {
  .site-header nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    background: transparent;
    border: 0;
    display: block;
    font-weight: 800;
  }

  .site-header.is-open nav {
    background: var(--white);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    left: 0;
    padding: 18px 24px;
    position: absolute;
    right: 0;
    top: 78px;
  }

  .site-header.is-open nav a {
    padding: 9px 0;
  }
}

@media (max-width: 980px) {
  .header-inner {
    gap: .65rem;
  }

  .intro > .shell.split:has(> .gyg-availability-widget) {
    row-gap: 2rem;
  }

  .intro > .shell.split:has(> .gyg-availability-widget) > .gyg-availability-widget {
    margin-top: 0;
  }

  .language-switcher {
    margin-left: 0;
    padding: 0;
    width: auto;
  }
}

@media (max-width: 640px) {
  .site-header.is-open nav {
    top: 68px;
  }
}

@media (max-width: 420px) {
  .site-header .brand small {
    display: none;
  }

  .site-header .brand b {
    font-size: .82rem;
    line-height: 1.08;
    max-width: 7.5rem;
  }

  .language-switcher summary {
    min-width: 0;
    padding: .45rem .58rem;
  }

  .legal-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3rem);
    hyphens: auto;
    overflow-wrap: anywhere;
  }
}
