.lm-hero-slider {
  --lm-hero-min-height: 520px;
  --lm-hero-primary: var(--wd-primary-color, #c59b5a);
  --lm-hero-primary-text: var(--wd-primary-color-contrast, #1c1c1c);
  --lm-hero-secondary: #ffffff;
  position: relative;
  width: 100%;
  min-height: var(--lm-hero-min-height);
  margin: 0;
  overflow: hidden;
  background: #0e0f12;
  font-family: var(--wd-text-font, inherit);
  font-weight: var(--wd-text-font-weight, inherit);
  font-style: var(--wd-text-font-style, inherit);
}

body.lm-header-overlay .lm-hero-slider {
  margin-top: var(--lm-header-offset, 0px);
}

.lm-hero-slider.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.editor-styles-wrapper .lm-hero-slider.alignfull,
.block-editor-block-list__layout .lm-hero-slider.alignfull {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.lm-hero-slider__track {
  position: relative;
  min-height: var(--lm-hero-min-height);
}

.lm-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 600ms ease;
}

.lm-hero-slide.is-active {
  opacity: 1;
  z-index: 2;
}

.lm-hero-slide__media,
.lm-hero-slide__image,
.lm-hero-slide__video {
  width: 100%;
  height: 100%;
}

.lm-hero-slide__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.lm-hero-slide__image,
.lm-hero-slide__video {
  object-fit: cover;
  display: block;
}

.lm-hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: var(--lm-overlay-color, #000000);
  opacity: var(--lm-overlay-opacity, 0.35);
  z-index: 1;
}

.lm-hero-slide__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: var(--lm-hero-min-height);
  padding: 60px 6vw;
}

.wp-block-acf-lm-hero-slider {
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 0 !important;
}

.home .wp-block-acf-lm-hero-slider {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.wp-block-acf-lm-hero-slider + .wp-block-acf-lm-category-blocks {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

@supports selector(:has(*)) {
  .wd-content-layout:has(> .wp-block-acf-lm-hero-slider:first-child) {
    padding-top: 0;
  }
}

.lm-hero-slide__content.is-left {
  justify-content: flex-start;
  text-align: left;
}

.lm-hero-slide__content.is-center {
  justify-content: center;
  text-align: center;
}

.lm-hero-slide__content.is-right {
  justify-content: flex-end;
  text-align: right;
}

.lm-hero-slide__inner {
  max-width: 640px;
}

.lm-hero-slide__title {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 12px;
  color: inherit;
  font-family: var(--wd-title-font, inherit);
  font-weight: var(--wd-title-font-weight, 600);
  font-style: var(--wd-title-font-style, inherit);
  letter-spacing: normal;
  text-transform: none;
}

.lm-hero-slide__title span {
  display: block;
}

.lm-hero-slide__title-highlight {
  font-weight: 600;
}

.lm-hero-slide__subtitle {
  font-size: clamp(1.2rem, 2.1vw, 2rem);
  opacity: 0.85;
  margin-bottom: 10px;
  color: inherit;
  letter-spacing: normal;
  text-transform: none;
}

.lm-hero-slide__content-text {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 22px;
  color: inherit;
  letter-spacing: normal;
  text-transform: none;
}

.lm-hero-slide__buttons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lm-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  text-decoration: none;
}

.lm-hero-btn.is-primary {
  background: var(--lm-hero-primary);
  color: var(--lm-hero-primary-text);
}

.lm-hero-btn.is-secondary {
  background: var(--lm-hero-secondary);
  color: #1c1c1c;
}

.lm-hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.lm-hero-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.lm-hero-slider .lm-hero-slider__dots .lm-hero-slider__dot,
.lm-hero-slider .lm-hero-slider__dots button.lm-hero-slider__dot {
  all: unset !important;
  box-sizing: border-box !important;
  width: 10px !important;
  height: 10px !important;
  min-width: 10px !important;
  max-width: 10px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: rgba(255, 255, 255, 0.65) !important;
  background-image: none !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
  display: inline-block !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-shadow: none !important;
  outline: none !important;
  line-height: 1 !important;
  font-size: 0 !important;
  transform: none !important;
  transition: width 200ms ease, background-color 200ms ease;
}

.lm-hero-slider .lm-hero-slider__dots .lm-hero-slider__dot.is-active,
.lm-hero-slider .lm-hero-slider__dots button.lm-hero-slider__dot.is-active {
  width: 46px !important;
  height: 10px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  border-radius: 999px !important;
  background: #b8956a !important;
}

@media (max-width: 768px) {
  .lm-hero-slide__content {
    padding: 36px 7vw 72px;
  }

  .lm-hero-slide__inner {
    max-width: 100%;
  }

  .lm-hero-slide__buttons {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .lm-hero-btn {
    width: min(280px, 82vw) !important;
  }

  .lm-hero-slider__dots {
    bottom: 16px;
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lm-hero-slide {
    transition: none;
  }
  .lm-hero-btn {
    transition: none;
  }
}

.lm-hero-slider .slick-arrow,
.lm-hero-slider .swiper-button-next,
.lm-hero-slider .swiper-button-prev,
.lm-hero-slider .owl-nav,
.lm-hero-slider .wd-carousel-btn {
  display: none !important;
}
