/* Shared intermediate viewport corrections, loaded after page-specific styles. */
@media (min-width:768px) and (max-width:1279px) {
  .elementor:not(.elementor-29) > .e-con-boxed {
    --padding-left:24px !important; --padding-right:24px !important;
    padding-inline:24px !important; box-sizing:border-box;
  }
  .elementor:not(.elementor-29) > .e-con-boxed > .e-con-inner {
    width:100% !important; max-width:100% !important; min-width:0;
    padding-inline:0 !important; box-sizing:border-box;
    align-items:var(--align-items,stretch); justify-content:var(--justify-content,normal);
  }
  .elementor .e-con,.elementor .elementor-widget { min-width:0; }
  .elementor .elementor-heading-title { overflow-wrap:break-word; }
  .elementor .elementor-button { max-width:100%; white-space:normal; }
  .elementor-126 > .e-con-boxed { --padding-top:48px !important; --padding-bottom:48px !important; }
  .elementor-126 > .e-con-boxed > .e-con-inner { gap:28px !important; }
  .elementor-126 .elementor-element-259debd > .e-con-inner { padding:16px 0 !important; }
  .elementor-126 .elementor-element-703c10e,
  .elementor-126 .elementor-element-a6f62cc,
  .elementor-126 .elementor-element-ee16dd0 { align-items:flex-start !important; gap:24px !important; }
  .elementor-126 .elementor-element-b99e3ac { align-items:flex-end !important; justify-content:flex-end !important; }
  .elementor-126 .elementor-element-6dd9829 { align-self:flex-start !important; }
  .elementor-126 .elementor-element-6dd9829 .elementor-button-wrapper { text-align:left !important; }
  .elementor-126 .elementor-element-857f61f { width:100% !important; max-width:100% !important; }
  .elementor-126 .elementor-element-703c10e > .e-con { flex:1 1 0 !important; width:auto !important; min-width:0; }
  .elementor-126 .elementor-element-703c10e .elementor-heading-title,
  .elementor-126 .elementor-element-a6f62cc .elementor-heading-title,
  .elementor-126 .elementor-element-ee16dd0 .elementor-heading-title { max-width:100%; }
  .elementor-126 .elementor-element-d39d387 .elementor-heading-title { font-size:clamp(30px,3.6vw,44px) !important; line-height:1.15 !important; }
  .elementor-126 .elementor-element-703c10e p { text-align:left !important; }
  .elementor-126 .elementor-icon-box-wrapper { align-items:flex-start; }
  .elementor-126 .elementor-icon-box-content { min-width:0; overflow-wrap:break-word; }
  #masthead .career-contact-btns-container a.elementor-button:hover { min-width:88px !important; width:auto !important; padding:0 12px !important; }
}
@media (min-width:768px) and (max-width:1024px) {
  .elementor-126 .elementor-element-703c10e,
  .elementor-126 .elementor-element-a6f62cc,
  .elementor-126 .elementor-element-ee16dd0 { flex-direction:column !important; }
  .elementor-126 .elementor-element-703c10e > .e-con { flex:0 0 auto !important; width:100% !important; }
}
@media (min-width:1025px) and (max-width:1279px) {
  .elementor-126 .elementor-element-45eb11f > .e-con-inner,
  .elementor-126 .elementor-element-a2c2d97 > .e-con-inner { display:grid !important; grid-template-columns:minmax(0, 2fr) minmax(0, 1fr); align-items:start !important; }
  .elementor-126 .elementor-element-45eb11f > .e-con-inner > .e-con,
  .elementor-126 .elementor-element-a2c2d97 > .e-con-inner > .e-con { width:100% !important; max-width:100% !important; min-width:0; }
  .elementor-126 .elementor-element-51dca64,
  .elementor-126 .elementor-element-1b672a2 { grid-column:1; }
  .elementor-126 .elementor-element-34f4756,
  .elementor-126 .elementor-element-99824e2 { grid-column:2; }
  .elementor-126 .elementor-element-aaddea8 { gap:24px !important; }
  .elementor-126 .elementor-element-aaddea8 > .e-con { min-width:0; flex:1 1 0 !important; width:auto !important; }
}

