/* =====================================
   VAZIR FONT
===================================== */

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir/Vazir-Medium-FD-WOL.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir/Vazir-Light-FD-WOL.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir/Vazir-Thin-FD-WOL.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}


/* =====================================
   SAHEL FONT
===================================== */

@font-face {
    font-family: 'Sahel';
    src: url('../fonts/Sahel/Sahel-FD-WOL.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sahel';
    src: url('../fonts/Sahel/Sahel-Bold-FD-WOL.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* =====================================
   GLOBAL FONT
   Change only this variable to switch font
===================================== */

:root {
    --site-font: 'Sahel';
}

body,
body :where(
    h1,h2,h3,h4,h5,h6,
    p,a,li,ul,ol,div,span,
    button,input,textarea,select,label,
    strong,b,em,small,
    blockquote,figcaption,td,th
) {
    font-family: var(--site-font), sans-serif !important;
}


/* =====================================
   PRESERVE ICON FONTS
===================================== */

.dashicons,
.dashicons:before,
.dashicons:after,
.dashicons-before:before,
.ab-icon,
.ab-item:before {
    font-family: dashicons !important;
}

.fa,
.fas,
.far,
.fal,
.fa-solid,
.fa-regular,
.fa-light,
.fa:before,
.fas:before,
.far:before,
.fal:before,
.fa-solid:before,
.fa-regular:before,
.fa-light:before {
    font-family: "Font Awesome 6 Free" !important;
}

.fab,
.fa-brands,
.fab:before,
.fa-brands:before {
    font-family: "Font Awesome 6 Brands" !important;
}