.afe-hero-slider {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
}

.afe-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease;
}

.afe-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.afe-hero-slide__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.afe-hero-slide__content {
  max-width: 760px;
  padding: 0 90px;
  color: #ffffff;
}

.afe-hero-slide__content h2 {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 14px;
  color: #ffffff;
}

.afe-hero-slide__content p {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.6;
  margin: 0 0 24px;
  color: #ffffff;
}

.afe-hero-slide__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.afe-hero-slide__ctas .btn {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 3px;
  padding: 12px 35px;
  font-size: 1.0625rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  transition: background 0.2s ease, color 0.2s ease;
}

.afe-hero-slide__ctas .btn:hover {
  background: #ffffff;
  color: #212121;
}

.afe-hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.2);
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.afe-hero-slider__arrow:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: #ffffff;
}

.afe-hero-slider__arrow--prev {
  left: 22px;
}

.afe-hero-slider__arrow--next {
  right: 22px;
}

@media (max-width: 782px) {
  .afe-hero-slider {
    height: 420px;
  }
  .afe-hero-slide__content {
    padding: 0 30px;
  }
  .afe-hero-slide__content h2 {
    font-size: 1.7rem;
  }
  .afe-hero-slide__content p {
    font-size: 1rem;
  }
}
