/* Home slider shim - mirrors the original Revolution Slider presentation:
   1800x909 slide filling the width, captions centred in the theme's own
   Nunito Sans faces at the sizes the captured markup carried. */
.legacy-slider {
  position: relative;
  width: 100%;
  min-height: 480px;
  height: 46vw;
  max-height: 909px;
  overflow: hidden;
  background: #111;
}

.legacy-slider__frame {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 900ms ease-in-out;
}

.legacy-slider__frame.is-active {
  opacity: 1;
}

.legacy-slider__captions {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 20px;
  text-align: center;
}

.legacy-slider__lead {
  color: #fff;
  font-family: 'nunito_sansblack', 'Nunito Sans', Arial, sans-serif;
  font-size: clamp(48px, 8vw, 115px);
  line-height: 1;
  letter-spacing: 1px;
}

.legacy-slider__sub {
  color: #fff;
  font-family: 'nunito_sansbold', 'Nunito Sans', Arial, sans-serif;
  font-size: clamp(22px, 3.2vw, 45px);
  line-height: 1.1;
}

.legacy-slider__action {
  margin-top: 8px;
  padding: 14px 28px;
  border-radius: 2px;
  color: #1f1f1f;
  background: #fff;
  font-family: 'nunito_sansextrabold', 'Nunito Sans', Arial, sans-serif;
  font-size: 17px;
  text-decoration: none;
  text-transform: uppercase;
}

.legacy-slider__action:hover {
  color: #fff;
  background: #a3182a;
}

@media (max-width: 767px) {
  .legacy-slider {
    min-height: 320px;
    height: 62vw;
  }
}
