:host {
  display: block;
}

.dda-banner-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

/* The slider is the keyboard focus stop. The ring is outside the box, so the slider's own
   overflow does not clip it; white inner and dark outer rings read on any background. */
.dda-banner-slider:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px #ffffff,
    0 0 0 4px rgba(0, 0, 0, 0.65);
}

.dda-banner-slide {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.dda-banner-slide img {
  display: block;
  max-width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .dda-banner-slider {
    scroll-behavior: auto;
  }
}
