.gc-carousel {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 24px auto;
  overflow: hidden;
}

.gc-carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.gc-carousel-track::-webkit-scrollbar {
  display: none;
}

.gc-carousel-slide {
  flex: 0 0 100%;
  height: 320px;
  margin: 0;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;

  background: none;
  scroll-snap-align: start;
  border-radius: 4px;
}

.gc-carousel-slide img {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Desktop: show 2 photos at a time */
@media (min-width: 768px) {
  .gc-carousel-slide {
    flex-basis: calc((100% - 14px) / 2);
    height: 250px;
  }
}

.gc-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  width: 32px;
  height: 32px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 100;

  background: none;
  color: var(--text-color-primary);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.1s;
}

.gc-carousel-prev {
  left: 0px;
}

.gc-carousel-next {
  right: 0px;
}

.gc-carousel-arrow:hover {
  background: var(--button-color);
}