/* IELCORP Corporate v1.0.55 — shared frontend typography.
   Typography only: no content, color, size, weight or layout overrides.
   Excludes icon glyphs, SVG and third-party icon-font markup. */
:root { --ielcorp-typeface: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; }

/* Theme-owned text, including navigation, contact, product cards and AI Chat. */
body .iel-site-header,
body .iel-site-footer,
body .iel-content,
body .iel-section-main,
body .iel-catalog-main,
body .iel-contact-page,
body .iel-product-overview,
body .iel-ai-widget {
  font-family: var(--ielcorp-typeface) !important;
}

/* WordPress and Elementor content uses separate per-widget font rules.
   Apply font-family only so existing sizes, colors and emphasis survive. */
body .iel-content :is(h1,h2,h3,h4,h5,h6,p,blockquote,ul,ol,li,dt,dd,figcaption,caption,label,legend,button,input,select,textarea),
body .iel-product-overview :is(h1,h2,h3,h4,h5,h6,p,blockquote,li,dt,dd,figcaption,label,legend,button,input,select,textarea),
body .iel-content :is(.elementor-heading-title,.elementor-text-editor,.elementor-button-text,.elementor-icon-box-title,.elementor-icon-box-description,.elementor-image-box-title,.elementor-image-box-description,.elementor-accordion-title,.elementor-tab-title,.elementor-tab-content,.elementor-toggle-title,.elementor-toggle-content,.elementor-counter-title,.elementor-price-table__heading,.elementor-price-table__subheading),
body .iel-site-header :is(a,button,span:not(.eicon):not(.dashicons):not(.elementor-icon):not(.fa):not(.fas):not(.far):not(.fab)),
body .iel-site-footer :is(h1,h2,h3,h4,h5,h6,p,a,li,small,button),
body .iel-ai-widget :is(h1,h2,h3,h4,h5,h6,p,button,input,textarea,label,small,strong),
body .iel-contact-page :is(input,select,textarea,button,label),
body .iel-catalog-main :is(input,select,button) {
  font-family: var(--ielcorp-typeface) !important;
}

/* Legacy homepage has dark service cards whose h4 headings otherwise fall
   back to Times/Georgia; fix HTML widget headings and nested text too. */
body.home .iel-front-page .elementor-widget-html :is(h1,h2,h3,h4,h5,h6,p),
body.home .iel-front-page .elementor-widget-heading .elementor-heading-title,
body.home .iel-front-page .elementor-widget-text-editor :is(p,h1,h2,h3,h4,h5,h6) {
  font-family: var(--ielcorp-typeface) !important;
}

/* Icons are intentionally absent from text selectors; their icon font is preserved. */

/* Elementor may apply font to nested HTML widgets and section captions.
   Preserve icon glyphs (Dashicons, Font Awesome, Elementor icons). */
body:not(.wp-admin) :is(.elementor, .iel-content, .iel-front-page, .iel-product-overview, .iel-catalog-main, .iel-section-main, .iel-contact-page) :is(h1,h2,h3,h4,h5,h6,p,a,blockquote,li,dt,dd,figcaption,label,legend,button,input,select,textarea,small,strong,em,b,summary),
body:not(.wp-admin) .elementor :is(.elementor-heading-title,.elementor-button-text,.elementor-icon-list-text,.elementor-widget-container,.elementor-tab-title,.elementor-tab-content,.elementor-accordion-title,.elementor-toggle-title,.elementor-toggle-content),
body:not(.wp-admin) :is(.iel-site-header,.iel-site-footer,.iel-ai-widget) :is(a,button,input,textarea,h1,h2,h3,h4,h5,h6,p,label,small,strong) {
  font-family: var(--ielcorp-typeface) !important;
}
/* The HTML widget on the original homepage has text-only spans and divs. */
body.home .iel-front-page .elementor-widget-html :is(div,span):not([class*="icon"]):not([class*="fa-"]):not(.dashicons):not(.eicon) {
  font-family: var(--ielcorp-typeface) !important;
}
