/**
 * What a Splide slider needs from Splide's own stylesheet, which is not
 * loaded: that one hides the slider until the script has run, so without
 * JavaScript the slides would vanish. Before the script runs, and without
 * it, the row scrolls sideways. Every element Splide adds by script needs
 * its rule here, or it shows: check these against its CSS on an upgrade.
 *
 * Shared by the Testimonials and Timeline blocks (handle e88-splide).
 */

.splide__track {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.splide.is-initialized .splide__track {
  position: relative;
  overflow: clip;
}

.splide__track--draggable {
  -webkit-user-select: none;
  user-select: none;
}

/* What Splide announces to screen readers after each move ("2 of 4"),
   added into the track: visible, it pushes the section down until the
   next move empties it. */
.splide__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

.splide__list {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Splide spaces the slides with margins of its own; the gap a block sets
   for the row without the script has to go. */
.splide.is-initialized .splide__list {
  gap: 0;
}

.splide__slide {
  flex-shrink: 0;
  box-sizing: border-box;
  margin: 0;
  list-style: none;
  scroll-snap-align: start;
}

.splide__arrows[hidden] {
  display: none;
}
