/* Keep the picture wrapper out of the existing editorial layout. */
.opening-picture { display: contents; }
img, .gallery-image, .photo-grid, .editorial-chapter, .lightbox {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}
img, .gallery-image, .photo-grid, .editorial-chapter, .lightbox {
  user-select: none;
}
:is(.photo-grid, .editorial-chapter, .lightbox) :is(figcaption, p, a, button):not(.photo) {
  user-select: text;
  -webkit-touch-callout: default;
}
:is(.photo-grid, .editorial-chapter) .photo { position: relative; }
:is(.photo-grid, .editorial-chapter) .photo::after, .lightbox::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.lightbox > button { z-index: 2; }
