.elementor-widget-stalwart_hero_slider {
  width: 100%;
}

.stalwart-hero-slider {
  --shs-accent: #27a69b;
  --shs-white: #ffffff;
  --shs-overlay: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.45) 42%,
    rgba(0, 0, 0, 0.12) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 560px;
  overflow: hidden;
  background: #0a0a0a;
}

.stalwart-hero-slider__swiper {
  width: 100%;
  height: 100%;
}

.stalwart-hero-slider__slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.stalwart-hero-slider__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.stalwart-hero-slider__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.stalwart-hero-slider__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--shs-overlay);
  pointer-events: none;
}

.stalwart-hero-slider__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: clamp(5rem, 12vh, 8rem) 0;
  box-sizing: border-box;
}

.stalwart-hero-slider__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.stalwart-hero-slider__title {
  margin: 0 0 1.25rem;
  max-width: 18ch;
  font-family: "Ubuntu", sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.125rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--shs-white);
}

.stalwart-hero-slider__title .green {
  color: var(--shs-accent);
}

.stalwart-hero-slider__text {
  margin: 0 0 2rem;
  max-width: 42ch;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--shs-white);
}

.stalwart-hero-slider__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.stalwart-hero-slider__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1;
  transition: color 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
}

.stalwart-hero-slider__btn--primary {
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  background: var(--shs-accent);
  color: var(--shs-white);
}

.stalwart-hero-slider__btn--primary:hover,
.stalwart-hero-slider__btn--primary:focus {
  background: #000;
  color: var(--shs-white);
}

.stalwart-hero-slider__btn--ghost {
  padding: 0;
  background: transparent;
  color: var(--shs-white);
}

.stalwart-hero-slider__btn--ghost:hover,
.stalwart-hero-slider__btn--ghost:focus {
  color: var(--shs-accent);
}

.stalwart-hero-slider__btn--ghost svg {
  flex-shrink: 0;
}

/* Pagination */
.stalwart-hero-slider__pagination {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  z-index: 5;
  transform: translateX(-50%);
  width: auto !important;
}

.stalwart-hero-slider__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 5px !important;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
}

.stalwart-hero-slider__pagination .swiper-pagination-bullet-active {
  background: var(--shs-accent);
}

/* Arrows */
.stalwart-hero-slider__prev,
.stalwart-hero-slider__next {
  width: 44px;
  height: 44px;
  margin-top: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
}

.stalwart-hero-slider__prev::after,
.stalwart-hero-slider__next::after {
  font-size: 12px;
  font-weight: 700;
}

.stalwart-hero-slider__prev:hover,
.stalwart-hero-slider__next:hover {
  background: var(--shs-accent);
}

/* Scroll indicator */
.stalwart-hero-slider__scroll {
  position: absolute;
  left: 50%;
  bottom: 5%;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
  pointer-events: none;
}

.stalwart-hero-slider__scroll-text {
  font-family: "Ubuntu", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  animation: shsTextFade 3s ease-in-out infinite;
}

.stalwart-hero-slider__scroll-line {
  position: relative;
  width: 1px;
  height: 48px;
  overflow: hidden;
}

.stalwart-hero-slider__scroll-bg {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
}

.stalwart-hero-slider__scroll-highlight {
  position: absolute;
  left: 0;
  top: -40%;
  width: 100%;
  height: 40%;
  background: #fff;
  animation: shsPassingLine 2.2s ease-in-out infinite;
}

@keyframes shsTextFade {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

@keyframes shsPassingLine {
  0% {
    top: -40%;
  }
  100% {
    top: 120%;
  }
}

@media (max-width: 1024px) {
  .stalwart-hero-slider {
    min-height: 70vh;
  }

  .stalwart-hero-slider__title {
    max-width: 22ch;
  }
}

@media (max-width: 767px) {
  .stalwart-hero-slider {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .stalwart-hero-slider__content {
    align-items: flex-end;
    padding-bottom: 7rem;
  }

  .stalwart-hero-slider__inner {
    padding: 0 1rem;
  }

  .stalwart-hero-slider__title {
    font-size: 2rem;
    line-height: 1.25;
  }

  .stalwart-hero-slider__text {
    font-size: 0.875rem;
  }

  .stalwart-hero-slider__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .stalwart-hero-slider__prev,
  .stalwart-hero-slider__next {
    display: none;
  }

  .stalwart-hero-slider__scroll {
    bottom: 1.25rem;
  }
}
