/* ===========================================================
   هدرین — site fonts
   Persian / Arabic : Diodrum Arabic (6 weights)
   Latin / English  : Arian (5 weights, restricted to the Latin range)
   Arian is listed FIRST in font stacks but its unicode-range covers only
   Latin letters, digits and punctuation, so English/numbers render in Arian
   while ALL Persian/Arabic glyphs (incl. Persian digits) fall to Diodrum.
   =========================================================== */

/* ---------- Diodrum Arabic (Persian / Arabic) ---------- */
@font-face {
    font-family: 'Diodrum Arabic';
    src: url('../fonts/DiodrumArabic-Extralight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Diodrum Arabic';
    src: url('../fonts/DiodrumArabic-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Diodrum Arabic';
    src: url('../fonts/DiodrumArabic-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Diodrum Arabic';
    src: url('../fonts/DiodrumArabic-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Diodrum Arabic';
    src: url('../fonts/DiodrumArabic-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Diodrum Arabic';
    src: url('../fonts/DiodrumArabic-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ---------- Arian (Latin / English + Persian) ---------- */
@font-face {
    font-family: 'Arian';
    src: url('../fonts/Arian-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-024F, U+2000-206F;
}
@font-face {
    font-family: 'Arian';
    src: url('../fonts/Arian-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-024F, U+2000-206F;
}
@font-face {
    font-family: 'Arian';
    src: url('../fonts/Arian-Demi.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-024F, U+2000-206F;
}
@font-face {
    font-family: 'Arian';
    src: url('../fonts/Arian-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-024F, U+2000-206F;
}
@font-face {
    font-family: 'Arian';
    src: url('../fonts/Arian-Heavy.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-024F, U+2000-206F;
}

/* convenience helpers */
:root { --font-fa: 'Arian', 'Diodrum Arabic', Tahoma, sans-serif; }
.latin { font-family: 'Arian', 'Diodrum Arabic', sans-serif; }

/* ---------- typographic weight hierarchy ----------
   Exercises the six Diodrum Arabic weights in sensible places
   (Arian has a single weight, so Latin keeps 400). */
body { font-weight: 400; }
h1, .h1 { font-weight: 700; }
h2, .h2 { font-weight: 600; }
h3, .h3 { font-weight: 600; }
h4, h5, h6, .h4, .h5, .h6 { font-weight: 500; }
b, strong { font-weight: 700; }
.fw-light { font-weight: 300; }
.fw-extralight { font-weight: 200; }
small, .text-muted, .muted { font-weight: 300; }
