/* Zoom Digital 1.6.2 – scoped source-faithful visual corrections.
   This file changes neither imported Page Base markup nor section counts. */

/* Header: logo stays left, 8 native WP menu entries align to the right. */
@media(min-width:992px){
 body.ds .navigationcontainer #navigation-wrapper{
   justify-content:space-between!important;column-gap:clamp(20px,2.8vw,44px)!important;
 }
 body.ds .navigationcontainer #navigation-wrapper>a.logo{
   flex:0 0 104px!important;width:104px!important;margin:0!important;
 }
 body.ds .navigationcontainer #navigation-wrapper>nav.main.menu-primary__wrapper{
   display:flex!important;flex:1 1 auto!important;justify-content:flex-end!important;
   align-items:center!important;min-width:0!important;gap:0!important;
 }
 body.ds .navigationcontainer .zoommega-embedded{
   margin-left:auto!important;margin-right:0!important;flex:0 1 auto!important;
 }
 body.ds .navigationcontainer .zoommega-embedded .zoommega-items{
   justify-content:flex-end!important;gap:clamp(2px,.55vw,8px)!important;
 }
 body.ds .navigationcontainer .zoommega-embedded .zoommega-top-link{
   padding:0 clamp(3px,.48vw,8px)!important;gap:5px!important;
   font-size:12px!important;line-height:1.3!important;letter-spacing:0!important;
   color:#182d42!important;font-weight:650!important;
 }
 body.ds .navigationcontainer .zoommega-embedded .zoommega-top-link:hover,
 body.ds .navigationcontainer .zoommega-embedded .zoommega-top-link:focus-visible{
   color:#102a43!important;
 }
 body.ds .navigationcontainer .zoommega-embedded .zoommega-icon{width:18px!important;height:19px!important}
 body.ds .navigationcontainer .zoommega-embedded .zoommega-icon svg{width:17px!important;height:17px!important}
 body.ds .navigationcontainer .zoommega-embedded .zoommega-top-toggle{
   width:16px!important;min-width:16px!important;margin:0 2px 0 -3px!important;
   font-size:16px!important;color:#234963!important;
 }
 /* Native Contact item removes the redundant large CTA. */
 body.ds .navigationcontainer nav.main .menu-actions,
 body.ds .navigationcontainer nav.main>.spacer{display:none!important}
 /* Lift the second-level panel without overlapping its first-level parent.
    The transparent panel creates an uninterrupted pointer bridge. */
 body.ds .zoommega-shell .zoommega-panel{
   top:calc(100% - 4px)!important;padding-top:5px!important;
   z-index:10002!important;
 }
 body.ds .zoommega-shell .zoommega-panel:before{height:8px!important;top:0!important}
 body.ds .zoommega-shell .zoommega-panel-inner{margin-top:0!important}
}
@media(min-width:992px) and (max-width:1160px){
 body.ds .navigationcontainer #navigation-wrapper{column-gap:12px!important;padding-inline:10px!important}
 body.ds .navigationcontainer #navigation-wrapper>a.logo{flex-basis:90px!important;width:90px!important}
 body.ds .navigationcontainer .zoommega-embedded .zoommega-items{gap:1px!important}
 body.ds .navigationcontainer .zoommega-embedded .zoommega-top-link{font-size:10.7px!important;padding:0 2px!important;gap:3px!important}
 body.ds .navigationcontainer .zoommega-embedded .zoommega-icon{width:14px!important}
 body.ds .navigationcontainer .zoommega-embedded .zoommega-icon svg{width:14px!important;height:14px!important}
 body.ds .navigationcontainer .zoommega-embedded .zoommega-top-toggle{width:14px!important;min-width:14px!important;margin:0 1px 0 -2px!important}
}

/* Source Impact statistic block was made pale navy but its text still inherited
   white foreground intended for the original dark version. Restore contrast. */
body.ds .statistic.module.white .specs:is(.gradient-animation-advanced,.gradient-animation-orange-red,.gradient-purple),
body.ds .red-builder-output .statistic.module.white .specs:is(.gradient-animation-advanced,.gradient-animation-orange-red,.gradient-purple),
body.ds #bvb-canvas .statistic.module.white .specs:is(.gradient-animation-advanced,.gradient-animation-orange-red,.gradient-purple){
 color:#102a43!important;
 border-color:rgba(16,42,67,.18)!important;
}
body.ds .statistic.module.white .specs:is(.gradient-animation-advanced,.gradient-animation-orange-red,.gradient-purple) .block :is(h2,h3,h4,h5,h6,p,.counter),
body.ds .red-builder-output .statistic.module.white .specs:is(.gradient-animation-advanced,.gradient-animation-orange-red,.gradient-purple) .block :is(h2,h3,h4,h5,h6,p,.counter),
body.ds #bvb-canvas .statistic.module.white .specs:is(.gradient-animation-advanced,.gradient-animation-orange-red,.gradient-purple) .block :is(h2,h3,h4,h5,h6,p,.counter){
 color:#102a43!important;-webkit-text-fill-color:#102a43!important;
 text-shadow:none!important;
}
body.ds .statistic.module.white .specs:is(.gradient-animation-advanced,.gradient-animation-orange-red,.gradient-purple) .block{
 border-color:rgba(16,42,67,.22)!important;
}
body.ds .statistic.module.white .specs:is(.gradient-animation-advanced,.gradient-animation-orange-red,.gradient-purple) .block .counter{
 font-weight:750!important;
}
/* Headings in other pale sections should not use invisible light-text gradients. */
body.ds .statistic.module.white>.inner>h3,
body.ds .statistic.module.white>.inner>p.caption{
 color:#102a43!important;-webkit-text-fill-color:#102a43!important;
}
body.ds .statistic.module.white>.inner>h3 .gradient-animation-advanced{
 color:#24466a!important;-webkit-text-fill-color:#24466a!important;
 background:none!important;text-shadow:none!important;
}
@media(max-width:991px){
 body.ds .navigationcontainer .zoommega-shell .zoommega-panel{
    top:auto!important;padding-top:0!important;
 }
}
