/* =========================================================================
   IranSans: the only typeface for Persian text on the site.
   1) One family, "IranSans", with its six real weights, so font-weight picks the right file.
   2) The older per-weight family names (IranSansBold, IranSansMedium, ...) still work as aliases.
   3) A weight scale by role (below). Use it for every new component.

      200 UltraLight  decorative big numerals / watermarks only
      300 Light       large intro text (18px+), soft subtitles
      400 Regular     body text, paragraphs, descriptions, form fields
      500 Medium      menu links, buttons, tabs, labels, eyebrows, meta
      700 Bold        section titles (h2-h6), card titles, emphasis
      900 Black       the page H1 / hero display title, big stat numbers
   Loaded first in main.tpl; Regular + Bold are preloaded there.
   ========================================================================= */

/* UltraLight */
@font-face {
    font-family: 'IranSans';
    src: url('../fonts/IranSansUltraLight.woff2') format('woff2'),
         url('../fonts/IranSansUltraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

/* Light */
@font-face {
    font-family: 'IranSans';
    src: url('../fonts/IranSansLight.woff2') format('woff2'),
         url('../fonts/IranSansLight.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Regular */
@font-face {
    font-family: 'IranSans';
    src: url('../fonts/IranSans.woff2') format('woff2'),
         url('../fonts/IranSans.ttf') format('truetype'),
         url('../fonts/IRANSans-web.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Medium */
@font-face {
    font-family: 'IranSans';
    src: url('../fonts/IranSansMedium.woff2') format('woff2'),
         url('../fonts/IranSansMedium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Bold */
@font-face {
    font-family: 'IranSans';
    src: url('../fonts/IranSansBold.woff2') format('woff2'),
         url('../fonts/IranSansBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Black */
@font-face {
    font-family: 'IranSans';
    src: url('../fonts/IranSansBlack.woff2') format('woff2'),
         url('../fonts/IranSansBlack.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* legacy names used across style.css: each is one fixed weight, never fake-bolded */
@font-face { font-family: 'IranSansUltraLight'; src: url('../fonts/IranSansUltraLight.woff2') format('woff2'), url('../fonts/IranSansUltraLight.ttf') format('truetype'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'IranSansLight'; src: url('../fonts/IranSansLight.woff2') format('woff2'), url('../fonts/IranSansLight.ttf') format('truetype'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'IranSansMedium'; src: url('../fonts/IranSansMedium.woff2') format('woff2'), url('../fonts/IranSansMedium.ttf') format('truetype'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'IranSansBold'; src: url('../fonts/IranSansBold.woff2') format('woff2'), url('../fonts/IranSansBold.ttf') format('truetype'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'IranSansBlack'; src: url('../fonts/IranSansBlack.woff2') format('woff2'), url('../fonts/IranSansBlack.ttf') format('truetype'); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ---- weight scale by role: site-wide defaults (refined in layout-fixes.css, which loads last) */
html, body { font-family: 'IranSans', Tahoma, sans-serif; font-weight: 400; }
button, input, select, textarea, optgroup { font-family: inherit; }
strong, b, th, dt { font-family: 'IranSansBold', 'IranSans', sans-serif; font-weight: normal; }
