/* Local Thai and Latin fonts; SIL Open Font License: fonts/OFL.txt. */
@font-face {
  font-family: "Noto Sans Thai";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/noto-sans-thai-400.ttf") format("truetype");
}
@font-face {
  font-family: "Noto Sans Thai";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/noto-sans-thai-500.ttf") format("truetype");
}
@font-face {
  font-family: "Noto Sans Thai";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/noto-sans-thai-600.ttf") format("truetype");
}
@font-face {
  font-family: "Noto Sans Thai";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/noto-sans-thai-700.ttf") format("truetype");
}
body[data-page],
body:has(.ep-header) {
  font-family:
    "Noto Sans Thai", "DeeDog CJK UI", "DeeDog CJK SC UI", "DeeDog Korean UI", Tahoma, Arial,
    sans-serif;
}

@font-face {
  font-family: "DeeDog CJK UI";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("fonts/deedog-cjk-ui.ttf") format("truetype");
}
@font-face {
  font-family: "DeeDog CJK SC UI";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("fonts/deedog-cjk-sc-ui.ttf") format("truetype");
}

/* Korean UI subset; source and SIL OFL license: fonts/README.txt and OFL-KOREAN.txt. */
@font-face {
  font-family: "DeeDog Korean UI";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("fonts/deedog-korean-ui.ttf") format("truetype");
}
html:lang(ko) body {
  font-family:
    "Noto Sans Thai", "DeeDog Korean UI", "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR",
    sans-serif;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
