/* Give both header variants the same button sizes and spacing. */
#navigation {
  --menu-columns: 5;
  --menu-row-height: 36px;
  --menu-gap: 6px;
  min-width: 0;
  grid-template-columns: repeat(var(--menu-columns), minmax(0, 1fr));
  grid-auto-rows: minmax(var(--menu-row-height), auto);
  gap: var(--menu-gap);
  align-items: stretch;
}

#navigation > a,
#navigation > .nav-lodges {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: var(--menu-row-height);
  border: 1px solid #a58248;
  background: #fff2c64d;
  color: #25170b;
}

#navigation > a,
#navigation > .nav-lodges > a {
  padding: 4px 6px;
  color: #25170b;
  font: 700 10px/1.25 Arial, sans-serif;
  letter-spacing: .045em;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
  overflow-wrap: anywhere;
}

#navigation > a:hover,
#navigation > .nav-lodges:hover {
  background: #fff2c6;
}

#navigation > a[aria-current="page"],
#navigation > .nav-lodges:has(> a[aria-current="page"]) {
  background: #342410;
  border-color: #342410;
}

#navigation > a[aria-current="page"],
#navigation > .nav-lodges > a[aria-current="page"] {
  color: #fff0c0;
}

#navigation > .nav-lodges:has(> a[aria-current="page"]) > .lodges-toggle {
  color: #fff0c0;
}

#navigation > .nav-lodges {
  gap: 0;
}

#navigation > .nav-lodges > a {
  border: 0;
}

#navigation > .nav-lodges > .lodges-toggle {
  align-self: stretch;
  padding: 0 8px;
}

#navigation .lodge-menu {
  z-index: 15;
}

#navigation :is(a, button):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -3px;
}

@media (min-width: 761px) {
  body:not(.excursions-page) > header > #navigation {
    display: grid;
  }
}

@media (min-width: 1480px) {
  #navigation {
    --menu-columns: 10;
  }
}

@media (max-width: 760px) {
  #navigation {
    --menu-columns: 2;
    --menu-row-height: 54px;
    --menu-gap: 10px;
  }

  #navigation > a,
  #navigation > .nav-lodges > a {
    padding: 8px;
    font-size: 12px;
  }

  #navigation > .nav-lodges {
    flex-wrap: wrap;
  }

  #navigation > .nav-lodges > .lodges-toggle {
    min-width: 40px;
  }

  #navigation > .nav-lodges:has(> .lodge-menu:not([hidden])) {
    grid-column: 1 / -1;
  }

  #navigation > .nav-lodges > .lodge-menu {
    flex-basis: 100%;
    max-height: none;
    overflow: visible;
  }
}

.enquiry-page .text-hero h1 {
  font-size: clamp(2rem, 6vw, 4.6rem);
  overflow-wrap: anywhere;
}

.enquiry-page .text-hero > p:last-child {
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
}

.enquiry-page .enquiry-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.enquiry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid #9e793a;
  background: #2b1d10;
  text-align: center;
}

.enquiry-card h2 {
  margin: 0;
  color: #ead29b;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.enquiry-card p {
  margin: 0 0 0.5rem;
  font: 1.05rem/1.6 Arial, sans-serif;
}

.enquiry-card .button {
  margin-top: auto;
}

@media (max-width: 760px) {
  .enquiry-page .enquiry-cards {
    grid-template-columns: 1fr;
  }
}

.enquiry-page .text-hero > p:last-child {
  max-width: 44rem;
  margin-inline: auto;
}
