/* HTML5 video slides (lightgallery-html5-video.js) — only what the stock
   `.lg-video-cont` / `.lg-video` rules in lightGallery.css lack.

   Those rules frame an embed in a fixed 16:9 box, which suits YouTube but
   shrinks a phone clip (usually portrait) to a sliver. A native-player slide
   is laid out like a photo instead: centred in the slide, never larger than
   it, and clear of the toolbar above and a one-line caption below — the
   player's own controls sit at its bottom edge. */
.lg-outer .lg-video-cont.lg-native-video {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: none;
  max-height: none;
  padding: 47px 5px;
}

.lg-outer .lg-native-video .lg-video {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding-bottom: 0;
}

.lg-outer .lg-native-video__player {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  background: #000;
}
