.gtu-swipe-gallery {
  position: relative;
}

.gtu-swipe-gallery__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gtu-swipe-gallery__track::-webkit-scrollbar {
  display: none;
}

.gtu-swipe-gallery__item {
  margin: 0;
  scroll-snap-align: start;
}

.gtu-swipe-gallery__image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: .25rem;
  background: #f3f3f3;
  aspect-ratio: 4 / 3;
}

.gtu-swipe-gallery__image,
.gtu-swipe-gallery__image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gtu-swipe-gallery__caption-text {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.gtu-swipe-gallery__caption {
    font-size: 0.9rem !important;
    line-height: 1.4;
    padding: .5rem .75rem;
    font-weight: 600 !important;
}

.gtu-swipe-gallery__caption-link {
    text-decoration: none;
    font-size: .9rem !important;
    font-weight: 600 !important;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.gtu-swipe-gallery__arrow {
  position: absolute;
  top: 1rem;
  z-index: 2;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0.3rem 0.6rem rgba(0, 0, 0, 0.175);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.gtu-swipe-gallery__arrow:hover {
  transform: scale(1.04);
}

.gtu-swipe-gallery__arrow:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.gtu-swipe-gallery__arrow--prev {
  left: 0.75rem;
}

.gtu-swipe-gallery__arrow--next {
  right: 0.75rem;
}

@media (max-width: 767px) {
  .gtu-swipe-gallery__arrow {
    display: none;
  }
}

@media (min-width: 768px) {
  .gtu-swipe-gallery__track {
    grid-auto-columns: 72%;
  }
}

@media (min-width: 1024px) {
  .gtu-swipe-gallery__track {
    grid-auto-columns: 58%;
  }
}