@media screen {
  html:has(.home-header) {
    scroll-padding-top: 16px;
  }

  .home-header {
    position: relative;
    top: auto;
  }

  .home-header .header-inner {
    position: relative;
    min-height: 0;
    justify-content: flex-start;
    gap: 6px 12px;
    padding-block: 8px;
  }

  .home-header .brand {
    flex: 1 1 130px;
    min-width: 0;
    line-height: 1.3;
  }

  .home-header .brand .language-logo,
  .home-header .brand .language-provencal-frieze {
    width: 78px;
  }

  .home-header .language-control {
    flex: 0 0 auto;
    max-width: 100%;
    margin-inline-start: auto;
    order: 0;
  }

  .home-header .language-picker {
    margin: 0;
  }

  .home-header .language-picker summary,
  .home-header .menu-button {
    min-height: 44px;
    padding: 6px 10px;
    font-size: .9rem;
    font-weight: 700;
  }

  .home-header .language-picker summary {
    gap: 5px;
  }

  .home-header .menu-button:focus-visible {
    outline: 3px solid #bf6700;
    outline-offset: 3px;
  }

  .home-header #navigation {
    gap: 2px 8px;
    justify-content: space-between;
  }

  .home-header #navigation .button {
    min-height: 44px;
    padding-block: 8px;
  }
}

@media screen and (min-width: 1200px) {
  .home-header #navigation .booking-language-note {
    display: none;
  }
}

@media screen and (width < 1200px) {
  .home-header .menu-button {
    display: block;
    order: 0;
  }

  .home-header .language-picker {
    position: static;
  }

  .home-header .language-panel {
    inset-inline: auto 0;
    top: 100%;
    width: min(420px, 100%);
    max-height: 70dvh;
  }

  /* The shared desktop rule forces the navigation open from 901px. */
  .home-header #navigation:not(.is-open) {
    display: none !important;
  }

  .home-header #navigation.is-open {
    display: flex;
    flex-flow: column nowrap;
    align-items: stretch;
    justify-content: flex-start;
    max-height: 70dvh;
    overflow-y: auto;
    padding: 8px 4px 4px;
    border-top: 1px solid var(--line);
  }

  .home-header #navigation > a:not(.button) {
    min-height: 44px;
    padding: 10px 0;
    font-size: 1rem;
  }

  .home-header #navigation .button {
    margin-top: 4px;
  }
}

@media screen and (max-width: 560px) {
  .home-header .header-inner {
    gap: 6px;
  }

  .home-header .brand {
    flex-basis: 90px;
  }

  .home-header .language-picker summary,
  .home-header .menu-button {
    padding-inline: 6px;
  }

  .home-header .brand .language-logo,
  .home-header .brand .language-provencal-frieze {
    display: none;
  }
}
