/* Keep the site's existing cursor outside photos and use the browser's zoom cursor on them. */
@media (pointer: fine) {
  .image-lightbox > img { cursor: zoom-in !important; }
  .image-lightbox.is-zoomed > img { cursor: zoom-out !important; }
}

.image-lightbox__close {
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

@media (hover: hover) and (pointer: fine) and (min-width: 761px) {
  .image-lightbox__close:hover {
    border-color: #777;
    background: #303030;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .06);
  }
}

.image-lightbox__close:focus-visible {
  outline: 2px solid #3d85ea;
  outline-offset: 3px;
}
