.home-page {
  display: flex;
  flex-direction: column;
  color: var(--home-page-copy, inherit);
  background: var(--home-page-background, transparent);
}

body[data-design-system="maxus"] .home-page {
  position: relative;
}

.home-page:has(.banner--hero)::before {
  position: absolute;
  top: var(--home-banner-shade-top, 0px);
  left: 0;
  z-index: var(--home-banner-shade-level, auto);
  width: 100%;
  height: var(--home-banner-shade-height, 0px);
  background: var(--home-banner-shade-background, none);
  pointer-events: none;
  content: var(--home-banner-shade-content, none);
}

.home-sections {
  display: flex;
  flex-direction: column;
  margin-top: var(--home-sections-margin-top, 40px);
  padding-bottom: 40px;
}

.home-map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  background: #e3e3e3;
}

@media (min-width: 1021px) {
  .home-page {
    line-height: 14px;
  }
}

@media (max-width: 1020px) {
  /* The legacy generic page keeps this space before its bottom heading area. */

  body:not(.output-mode--iframe) .home-page {
    margin-bottom: var(--home-after-content-space, 60px);
  }

  .home-sections {
    margin-top: 0;
    padding-top: var(--home-sections-mobile-top-padding, 20px);
    padding-bottom: 0;
  }
}

body[data-site-type="multi_brand"] .home-page {
  --home-after-content-space: 0px;
}

.home-scroll-down {
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 19;
  width: 60px;
  height: 60px;
  border: 0;
  padding: 0;
  transform: translateX(-50%);
  background: var(--primary);
  text-align: center;
  cursor: pointer;
  transition: opacity 200ms ease, visibility 0s 200ms;
}

.home-scroll-down img {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  width: 2.1rem;
  margin-inline: auto;
  opacity: 0;
  transform: scale(.3);
  animation: home-scroll-chevron 2.6s ease-out infinite;
}

.home-scroll-down.is-dismissed {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

@keyframes home-scroll-chevron {
  25% {
    opacity: 1;
    transform: translateY(.8rem);
  }

  50% {
    opacity: 1;
    transform: translateY(1.8rem);
  }

  100% {
    opacity: 0;
    transform: translateY(2.8rem) scale(.5);
  }
}

@media (max-width: 1400px) {
  .home-scroll-down {
    bottom: 80px;
  }
}

@media (max-width: 1020px) {
  .home-scroll-down {
    display: none;
  }
}
