/* HERMES-Design für eingebettete Kurse (E-Learning-Lerneinheiten).
 *
 * Wird von ScormPlayer.js als <link> in das Kursdokument im iframe eingefügt (same-origin),
 * wenn an der Lerneinheit „HERMES-Design anwenden" aktiv ist. Das Paket selbst bleibt
 * unverändert. Wirkt vollständig bei Articulate Rise (steuert sein Design über die
 * CSS-Variablen --color-theme / --font-family-*), bei anderen Autorentools nur teilweise.
 * Werte = Kantonsvariante (KantonZuerich.css): ZH-Blau #0070b4, Inter.
 */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../Fonts/inter-variable-latin.woff2') format('woff2');
}

:root {
    /* Akzent (Rise: Titelseite, Fortschritt, Buttons, Links, Markierungen) */
    --color-theme: #0070b4 !important;
    --color-theme-rgb: 0, 112, 180 !important;
    --color-theme-contrast: #fff !important;
    --color-theme-contrast-rgb: 255, 255, 255 !important;
    --color-theme-contrast-complementary: #000 !important;
    --color-theme-contrast-complementary-rgb: 0, 0, 0 !important;
    --color-theme-tint: #edf5fa !important;            /* ZH Softblau */
    --color-theme-transparent: rgba(0, 112, 180, .1) !important;

    /* Schrift: Inter für UI, Überschriften und Fliesstext */
    --font-family-ui: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    --font-family-head: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    --font-family-body: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

/* Rise-Buttons: leicht abgerundet wie die ZH-Buttons statt Pillen */
.blocks-button__button,
.overview__button-enrolled,
.continue-btn,
.lesson-nav-link__link {
    border-radius: 4px !important;
}

/* Option „Autorenzeile ausblenden" (Rise: Titelseite + Lektionskopf) */
html.hermes-hide-author .cover__header-content-authors,
html.hermes-hide-author .lesson-header__author {
    display: none !important;
}
