/**
- Glide.js
- https://github.com/glidejs/glide
*/

.glide {
  box-sizing: border-box;
  position: relative;
  width: 100%;
}

.glide * {
  box-sizing: inherit;
}

.glide__track {
  overflow: hidden;
}

.glide__slides {
  backface-visibility: hidden;
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
  touch-action: pan-Y;
  transform-style: preserve-3d;
  white-space: nowrap;
  width: 100%;
  will-change: transform;
}

.glide__slides>* {
  white-space: wrap;
}

.glide__slides--dragging {
  user-select: none;
}

.glide__slide {
  flex-shrink: 0;
  height: 100%;
  user-select: none;
  white-space: normal;
  width: 100%;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}


/* FADE EFFECT ------------------------ */
.fade .glide__slides {
  transform: translate3d(0,0,0)!important;
  transition: none !important;
  width: 100% !important;
}

.fade .glide__slides li {
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  transition: opacity .75s ease;
  width: 100%;
  z-index: 0;
}

.fade li.glide__slide--active {
  opacity: 1;
  z-index: 1;
}


/* END FADE EFFECT ------------------------ */

.glide__slide a {
  user-select: none;
  -webkit-user-drag: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.glide__arrows {
  -webkit-touch-callout: none;
  user-select: none;
}

.glide__bullets {
  -webkit-touch-callout: none;
  user-select: none;
}

.glide--rtl {
  direction: rtl;
}

.glide__arrow {
  position: absolute;
  display: block;
  top: 50%;
  z-index: 2;
  color: white;
  text-transform: uppercase;
  padding: 9px 12px;
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  box-shadow: 0 0.25em 0.5em 0 rgba(0, 0, 0, 0.1);
  text-shadow: 0 0.25em 0.5em rgba(0, 0, 0, 0.1);
  opacity: 1;
  cursor: pointer;
  transition: opacity 150ms ease, border 300ms ease-in-out;
  transform: translateY(-50%);
  line-height: 1;
}

.glide__arrow:focus {
  outline: none;
}

.glide__arrow:hover {
  border-color: white;
}

.glide__arrow--left {
  left: 2em;
}

.glide__arrow--right {
  right: 2em;
}

.glide__arrow--disabled {
  opacity: 0.33;
}

.glide__bullets {
  position: absolute;
  z-index: 2;
  bottom: 2em;
  left: 50%;
  display: inline-flex;
  list-style: none;
  transform: translateX(-50%);
}

.glide__bullet {
  background-color: rgba(255, 255, 255, 0.5);
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 300ms ease-in-out;
  cursor: pointer;
  line-height: 0;
  box-shadow: 0 0.25em 0.5em 0 rgba(0, 0, 0, 0.1);
  margin: 0 0.25em;
}

.glide__bullet:focus {
  outline: none;
}

.glide__bullet:hover,
.glide__bullet:focus {
  border: 2px solid white;
  background-color: rgba(255, 255, 255, 0.5);
}

.glide__bullet--active {
  background-color: white;
}

.glide--swipeable {
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
  overflow: hidden;
}

.glide--dragging {
  cursor: grabbing;
  cursor: -moz-grabbing;
  cursor: -webkit-grabbing;
}

/* Next / Previous slide buttons */
button:not(.glide__bullet)[data-glide-dir] {
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  z-index: 1;
}

button[data-glide-dir="<"],
button[data-glide-dir="|<"] {
  left: .5em;
}

button[data-glide-dir=">"],
button[data-glide-dir="|>"] {
  right: .5em;
}


/* Play / Pause button */
button.play-pause {
  aspect-ratio: 1;
  background-color: transparent;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512" fill="%23FFFFFF"><path d="M128 64H0V448H128V64zm192 0H192V448H320V64z"/></svg>');
  background-position: center;
  background-repeat: no-repeat;
  background-size: .75em auto;
  border-color: #FFF;
  cursor: pointer;
  display: table;
  font-size: clamp(0.8125em, 0.744em + 0.34vw, 1em);
  margin: 0;
  padding: 0;
  position: absolute;
  right: 1em;
  width: 2.25em;
  z-index: 3;
}

button.play-pause.paused {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="%23FFFFFF" d="M361 215C375.3 223.8 384 239.3 384 256C384 272.7 375.3 288.2 361 296.1L73.03 472.1C58.21 482 39.66 482.4 24.52 473.9C9.377 465.4 0 449.4 0 432V80C0 62.64 9.377 46.63 24.52 38.13C39.66 29.64 58.21 29.99 73.03 39.04L361 215z"/></svg>');
}


/* MAX-WIDTH MEDIA QUERIES ------------------------------ */

/* 749px */
@media (max-width: 46.8125em ) {
  button.play-pause { bottom: 1em; }
}




/* MIN-WIDTH MEDIA QUERIES ------------------------------ */

/* 750px */
@media (min-width: 46.875em) {
  button.play-pause {
    bottom: 1.75em;
  }

  button.play-pause:is(:hover, :focus-visible) {
    background-color: var(--ws-blue);
    border-color: var(--ws-blue);
  }
}
