/* These overrides are restricted to the homepage hero and header. */
body.ace-home #header {
  position: fixed !important;
  inset: 0 0 auto !important;
  width: 100%;
  height: 80px !important;
  margin: 0 !important;
  z-index: 1000;
  background: transparent !important;
  transform: none !important;
}
body.ace-home #header #header-wrap {
  position: relative !important;
  top: 0 !important;
  height: 80px !important;
  background: rgba(0, 0, 0, 0.3) !important;
  box-shadow: none;
  transition: background-color 300ms ease;
}
body.ace-home #header.ace-scrolled #header-wrap {
  background: #171717 !important;
}
body.ace-home #header #mainMenu nav > ul > li > a,
body.ace-home #header .header-extras a,
body.ace-home #header .header-extras i {
  color: #fff !important;
}
body.ace-home #header .lines,
body.ace-home #header .lines::before,
body.ace-home #header .lines::after {
  background-color: #fff !important;
}
body.ace-home #slider.slider-fullscreen {
  height: 100vh !important;
  height: 100svh !important;
  min-height: 500px;
  margin-top: 0 !important;
  overflow: hidden;
}
body.ace-home #slider .slide {
  background-image: none !important;
  overflow: hidden;
  isolation: isolate;
}
body.ace-home #slider .kenburns-bg {
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 20%;
  transform-origin: center;
  transition: none !important;
  animation: ace-forest-zoom 10s cubic-bezier(.2, 0, .7, 1) 1s both;
}
@keyframes ace-forest-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.11); }
}
body.ace-home #slider .slide-captions h1 {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
body.ace-home #slider .slide-captions h1 span.text-large {
  font-size: clamp(52px, 6.5vw, 104px) !important;
  line-height: 1.25 !important;
}
body.ace-home #slider .ace-title-line {
  display: block;
  font-size: inherit !important;
  line-height: inherit !important;
}
body.ace-home #slider .slide-captions p {
  text-align: center;
}
@media (max-width: 991px) {
  body.ace-home.menu-open #header #mainMenu {
    background: #171717 !important;
    max-height: calc(100svh - 80px);
    overflow-y: auto;
  }
}
@media (max-width: 767px) {
  body.ace-home #slider.slider-fullscreen {
    min-height: 360px !important;
  }
  body.ace-home #slider .container-wide {
    padding: 80px 20px 20px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  body.ace-home #slider .slide-captions,
  body.ace-home #slider .slide-captions h1,
  body.ace-home #slider .slide-captions p {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  body.ace-home #slider .slide-captions h1 span.text-large {
    font-size: clamp(24px, 6.5vw, 50px) !important;
  }
  body.ace-home #slider .slide-captions p {
    font-size: clamp(13px, 3.5vw, 18px) !important;
    line-height: 1.6;
  }
}
