/* Nexito licensed local webfont loader.
 * The commercial font file is not distributed in update ZIPs. The license
 * holder must keep it at /assets/fonts/iransansx/IRANSansXV.woff2.
 */
@font-face {
  font-family: "IRANSansX";
  src:
    local("IRANSansX"),
    local("IRANSansX VF"),
    url("/assets/fonts/iransansx/IRANSansXV.woff2?v=3.0") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --font-main: "IRANSansX", Tahoma, "Segoe UI", Arial, sans-serif;
  --font-latin: "IRANSansX", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
}

html,
body,
button,
input,
textarea,
select,
option,
table,
th,
td,
dialog {
  font-family: var(--font-main);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

html[lang="en"],
html[lang="en"] body,
body.is-en,
body.is-en button,
body.is-en input,
body.is-en textarea,
body.is-en select,
body.is-en option {
  font-family: var(--font-latin);
}

code,
pre,
kbd,
samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
