@font-face {
  font-family: 'MODDC Myanmar Taungyi';
  src: url('/fonts/MyanmarTaungyi.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'MODDC Noto Sans Myanmar';
  src: url('/fonts/NotoSansMyanmar-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Keep typography consistent even in pasted content; preserve icon fonts. */
body,
body :where(*):not(:where(.fa, [class^="icon-"], [class*=" icon-"])) {
  font-family: 'MODDC Noto Sans Myanmar', sans-serif !important;
}

body.portal-home .section-heading h2,
body.portal-home .section-heading h2 :where(*):not(:where(.fa, [class^="icon-"], [class*=" icon-"])) {
  font-family: 'MODDC Myanmar Taungyi', sans-serif !important;
}
