/* Thai typography shared by every MIKAWA page. Font license: fonts/NotoSansThai-OFL.txt. */
@font-face {
  font-family: "Noto Sans Thai";
  src: url("fonts/NotoSansThai-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62.5% 100%;
  font-display: swap;
}

/* Layered important declarations take precedence over the legacy unlayered
   font overrides without increasing selector specificity throughout the site. */
@layer mikawa-thai-typography {
  html[lang|="th"] body,
  html[lang|="th"] body :where(*):not(:where(
    .language-switch, .language-switch *,
    .language-dropdown-toggle, .language-dropdown-toggle *,
    .privacy-language, .privacy-language *,
    .brand-mark, .brand-mark *,
    .ph, .ph-light, [class^="ph-"], [class*=" ph-"],
    [lang]:not([lang|="th"]), [lang]:not([lang|="th"]) *
  )) {
    font-family: "Noto Sans Thai", "Sarabun", Tahoma, sans-serif !important;
  }
}
