/* Colours of the site (navy, like the design report) */


:root > * {
  --md-primary-fg-color:        #1F3A5F;
  --md-primary-fg-color--light: #4A6FA5;
  --md-primary-fg-color--dark:  #16294A;
  --md-accent-fg-color:         #2E7D6B;
} 


/* a little more room for wide equations and tables */
.md-typeset .arithmatex { overflow-x: auto; overflow-y: hidden; }
.md-typeset table:not([class]) { font-size: 0.78rem; }

/* figures: centred, with a caption in italics */
.md-typeset figure { margin: 1.2em auto; }
.md-typeset figcaption { font-style: italic; font-size: 0.75rem; }

/* videos and embedded players (YouTube): fit the page width */
.md-typeset video { display: block; max-width: 100%; height: auto; margin: 1em auto; border-radius: 4px; }
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; margin: 1em 0; }   /* 16:9 */
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 4px; }

p {
  text-align: justify;
}

/* Khmer script support: use an installed Khmer-capable font and comfortable line spacing. */
html[lang="km"] body {
  font-family: "Noto Sans Khmer", "Khmer OS", "Leelawadee UI", sans-serif;
  line-height: 1.85;
}
html[lang="km"] .md-typeset { line-height: 1.85; }
