/* Shared typography for authored pages, imported pages and the 404 page. */
html {
  font-synthesis: none;
}

body {
  font-family: var(--nvi-font-text);
  font-weight: 400;
  line-height: 1.6;
  --e-global-typography-primary-font-family: 'NVI Sans Display';
  --e-global-typography-primary-font-weight: 900;
  --e-global-typography-secondary-font-family: 'NVI Sans Display';
  --e-global-typography-secondary-font-weight: 900;
  --e-global-typography-text-font-family: 'NVI Sans';
  --e-global-typography-text-font-weight: 400;
  --e-global-typography-accent-font-family: 'NVI Sans';
  --e-global-typography-accent-font-weight: 700;
}

/* Preserve the display face's built-in lean without adding synthetic italics. */
h1, h2, h3, h4, h5, h6,
.elementor-heading-title,
.elementor-counter-number,
.elementor-counter-number-prefix,
.elementor-counter-number-suffix,
.hero-done-right,
.stat-card__number,
.nvi-404__code,
.card_carousel_title {
  font-family: var(--nvi-font-display) !important;
  font-weight: 900 !important;
  font-style: normal !important;
}

/* Imported pages carried fixed line heights sized for the previous fonts. */
h1, h2, h3, h4, h5, h6,
.elementor-heading-title,
.hero-done-right,
.card_carousel_title {
  line-height: 1.2 !important;
}

p,
.elementor-widget-text-editor,
.elementor-widget-text-editor li {
  line-height: 1.6 !important;
}

/* These homepage headings are paragraphs in the imported markup. */
.elementor-1011 .elementor-element-3fff770,
.elementor-1011 .elementor-element-3fff770 p {
  font-family: var(--nvi-font-display) !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.elementor-1011 .elementor-element-3e1f2ad,
.elementor-1011 .elementor-element-3e1f2ad p {
  line-height: 1.35 !important;
}

/* Give the careers introduction a clear headline above the body copy. */
.elementor-2083 .elementor-element-194fb36 .elementor-heading-title {
  font-size: clamp(2rem, 3.5vw, 3rem) !important;
  line-height: 1.2 !important;
}

.elementor-widget-text-editor,
.elementor-widget-text-editor :is(p, li, span, div),
.elementor-counter-title,
input, textarea, select, button {
  font-family: var(--nvi-font-text) !important;
}

strong, b {
  font-weight: 700;
}

em, cite, dfn {
  font-style: italic;
}
