/* Shared type foundation only. Layout, colors, sizes, icons and print stay page-owned.
 * Sources verified in the current design/style/css/style.css baseline.
 * The alias joins the existing local regular/bold faces into one family.
 */
@font-face {
    font-family: "ST UI Droid";
    src: url("../style/fonts/DroidKufi-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "ST UI Droid";
    src: url("../style/fonts/DroidKufi-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --st-ui-font: "ST UI Droid", "droid", Tahoma, Arial, sans-serif;
}

@media screen {
    body,
    #profile,
    .content-wrapper,
    .main-header,
    .main-sidebar,
    .main-footer {
        font-family: var(--st-ui-font);
    }

    /* Inherit the active page font; never select icon elements or pseudo-elements.
     * Explicit font-family only: no font shorthand that resets weight/line-height.
     */
    :is(h1, h2, h3, h4, h5, h6, label, legend, summary, button, input, select, textarea, optgroup, .form-control, .btn, .page-link):not(:is(.fa, .fas, .far, .fab, .fal, .fad, .fat, .fa-solid, .fa-regular, .fa-brands, .ion, .ionicons, [class^="ion-"], [class*=" ion-"], .glyphicon, [class^="glyphicon-"], [class*=" glyphicon-"])) {
        font-family: inherit;
    }
}
