/* ==========================================================================
   v1.24 - the light theme (Formula MB: "taj hero i takav izgled", 14.09.).
   formula.si is white, grey and blue with Oswald headings in capitals; a
   school with theme=light gets the same skin. Everything below only
   re-assigns the design tokens and the few places that hardcoded the dark
   look, so the layout is untouched and academy.dlproject.io never sees it.
   Oswald is self-hosted (OFL) because the CSP allows fonts from this host only.
   ========================================================================== */
@font-face {
  font-family: 'Oswald'; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url('../media/fonts/oswald-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Oswald'; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url('../media/fonts/oswald-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
html.theme-light {
  --c-bg:             #f4f6f8;
  --c-surface:        #ffffff;
  --c-surface-2:      #eef1f4;
  --c-surface-3:      #e3e7ec;
  --c-text-primary:   #1a1d21;
  --c-text-secondary: #4a5560;
  --c-text-tertiary:  #6b7680;
  --c-text-dim:       #9aa4ae;
  --c-accent:         #048dc1;
  --c-accent-subtle:  rgba(4, 141, 193, 0.12);
  --c-border:         rgba(0, 0, 0, 0.09);
  --c-border-hover:   rgba(0, 0, 0, 0.2);
  --c-cta:            #048dc1;
  --c-cta-ink:        #ffffff;
  --font-heading: 'Oswald', 'Arial Narrow', 'Roboto Condensed', Impact, sans-serif;
  color-scheme: light;
}
html.theme-light body { background: var(--c-bg); color: var(--c-text-primary); }
html.theme-light .hero-title, html.theme-light .section-title, html.theme-light h1, html.theme-light h2 {
  text-transform: uppercase; letter-spacing: 0.02em; font-weight: 600;
}
html.theme-light .hero-title .hero-line:last-child { color: var(--c-accent); }
html.theme-light .hero-frame { background: #e9edf1; }
html.theme-light .school-logo { background: transparent; padding: 0; height: 56px; }
html.theme-light .lang-pill[aria-current="true"] { background: var(--c-accent); color: #fff; }
html.theme-light .btn-cta { box-shadow: 0 6px 18px rgba(4, 141, 193, 0.3); }
html.theme-light .btn-primary { color: #ffffff; }
html.theme-light .btn.choice { background: #ffffff; }
html.theme-light .btn.choice:hover { background: var(--c-surface-2); }
/* the school's hero picture: shown whole on white (formula.si's banner
   fades to white at both ends), never cropped like the dark video */
html.theme-light .hero-frame { background: #ffffff; }
html.theme-light .hero-media { object-fit: contain; background: #ffffff; }
/* v1.43b: after the answer the verdict is a filled card, not a hairline;
   the hover and the disabled fade never wash it out */
html.theme-light .btn.choice.is-correct { background: #dcf3e2; border-color: var(--c-green); color: #14532d; }
html.theme-light .btn.choice.is-wrong { background: #fbe1e0; border-color: var(--c-red); color: #7f1d1d; }

