/* PXM Animation Wrapper
   The player lays itself out by the iframe's width:
   > 900px  : video with sidebar on the right  (wide)
   <= 900px : sidebar stacks below the video    (taller)
   <= 640px : compact mobile layout             (tallest)
*/
.pxm-animation-wrapper {
	width: 100%;
	margin: 0;
}

.pxm-animation-wrapper iframe {
	display: block;
	width: 100%;
	border: 0;
	border-radius: 12px;
	aspect-ratio: 16 / 9;
	min-height: 540px;
}

@media (max-width: 900px) {
	.pxm-animation-wrapper iframe {
		aspect-ratio: auto;
		height: calc(56.25vw + 440px);
		min-height: 0;
	}
}

@media (max-width: 640px) {
	.pxm-animation-wrapper iframe {
		height: calc(56.25vw + 520px);
	}
}
