/* =====================================================================
   GES-SCO — self-hosted Roboto (site-wide font)
   Files: public/assets/fonts/Roboto/  (variable fonts, OFL)
   Strategy: declare Roboto, then ALIAS the theme's text families
   ("Poppins", "Inter") to the same Roboto files so every existing
   `font-family: "Poppins"/"Inter"` rule renders Roboto — WITHOUT
   touching icon families (themify, eleganticons, Font Awesome).
   ===================================================================== */

/* --- Roboto (canonical) --- */
@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto/Roboto-VariableFont_wdth,wght.ttf") format("truetype");
    font-weight: 100 900;
    font-stretch: 75% 100%;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto/Roboto-Italic-VariableFont_wdth,wght.ttf") format("truetype");
    font-weight: 100 900;
    font-stretch: 75% 100%;
    font-style: italic;
    font-display: swap;
}

/* --- Alias: "Poppins" -> Roboto (theme body + most text) --- */
@font-face {
    font-family: "Poppins";
    src: url("../fonts/Roboto/Roboto-VariableFont_wdth,wght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Poppins";
    src: url("../fonts/Roboto/Roboto-Italic-VariableFont_wdth,wght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* --- Alias: "Inter" -> Roboto (headings, .arimo-* helpers, etc.) --- */
@font-face {
    font-family: "Inter";
    src: url("../fonts/Roboto/Roboto-VariableFont_wdth,wght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Inter";
    src: url("../fonts/Roboto/Roboto-Italic-VariableFont_wdth,wght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* Safety net for elements that fall back to the system font
   (native form controls, buttons). Icons keep their own families. */
body,
button,
input,
optgroup,
select,
textarea,
.btn,
.form-control,
.form-label {
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
