/* Covers share the existing native Selected Work image treatment. */
body.jg-midnight #video-collection .portfolio-card-image a:focus-visible {
  outline: 2px solid var(--jm-ink, #ececdc);
  outline-offset: -3px;
}
body.jg-midnight #video-collection .jg-gallery-player {
  position: relative;
  margin: 0;
}
body.jg-midnight #video-collection .jg-gallery-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(23, 28, 26, .25);
  border-radius: 0;
  background: #ececdc;
  color: #171c1a;
  font: 400 11px/1.3 Arial, sans-serif;
  cursor: pointer;
}
body.jg-midnight #video-collection .jg-gallery-close:focus-visible {
  outline: 2px solid #ececdc;
  outline-offset: 3px;
}
body.jg-midnight #video-collection .portfolio-reel-image img {
  object-fit: contain;
  background: #0b100d;
}
@media (pointer: coarse) {
  body.jg-midnight #video-collection .jg-gallery-close {
    min-height: 44px;
  }
}