/* MiSans — bundled local fonts (Latin + Arabic UI) */

/* ---------- MiSans Latin ---------- */
@font-face {
    font-family: 'MiSans';
    src: url('/static/fonts/misans/MiSansLatin-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-024F, U+0400-04FF, U+1E00-1EFF, U+2000-206F, U+2070-209F, U+20A0-20CF, U+2150-218F, U+2190-21FF, U+2200-22FF, U+25A0-25FF;
}
@font-face {
    font-family: 'MiSans';
    src: url('/static/fonts/misans/MiSansLatin-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-024F, U+0400-04FF, U+1E00-1EFF, U+2000-206F, U+2070-209F, U+20A0-20CF, U+2150-218F, U+2190-21FF, U+2200-22FF, U+25A0-25FF;
}
@font-face {
    font-family: 'MiSans';
    src: url('/static/fonts/misans/MiSansLatin-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-024F, U+0400-04FF, U+1E00-1EFF, U+2000-206F, U+2070-209F, U+20A0-20CF, U+2150-218F, U+2190-21FF, U+2200-22FF, U+25A0-25FF;
}
@font-face {
    font-family: 'MiSans';
    src: url('/static/fonts/misans/MiSansLatin-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-024F, U+0400-04FF, U+1E00-1EFF, U+2000-206F, U+2070-209F, U+20A0-20CF, U+2150-218F, U+2190-21FF, U+2200-22FF, U+25A0-25FF;
}
@font-face {
    font-family: 'MiSans';
    src: url('/static/fonts/misans/MiSansLatin-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-024F, U+0400-04FF, U+1E00-1EFF, U+2000-206F, U+2070-209F, U+20A0-20CF, U+2150-218F, U+2190-21FF, U+2200-22FF, U+25A0-25FF;
}
@font-face {
    font-family: 'MiSans';
    src: url('/static/fonts/misans/MiSansLatin-Demibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-024F, U+0400-04FF, U+1E00-1EFF, U+2000-206F, U+2070-209F, U+20A0-20CF, U+2150-218F, U+2190-21FF, U+2200-22FF, U+25A0-25FF;
}
@font-face {
    font-family: 'MiSans';
    src: url('/static/fonts/misans/MiSansLatin-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-024F, U+0400-04FF, U+1E00-1EFF, U+2000-206F, U+2070-209F, U+20A0-20CF, U+2150-218F, U+2190-21FF, U+2200-22FF, U+25A0-25FF;
}
@font-face {
    font-family: 'MiSans';
    src: url('/static/fonts/misans/MiSansLatin-Heavy.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-024F, U+0400-04FF, U+1E00-1EFF, U+2000-206F, U+2070-209F, U+20A0-20CF, U+2150-218F, U+2190-21FF, U+2200-22FF, U+25A0-25FF;
}

/* ---------- MiSans Arabic (UI variant) ---------- */
/* Mapped to the same 'MiSans' family via Arabic unicode-range so RTL pages
   automatically get the Arabic glyphs while Latin/Cyrillic fall through to
   the Latin faces above. Also exposed as 'MiSans Arabic' for explicit use. */
@font-face {
    font-family: 'MiSans';
    src: url('/static/fonts/misans/MiSansArabicUI-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
    font-family: 'MiSans';
    src: url('/static/fonts/misans/MiSansArabicUI-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
    font-family: 'MiSans';
    src: url('/static/fonts/misans/MiSansArabicUI-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
    font-family: 'MiSans';
    src: url('/static/fonts/misans/MiSansArabicUI-Semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
    font-family: 'MiSans';
    src: url('/static/fonts/misans/MiSansArabicUI-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
    font-family: 'MiSans';
    src: url('/static/fonts/misans/MiSansArabicUI-Heavy.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

/* Explicit 'MiSans Arabic' family for templates that want Arabic glyphs only */
@font-face {
    font-family: 'MiSans Arabic';
    src: url('/static/fonts/misans/MiSansArabicUI-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'MiSans Arabic';
    src: url('/static/fonts/misans/MiSansArabicUI-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'MiSans Arabic';
    src: url('/static/fonts/misans/MiSansArabicUI-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'MiSans Arabic';
    src: url('/static/fonts/misans/MiSansArabicUI-Semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'MiSans Arabic';
    src: url('/static/fonts/misans/MiSansArabicUI-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'MiSans Arabic';
    src: url('/static/fonts/misans/MiSansArabicUI-Heavy.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
