/* ============================================================
   Bahij Helvetica Neue — site-wide typeface (Latin + Arabic).
   Loaded after each page's inline <style>, so the !important
   token overrides below win over the per-page :root values.
   ============================================================ */

@font-face {
  font-family: "Bahij Helvetica Neue";
  src: url("fonts/BahijHelveticaNeue-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bahij Helvetica Neue";
  src: url("fonts/BahijHelveticaNeue-Roman.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bahij Helvetica Neue";
  src: url("fonts/BahijHelveticaNeue-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* One family for everything — headings and body, English and Arabic.
   (The design's former serif display face is intentionally dropped.) */
:root {
  --sans:      "Bahij Helvetica Neue", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif !important;
  --serif:     "Bahij Helvetica Neue", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif !important;
  --sans-ar:   "Bahij Helvetica Neue", "Segoe UI", Tahoma, Arial, sans-serif !important;
  --serif-ar:  "Bahij Helvetica Neue", "Segoe UI", Tahoma, Arial, sans-serif !important;
}

/* a few spots in older page CSS hard-set a stack instead of using the token */
body,
h1, h2, h3, h4, h5, h6,
button, input, select, textarea {
  font-family: var(--sans);
}
