/* Runtime chrome formerly injected by activate-legacy-runtime.ts */

.elementor-location-header .section-main-header {
  position: relative;
  z-index: 1000 !important;
}
.elementor-location-header .section-bottom-header,
.elementor-location-header .section-bottom-header-2 {
  position: relative;
  z-index: 0;
}
.elementor-location-header .section-main-header,
.elementor-location-header .section-main-header .elementor-container,
.elementor-location-header .section-main-header .elementor-widget-wrap,
.elementor-location-header .section-main-header .elementor-widget-container,
.elementor-location-header .eael-simple-menu-container,
.elementor-location-header #menu-main,
.elementor-location-header #menu-main a,
.elementor-location-header .eael-simple-menu-toggle,
.elementor-location-header .eael-simple-menu-indicator {
  pointer-events: auto;
}

.hero-landing-page .xdecor-container {
  display: flex;
  height: 300px;
  overflow: hidden;
  width: 100%;
}
.hero-landing-page .xdecor-container::before,
.hero-landing-page .xdecor-container::after {
  content: '';
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  z-index: 5;
}
.hero-landing-page .xdecor-container::before {
  background: linear-gradient(to bottom, #272727 0%, #27272700 100%);
  height: 200px !important;
  top: 0;
}
.hero-landing-page .xdecor-container::after {
  background: linear-gradient(to top, #272727 0%, #27272700 100%);
  bottom: 0;
  height: 150px !important;
}
.hero-landing-page .xdecor-carousel {
  animation: xdecorMoveBottomToTop 27s linear infinite !important;
  max-width: 100% !important;
  overflow: hidden;
  transition: animation 0s ease;
  will-change: transform;
}
@keyframes xdecorMoveBottomToTop {
  0% {
    transform: translate3d(0, -100%, 0);
  }
  100% {
    transform: translate3d(0, 100%, 0);
  }
}
@media (max-width: 767px) {
  .hero-landing-page .xdecor-container {
    height: 450px !important;
  }
  .hero-landing-page .xdecor-container::before {
    height: 160px !important;
  }
  .hero-landing-page .xdecor-container::after {
    background: linear-gradient(to top, #272727 10%, #27272700 100%);
    height: 200px !important;
  }
}

#xdecor-legacy-markup-root > .elementor-location-popup {
  display: none;
}
.xdecor-fallback-popup {
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  overflow: auto;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 999999;
}
.xdecor-fallback-popup .dialog-widget-content {
  max-height: calc(100vh - 40px);
  max-width: calc(100vw - 24px);
  overflow: auto;
  position: relative;
}
.xdecor-fallback-popup .dialog-close-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #1b1b1b;
  cursor: pointer;
  display: flex;
  font-family: Arial, sans-serif;
  font-size: 30px;
  font-weight: 300;
  height: 40px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 8px;
  text-decoration: none;
  top: 6px;
  width: 40px;
  z-index: 2;
}

/* Mobile menu: drawer CSS in Header.tsx portal; global hooks here. */
@media screen and (max-width: 1024px) {
  .xdecor-header-component .eael-simple-menu-container {
    position: relative !important;
    overflow: visible !important;
    min-height: 44px;
  }

  /* Match legacy: hide brand band under header while mobile nav is open */
  html.xdecor-mobile-menu-open .xdecor-header-component .section-bottom-header,
  html.xdecor-mobile-menu-open .xdecor-header-component .section-bottom-header-2 {
    visibility: hidden !important;
    pointer-events: none !important;
  }

  html.xdecor-mobile-menu-open {
    overflow: hidden;
  }

  html.xdecor-mobile-menu-open body {
    overflow: hidden;
  }
}
