/* Yekan Bakh ProPlus is proprietary; these self-hosted files must remain covered by the owner's FontIran license. */
@font-face {
  font-family: "Yekan Bakh FaNum";
  src: url("./YekanBakhFaNum-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Yekan Bakh FaNum";
  src: url("./YekanBakhFaNum-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Yekan Bakh FaNum";
  src: url("./YekanBakhFaNum-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Yekan Bakh FaNum";
  src: url("./YekanBakhFaNum-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Yekan Bakh FaNum";
  src: url("./YekanBakhFaNum-Black.woff2") format("woff2");
  font-weight: 900 1000;
  font-style: normal;
  font-display: swap;
}

/* Keep the previous family as an offline-safe fallback for exceptional glyphs. */
@font-face {
  font-family: "WhaleFaFallback";
  src: url("./Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "WhaleFaFallback";
  src: url("./Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700 950;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-fa: "Yekan Bakh FaNum", "WhaleFaFallback", Tahoma, Arial, sans-serif;
  --font-code: Consolas, "Courier New", monospace;
}

html[lang="fa"],
html[lang="fa"] body,
html[lang="fa"] input,
html[lang="fa"] button,
html[lang="fa"] select,
html[lang="fa"] textarea {
  font-family: var(--font-fa) !important;
  letter-spacing: 0;
}
