.hok-feature-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--hok-radius-lg, 24px);
  box-shadow: var(--hok-shadow-medium, 0 26px 48px rgba(5, 29, 64, 0.14));
}

.hok-feature-slider__viewport {
  position: relative;
  overflow: hidden;
}

.hok-feature-slider__slides {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  transition: transform 500ms ease;
}

.hok-feature-slider__slide {
  flex: 0 0 100%;
  min-height: clamp(320px, 50vw, 520px);
  position: relative;
}

.hok-feature-slider__card {
  position: relative;
  width: 100%;
  height: 100%;
  color: var(--hok-color-white, #fff);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: stretch;
  background: linear-gradient(120deg, rgba(5, 29, 64, 0.72) 30%, rgba(4, 40, 80, 0.88) 100%);
  padding: clamp(2rem, 6vw, 3.5rem);
}

.hok-feature-slider__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--hok-radius-lg, 24px);
}

.hok-feature-slider__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) saturate(1.15);
}

.hok-feature-slider__content {
  display: grid;
  gap: clamp(0.85rem, 3vw, 1.25rem);
  align-content: center;
}

.hok-feature-slider__title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
}

.hok-feature-slider__title a {
  color: inherit;
}

.hok-feature-slider__excerpt {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
}

.hok-feature-slider__button {
  justify-self: flex-start;
  text-decoration: none;
}

.hok-feature-slider__controls {
  position: absolute;
  inset-inline: clamp(1rem, 4vw, 2rem);
  bottom: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  gap: 0.75rem;
}

.hok-feature-slider__controls button {
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms ease;
}

.hok-feature-slider__controls button:hover,
.hok-feature-slider__controls button:focus-visible {
  background: rgba(255, 255, 255, 0.3);
}

.hok-feature-slider__dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.hok-feature-slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.hok-feature-slider__dot[aria-selected="true"] {
  background: var(--hok-color-accent, #73abce);
}

.hok-feature-slider__fallback {
  list-style: disc;
  padding: 1rem 1.5rem;
  background: var(--hok-color-white, #fff);
  color: var(--hok-color-ink, #346a8c);
  border-radius: var(--hok-radius-md, 16px);
}

@media (max-width: 960px) {
  .hok-feature-slider__card {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hok-feature-slider__slides {
    transition: none !important;
  }
}
