/* IELCORP Corporate v1.0.130 — consolidated mobile homepage styles.
   Preserve WordPress/Elementor content; grid only after home-cards.js opts in. */
@media (max-width: 1024px) {
  body.home .iel-front-page .elementor .elementor-widget-heading .elementor-heading-title,
  body.home .iel-front-page .elementor .elementor-widget-html :is(h1,h2,h3,h4) {
    font-weight: 600 !important;
    letter-spacing: -.03em !important;
    overflow-wrap: anywhere;
  }
  body.home .iel-front-page .elementor .elementor-widget-text-editor,
  body.home .iel-front-page .elementor .elementor-widget-text-editor p,
  body.home .iel-front-page .elementor .elementor-widget-html p { line-height: 1.6 !important; }
}
@media (max-width: 767px) {
  body.home .iel-front-page .elementor .elementor-widget-heading .elementor-heading-title,
  body.home .iel-front-page .elementor .elementor-widget-heading .elementor-heading-title :is(span,strong,b,em),
  body.home .iel-front-page .elementor .elementor-widget-html :is(h1,h2,h3),
  body.home .iel-front-page .elementor .elementor-widget-html :is(h1,h2,h3) :is(span,strong,b,em) {
    font-size: clamp(21px, 5.5vw, 27px) !important;
    line-height: 1.22 !important;
    letter-spacing: -.025em !important;
  }
  body.home .iel-front-page .elementor .elementor-element-0b5b162 .elementor-heading-title,
  body.home .iel-front-page .elementor .elementor-element-0b5b162 .elementor-heading-title :is(span,strong,b,em) {
    font-size: clamp(26px, 6.6vw, 32px) !important;
    line-height: 1.13 !important;
  }
  body.home .iel-front-page .elementor .elementor-widget-text-editor,
  body.home .iel-front-page .elementor .elementor-widget-text-editor p,
  body.home .iel-front-page .elementor .elementor-widget-html p,
  body.home .iel-front-page .elementor .elementor-widget-icon-box .elementor-icon-box-description,
  body.home .iel-front-page .elementor .elementor-widget-image-box .elementor-image-box-description {
    font-size: 14px !important;
    line-height: 1.55 !important;
    letter-spacing: 0 !important;
  }
  body.home .iel-front-page .elementor .elementor-element-0b5b162 {
    min-height: 0 !important;
    height: auto !important;
    padding-block: 46px 50px !important;
    background-position: 62% center !important;
  }
  body.home .iel-front-page .elementor .elementor-top-section:not(.elementor-element-0b5b162),
  body.home .iel-front-page .elementor .e-con.e-parent:not(.elementor-element-0b5b162) {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
  body.home .iel-front-page .elementor .elementor-widget-heading,
  body.home .iel-front-page .elementor .elementor-widget-text-editor {margin-bottom: 8px !important;}
  body.home .iel-front-page .elementor .elementor-widget-spacer .elementor-spacer,
  body.home .iel-front-page .elementor .elementor-widget-spacer .elementor-spacer-inner {
    height: 12px !important;
    max-height: 12px !important;
  }
  body.home .iel-front-page .elementor .elementor-widget-counter .elementor-counter-number-wrapper {
    font-size: clamp(30px, 8.4vw, 40px) !important;
    line-height: 1.08 !important;
  }
  body.home .iel-front-page .elementor .elementor-widget-counter .elementor-counter-title {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }
  body.home .iel-front-page .elementor .elementor-widget-image-box .elementor-image-box-title,
  body.home .iel-front-page .elementor .elementor-widget-icon-box .elementor-icon-box-title {
    font-size: 15px !important;
    line-height: 1.28 !important;
  }
  body.home .iel-front-page .elementor .elementor-button {
    font-size: 12px !important;
    line-height: 1.25 !important;
    min-height: 38px;
    padding: 10px 16px !important;
    align-items: center;
    justify-content: center;
  }
  body.home .iel-front-page .elementor .elementor-widget-image img,
  body.home .iel-front-page .elementor .elementor-widget-icon img {max-width: 100%; height: auto;}
  /* The DOM classifier excludes long text, forms and interactive rows. */
  body.home .iel-front-page .elementor .iel-home-card-grid {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 9px !important;
    align-items: stretch !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    width: 100% !important;
  }
  body.home .iel-front-page .elementor .iel-home-card-grid--two {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 10px !important;
  }
  body.home .iel-front-page .elementor .iel-home-card-grid > .iel-home-card {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: none !important;
    scroll-snap-align: none !important;
    margin: 0 !important;
    height: auto !important;
  }
  body.home .iel-front-page .elementor .iel-home-card-grid--two > .iel-home-card {min-height: 105px !important;}
}
@media (max-width: 390px) {
  body.home .iel-front-page .elementor .elementor-element-0b5b162 .elementor-heading-title,
  body.home .iel-front-page .elementor .elementor-element-0b5b162 .elementor-heading-title :is(span,strong,b,em) {
    font-size: 26px !important;
  }
}
