.causa-hero {
  position: relative;
  width: 100%;
  height: 868px;
  overflow: hidden;
  background: #888;
  color: #fff;
  isolation: isolate;
}

.causa-hero *,
.causa-hero *::before,
.causa-hero *::after {
  box-sizing: border-box;
}

.causa-hero__slides,
.causa-hero__slide,
.causa-hero__image,
.causa-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.causa-hero__slide {
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 600ms ease, visibility 0s linear 600ms;
}

.causa-hero__slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transition: opacity 600ms ease, visibility 0s linear 0s;
}

.causa-hero__image {
  display: block;
  object-fit: cover;
  object-position: center;
}

.causa-hero__shade {
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
}

.causa-hero__title,
.causa-hero__subtitle,
.causa-hero__cta {
  position: absolute;
  left: 50%;
  z-index: 2;
  margin: 0;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 50px));
  text-align: center;
  white-space: nowrap;
}

.causa-hero__title {
  top: calc(50% - 76px);
  color: #fff;
  font-family: Playlist, "Brush Script MT", cursive;
  font-size: 82px;
  font-weight: 400;
  line-height: var(--causa-title-line-height, 100px);
}

.causa-hero__subtitle {
  top: calc(50% + 22px);
  color: #fff;
  font-family: Roboto, Arial, sans-serif;
  font-size: 35px;
  font-weight: 300;
  line-height: 34px;
}

.causa-hero__cta {
  top: calc(50% + 135px);
  min-width: 195px;
  border: 3px solid transparent;
  padding: 14px 35px;
  background: #e1be64;
  color: #fff;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 27px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 200ms ease, color 200ms ease;
}

.causa-hero__cta:hover,
.causa-hero__cta:focus-visible {
  background: #fff;
  color: #111;
}

.causa-hero__slide.is-active .causa-hero__title {
  animation: causa-hero-layer-in 500ms 650ms ease forwards;
}

.causa-hero__slide.is-active .causa-hero__subtitle {
  animation: causa-hero-layer-in 500ms 850ms ease forwards;
}

.causa-hero__slide.is-active .causa-hero__cta {
  animation: causa-hero-layer-in 500ms 1050ms ease forwards;
}

@keyframes causa-hero-layer-in {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 50px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.causa-hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 55px;
  height: 55px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
}

.causa-hero__arrow--previous {
  left: 20px;
}

.causa-hero__arrow--next {
  right: 20px;
}

.causa-hero__arrow span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 31px;
  height: 31px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.causa-hero__arrow--previous span {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.causa-hero__arrow--next span {
  transform: translate(-65%, -50%) rotate(45deg);
}

.causa-hero__arrow:focus-visible,
.causa-hero__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.causa-hero__dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  z-index: 3;
  display: flex;
  gap: 20px;
  transform: translateX(-50%);
}

.causa-hero__dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background-color 200ms ease;
}

.causa-hero__dot.is-active {
  background: #fff;
}

@media only screen and (min-width: 1025px) and (max-width: 1299px) {
  .causa-hero {
    height: 664px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .causa-hero {
    height: 700px;
  }
}

@media only screen and (max-width: 1024px) {
  .causa-hero__arrow {
    display: none;
  }
}

@media only screen and (max-width: 767px) {
  .causa-hero {
    height: auto;
    aspect-ratio: 480 / 730;
  }

  .causa-hero__title {
    top: calc(50% - 107px);
    max-width: calc(100% - 24px);
    font-size: clamp(30px, 9.333vw, 35px);
    line-height: 100px;
  }

  .causa-hero__subtitle {
    top: calc(50% - 8px);
    font-size: clamp(25px, 8vw, 30px);
    line-height: 34px;
  }

  .causa-hero__cta {
    top: calc(50% + 110px);
    padding: 12px 35px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .causa-hero__slide,
  .causa-hero__cta,
  .causa-hero__dot {
    transition: none;
  }

  .causa-hero__slide.is-active .causa-hero__title,
  .causa-hero__slide.is-active .causa-hero__subtitle,
  .causa-hero__slide.is-active .causa-hero__cta {
    animation: none;
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

