/* HADI brand typography. The files are self-hosted and never depend on an OS-installed font. */
@font-face {
  font-family: "Noto Sans Hebrew";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/noto-sans-hebrew-hebrew-var.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
  font-family: "Noto Sans Hebrew";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/noto-sans-hebrew-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/noto-sans-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/noto-sans-latin-ext-var.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --hadi-brand-font-he: "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif;
  --hadi-brand-font-en: "Noto Sans", "Noto Sans Hebrew", Arial, sans-serif;
}

html[lang^="he"] body,
html[dir="rtl"] body {
  font-family: var(--hadi-brand-font-he) !important;
}

html[lang^="en"] body,
html[dir="ltr"] body {
  font-family: var(--hadi-brand-font-en) !important;
}

html body :where(
  h1, h2, h3, h4, h5, h6,
  p, a, button, label, input, textarea, select, option, optgroup,
  ul, ol, li, dl, dt, dd, blockquote, figcaption, caption,
  table, thead, tbody, tfoot, tr, th, td, small, strong, b, em
) {
  font-family: inherit;
}

