

/* Remove fixed dimensions from WP video wrapper */
.wp-video,
.mejs-container,
.wp-video-shortcode video {
    width: 100% !important;
    height: auto !important; /* override inline height */
}

video {
	border-radius: var(--typo-border-radius);
	background: transparent;
}

/* Apply modern aspect ratio */
.wp-video-shortcode {
    aspect-ratio: 16 / 9;
}

.wp-video-shortcode {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
}