/* IELCORP Corporate v1.0.57 — unify all product Hero surfaces to the
 * user-approved InvoiceMaker Pro visual reference (2026-11-15).
 * Product-page-only: no effect on homepage, header, cards or WP Admin.
 * Loaded AFTER legacy Elementor product color/background styles. */
:root {
  --ielcorp-product-reference-hero: linear-gradient(112deg,#091831 0%,#102449 52%,#1b345f 100%);
  --ielcorp-product-reference-hero-height: 792px;
}
/* Legacy product designs use hero / iv14-hero; Elementor designs may use
 * an unnamed first top-level section or flex container. */
body.ielcorp-product-detail :is(.iel-notices,.iel-sitevault,.iel-mailflow,.iel-fin,.IV14,.ielcorp-product-detail) :is(.hero,.iv14-hero,.hero-section,.iel-product-hero),
body.ielcorp-product-detail .iel-content > .elementor > :is(.elementor-element,.e-con):first-child,
body.ielcorp-product-detail .iel-content .elementor-section-wrap > .elementor-top-section:first-child,
body.ielcorp-product-detail .iel-content :is(.iel-notices,.iel-sitevault,.iel-mailflow,.iel-fin,.IV14) > :is(.hero,.iv14-hero,.hero-section),
body.ielcorp-product-detail .iel-product-overview-hero {
  background-color:#091831 !important;
  background-image:var(--ielcorp-product-reference-hero) !important;
  background-attachment:scroll !important;
  min-height:var(--ielcorp-product-reference-hero-height) !important;
  height:var(--ielcorp-product-reference-hero-height) !important;
  box-sizing:border-box !important;
}
/* Named hero sections may be wrapped in a top-level Elementor container.
 * Ensure the outer background, not product-dependent gradient, is visible. */
body.ielcorp-product-detail .iel-content :is(.hero,.iv14-hero,.hero-section,.iel-product-hero) {
  background-color:#091831 !important;
  background-image:var(--ielcorp-product-reference-hero) !important;
}
/* Do not stretch a fixed-height hero into overflowing text on smaller screens.
 * All mobile hero areas retain the same colors and a consistent minimum. */
@media (max-width:1199px) {
  body.ielcorp-product-detail :is(.iel-notices,.iel-sitevault,.iel-mailflow,.iel-fin,.IV14,.ielcorp-product-detail) :is(.hero,.iv14-hero,.hero-section,.iel-product-hero),
  body.ielcorp-product-detail .iel-content > .elementor > :is(.elementor-element,.e-con):first-child,
  body.ielcorp-product-detail .iel-content .elementor-section-wrap > .elementor-top-section:first-child,
  body.ielcorp-product-detail .iel-content :is(.iel-notices,.iel-sitevault,.iel-mailflow,.iel-fin,.IV14) > :is(.hero,.iv14-hero,.hero-section),
  body.ielcorp-product-detail .iel-product-overview-hero {
    height:auto !important;
    min-height:680px !important;
  }
}
@media (max-width:767px) {
  body.ielcorp-product-detail :is(.iel-notices,.iel-sitevault,.iel-mailflow,.iel-fin,.IV14,.ielcorp-product-detail) :is(.hero,.iv14-hero,.hero-section,.iel-product-hero),
  body.ielcorp-product-detail .iel-content > .elementor > :is(.elementor-element,.e-con):first-child,
  body.ielcorp-product-detail .iel-content .elementor-section-wrap > .elementor-top-section:first-child,
  body.ielcorp-product-detail .iel-content :is(.iel-notices,.iel-sitevault,.iel-mailflow,.iel-fin,.IV14) > :is(.hero,.iv14-hero,.hero-section),
  body.ielcorp-product-detail .iel-product-overview-hero {
    min-height:560px !important;
  }
}
