/* =========================
   IRANSansX Fonts (فقط ۳ وزن)
========================= */
@font-face {
  font-family: IRANSans;
  font-style: normal;
  font-weight: 400;
  src: url('fonts/woff2/IRANSansWeb(FaNum).woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: IRANSans;
  font-style: normal;
  font-weight: 500;
  src: url('fonts/woff2/IRANSansWeb(FaNum)_Medium.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: IRANSans;
  font-style: normal;
  font-weight: 700;
  src: url('fonts/woff2/IRANSansWeb(FaNum)_Bold.woff2') format('woff2');
  font-display: swap;
}

/* =========================
   Font Awesome 5 (swap)
========================= */
@font-face {
  font-family: 'Font Awesome 5 Free';
  font-style: normal;
  font-weight: 400;
  src: url('webfonts/fa-regular-400.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Font Awesome 5 Free';
  font-style: normal;
  font-weight: 900;
  src: url('webfonts/fa-solid-900.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Font Awesome 5 Brands';
  font-style: normal;
  font-weight: 400;
  src: url('webfonts/fa-brands-400.woff2') format('woff2');
  font-display: swap;
}

/* =========================
   Preload پیشنهاد شده (در <head>)
========================= */
/*
<link rel="preload" href="webfonts/fa-regular-400.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="webfonts/fa-solid-900.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="webfonts/fa-brands-400.woff2" as="font" type="font/woff2" crossorigin>
*/