/* Shared typography. Font files are served locally from the supplied Proxima Nova family. */
:root {
  --font-family-base: "Proxima Nova", Arial, sans-serif;
}

@font-face {
  font-family: "Proxima Nova";
  src: url("/shared/assets/fonts/proxima-nova/proximanova_regular.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova";
  src: url("/shared/assets/fonts/proxima-nova/proximanova_regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova";
  src: url("/shared/assets/fonts/proxima-nova/proximanova_light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2122;
}

@font-face {
  font-family: "Proxima Nova";
  src: url("/shared/assets/fonts/proxima-nova/proximanova_bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova";
  src: url("/shared/assets/fonts/proxima-nova/proximanova_extrabold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova";
  src: url("/shared/assets/fonts/proxima-nova/proximanova_black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova";
  src: url("/shared/assets/fonts/proxima-nova/proximanova_boldit.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova";
  src: url("/shared/assets/fonts/proxima-nova/proximanova_blackit.otf") format("opentype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

html, body, button, input, select, textarea, optgroup, option,
code, pre, kbd, samp, svg text, ::file-selector-button {
  font-family: var(--font-family-base);
}

/* Map controls have vendor font declarations; keep them consistent with the site. */
:where(.leaflet-container, .leaflet-container *, .ol-viewport, .ol-viewport *) {
  font-family: var(--font-family-base) !important;
}
