/* Only Lao glyphs are requested from this local SIL OFL font. */
@font-face {
  font-family: "Noto Sans Lao";
  src: url("fonts/noto-sans-lao.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0E81-0EDF, U+200C-200D, U+25CC;
}

html[lang="lo"] body {
  font-family: "Noto Sans Lao", Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

html[lang="lo"] :is(.country-title, .restaurant-cta, .hero--laos) :is(h1, h2),
html[lang="lo"] :is(.dish-card-name, .dish-tagline, .cta-label) {
  line-height: 1.5;
  letter-spacing: normal;
}

html[lang="lo"] :is(.form-field input, .form-field select, .form-field textarea, .form-button) {
  line-height: 1.65;
}

.language-switch {
  display: flex;
  flex: none;
  align-items: center;
  gap: 1px;
  padding: 2px;
  border-radius: 8px;
  background: #f3f7fc;
}

.language-switch a {
  display: grid;
  place-items: center;
  min-width: 26px;
  min-height: 30px;
  padding: 2px;
  color: #0f172a;
  border-radius: 6px;
  font:
    bold 12px/1 Arial,
    sans-serif;
}

.site-header:not(.is-scrolled) .language-switch {
  background: rgb(7 21 45 / 70%);
}

.site-header:not(.is-scrolled) .language-switch a {
  color: #fff;
}

.language-switch a:hover {
  text-decoration: underline;
}

.site-header .language-switch a[aria-current="page"] {
  color: #fff;
  background: #0053c4;
}

@media (min-width: 761px) {
  .site-header .header-inner {
    width: min(100% - 48px, 1440px);
    margin-inline: auto;
  }
}

@media (min-width: 761px) {
  :root:has(.site-header:not(.site-header--dish)) {
    --extra-header-space: 38px;
  }

  .site-header:not(.site-header--dish) .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    column-gap: 16px;
    row-gap: 0;
  }

  .site-header:not(.site-header--dish) .desktop-nav {
    grid-area: 2 / 1 / auto / -1;
    flex-wrap: wrap;
  }

  .site-header:not(.site-header--dish) .language-switch {
    grid-area: 1 / 3;
  }

  .site-header:not(.site-header--dish) .button-contact {
    justify-self: end;
  }
}

@media (max-width: 760px) {
  .site-header .header-inner {
    gap: 6px;
  }

  .site-header:not(.site-header--dish) .mobile-menu {
    margin-inline-start: auto;
  }
}

.site-header--dish .header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px clamp(6px, 2vw, 20px);
}

.site-header--dish .brand {
  grid-row: 1 / span 2;
}

.site-header--dish :is(.language-switch, .button-contact) {
  grid-column: 2;
  justify-self: end;
}

@media (max-width: 760px) {
  :root:has(.site-header--dish) {
    --extra-header-space: 14px;
  }
}

@media (max-width: 300px) {
  body:has(.about-title) .site-header .header-inner {
    width: min(calc(100% - 8px), 268px);
    gap: 1px;
  }
}
