/* Corporate unified header/footer on self-hosted legacy service landing pages only. */
/* Match the V80 fixed header on WordPress, not the old in-flow header. */
html[data-theme="dark"] body>header.site-header {
  position:fixed!important;
  inset:0 0 auto!important;
  width:100%;
  isolation:isolate;
  z-index:9999;
  font-family:Cairo,Tahoma,Arial,sans-serif;
}
html[data-theme="dark"] body>header.site-header>.nav-inner{
  box-sizing:border-box;
  max-width:1360px;
  margin-inline:auto;
}
html[data-theme="dark"] body>footer.site-footer-redesign{
  font-family:Cairo,Tahoma,Arial,sans-serif;
  position:relative;clear:both;
  width:100%;
  box-sizing:border-box;
}
html[data-theme="dark"] body>header.site-header .brand-logo {
  opacity:1!important;visibility:visible!important;display:block!important
}
html[data-theme="dark"] body>header.site-header :is(a,button):focus-visible,
html[data-theme="dark"] body>footer.site-footer-redesign a:focus-visible {
  outline:3px solid #efc67f;outline-offset:3px
}
html[data-theme="dark"] body>header.site-header #siteNav.open {
  visibility:visible;pointer-events:auto
}
html[data-theme="dark"] body>header.site-header #servicesNavItem.open .mega-menu {
  visibility:visible;pointer-events:auto
}
@media(max-width:880px){
 html[data-theme="dark"] body>header.site-header{z-index:9999}
 html[data-theme="dark"] body>header.site-header>.nav-inner{
   width:calc(100% - 30px);min-height:76px;
 }
 html[data-theme="dark"] body>footer.site-footer-redesign{overflow-wrap:anywhere}
}
@media(max-width:480px){
 html[data-theme="dark"] body>header.site-header>.nav-inner{width:calc(100% - 20px)}
}
@media(prefers-reduced-motion:reduce){
 html[data-theme="dark"] body>header.site-header *,
 html[data-theme="dark"] body>footer.site-footer-redesign *{animation:none!important;transition:none!important}
}

/* Extra legacy shells now load the same V80 markup. */
html[data-theme="dark"] body>header.site-header,
html[data-theme="dark"] body>footer.site-footer-redesign {
  flex-shrink:0;align-self:stretch;
  max-width:none!important;
}
/* Legacy printed company flipbook had a locked full-viewport body.
   Allow the standardized header and footer to remain reachable. */
html[data-theme="dark"] body.tyz-profile-shell {
  overflow-x:hidden!important;overflow-y:auto!important;
  height:auto!important;min-height:100vh!important;
  justify-content:flex-start!important;
}
html[data-theme="dark"] body.tyz-profile-shell>.book-header,
html[data-theme="dark"] body.tyz-profile-shell>.book-scene {
  flex-shrink:0;
}

/* Old corporate service pages were authored with an in-flow header. Offset
   their content while retaining the same sticky/fixed V80 navigation. */
html[data-theme="dark"] body:has(> header.site-header) {
  padding-top:108px!important;
}
@media(max-width:880px){html[data-theme="dark"] body:has(> header.site-header){padding-top:95px!important}}
@media(max-width:650px){html[data-theme="dark"] body:has(> header.site-header){padding-top:85px!important}}
