/* Dv261: keep previous/next gallery controls outside the zoomable image.
   Only #modalPan is transformed by the photo viewer; arrows live in #modalStage. */
html body.project-page #galleryModal #modalStage > .modal-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 56px !important;
  height: 72px !important;
  z-index: 10 !important;
  pointer-events: auto !important;
}
html body.project-page #galleryModal #modalStage > .modal-arrow.prev {
  left: 12px !important;
  right: auto !important;
}
html body.project-page #galleryModal #modalStage > .modal-arrow.next {
  right: 12px !important;
  left: auto !important;
}
@media (max-width: 900px) {
  html body.project-page #galleryModal #modalStage > .modal-arrow {
    width: 42px !important;
    height: 54px !important;
  }
  html body.project-page #galleryModal #modalStage > .modal-arrow.prev {
    left: 2px !important;
    right: auto !important;
  }
  html body.project-page #galleryModal #modalStage > .modal-arrow.next {
    right: 2px !important;
    left: auto !important;
  }
}
