/* EIVA Stage 09.2 — IRANSans Web typography, owner-supplied licensed assets.
   Keep this file LAST among page stylesheets. Font files are NOT bundled. */
@font-face {
  font-family: "Eiva IRANSans";
  src: url("../fonts/IRANSansWeb.woff2") format("woff2"),
       url("../fonts/IRANSansWeb.woff") format("woff");
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Eiva IRANSans";
  src: url("../fonts/IRANSansWeb_Light.woff2") format("woff2"),
       url("../fonts/IRANSansWeb_Light.woff") format("woff");
  font-style: normal; font-weight: 300; font-display: swap;
}
@font-face {
  font-family: "Eiva IRANSans";
  src: url("../fonts/IRANSansWeb_Medium.woff2") format("woff2"),
       url("../fonts/IRANSansWeb_Medium.woff") format("woff");
  font-style: normal; font-weight: 500 600; font-display: swap;
}
@font-face {
  font-family: "Eiva IRANSans";
  src: url("../fonts/IRANSansWeb_Bold.woff2") format("woff2"),
       url("../fonts/IRANSansWeb_Bold.woff") format("woff");
  font-style: normal; font-weight: 700 900; font-display: swap;
}
:root {
  --eiva-font-family: "Eiva IRANSans", Tahoma, "Segoe UI", Arial, sans-serif;
  --font-sans: var(--eiva-font-family);
  --font-display: var(--eiva-font-family);
  --font-family-primary: var(--eiva-font-family);
}
/* Public Counsel/Tailwind layer, including headings and input controls. */
body.eiva-site, .eiva-site :is(h1,h2,h3,h4,h5,h6,p,a,button,input,select,textarea,label,th,td,small,summary,option) {
  font-family: var(--eiva-font-family);
}
/* Tabler (if compiled) and the bundled local dashboard layer. */
body.eiva-dashboard, .eiva-dashboard :is(h1,h2,h3,h4,h5,h6,p,a,button,input,select,textarea,label,th,td,small,summary,option,.btn,.nav-link,.form-control,.form-select) {
  font-family: var(--eiva-font-family);
}
/* Django's admin pages also use this stylesheet via admin/base_site.html. */
body:has(#container) {
  --font-family-primary: var(--eiva-font-family);
}
body:has(#container) :is(h1,h2,h3,h4,h5,h6,button,input,select,textarea,label,th,td,.button,.submit-row) {
  font-family: var(--eiva-font-family);
}
/* Preserve monospace text where it conveys code, identifiers or machine data. */
.eiva-site :is(code,pre,kbd,samp),
.eiva-dashboard :is(code,pre,kbd,samp),
body:has(#container) :is(code,pre,kbd,samp) {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
