/* WDU Header-Slider 1.2 for Joomla 6. CSS-only horizontal movement to the LEFT.
   No JavaScript or crossfade; layout based on original 1920x700 template. */
.wduhs {
  position: relative;
  width: 100%;
  max-width: var(--wduhs-max-width, 1920px);
  margin-inline: auto;
  isolation: isolate;
}
.wduhs, .wduhs *, .wduhs *::before, .wduhs *::after { box-sizing: border-box; }
.wduhs__selectors { position: absolute; z-index: 0; }
.wduhs__select-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  clip-path: inset(50%);
}
.wduhs__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: var(--wduhs-ratio, 2.742857);
  overflow: hidden;
  background: transparent;
}
.wduhs__track {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  height: 100%;
  width: var(--wduhs-track-width, 900%);
  transform: translate3d(0, 0, 0);
  transition: transform var(--wduhs-transition, 600ms) ease-in-out;
  will-change: transform;
}
.wduhs__slide {
  position: relative;
  display: block;
  flex: 0 0 var(--wduhs-panel-width, 11.11111111%);
  height: 100%;
  min-width: 0;
  overflow: hidden;
}
.wduhs__slide--clone { pointer-events: none; }
.wduhs__slide--clone > img { position: absolute; inset: 0; }
.wduhs__link {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  text-decoration: none;
  outline-offset: -5px;
  cursor: pointer;
}
.wduhs__link--nohref { cursor: default; }
.wduhs__image {
  width: 100% !important;
  height: 100% !important;
  object-fit: var(--wduhs-fit, cover);
  object-position: center;
  display: block;
  border: 0;
  padding: 0;
  margin: 0;
  max-width: none;
  box-shadow: none;
}
.wduhs__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: grid;
  place-items: center;
  width: 44px;
  height: 56px;
  color: rgba(255,255,255,.86);
  text-decoration: none !important;
  background: transparent;
  opacity: .76;
  cursor: pointer;
  transition: opacity .25s ease;
}
.wduhs__arrow:hover, .wduhs__arrow:focus-visible { opacity: 1; color: white; }
.wduhs__arrow--prev { left: 10px; }
.wduhs__arrow--next { right: 10px; }
.wduhs__arrow svg { display: block; pointer-events: none; }
.wduhs__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.wduhs__dot {
  display: block;
  width: 20px;
  height: 20px;
  padding: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255,255,255,.5) 0 5px, transparent 5.5px);
  border: 0;
  text-decoration: none;
}
.wduhs__dot:hover, .wduhs__dot:focus-visible {
  background: radial-gradient(circle at center, white 0 5px, transparent 5.5px);
}
.wduhs--pause-hover:hover .wduhs__track,
.wduhs--autoplay:has(.wduhs__slide:focus-within) .wduhs__track,
.wduhs--autoplay:has(.wduhs__dots:focus-within) .wduhs__track {
  animation-play-state: paused !important;
}
.wduhs__link:focus-visible {
  outline: 3px solid white;
  outline-offset: -4px;
}
/* The native radio inputs remain keyboard-operable, even though hidden. */
.wduhs:has(.wduhs__select-input:focus-visible) .wduhs__dots {
  outline: 2px solid white;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  /* Original design hides arrows on phones when dots are enabled. */
  .wduhs--dots .wduhs__arrow { display: none; }
  .wduhs:not(.wduhs--dots) .wduhs__arrow { width: 34px; height: 46px; }
  .wduhs__dots { bottom: 10px; gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .wduhs__track { animation: none !important; transition: none !important; }
}
