/* One shared content edge for the active V4 site. Full-width backgrounds,
   floating hero artwork and the horizontal work rail retain their intentional bleed. */
body.nhive-palette-v4{
 --nhive-content-max:1296px;
 --nhive-edge:clamp(32px,5vw,80px);
 --nhive-content-width:min(var(--nhive-content-max),calc(100% - 2 * var(--nhive-edge)));
 --nhive-content-edge:max(var(--nhive-edge),calc((100vw - var(--nhive-content-max)) / 2));
}
body.nhive-palette-v4 .nhive-final-header{
 padding-left:var(--nhive-content-edge)!important;
 padding-right:var(--nhive-content-edge)!important;
}
body.nhive-palette-v4 :is(.nhive-featured-wrap,.nhive-statement-v1>.nhive-wrap,.nhive-process-v1 .nhive-process-layout,.nhive-final-wrap,.nhive-final-footer-shell){
 box-sizing:border-box!important;
 width:var(--nhive-content-width)!important;
 max-width:var(--nhive-content-max)!important;
 margin-left:auto!important;margin-right:auto!important;
 padding-left:0!important;padding-right:0!important;
}
body.nhive-palette-v4 .nhive-selected-v1 :is(.nhive-selected-top,.nhive-selected-controls){
 box-sizing:border-box!important;width:var(--nhive-content-width)!important;
 max-width:var(--nhive-content-max)!important;
 margin-left:auto!important;margin-right:auto!important;
 padding-left:0!important;padding-right:0!important;
}
body.nhive-palette-v4 .nhive-selected-v1 .nhive-selected-track{
 padding-left:var(--nhive-content-edge)!important;
 padding-right:var(--nhive-content-edge)!important;
}
body.nhive-palette-v4 .nhive-subpage :is(.wrap,.case-story),
body.nhive-palette-v4 .nhive-contact-page .contact-page-main{
 box-sizing:border-box!important;
 width:var(--nhive-content-width)!important;
 max-width:var(--nhive-content-max)!important;
 margin-left:auto!important;margin-right:auto!important;
 padding-left:0!important;padding-right:0!important;
}
body.nhive-palette-v4 .nhive-contact-page .inquiry-section{
 width:100%!important;max-width:none!important;
}
body.nhive-palette-v4 .nhive-v3-hero.v3-hero{
 padding-left:var(--nhive-edge)!important;padding-right:var(--nhive-edge)!important;
}
/* Restore original separators; palette changes must never add boxed outlines. */
body.nhive-palette-v4 .nhive-statement-v1 .nhive-test-stats,
body.nhive-palette-v4 .nhive-process-v1 .nhive-process-step{
 border-width:1px 0 0!important;
}
body.nhive-palette-v4 .nhive-marquee-v1{border-width:1px 0!important}
@media(max-width:1024px){body.nhive-palette-v4{--nhive-edge:32px}}
@media(max-width:600px){body.nhive-palette-v4{--nhive-edge:20px}}