/* V4: footer-only layout correction */
@media (min-width:768px) {
  #colophon .elementor-51 > .elementor-element-1001c32 { padding:48px 24px !important; --padding-left:24px; --padding-right:24px; }
  #colophon .elementor-51 > .elementor-element-1001c32 > .e-con-inner { display:grid !important; grid-template-columns:minmax(0, 1.15fr) minmax(0, 2fr); gap:36px !important; align-items:start !important; justify-content:normal !important; width:100% !important; max-width:1200px !important; margin-inline:auto !important; padding:0 !important; }
  #colophon .elementor-51 .elementor-element-759e845, #colophon .elementor-51 .elementor-element-1dfd452, #colophon .elementor-51 .elementor-element-1dfd452 > .e-con { width:100% !important; max-width:100% !important; min-width:0 !important; flex:none !important; margin:0 !important; padding:0 !important; }
  #colophon .elementor-51 .elementor-element-759e845 { display:flex !important; flex-direction:column !important; align-items:stretch !important; justify-content:flex-start !important; gap:20px !important; }
  #colophon .elementor-51 .elementor-element-f39b6f2 { gap:0 !important; }
  #colophon .elementor-51 .elementor-element-ccf56f4 { display:none !important; }
  #colophon .elementor-51 .elementor-element-1dfd452 { display:grid !important; grid-template-columns:minmax(0,.8fr) minmax(0,1fr) minmax(0,1.45fr); gap:24px !important; align-items:start !important; }
  #colophon .elementor-51 .elementor-element-1dfd452 > .e-con, #colophon .elementor-51 .elementor-element-beac22f { display:flex !important; flex-direction:column !important; align-items:stretch !important; justify-content:flex-start !important; gap:16px !important; }
  #colophon .elementor-51 .elementor-heading-title { font-size:clamp(19px,1.75vw,24px) !important; line-height:1.3 !important; margin:0 !important; }
  #colophon .elementor-51 .elementor-icon-list-item { align-items:flex-start !important; }
  #colophon .elementor-51 .elementor-icon-list-item > a { align-items:flex-start !important; }
  #colophon .elementor-51 .elementor-icon-list-icon { flex-shrink:0; padding-top:4px; }
  #colophon .elementor-51 .elementor-icon-list-text { overflow-wrap:anywhere; line-height:1.5; }
  #colophon .elementor-57 .elementor-element-56bc531 { padding:0 !important; }
  #colophon .elementor-57 .elementor-element-56bc531 > .e-con-inner { display:grid !important; grid-template-columns:minmax(0,1fr) auto; gap:8px !important; padding:0 !important; align-items:center !important; }
  #colophon .elementor-57 .elementor-element-56bc531 > .elementor-element, #colophon .elementor-57 .elementor-element-56bc531 > .e-con-inner > .elementor-element { width:100% !important; max-width:100% !important; min-width:0 !important; margin:0 !important; }
  #colophon .elementor-57 .mf-input, #colophon .elementor-57 .metform-btn { width:100% !important; height:46px !important; box-sizing:border-box; margin:0 !important; }
  #colophon .elementor-57 .metform-btn { padding:0 16px !important; white-space:nowrap; }
}
@media (min-width:768px) and (max-width:1024px) {
  #colophon .elementor-51 > .elementor-element-1001c32 > .e-con-inner { grid-template-columns:minmax(0,1fr); gap:32px !important; }
  #colophon .elementor-51 .elementor-element-aa26423 { max-width:480px !important; }
}

