/* public/assets/css/slider.css */
/* SL Swiper Slider styles (scoped) */
.sl-sw {
  width: 100%;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.sl-sw--contained {
  background: transparent;
  box-shadow: none;
  padding: 0 20px;
  margin-top: 32px;
}

.sl-sw .sl-sw__container {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  aspect-ratio: 39 / 10;
}

.sl-sw--contained .sl-sw__container {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.sl-sw--contained .sl-sw__slide,
.sl-sw--contained .sl-sw__media,
.sl-sw--contained .sl-sw__overlay {
  border-radius: 24px;
}

.sl-sw .sl-sw__wrapper {
  display: flex;
  height: 100%;
}

.sl-sw .sl-sw__slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
}

.sl-sw .sl-sw__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.sl-sw .sl-sw__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.15));
  z-index: 1;
}

.sl-sw .sl-sw__content {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 6vw, 80px);
  bottom: clamp(20px, 6vw, 64px);
  max-width: min(520px, 80%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sl-sw .sl-sw__title {
  margin: 0;
  font-size: clamp(22px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.sl-sw .sl-sw__text {
  margin: 0;
  font-size: clamp(13px, 1.6vw, 16px);
  line-height: 1.6;
  color: #e5e7eb;
}

.sl-sw .sl-sw__cta {
  align-self: flex-start;
  text-decoration: none;
  background: #ffffff;
  color: #111827;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sl-sw .sl-sw__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.25);
}

.sl-sw .sl-sw__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1f2937;
  transition: transform 0.2s ease, opacity 0.2s ease;
  z-index: 3;
}

.sl-sw .sl-sw__nav:hover {
  transform: translateY(-50%) scale(1.05);
  opacity: 0.95;
}

.sl-sw .sl-sw__nav--prev {
  left: clamp(12px, 2vw, 24px);
}

.sl-sw .sl-sw__nav--next {
  right: clamp(12px, 2vw, 24px);
}

.sl-sw .sl-sw__nav-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.sl-sw .sl-sw__nav--next .sl-sw__nav-icon {
  transform: rotate(180deg);
}

.sl-sw .sl-sw__pagination {
  position: absolute;
  bottom: clamp(14px, 3vw, 24px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.sl-sw--contained .sl-sw__pagination {
  left: clamp(28px, 4vw, 56px);
  transform: none;
}

.sl-sw .sl-sw__bullet {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.2s ease, opacity 0.2s ease, background 0.2s ease;
  opacity: 0.75;
  cursor: pointer;
}

.sl-sw .sl-sw__bullet--active {
  width: 18px;
  background: #ffffff;
  opacity: 1;
}

@media (max-width: 1199.98px) {
  .sl-sw .sl-sw__container {
    aspect-ratio: 3 / 1;
  }
}

@media (max-width: 991.98px) {
  .sl-sw .sl-sw__container {
    aspect-ratio: 8 / 3;
  }

  .sl-sw .sl-sw__nav {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 767.98px) {
  .sl-sw .sl-sw__container {
    aspect-ratio: 5 / 2;
  }

  .sl-sw .sl-sw__content {
    max-width: 90%;
  }

  .sl-sw .sl-sw__cta {
    padding: 9px 16px;
  }
}
