/* WikiVisa Stats font setup
   Put your .woff2 font files in: stats/static/stats/fonts/
   Supported filenames:
   - IRANSansWeb.woff2, IRANSansWeb_Medium.woff2, IRANSansWeb_Bold.woff2, IRANSansWeb_Black.woff2
   - IRANSansWeb(FaNum).woff2, IRANSansWeb(FaNum)_Medium.woff2, IRANSansWeb(FaNum)_Bold.woff2, IRANSansWeb(FaNum)_Black.woff2
*/

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

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

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

@font-face {
  font-family: 'IRANSansWiki';
  src: url('../fonts/IRANSansWeb_Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

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

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

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

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

:root {
  --font-fa: 'IRANSansWikiFaNum', 'IRANSansWiki', Tahoma, Arial, sans-serif;
  --font-fa-en-numbers: 'IRANSansWiki', 'IRANSansWikiFaNum', Tahoma, Arial, sans-serif;
}

body, button, input, select, textarea {
  font-family: var(--font-fa);
}

h1, h2, h3, .dashboard-title, .share-title {
  font-family: var(--font-fa);
  font-weight: 900;
}

.stat-value, .big-number, .kpi strong {
  font-family: var(--font-fa);
  font-weight: 900;
}

.en-numbers, .latin-numbers, .source-url {
  font-family: var(--font-fa-en-numbers);
}
