/* qh-section-spacing.css
   Uniform vertical rhythm for every custom QHW / qhh section widget.
   Desktop + tablet (>=768px): 80px top and 80px bottom.
   Mobile (<768px): 50px top and 50px bottom.
   The visible gap between two adjacent sections is therefore 160px / 100px,
   not those values plus Elementor container padding.
   Loaded last (functions.php priority 102). No :has(), no backdrop-filter. */

.qhw-theme{
  --qhw-section-y:80px;
}
@media (max-width:767px){
  .qhw-theme{--qhw-section-y:50px}
}

/* --- Section roots: force the shared padding, zero vertical margin. --- */
.qhw-theme .qhh .hero,
.qhw-theme .qhh .tstrip,
.qhw-theme .qhh .sec,
.qhw-theme .qhaf,
.qhw-theme .qhjboard,
.qhw-theme .qhsol-personas,
.qhw-theme .elementor-widget-qhp-product-journey .qhp,
.qhw-theme .qhp .qhp-cta,
.qhw-theme .qhtrust-cats,
.qhw-theme .qhprice,
.qhw-theme .qhabout-films,
.qhw-theme .qhabout-values,
.qhw-theme .qhabout-team,
.qhw-theme .qhabout-presence,
.qhw-theme .qhabout-join,
.qhw-theme .qhcareers-stories,
.qhw-theme .qhcareers-join,
.qhw-theme .qhw-bloglist__in,
.qhw-theme .qhw-blogpost__in,
.qhw-theme .qhw-cvalues,
.qhw-theme .qhw-team,
.qhw-theme .qhw-pres,
.qhw-theme .qhw-cjoin,
.qhw-theme .qhw-cstories,
.qhw-theme .qhw-arch,
.qhw-theme .qhw-rows,
.qhw-theme .qhw-cta,
.qhw-theme .qhw-stats,
.qhw-theme .qhw-pcards,
.qhw-theme .qhw-tgrid,
.qhw-theme .qhs-wrap{
  padding-top:var(--qhw-section-y) !important;
  padding-bottom:var(--qhw-section-y) !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
}

/* Product journey: section padding lives on .qhp, not an extra pad on the pin root. */
.qhw-theme .qhp .qhp-ws{
  padding-bottom:0 !important;
}

/* Trust strip: 80/80 lives on .tstrip, not on the inner .wrap (sides only). */
.qhw-theme .qhh .tstrip{
  margin-top:0 !important;
  margin-bottom:0 !important;
}
.qhw-theme .qhh .tstrip .wrap{
  padding-top:0 !important;
  padding-bottom:0 !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
}

/* --- Elementor chrome around those widgets: no extra vertical gap. --- */
.qhw-theme [class*="elementor-widget-qhh-"],
.qhw-theme [class*="elementor-widget-qhw-"],
.qhw-theme [class*="elementor-widget-qhp-"],
.qhw-theme [class*="elementor-widget-qhsol-"],
.qhw-theme [class*="elementor-widget-qhtrust-"],
.qhw-theme [class*="elementor-widget-qhprice-"],
.qhw-theme [class*="elementor-widget-qhabout-"],
.qhw-theme [class*="elementor-widget-qhcareers-"]{
  margin-top:0 !important;
  margin-bottom:0 !important;
}
.qhw-theme [class*="elementor-widget-qhh-"] > .elementor-widget-container,
.qhw-theme [class*="elementor-widget-qhw-"] > .elementor-widget-container,
.qhw-theme [class*="elementor-widget-qhp-"] > .elementor-widget-container,
.qhw-theme [class*="elementor-widget-qhsol-"] > .elementor-widget-container,
.qhw-theme [class*="elementor-widget-qhtrust-"] > .elementor-widget-container,
.qhw-theme [class*="elementor-widget-qhprice-"] > .elementor-widget-container,
.qhw-theme [class*="elementor-widget-qhabout-"] > .elementor-widget-container,
.qhw-theme [class*="elementor-widget-qhcareers-"] > .elementor-widget-container{
  padding:0 !important;
  margin:0 !important;
}

/* Page container + one nested section wrapper. Does not reach deeper inner
   containers that a layout might still use for card insets. */
.qhw-theme .elementor > .e-con,
.qhw-theme .elementor > .e-con > .e-con-inner,
.qhw-theme .elementor > .e-con > .e-con-inner > .e-con,
.qhw-theme .elementor > .e-con > .e-con-inner > .e-con > .e-con-inner{
  --padding-top:0px;
  --padding-bottom:0px;
  --margin-top:0px;
  --margin-bottom:0px;
  --gap:0px;
  --row-gap:0px;
}
/* Full-bleed page-level stacks. Exclude .qhp-hero: that Elementor-composed
   product hero uses its own 150px side padding as typography inset, not a
   leftover default. No :has(). */
.qhw-theme .elementor > .e-con:not(.qhp-hero){
  --padding-left:0px;
  --padding-right:0px;
  --margin-left:0px;
  --margin-right:0px;
}
.qhw-theme .elementor > .e-con,
.qhw-theme .elementor > .e-con > .e-con-inner > .e-con{
  margin-top:0 !important;
  margin-bottom:0 !important;
}
.qhw-theme .elementor > .e-con > .e-con-inner,
.qhw-theme .elementor > .e-con > .e-con-inner > .e-con > .e-con-inner{
  padding-top:0 !important;
  padding-bottom:0 !important;
}
.qhw-theme .elementor > .e-con:not(.qhp-hero) > .e-con-inner{
  padding-left:0 !important;
  padding-right:0 !important;
}

/* --- Exceptions (other pages only): full-bleed heroes on Solutions, About,
     Careers, Trust, and product .qhp-hero keep their own padding.
     Homepage .qhh .hero and .qhh .tstrip follow the same 80/80 and 50/50
     as every other homepage section. No typographic-air exception, no
     margin-bottom substitute. The inner .tstrip .wrap has vertical padding 0;
     side gutters stay on .wrap. */

/* Product .qhp-hero is a page-level e-con, so the vertical-zero rule above
   would sit its title flush against the in-flow sticky header. Restore a
   modest typographic inset only (sides stay as authored, usually 150px). */
.qhw-theme .elementor > .e-con.qhp-hero{
  --padding-top:40px;
  padding-top:40px;
}
@media (max-width:767px){
  .qhw-theme .elementor > .e-con.qhp-hero{
    --padding-top:24px;
    padding-top:24px;
  }
}

