/*
 * HRSTAR's bundled typeface.  The aliases keep existing page-level styles
 * working while replacing every former CDN Vazirmatn dependency with BYekan.
 */
@font-face {
    font-family: "BYekan";
    src: url("/static/fonts/BYekan-Regular.ttf") format("truetype");
    font-weight: 100 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "BYekan";
    src: url("/static/fonts/BYekan-Bold.ttf") format("truetype");
    font-weight: 700 900;
    font-style: normal;
    font-display: swap;
}

/* Compatibility names used by legacy and page-specific stylesheets. */
@font-face {
    font-family: "Vazirmatn";
    src: url("/static/fonts/BYekan-Regular.ttf") format("truetype");
    font-weight: 100 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazirmatn";
    src: url("/static/fonts/BYekan-Bold.ttf") format("truetype");
    font-weight: 700 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IRANSansX";
    src: url("/static/fonts/BYekan-Regular.ttf") format("truetype");
    font-weight: 100 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IRANSansX";
    src: url("/static/fonts/BYekan-Bold.ttf") format("truetype");
    font-weight: 700 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --hrstar-font: "BYekan", "Vazirmatn", Tahoma, sans-serif;
}

html,
body,
button,
input,
textarea,
select,
option {
    font-family: var(--hrstar-font);
}
