/* ========================================================================
   [VARIENT-MOD] Persian font pack — Vazirmatn, Dana, IRANYekan
   Added by customisation (not part of original Varient v3 script).
   Loaded conditionally when active language is Persian.
   ======================================================================== */

/* --- Vazirmatn ------------------------------------------------------- */
@font-face {
    font-family: "Vazirmatn";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("vazirmatn-300.woff2") format("woff2");
}
@font-face {
    font-family: "Vazirmatn";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("vazirmatn-400.woff2") format("woff2");
}
@font-face {
    font-family: "Vazirmatn";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("vazirmatn-500.woff2") format("woff2");
}
@font-face {
    font-family: "Vazirmatn";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("vazirmatn-600.woff2") format("woff2");
}
@font-face {
    font-family: "Vazirmatn";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("vazirmatn-700.woff2") format("woff2");
}
@font-face {
    font-family: "Vazirmatn";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("vazirmatn-800.woff2") format("woff2");
}
@font-face {
    font-family: "Vazirmatn";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("vazirmatn-900.woff2") format("woff2");
}

/* --- Dana ------------------------------------------------------------ */
@font-face {
    font-family: "Dana";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("dana-300.woff2") format("woff2");
}
@font-face {
    font-family: "Dana";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("dana-400.woff2") format("woff2");
}
@font-face {
    font-family: "Dana";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("dana-500.woff2") format("woff2");
}
@font-face {
    font-family: "Dana";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("dana-600.woff2") format("woff2");
}
@font-face {
    font-family: "Dana";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("dana-700.woff2") format("woff2");
}
@font-face {
    font-family: "Dana";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("dana-800.woff2") format("woff2");
}
@font-face {
    font-family: "Dana";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("dana-900.woff2") format("woff2");
}

/* --- IRANYekan (Persian-numerals variant) ---------------------------- */
@font-face {
    font-family: "IRANYekan";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("iranyekan-400.woff2") format("woff2");
}
@font-face {
    font-family: "IRANYekan";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("iranyekan-700.woff2") format("woff2");
}

/* --- Apply Vazirmatn site-wide for RTL/Persian ----------------------- */
html[lang^="fa"],
html[lang^="fa"] body,
html[dir="rtl"] body {
    font-family: "Vazirmatn", "Dana", "IRANYekan", "Tahoma", sans-serif;
}
