/* V226: Home career split and cross-page desktop hero geometry.
   Keeps original responsive stacking and CMS-managed typography. */

/* Both homepage editorial blocks must touch, without inserted section spacing. */
body main .on[data-p="home"] > section.standards-feature,
body main .on[data-p="home"] > section.career-feature{
  margin-block:0!important;
  border-block:0!important;
}
body main .on[data-p="home"] > section.standards-feature + section.career-feature{
  margin-top:0!important;
}
@media(min-width:841px){
  /* Widen the career text half and move its image boundary right. */
  body main .on[data-p="home"] > section.career-feature{
    grid-template-columns:minmax(0,52%) minmax(0,48%)!important;
    gap:0!important;
  }
  body main .on[data-p="home"] > section.career-feature .career-feature-copy{
    padding-left:max(30px,calc((100vw - min(100vw,var(--helprite-content-width,1600px)))/2 + clamp(18px,2.3vw,44px)))!important;
    padding-right:clamp(30px,3.3vw,64px)!important;
  }
  body main .on[data-p="home"] > section.career-feature .career-feature-inner{
    max-width:100%!important;
    min-width:0!important;
  }
  body main .on[data-p="home"] > section.career-feature .career-feature-media{
    min-width:0!important;
    min-height:100%!important;
  }
}

/* Standards and Partner hero dimensions now follow About Us desktop height. */
@media(min-width:901px){
  body main .on[data-p="standards"] > section.standards-hero,
  body main .on[data-p="partner"] > section.partner-hero-v196{
    padding:0!important;
    margin:0!important;
    border:0!important;
  }
  body main .on[data-p="standards"] > section.standards-hero > .w.standards-hero-shell,
  body main .on[data-p="partner"] > section.partner-hero-v196 > .partner-hero-shell{
    height:clamp(500px,32vw,625px)!important;
    min-height:clamp(500px,32vw,625px)!important;
    max-height:none!important;
    align-items:stretch!important;
    gap:0!important;
    box-sizing:border-box!important;
  }
  body main .on[data-p="standards"] .standards-hero-copy,
  body main .on[data-p="partner"] .partner-hero-copy{
    justify-content:center!important;
    min-height:0!important;
    padding-top:clamp(26px,3.2vw,55px)!important;
    padding-bottom:clamp(26px,3.2vw,55px)!important;
  }
  body main .on[data-p="standards"] .standards-hero-media,
  body main .on[data-p="partner"] .partner-hero-media{
    height:100%!important;
    min-height:0!important;
  }
}
@media(max-width:900px){
  /* No forced desktop height on mobile: content and photo stack naturally. */
  body main .on[data-p="standards"] > section.standards-hero > .w.standards-hero-shell,
  body main .on[data-p="partner"] > section.partner-hero-v196 > .partner-hero-shell{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
  }
}
@media(max-width:840px){
  body main .on[data-p="home"] > section.career-feature{
    grid-template-columns:minmax(0,1fr)!important;
    gap:0!important;
  }
}
