﻿
/* ALMASIMO — Persian Font: Yekan Bakh 3 NoEn */

@font-face {
    font-family: "AlmasimoYekan";
    src: url("/fonts/yekanbakh3/YekanBakhNoEn-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "AlmasimoYekan";
    src: url("/fonts/yekanbakh3/YekanBakhNoEn-Bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "AlmasimoYekan";
    src: url("/fonts/yekanbakh3/YekanBakhNoEn-ExtraBlack.woff2") format("woff2");
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}

/* Persian language only */
html:lang(fa) body,
html:lang(fa) :is( h1, h2, h3, h4, h5, h6, p, span, a, button, label, li, td, th, summary, small, strong, b, em, input, select, textarea ) {
    font-family: "AlmasimoYekan", Tahoma, sans-serif !important;
}

/* Persian typography */
html:lang(fa) :is(h1, h2, h3, h4, h5, h6) {
    letter-spacing: 0 !important;
}

html:lang(fa) :is(p, li, label) {
    line-height: 1.9;
}

/* Preserve technical values and identifiers */
html:lang(fa) :is( code, pre, kbd, samp, input[type="number"], input[type="email"], input[type="password"], input[type="tel"] ) {
    font-family: Consolas, monospace !important;
}
