/* Shared licensed typeface. The variable width is explicitly kept at normal. */
@layer hamyarsite-typography, site-actions;

@font-face {
  font-family: "YekanBakh";
  src: url("/fonts/yekan-bakh/YekanBakhFaNum-VF.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 950;
  font-stretch: 62.5% 150%;
  font-display: swap;
}

/* Existing tenant branding also uses the spelling with a space. */
@font-face {
  font-family: "Yekan Bakh";
  src: url("/fonts/yekan-bakh/YekanBakhFaNum-VF.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 950;
  font-stretch: 62.5% 150%;
  font-display: swap;
}

@layer hamyarsite-typography {
  :root {
    --font-sans: "YekanBakh", Tahoma, Arial, sans-serif;
    --site-font: "YekanBakh", Tahoma, Arial, sans-serif;
    --site-heading-font: "YekanBakh", Tahoma, Arial, sans-serif;
  }

  :where(html, body, .font-sans, .site-theme-customization, .tp-theme,
      .site-status-page, [data-theme-engine], [style*="font-family"]:not(i):not(svg),
      h1, h2, h3, h4, h5, h6, p, a, li, dt, dd, label, summary,
      th, td, span:not(:where(pre *, code *, .font-mono *, .fa, .fas, .far, .fab, .material-icons)),
      strong, b, small, em, blockquote, legend, figcaption,
      button, input, select, option,
      textarea:not(.admin-json-input):not(.marketing-json-area)) {
    font-family: "YekanBakh", Tahoma, Arial, sans-serif !important;
    font-stretch: normal !important;
  }
}
