.lokaly-hero--managed .lokaly-hero__content {
  min-width: 0;
}

.lokaly-hero-slider {
  isolation: isolate;
  touch-action: pan-y;
  overscroll-behavior-x: contain;
  -webkit-user-select: none;
  user-select: none;
}

.lokaly-hero-slider.is-touching {
  cursor: grabbing;
}

.lokaly-hero-slider.is-swiping .lokaly-hero-slide.is-active {
  opacity: 0.82;
}

.lokaly-hero-slider__arrow,
.lokaly-hero-slider__dot,
.lokaly-hero__visual-copy a {
  touch-action: manipulation;
}

.lokaly-hero-slider__slides,
.lokaly-hero-slide {
  position: absolute;
  inset: 0;
}

.lokaly-hero-slide {
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 520ms ease;
}

.lokaly-hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.lokaly-hero-slide__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.015);
  transition: transform 6s ease;
  -webkit-user-drag: none;
}

.lokaly-hero-slide.is-active .lokaly-hero-slide__image {
  transform: scale(1.055);
}

.lokaly-hero-slide__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(98, 219, 135, 0.25), transparent 36%),
    linear-gradient(180deg, rgba(7, 29, 49, 0.2) 0%, rgba(7, 29, 49, 0.88) 78%, rgba(7, 29, 49, 0.98) 100%);
}

.lokaly-hero-slide--no-image .lokaly-hero-slide__overlay {
  background:
    radial-gradient(circle at 82% 18%, rgba(98, 219, 135, 0.3), transparent 36%),
    radial-gradient(circle at 18% 82%, rgba(3, 124, 250, 0.38), transparent 40%),
    #0b2d46;
}

.lokaly-hero--managed .lokaly-hero__visual-copy {
  z-index: 3;
  padding-right: 20px;
  padding-bottom: 24px;
}

.lokaly-hero--managed .lokaly-hero__visual-copy h2,
.lokaly-hero--managed .lokaly-hero__visual-copy p {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.2);
}

.lokaly-hero--managed .lokaly-hero__visual-copy > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.lokaly-hero-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 38px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  color: #ffffff;
  background: rgba(7, 29, 49, 0.48);
  font-size: 1.7rem;
  line-height: 1;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 160ms ease, background-color 160ms ease;
  backdrop-filter: blur(8px);
}

.lokaly-hero-slider:hover .lokaly-hero-slider__arrow,
.lokaly-hero-slider:focus-within .lokaly-hero-slider__arrow {
  opacity: 1;
}

.lokaly-hero-slider__arrow:hover {
  background: rgba(7, 29, 49, 0.82);
}

.lokaly-hero-slider__arrow--prev {
  left: 13px;
}

.lokaly-hero-slider__arrow--next {
  right: 13px;
}

.lokaly-hero-slider__dots {
  position: absolute;
  right: 38px;
  bottom: 21px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lokaly-hero-slider__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  transition: width 160ms ease, background-color 160ms ease;
}

.lokaly-hero-slider__dot.is-active {
  width: 22px;
  background: #62db87;
}

@media (max-width: 991.98px) {
  .lokaly-hero-slider {
    min-height: 360px;
  }
}

@media (max-width: 767.98px) {
  .lokaly-hero-slider {
    min-height: 340px;
  }

  .lokaly-hero--managed .lokaly-hero__visual-copy {
    right: 24px;
    bottom: 24px;
    left: 24px;
    padding-right: 0;
    padding-bottom: 24px;
  }

  .lokaly-hero-slider__dots {
    right: 24px;
    bottom: 17px;
  }

  .lokaly-hero-slider__arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lokaly-hero-slide,
  .lokaly-hero-slide__image {
    transition: none;
  }
}
