/*
 * WAYZAWAY_GALLERY_VIDEO_SIZE_R1
 *
 * Gallery videos previously inherited a fixed 16:9
 * wrapper. Portrait videos therefore had to fit inside
 * a short landscape viewport and appeared unnecessarily
 * small.
 *
 * Give the Mux player the full available gallery frame.
 * The player itself preserves the source video's aspect
 * ratio, so this does not crop or stretch the video.
 *
 * Scope:
 *   gallery/lightbox video only.
 *
 * Does not alter:
 *   images,
 *   cards,
 *   uploads,
 *   Mux processing,
 *   gallery ordering,
 *   gallery navigation.
 */

.wz-media-viewer-v2
.wz-media-viewer-video-wrap {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: auto;
}

.wz-media-viewer-v2
.wz-media-viewer-video {
  width: 100%;
  height: 100%;
}
