/* 2.15.1: one shared navigation and footer across the public site. */
.ksc-global-site-active .elementor-location-header,
.ksc-global-site-active .elementor-location-footer,
.ksc-global-site-active header.site-header,
.ksc-global-site-active footer.site-footer,
.ksc-global-site-active #masthead,
.ksc-global-site-active #colophon {
  display: none !important;
}

.kg-contact > span {
  display: grid;
  color: #d9d4ca;
  font-size: 12px;
  line-height: 1.45;
}

.kg-contact > span small {
  margin-bottom: 2px;
  color: #827e77;
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* The homepage already receives the shared dark footer from this plugin.
 * Hide only the legacy Elementor pre-footer/footer on that page; no other
 * page content or the shared footer is removed. */
body.ksc-homepage .elementor-element-165cf69e,
body.ksc-homepage .elementor-element.footer,
body.ksc-homepage .elementor-element[class*=" footer"]{
  display:none!important;
}

/* The monthly plans builder has its own legal footer. The shared chrome is
 * the canonical footer everywhere, so keep only one footer on that page. */
body.ksc-global-site-active .ksm-footer{
  display:none!important;
}

/* The sticky header is moved out of #kaizen-global-site-chrome by JavaScript.
 * Keep the responsive menu safe even during cached/slow script evaluation. */
@media (max-width:1100px){
  body.ksc-global-site-active .kg-header-shell .kg-menu-toggle{display:grid!important;place-items:center!important;flex:0 0 auto!important;width:58px!important;height:40px!important;padding:4px 8px!important;border:1px solid var(--kg-yellow)!important;background:transparent!important;color:var(--kg-paper)!important}
  body.ksc-global-site-active .kg-header-shell .kg-nav{position:fixed!important;z-index:9993!important;top:var(--kg-menu-top,74px)!important;left:12px!important;right:12px!important;width:auto!important;height:calc(100vh - var(--kg-menu-top,74px) - 12px)!important;height:calc(var(--kg-viewport-height,100vh) - var(--kg-menu-top,74px) - 12px)!important;max-height:none!important;min-height:0!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important;scrollbar-gutter:stable!important;pointer-events:auto!important;display:none!important;flex-direction:column!important;align-items:stretch!important;padding:12px!important;border:1px solid var(--kg-yellow)!important;background:#0b0b0b!important;box-shadow:8px 8px 0 var(--kg-blue)!important}
  body.ksc-global-site-active .kg-header-shell .kg-nav.kg-open{display:flex!important}
  body.ksc-global-site-active{--kg-menu-top:74px}
  body.admin-bar.ksc-global-site-active{--kg-menu-top:106px}
  body.ksc-global-site-active .kg-header-shell .kg-nav>a,
  body.ksc-global-site-active .kg-header-shell .kg-solutions>summary{justify-content:space-between!important;min-height:48px!important;padding:0 12px!important;border-bottom:1px solid rgba(245,239,227,.12)!important;flex:0 0 auto!important}
  body.ksc-global-site-active .kg-header-shell .kg-solutions{width:100%!important;flex:0 0 auto!important;min-height:0!important}
  body.ksc-global-site-active .kg-header-shell .kg-mega{position:static!important;width:100%!important;grid-template-columns:1fr!important;margin:6px 0 10px!important;box-shadow:none!important}
  body.ksc-global-site-active .kg-header-shell .kg-cart{justify-content:center!important;margin-top:8px!important}
  body.ksc-global-site-active .kg-header-shell .kg-whatsapp{justify-content:center!important}
}

@media (max-width:782px){
  body.ksc-global-site-active{--kg-menu-top:74px}
  body.admin-bar.ksc-global-site-active{--kg-menu-top:120px}
}

@media (max-width:640px){
  body.ksc-global-site-active{--kg-menu-top:66px}
  body.admin-bar.ksc-global-site-active{--kg-menu-top:112px}
}
