/* CENTERSPREAD v148: sitewide mobile finishing layer. Desktop untouched. */
@media(max-width:1100px){
  html,body{max-width:100%}
  :where(main,section,article,aside,figure,.wrap,.container,[class*="-grid"],[class*="-wrap"]){min-width:0}
  :where(.cs-about-final-v76,.cs-growth-stories-v67,.cs-apex-story-v78,.cs-ultimo-v31,.cs-urban-glo-v50,.cs-home-v11,.cs-hazwoper-v40,.cs-adenwalla-v42,.cs-services-v2,.cs-industries-v2,.cs-contact-v43,.cs-insights-exact) :where(img,video,svg,canvas){max-width:100%}
  :where(.cs-services-v2,.cs-industries-v2,.cs-contact-v43,.cs-insights-exact) :where([class*="-grid"],[class*="__grid"]){min-width:0}
  .cs-about-final-v76 .cs-about-hero-grid-v76,.cs-growth-stories-v67 .gs-hero-grid,.cs-apex-story-v78 .apex-hero-grid,.cs-ultimo-v31 .u31-hero-grid{grid-template-columns:minmax(0,1fr)!important}
  :where(.cs-urban-glo-v50,.cs-apex-story-v78,.cs-adenwalla-v42,.cs-hazwoper-v40,.cs-ultimo-v31) :where(iframe,video){max-width:100%!important}
  .cs-feedback20-section-rail{max-width:calc(100vw - 32px)}
}
@media(max-width:767px){
  html{scroll-padding-top:95px}
  body{max-width:100%;overflow-x:clip}
  :where(main,article,section,footer) :where(p,li,blockquote){overflow-wrap:break-word}
  :where(main,article,section) :where(h1,h2,h3){overflow-wrap:break-word;hyphens:none}
  :where(main,article,section) :where(img,video){max-width:100%;height:auto}
  :where(main,article,section) :where(iframe){max-width:100%}
  :where(main,article,section) :where(.wp-block-columns){flex-wrap:wrap!important}
  :where(main,article,section) :where(.wp-block-column){flex-basis:100%!important;min-width:0!important}
  :where(main,article,section) :where(table){display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  :where(.cs-about-final-v76,.cs-growth-stories-v67,.cs-apex-story-v78,.cs-ultimo-v31,.cs-urban-glo-v50,.cs-hazwoper-v40,.cs-adenwalla-v42,.cs-services-v2,.cs-industries-v2,.cs-contact-v43,.cs-insights-exact) :where(.wrap,.apex-wrap,.u31-wrap){width:calc(100% - 32px)!important;max-width:100%!important;margin-inline:auto!important}
  :where(.cs-about-final-v76,.cs-growth-stories-v67,.cs-apex-story-v78,.cs-ultimo-v31,.cs-urban-glo-v50,.cs-hazwoper-v40,.cs-adenwalla-v42,.cs-services-v2,.cs-industries-v2,.cs-contact-v43,.cs-insights-exact) h1{font-size:clamp(32px,8vw,47px)!important;line-height:1.08!important}
  :where(.cs-about-final-v76,.cs-growth-stories-v67,.cs-apex-story-v78,.cs-ultimo-v31,.cs-urban-glo-v50,.cs-hazwoper-v40,.cs-adenwalla-v42,.cs-services-v2,.cs-industries-v2,.cs-contact-v43,.cs-insights-exact) h2{font-size:clamp(26px,6.5vw,37px)!important;line-height:1.14!important}
  :where(.cs-about-final-v76,.cs-growth-stories-v67,.cs-apex-story-v78,.cs-ultimo-v31,.cs-urban-glo-v50,.cs-hazwoper-v40,.cs-adenwalla-v42,.cs-services-v2,.cs-industries-v2,.cs-contact-v43,.cs-insights-exact) h3{font-size:clamp(19px,5vw,27px)!important;line-height:1.23!important}
  :where(.cs-about-final-v76,.cs-growth-stories-v67,.cs-apex-story-v78,.cs-ultimo-v31,.cs-urban-glo-v50,.cs-hazwoper-v40,.cs-adenwalla-v42,.cs-services-v2,.cs-industries-v2,.cs-contact-v43,.cs-insights-exact) :where(p,li){font-size:clamp(13px,3.55vw,16px);line-height:1.65}
  :where(.cs-about-final-v76,.cs-growth-stories-v67,.cs-apex-story-v78,.cs-ultimo-v31,.cs-urban-glo-v50,.cs-hazwoper-v40,.cs-adenwalla-v42,.cs-services-v2,.cs-industries-v2,.cs-contact-v43,.cs-insights-exact) :where(.btn,.apex-btn,button,a[class*="-btn"]){max-width:100%;white-space:normal;overflow-wrap:break-word;text-align:center}
  .cs-about-final-v76 .cs-about-feedback-collage-v110:has(.cs-feedback20-team-collage){height:auto!important;min-height:0!important;aspect-ratio:auto!important;overflow:visible!important}
  .cs-about-final-v76 .cs-about-feedback-collage-grid-v110:has(.cs-feedback20-team-collage){height:auto!important;overflow:visible!important}
  .cs-about-final-v76 .cs-feedback20-team-collage{display:block;width:100%!important;height:auto!important;object-fit:contain!important}
  .cs-ultimo-v31 .u31-pillar,.cs-ultimo-v31 .u31-pillar.culture,.cs-ultimo-v31 .u31-pillar.accelerator{width:100%!important;margin-inline:0!important;grid-template-columns:minmax(0,1fr)!important}
  .cs-ultimo-v31 :where(.u31-outcome-grid,.u31-matrix-strip){grid-template-columns:minmax(0,1fr)!important}
  .cs-apex-story-v78 .apex-hero-feedback-image-v109{min-height:0!important;height:auto!important;aspect-ratio:auto!important}
  .cs-apex-story-v78 .apex-hero-feedback-image-v109 img{position:relative!important;height:auto!important;width:100%!important;object-fit:contain!important}
  .cs-apex-story-v78 :where(.apex-funnel-layer,.apex-bottleneck-grid,.apex-feedback-audience-v109,.apex-feedback-reels-v109){grid-template-columns:minmax(0,1fr)!important;max-width:100%}
  .cs-feedback20-section-rail{position:static!important;transform:none!important;display:flex!important;flex-wrap:wrap!important;flex-direction:row!important;gap:6px!important;margin:16px auto!important;width:calc(100% - 32px)!important;max-width:100%!important}
  .cs-feedback20-section-rail a{font-size:12px!important;padding:9px 10px!important;line-height:1.35!important}
  :where(.cs-contact-v43,.cs-contact-final,.cs-services-v2,.cs-industries-v2) :where(input,textarea,select){width:100%;max-width:100%;box-sizing:border-box;font-size:16px}
  .cs-feedback20-content-showcase{grid-template-columns:1fr!important}
  .cs-feedback20-showcase-video iframe{width:100%;height:clamp(200px,60vw,360px)}
  :where(.cs-footer,.site-footer,[class*="footer-v"]) :where(img,svg){max-width:100%;height:auto}
}
@media(max-width:390px){
  :where(.cs-about-final-v76,.cs-growth-stories-v67,.cs-apex-story-v78,.cs-ultimo-v31,.cs-urban-glo-v50,.cs-hazwoper-v40,.cs-adenwalla-v42,.cs-services-v2,.cs-industries-v2,.cs-contact-v43,.cs-insights-exact) :where(.wrap,.apex-wrap,.u31-wrap){width:calc(100% - 24px)!important}
  .cs-feedback20-section-rail{width:calc(100% - 24px)!important}
  :where(main,article,section) :where(.btn,button){max-width:100%}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
