
.cc_1q160nrg_bakFGK8FHt .gallery, .cc_1q160nrg_l1RFjgQBTl .gallery {
  display: grid;
  gap: var(--dr-space-3);
  min-width: 0;
}

.cc_1q160nrg_bakFGK8FHt .gallery__viewport, .cc_1q160nrg_l1RFjgQBTl .gallery__viewport {
  position: relative;
  border-radius: var(--dr-radius-sm);
  overflow: hidden;
}

.cc_1q160nrg_bakFGK8FHt .gallery__track, .cc_1q160nrg_l1RFjgQBTl .gallery__track {
  display: flex;
  overflow-x: auto;
  /* overflow-x alone makes overflow-y compute to auto: the strip becomes a hidden
     vertical scroller that traps wheel/touch scrolling of the page. */
  overflow-y: hidden;

  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.cc_1q160nrg_bakFGK8FHt .gallery__track::-webkit-scrollbar, .cc_1q160nrg_l1RFjgQBTl .gallery__track::-webkit-scrollbar {
  display: none;
}

.cc_1q160nrg_bakFGK8FHt .gallery__slide, .cc_1q160nrg_l1RFjgQBTl .gallery__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.cc_1q160nrg_bakFGK8FHt .gallery__arrow, .cc_1q160nrg_l1RFjgQBTl .gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: color-mix(in srgb, var(--dr-black) 55%, transparent);
  color: var(--dr-white);
}

.cc_1q160nrg_bakFGK8FHt .gallery__arrow--prev, .cc_1q160nrg_l1RFjgQBTl .gallery__arrow--prev {
  left: var(--dr-space-2);
}

.cc_1q160nrg_bakFGK8FHt .gallery__arrow--next, .cc_1q160nrg_l1RFjgQBTl .gallery__arrow--next {
  right: var(--dr-space-2);
}

.cc_1q160nrg_bakFGK8FHt .gallery__thumbs, .cc_1q160nrg_l1RFjgQBTl .gallery__thumbs {
  display: flex;
  gap: var(--dr-space-2);
  overflow-x: auto;
  /* overflow-x alone makes overflow-y compute to auto: the strip becomes a hidden
     vertical scroller that traps wheel/touch scrolling of the page. */
  overflow-y: hidden;

  scrollbar-width: none;
}

.cc_1q160nrg_bakFGK8FHt .gallery__thumb, .cc_1q160nrg_l1RFjgQBTl .gallery__thumb {
  position: relative;
  flex: 0 0 64px;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--dr-radius-sm);
  overflow: hidden;
  background: var(--dr-surface);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity var(--dr-duration) var(--dr-ease);
}

.cc_1q160nrg_bakFGK8FHt .gallery__thumb > img, .cc_1q160nrg_l1RFjgQBTl .gallery__thumb > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.cc_1q160nrg_bakFGK8FHt .gallery__thumb:hover, .cc_1q160nrg_l1RFjgQBTl .gallery__thumb:hover, .cc_1q160nrg_bakFGK8FHt .gallery__thumb--active, .cc_1q160nrg_l1RFjgQBTl .gallery__thumb--active {
  opacity: 1;
}

.cc_1q160nrg_bakFGK8FHt .gallery__thumb--active, .cc_1q160nrg_l1RFjgQBTl .gallery__thumb--active {
  border-color: var(--dr-accent-ink);
}

.cc_1q160nrg_bakFGK8FHt .gallery__thumb-video, .cc_1q160nrg_l1RFjgQBTl .gallery__thumb-video {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .cc_1q160nrg_bakFGK8FHt .gallery__thumb, .cc_1q160nrg_l1RFjgQBTl .gallery__thumb {
    flex-basis: 80px;
  }
}

/* Vertical thumbnails (desktop): thumbs column scrolls within the image height. */
@media (min-width: 1024px) {
  .cc_1q160nrg_bakFGK8FHt .gallery--vertical, .cc_1q160nrg_l1RFjgQBTl .gallery--vertical {
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: stretch;
  }

  .cc_1q160nrg_bakFGK8FHt .gallery--vertical .gallery__thumbs, .cc_1q160nrg_l1RFjgQBTl .gallery--vertical .gallery__thumbs {
    order: -1;
    flex-direction: column;
    height: 0;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .cc_1q160nrg_bakFGK8FHt .gallery--vertical .gallery__thumb, .cc_1q160nrg_l1RFjgQBTl .gallery--vertical .gallery__thumb {
    flex: 0 0 auto;
    width: 100%;
  }
}

.cc_1q160nrg_bakFGK8FHt .gallery__slide--zoomable, .cc_1q160nrg_l1RFjgQBTl .gallery__slide--zoomable {
  cursor: zoom-in;
}

.cc_1q160nrg_bakFGK8FHt .gallery__zoom, .cc_1q160nrg_l1RFjgQBTl .gallery__zoom {
  position: absolute;
  right: var(--dr-space-3);
  bottom: var(--dr-space-3);
  background-color: color-mix(in srgb, var(--dr-black) 55%, transparent);
  color: var(--dr-white);
}

.cc_1q160nrg_bakFGK8FHt .gallery__zoom:hover, .cc_1q160nrg_l1RFjgQBTl .gallery__zoom:hover {
  color: var(--dr-accent-ink);
}
