/* EDUC8EU multilingual typography — trial 1 (2026-11-17)
   Local/system fonts only: no external font download or tracking.
   Supports Greek, Cyrillic and the Latin scripts of all 7 translations.
   Scope: presentation only. No text, IDs, values or assessment logic changes. */
:root {
  --e8-ui-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "Liberation Sans", Arial, sans-serif;
}
/* The main app uses '* { font-family: Fellix }', while iframe pages
   specify Fellix-Light or Fellix directly. Override both consistently. */
html, body, body *:not(svg):not(svg *):not(ion-icon):not(.fa):not([class*="fa-"]):not([class*="material-icons"]):not([class*="material-symbols"]):not(.glyphicon):not([class*="glyphicon-"]):not(code):not(pre):not(kbd):not(samp):not(.e8-code) {
  font-family: var(--e8-ui-font) !important;
}
/* Keep source code, terminal output and technical examples monospaced. */
body pre, body code, body kbd, body samp, body .e8-code {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace !important;
}

/* Uniform navigation typography. The FAQs link had mixed case and appeared
   visually smaller than the other links. Applies to every locale. */
#scrollTop ul > li > a {
  font-size: 1.25rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
}
/* Greek-only treatment; the JavaScript strips accents from displayed labels. */
html[lang="el"] #scrollTop ul > li > a {
  text-transform: uppercase;
}
