/* PolySans webfont wiring and global application */
@font-face {
  font-family: 'PolySans';
  src: url('../../../../fonts/polysanstrial-neutral.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PolySans';
  src: url('../../../../fonts/polysansitalictrial-neutralitalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'PolySans';
  src: url('../../../../fonts/polysanstrial-median.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PolySans';
  src: url('../../../../fonts/polysansitalictrial-medianitalic.otf') format('opentype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'PolySans';
  src: url('../../../../fonts/polysanstrial-bulky.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PolySans';
  src: url('../../../../fonts/polysansitalictrial-bulkyitalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --superio-main-font: 'PolySans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --superio-heading-font: 'PolySans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body, button, input, select, textarea {
  font-family: var(--superio-main-font) !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--superio-heading-font) !important;
}

/* Common Elementor text containers */
.elementor, .elementor-widget, .elementor-heading-title, .elementor-button, .elementor-nav-menu, .elementor-text-editor {
  font-family: var(--superio-main-font) !important;
}

/* Force PolySans across most text elements (avoid icon fonts) */
html, body {
  font-family: var(--superio-main-font) !important;
}
body :not(svg):not(path):not(i):not([class*="fa-"]):not(.fa):not(.fas):not(.far):not(.fab):not([class*="flaticon"]):not([class*="ti-"]) {
  font-family: var(--superio-main-font) !important;
}

/* Keep paragraph copy at a lighter weight for readability */
p,
.elementor-widget-text-editor,
.elementor-widget-text-editor p,
.elementor-widget-text-editor span,
.elementor-widget-text-editor li,
.elementor-widget-call-to-action .elementor-cta__description,
.elementor-widget-icon-box .elementor-icon-box-description {
  font-weight: 400 !important;
}

