.glide__arrow {
  position: absolute;
  display: block;
  top: 50%;
  z-index: 2;
  padding: 9px 12px;
  background-color: transparent;
  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--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 {
  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__slide img {
  display: block;
  margin: 0 auto;
}

.glide__slides {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  margin: 0 auto;
}

.glide--swipeable {
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}

.glide--dragging {
  cursor: grabbing;
  cursor: -moz-grabbing;
  cursor: -webkit-grabbing;
}

/* Dark mode styles */
.glide__bullet {
  background-color: #282829;
}

.glide__bullet:hover,
.glide__bullet:focus {
  background-color: white;
  border-color: #797f8c;
}

.glide__bullet--active {
  background-color: #505050;
}

.glide__arrow {
  color: rgba(40, 41, 44, 0.5);
  border: 2px solid rgba(40, 41, 44, 0.5);
}

.glide__arrow:hover {
  color: #505050;
  border-color: #505050;
}

/* Light mode styles */
@media (prefers-color-scheme: light) {
  .glide__bullet {
    background-color: rgba(255, 255, 255, 0.5);
  }

  .glide__bullet:hover,
  .glide__bullet:focus {
    background-color: black;
    border-color: white;
  }

  .glide__bullet--active {
    background-color: black;
  }

  .glide__arrow {
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
  }

  .glide__arrow:hover {
    color: black;
    border-color: black;
  }
}
