/* ==================================================================
   MTN Brighter Sans: the one typeface used across the whole system.
   Loaded by every page (admin, ballot, public pages).
   ================================================================== */
@font-face {
  font-family: 'MTN';
  src: url('../fonts/MTN/MTNBrighterSans-Regular.ttf') format('truetype');
  font-weight: 100 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'MTN';
  src: url('../fonts/MTN/MTNBrighterSans-Bold.ttf') format('truetype');
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}
/* Older markup still names 'Nexa' for headings: it now resolves to MTN Bold */
@font-face {
  font-family: 'Nexa';
  src: url('../fonts/MTN/MTNBrighterSans-Bold.ttf') format('truetype');
  font-display: swap;
}

:root {
  --vt-font: 'MTN', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --bs-font-sans-serif: var(--vt-font);
  --bs-body-font-family: var(--vt-font);
}

/* Every element, whatever the page or plugin set; icon fonts are drawn in
   ::before / ::after, which this does not touch. Code keeps a monospace face. */
html, body, body *:not(code):not(pre):not(kbd):not(samp) {
  font-family: var(--vt-font) !important;
}
