/*
 * Canonical EACI interior-page hero.
 *
 * Every interior page renderer emits .eaci-section-hero and inherits this one
 * rail, panel, spacing and interaction contract. Page-layout modifiers are not
 * allowed to resize the hero; they only control the content below it.
 */
.eaci-section-hero {
  --eaci-section-hero-rail: 62rem;
  --eaci-section-hero-rail-width: 70%;
  --eaci-section-hero-panel: 35rem;
  --eaci-section-hero-red: #c5142d;
  min-height: 420px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.eaci-section-hero > .section-inner,
.eaci-section-hero .main-banner-slideshow,
.eaci-section-hero .fade-carousel,
.eaci-section-hero .carousel-slide,
.eaci-section-hero .background-overlay,
.eaci-section-hero .slide-overlay {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.eaci-section-hero .slick-list,
.eaci-section-hero .slick-track,
.eaci-section-hero .slick-slide {
  height: 100% !important;
}

.eaci-section-hero .background-overlay {
  background-color: #5a4e4e;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1);
  transition: transform 9s ease;
}

.eaci-section-hero:hover .background-overlay {
  transform: scale(1.025);
}

.eaci-section-hero .slide-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, .44), rgba(0, 0, 0, .08) 68%);
}

.eaci-section-hero .filter-header-wrapper,
.eaci-standard-page .eaci-section-hero .filter-header-wrapper {
  bottom: 0;
  box-sizing: border-box;
  left: 50%;
  max-width: var(--eaci-section-hero-rail);
  padding: 0;
  position: absolute;
  transform: translateX(-50%);
  width: var(--eaci-section-hero-rail-width);
  z-index: 10;
}

.eaci-section-hero .filter-header.history-back,
.eaci-standard-page .eaci-section-hero .filter-header.history-back {
  align-items: center;
  background: var(--eaci-section-hero-red);
  box-sizing: border-box;
  color: #fff;
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 4.8rem;
  padding: 1.7rem 2rem;
  position: relative;
  transition: background-color .3s ease;
  width: min(var(--eaci-section-hero-panel), 100%);
}

.eaci-section-hero .filter-header.history-back:hover,
.eaci-section-hero .filter-header.history-back:focus-within {
  background: #b61227;
}

.eaci-section-hero .filter-header.history-back h1 {
  color: inherit;
  font-family: greycliff-cf, Arial, sans-serif;
  font-size: 1.2em;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  white-space: normal;
}

.eaci-section-hero__back,
.eaci-standard-page .eaci-section-hero__back {
  align-items: center;
  align-self: stretch;
  color: #fff !important;
  display: flex;
  justify-content: center;
  margin: -1rem -1rem -1rem 1.5rem;
  min-width: 3.5rem;
  text-decoration: none !important;
}

.eaci-section-hero__back:hover,
.eaci-section-hero__back:focus-visible {
  background: rgba(0, 0, 0, .1);
}

.eaci-section-hero__back:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -5px;
}

.eaci-section-hero__back-mark,
.eaci-standard-page .eaci-section-hero__back-mark {
  display: block;
  height: 28px;
  margin: 0;
  transform: translateX(0);
  transition: transform .3s cubic-bezier(.425, 0, 0, 1);
  width: 19px;
}

.eaci-section-hero__back:hover .eaci-section-hero__back-mark,
.eaci-section-hero__back:focus-visible .eaci-section-hero__back-mark {
  transform: translateX(-.35rem);
}

.eaci-section-hero__caption {
  bottom: 94px;
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 600;
  left: max(24px, calc((100vw - 90rem) / 2));
  margin: 0;
  max-width: 42rem;
  position: absolute;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .65);
  z-index: 3;
}

@media (max-width: 75rem) {
  .eaci-section-hero .filter-header-wrapper,
  .eaci-standard-page .eaci-section-hero .filter-header-wrapper {
    max-width: none;
    padding: 0 clamp(1rem, 3vw, 2.5rem);
    width: 100%;
  }
}

@media (max-width: 60rem) {
  .eaci-section-hero {
    min-height: 330px;
  }

  .eaci-section-hero__caption {
    bottom: 90px;
  }
}

@media (max-width: 40rem) {
  .eaci-section-hero {
    min-height: 320px;
  }

  .eaci-section-hero .filter-header-wrapper,
  .eaci-standard-page .eaci-section-hero .filter-header-wrapper {
    left: 0;
    padding: 0 12px;
    transform: none;
  }

  .eaci-section-hero .filter-header.history-back,
  .eaci-standard-page .eaci-section-hero .filter-header.history-back {
    min-height: 66px;
    padding: 1.35rem 1.25rem;
    width: 100%;
  }

  .eaci-section-hero .filter-header.history-back h1 {
    font-size: 1em;
  }

  .eaci-section-hero__back,
  .eaci-standard-page .eaci-section-hero__back {
    margin-bottom: -1rem;
    margin-right: -.75rem;
    margin-top: -1rem;
    min-width: 3rem;
  }

  .eaci-section-hero__caption {
    bottom: 86px;
    left: 20px;
    max-width: calc(100vw - 40px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .eaci-section-hero .background-overlay,
  .eaci-section-hero__back-mark {
    transition-duration: .01ms !important;
  }
}
