/* The Nest — gallery carousel (standalone; same behaviour as the Foundation site) */
.gallery__inner.gallery__inner--carousel { height: auto; }
.nest-carousel { position: relative; width: 100%; }
.nest-carousel__track {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  outline: none;
}
.nest-carousel__track::-webkit-scrollbar { display: none; }
.nest-carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.nest-carousel__slide { flex: 0 0 88%; scroll-snap-align: start; margin: 0; padding: 0; list-style: none; }
.nest-carousel__slide::before { display: none; content: none; }
.nest-carousel__slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 740 / 400;
  object-fit: cover;
  pointer-events: none;
}
@media (min-width: 600px) { .nest-carousel__slide { flex-basis: calc((100% - 10px) / 2); } }
@media (min-width: 1024px) { .nest-carousel__slide { flex-basis: calc((100% - 20px) / 3); } }

.nest-carousel__controls { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }
.nest-carousel__btn { padding: 0; border: 0; background: none; color: #2f3537; cursor: pointer; line-height: 0; }
.nest-carousel__btn:hover:not(:disabled) svg circle { fill: #fff001; }
.nest-carousel__btn:disabled { opacity: .3; cursor: default; }
.nest-carousel.is-static .nest-carousel__controls { display: none; }
.nest-carousel.is-static .nest-carousel__track { cursor: auto; }
