/* Versioned plugin CSS avoids Divi's generated-page-CSS cache for touch controls. */
.et_pb_gallery_fullwidth .et_pb_gallery_image {
  touch-action: pan-y;
}

@media (max-width: 980px) {
  body .et_pb_section_2 .et_pb_gallery.et_pb_gallery_fullwidth .et-pb-arrow-prev,
  body .et_pb_section_2 .et_pb_gallery.et_pb_gallery_fullwidth .et-pb-arrow-next {
    display: flex !important;
    align-items: center;
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 6 !important;
    width: 48px;
    height: 48px;
    color: #fff !important;
    background: rgba(17, 22, 25, .88) !important;
    border-radius: 50%;
    -webkit-tap-highlight-color: transparent;
  }

  body .et_pb_section_2 .et_pb_gallery.et_pb_gallery_fullwidth .et-pb-arrow-prev {
    left: 8px !important;
  }

  body .et_pb_section_2 .et_pb_gallery.et_pb_gallery_fullwidth .et-pb-arrow-next {
    right: 8px !important;
  }
}

/* PhotoSwipe hides arrows on touch by default; LM Mont keeps them as visible cues. */
.pswp.pswp--touch .pswp__button--arrow {
  visibility: visible;
}

.pswp .pswp__button--arrow {
  width: 58px;
  height: 58px;
  margin-top: -29px;
  background: rgba(17, 22, 25, .82);
  border-radius: 50%;
}

.pswp .pswp__button--arrow--prev { left: 8px; }
.pswp .pswp__button--arrow--next { right: 8px; }
.pswp .pswp__button--arrow .pswp__icn {
  width: 48px;
  height: 48px;
  margin-top: -24px;
  left: 5px;
}
.pswp .pswp__button--arrow--next .pswp__icn { left: auto; right: 5px; }
