.swiper {
  position: relative;
  display: block;
  overflow: hidden;
}

.swiper-wrapper {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  min-height: inherit;
  transform: translate3d(0, 0, 0);
  transition: transform 700ms ease;
  will-change: transform;
}

.lhl-hero-swiper {
  height: 82vh;
  min-height: 720px;
  padding: 0 !important;
}

.lhl-hero-swiper .swiper-wrapper {
  position: relative;
  height: 100%;
  min-height: 0;
}

.swiper-slide,
.lhl-hero-swiper .swiper-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: none;
}

.lhl-hero-swiper .swiper-slide {
  position: relative !important;
  min-height: 100% !important;
}

.swiper-slide-active,
.lhl-hero-swiper .swiper-slide-active {
  position: relative !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.swiper-horizontal .swiper-slide {
  transform: translateZ(0);
}

.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: -22px 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
  opacity: 0.82;
  transform: translate3d(0, 0, 0);
  transition: opacity 220ms ease, background 220ms ease, transform 220ms ease;
}

.swiper:hover .swiper-button-prev,
.swiper:hover .swiper-button-next,
.swiper:focus-within .swiper-button-prev,
.swiper:focus-within .swiper-button-next {
  opacity: 0.9;
}

.swiper-button-prev {
  left: 18px;
}

.swiper-button-next {
  right: 18px;
}

.swiper-button-prev:before,
.swiper-button-next:before {
  font-family: "themify";
  font-size: 18px;
  line-height: 1;
}

.swiper-button-prev:before {
  content: "\e64a";
}

.swiper-button-next:before {
  content: "\e649";
}

.swiper-button-prev:hover,
.swiper-button-next:hover,
.swiper-button-prev:focus,
.swiper-button-next:focus {
  background: rgba(255, 255, 255, 0.26);
  outline: none;
}

.swiper-pagination {
  position: absolute;
  right: 0;
  bottom: 30px;
  left: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
}

.swiper-pagination-bullet {
  display: block;
  position: relative;
  width: 54px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
  overflow: hidden;
  transition: background 180ms ease;
}

.swiper-pagination-bullet:after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left center;
}

.swiper-pagination-bullet-active {
  background: rgba(255, 255, 255, 0.4);
}

.swiper-pagination-bullet-active:after {
  animation: lhl-swiper-progress var(--lhl-swiper-delay, 6500ms) linear forwards;
}

.swiper-paused .swiper-pagination-bullet-active:after {
  animation-play-state: paused;
}

.lhl-hero-swiper .background-image-holder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover !important;
  background-position: center center !important;
}

.lhl-hero-swiper .background-image-holder img {
  display: none;
}

@keyframes lhl-swiper-progress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@media (max-width: 767px) {
  .lhl-hero-swiper {
    height: auto;
    min-height: calc(100svh - 70px);
  }

  .lhl-hero-swiper .swiper-wrapper,
  .lhl-hero-swiper .swiper-slide {
    height: auto;
    min-height: inherit;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }

  .swiper-pagination {
    bottom: 16px;
    gap: 7px;
  }

  .swiper-pagination-bullet {
    width: 42px;
    height: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .swiper-slide,
  .swiper-wrapper,
  .swiper-button-prev,
  .swiper-button-next,
  .swiper-pagination-bullet {
    transition: none;
  }

  .swiper-pagination-bullet-active:after {
    animation: none;
    transform: scaleX(1);
  }
}
