/* Keep the original wide strip; repeated photos fill both ends of the loop. */
.slider-2 .slide-2 {
  overflow: visible;
}

.gallery-neighbours {
  position: absolute;
  top: 0;
  display: flex;
  width: calc(var(--gallery-count) * 100%);
  pointer-events: none;
}

.gallery-neighbours-before {
  right: 100%;
}

.gallery-neighbours-after {
  left: 100%;
}

.gallery-neighbours > div {
  flex: 1;
  min-width: 0;
  padding-right: 20px;
}

@media screen and (max-width: 479px) {
  .gallery-neighbours > div {
    padding-right: 10px;
  }
}
