/* Box that keeps the video's own shape; portrait videos are pillarboxed inside wide containers. */
.r2m-player {
	--plyr-color-main: #e3140e;
	position: relative;
	width: 100%;
	aspect-ratio: var(--r2m-ratio, 16 / 9);
	max-height: 80vh;
	background: #000;
}
.r2m-player.is-portrait { margin-inline: auto; width: auto; height: min(80vh, 640px); }
.r2m-player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.r2m-player .plyr { position: absolute; inset: 0; height: 100%; }
.r2m-player .plyr__video-wrapper { height: 100%; }
.r2m-player .plyr video { object-fit: contain; }
