/* Watercloud2 v92 — global responsive/iOS layer */
*{box-sizing:border-box}
html{width:100%;max-width:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;overflow-x:hidden}
body{width:100%;max-width:100%;overflow-x:hidden}
img,svg,video,canvas{max-width:100%;height:auto}
input,select,textarea,button{font:inherit}
a,button{-webkit-tap-highlight-color:transparent}
@supports(padding:max(0px)){
 body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
}

/* generic content containment */
main,section,.container,.wrap,.inner,.content,.page-content{
 max-width:100%;
}
table{max-width:100%}

/* Desktop remains unchanged. Mobile/tablet only below. */
@media(max-width:980px){
 /* shared header: compact, readable and touch friendly */
 header,.site-header,#site-header,.main-header{
   width:100%!important;max-width:100%!important;
   transform:none!important;
 }
 header .container,.site-header .container,#site-header .container,.main-header .container,
 header .wrap,.site-header .wrap{
   width:100%!important;max-width:100%!important;
   padding-left:16px!important;padding-right:16px!important;
 }
 .wc-mobile-toggle{
   display:flex!important;align-items:center;justify-content:center;
   width:46px;height:46px;border:1px solid #b9d7ef;border-radius:10px;
   background:#fff;color:#062c59;cursor:pointer;flex:0 0 auto;
   margin-left:auto;
 }
 .wc-mobile-toggle span,.wc-mobile-toggle span:before,.wc-mobile-toggle span:after{
   display:block;width:22px;height:2px;background:currentColor;position:relative;
 }
 .wc-mobile-toggle span:before,.wc-mobile-toggle span:after{content:"";position:absolute;left:0}
 .wc-mobile-toggle span:before{top:-7px}.wc-mobile-toggle span:after{top:7px}

 /* JS tags the detected navigation as .wc-mobile-nav */
 .wc-mobile-nav{
   display:none!important;position:absolute!important;
   top:100%!important;left:0!important;right:0!important;
   width:100%!important;max-width:100%!important;
   background:#fff!important;padding:12px 16px 18px!important;
   border-top:1px solid #e7edf4!important;
   box-shadow:0 14px 28px rgba(4,32,64,.14)!important;
   z-index:10050!important;overflow-y:auto!important;
   max-height:calc(100dvh - 78px)!important;
 }
 .wc-mobile-nav.wc-open{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:2px!important}
 .wc-mobile-nav a,.wc-mobile-nav button{
   display:flex!important;align-items:center!important;
   min-height:46px!important;width:100%!important;
   padding:10px 12px!important;margin:0!important;
   font-size:16px!important;line-height:1.25!important;
   white-space:normal!important;
 }
 .wc-mobile-nav ul{display:flex!important;flex-direction:column!important;width:100%!important;padding:0!important;margin:0!important}
 .wc-mobile-nav li{display:block!important;width:100%!important;margin:0!important}

 /* all known page heroes: no fixed desktop crop on phones/tablets */
 .pagehero,.hero,.medical-hero,.hospital-hero,.nursing-hero,.workforce-hero,
 .ecosystem-hero,.companyhero-v82,.partners-hero,.contact-v89-hero,
 [class*="hero-v"]{
   width:100%!important;max-width:100%!important;
   height:auto!important;min-height:0!important;max-height:none!important;
   margin-left:0!important;margin-right:0!important;
   transform:none!important;overflow:hidden!important;
 }
 .pagehero img,.hero img,.medical-hero img,.hospital-hero img,.nursing-hero img,
 .workforce-hero img,.ecosystem-hero img,.companyhero-v82 img,.partners-hero img,
 .contact-v89-hero img,[class*="hero-v"] img{
   display:block!important;width:100%!important;max-width:100%!important;
   height:auto!important;min-height:0!important;max-height:none!important;
   object-fit:contain!important;object-position:center center!important;
   transform:none!important;margin:0!important;
 }

 /* grids/cards/forms */
 .cards,.card-grid,.feature-grid,.features,.grid,.two-col,.two-column,
 .contact-grid,.form-grid,.content-grid{
   grid-template-columns:1fr!important;
 }
 form,input,select,textarea{max-width:100%!important}
 input,select,textarea{font-size:16px!important} /* prevents iOS Safari zoom */
 button,.btn,[class*="button"]{min-height:44px}
}

@media(max-width:640px){
 body{font-size:16px}
 h1{font-size:clamp(30px,9vw,46px)!important;line-height:1.05!important}
 h2{font-size:clamp(25px,7vw,36px)!important;line-height:1.12!important}
 h3{line-height:1.2!important}
 p{line-height:1.55}
 main section:not([class*="hero"]):not(.pagehero){max-width:100%}
 .container,.wrap,.inner,.content,.page-content{padding-left:18px!important;padding-right:18px!important}
}

/* toggle hidden on desktop */
@media(min-width:981px){.wc-mobile-toggle{display:none!important}}
