/* Self-hosted Open Sans (place font files under /static/overrides/fonts/) */
/* NOTE: Provide the actual .woff2 files at:
   /static/overrides/fonts/OpenSans-Variable.woff2 (or individual weights)
   /static/overrides/fonts/OpenSans-Regular.woff2
   /static/overrides/fonts/OpenSans-SemiBold.woff2
   /static/overrides/fonts/OpenSans-Bold.woff2
   Until then, system fallbacks will be used. */

@font-face {
  font-family: "Open Sans";
  src: url("fonts/OpenSans-Variable.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("fonts/OpenSans-VariableItalic.woff2") format("woff2");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

/* Force Open Sans across the site while preserving existing weights */
:root {
  --font-sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

html, body {
  font-family: var(--font-sans) !important;
}

/* Ensure headings, nav, footer, and common blocks inherit Open Sans */
h1, h2, h3, h4, h5, h6,
nav, .header-nav, .header-nav a,
.header-title, .site-title,
footer, .footer,
.sqs-block, .sqs-block-content,
p, a, li, button, input, textarea, label {
  font-family: var(--font-sans) !important;
}
