/*
 * KD local pages use the existing Elementor top bar, navigation and footer.
 * The global header template also contains several conditional page-banner
 * variants. Those banners belong to ordinary KD pages and must not precede
 * the approved local-page hero.
 */
body.kd-local-page-active .elementor-location-header .elementor-element-5c818490,
body.kd-local-page-active .elementor-location-header .elementor-element-24ddf2e,
body.kd-local-page-active .elementor-location-header .elementor-element-2da927b,
body.kd-local-page-active .elementor-location-header .elementor-element-fe3c2ca{
  display:none!important;
}

/* Keep the local page flush with the retained KD navigation. */
body.kd-local-page-active .kd-local-preview{
  position:relative;
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
}

body.kd-local-page-active .local-architecture-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px 24px;
  margin-top:22px;
}
body.kd-local-page-active .local-architecture-links .arrow-link{
  margin:0;
}

/*
 * Astra adds 20px inline padding to the content container at its mobile
 * breakpoint.  The approved local-page layout already provides its own
 * mobile gutters, so keeping Astra's padding creates the white frame that
 * was not present in the signed-off preview.
 */
@media (max-width:760px){
  body.kd-local-page-active .site-content > .ast-container{
    padding-inline:0;
  }
  body.kd-local-page-active .local-architecture-links{
    align-items:flex-start;
    flex-direction:column;
  }
}
