/* Home banner slider — full-bleed, overlay right, site orange CTA */
.kf-banner-slider {
  --kf-banner-orange: #ff7a00;
  --kf-banner-orange-hover: #e86e00;
  position: relative;
  width: 100%;
  margin: 0 0 1.5rem;
  overflow: hidden;
  background: #1a1a1a;
}

.kf-banner-slider__viewport {
  position: relative;
  width: 100%;
  height: 480px;
}

.kf-banner-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  z-index: 1;
}

.kf-banner-slider__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.kf-banner-slider__media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.kf-banner-slider__overlay {
  position: absolute;
  z-index: 3;
  right: clamp(1rem, 6vw, 4.5rem);
  top: 50%;
  transform: translateY(-50%);
  max-width: min(420px, 46%);
  padding: 1.25rem 1.5rem 1.4rem;
  background: rgba(40, 40, 40, 0.72);
  border-radius: 6px;
  color: #fff;
  box-sizing: border-box;
}

.kf-banner-slider__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
}

.kf-banner-slider__desc {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.kf-banner-slider__cta {
  display: inline-block;
  padding: 0.55rem 1.35rem;
  background: var(--kf-banner-orange);
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  transition: background 0.2s ease;
}

.kf-banner-slider__cta:hover,
.kf-banner-slider__cta:focus {
  background: var(--kf-banner-orange-hover);
  color: #fff !important;
  outline: none;
}

.kf-banner-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.92);
  color: #222;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.kf-banner-slider__arrow:hover,
.kf-banner-slider__arrow:focus {
  background: #fff;
  outline: none;
}

.kf-banner-slider__arrow--prev {
  left: 12px;
}

.kf-banner-slider__arrow--next {
  right: 12px;
}

.kf-banner-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}

.kf-banner-slider__dot {
  pointer-events: auto;
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.kf-banner-slider__dot.is-active {
  background: #6b6b6b;
  border-color: #6b6b6b;
}

@media (max-width: 991px) {
  .kf-banner-slider__viewport {
    height: 380px;
  }

  .kf-banner-slider__overlay {
    max-width: min(360px, 55%);
    padding: 1rem 1.15rem;
  }
}

@media (max-width: 767px) {
  .kf-banner-slider {
    margin-bottom: 1rem;
  }

  .kf-banner-slider__viewport {
    height: 280px;
  }

  .kf-banner-slider__overlay {
    right: 0.75rem;
    left: 0.75rem;
    max-width: none;
    top: auto;
    bottom: 2.4rem;
    transform: none;
    padding: 0.85rem 1rem;
  }

  .kf-banner-slider__title {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
  }

  .kf-banner-slider__desc {
    font-size: 0.85rem;
    margin-bottom: 0.7rem;
  }

  .kf-banner-slider__arrow {
    width: 30px;
    height: 30px;
    font-size: 1.35rem;
  }

  .kf-banner-slider__arrow--prev {
    left: 6px;
  }

  .kf-banner-slider__arrow--next {
    right: 6px;
  }
}