/* V6: wide desktop header and footer share the original 1292px content boundary. */
@media (min-width:1280px) {
  #colophon .elementor-51 > .elementor-element-1001c32 {
    padding:40px 24px !important;
    --padding-left:24px !important;
    --padding-right:24px !important;
  }
  #colophon .elementor-51 > .elementor-element-1001c32 > .e-con-inner {
    width:100% !important;
    max-width:1292px !important;
    box-sizing:border-box;
    grid-template-columns:minmax(0, 1fr) minmax(0, 2fr);
    gap:36px !important;
    align-items:start !important;
  }
  #colophon .elementor-51 .elementor-element-1dfd452 {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.35fr);
    gap:24px !important;
  }
  #colophon .elementor-51 .elementor-element-759e845 { gap:16px !important; }
  #colophon .elementor-51 .elementor-element-aa26423 {
    width:100% !important;
    max-width:480px !important;
    gap:14px !important;
    margin:0 !important;
    padding:0 !important;
  }
  #colophon .elementor-51 .elementor-heading-title {
    font-size:22px !important;
    line-height:1.3 !important;
  }
  #colophon .elementor-51 .elementor-element-1dfd452 > .e-con,
  #colophon .elementor-51 .elementor-element-beac22f { gap:16px !important; }
  #colophon .elementor-51 .elementor-icon-list-item,
  #colophon .elementor-51 .elementor-icon-list-item > a { align-items:center !important; }
  #colophon .elementor-51 .elementor-icon-list-icon { padding-top:0; }
  #colophon .elementor-51 .elementor-icon-list-text { font-size:16px !important; line-height:1.5; }
  #colophon #mf-response-props-id-57 .mf-input,
  #colophon #mf-response-props-id-57 .metform-btn { height:46px !important; }
}

/* Shared desktop content edges; the footer background itself stays full-width. */
@media (min-width:768px) {
  #masthead .elementor-29 > .elementor-element-7113f2e,
  #colophon .elementor-51 > .elementor-element-1001c32 {
    box-sizing:border-box !important;
    width:100% !important;
    padding-inline:24px !important;
    --padding-left:24px !important;
    --padding-right:24px !important;
  }
  #masthead .elementor-29 > .elementor-element-7113f2e > .e-con-inner,
  #colophon .elementor-51 > .elementor-element-1001c32 > .e-con-inner {
    box-sizing:border-box !important;
    width:100% !important;
    max-width:1292px !important;
    min-width:0 !important;
    margin-inline:auto !important;
    padding-inline:0 !important;
  }
  #masthead .elementor-element-56ec0a3,
  #colophon .elementor-element-98e12c3 {
    align-items:flex-start !important;
    text-align:left !important;
    margin-inline:0 !important;
    padding-inline:0 !important;
  }
  #masthead .hfe-site-logo-container,
  #colophon .hfe-site-logo-container { text-align:left !important; }
  #masthead .hfe-site-logo-img,
  #colophon .elementor-element-98e12c3 .hfe-site-logo-img {
    display:block !important;
    width:155px !important;
    max-width:100% !important;
    height:auto !important;
    margin:0 !important;
  }
  #masthead .elementor-element-4451ac6,
  #masthead .elementor-element-23b9459 { min-width:0 !important; }
}
@media (min-width:1280px) {
  #masthead .elementor-element-56ec0a3 { flex:0 0 155px !important; width:155px !important; }
  #masthead .elementor-element-4451ac6 { flex:1 1 0 !important; width:auto !important; }
  #masthead .elementor-element-23b9459 { width:100% !important; }
  #masthead #ekit-megamenu-main-menu { width:100% !important; min-width:0 !important; }
  #masthead #menu-main-menu { display:flex !important; flex-wrap:wrap !important; justify-content:flex-end !important; width:100% !important; margin:0 !important; padding:0 !important; }
  #masthead #menu-main-menu > li:last-child { flex:1 0 100% !important; justify-content:flex-end !important; }
  #colophon .elementor-51 .elementor-element-1dfd452 { min-width:0 !important; }
}

/* V8: only the About section Explore ERP button, all screen widths. */
.elementor-126 .elementor-element.elementor-element-6dd9829 {
  align-self: flex-start !important;
  text-align: left !important;
  --align-self: flex-start;
}
.elementor-126 .elementor-element.elementor-element-6dd9829 .elementor-button-wrapper {
  text-align: left !important;
  justify-content: flex-start !important;
}
