/* Keep video visible when wrapped in block-wrapper (editing mode).
   Block wrappers with width:auto can collapse; ensure the embed has a minimum width
   so the iframe and aspect-ratio container (e.g. Vimeo's padding-bottom: 56.25%) get space. */
.block-wrapper .video-embed-wrapper,
.block-wrapper .mse-video-embed {
	display: block;
	min-width: 800px;
}

.mse-video-embed {
	padding-left: 12px;
	padding-right: 12px;
	padding-top: 24px;
	padding-bottom: 24px;
	margin-left: 0;
	margin-right: auto;
}

.mse-video-embed iframe,
.mse-video-embed video {
	width: 640px;
	max-width: 100%;
	height: 360px;
	aspect-ratio: 640 / 360;
	background-color: #ffffff;
}

.mse-video-embed-4-3 iframe,
.mse-video-embed-4-3 video {
	width: 480px;
	height: 360px;
	aspect-ratio: 480 / 360;
}

.mse-video-embed-4-3-large {
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

.mse-video-embed-4-3-large iframe,
.mse-video-embed-4-3-large video {
	border: 5px solid black;
	border-radius: 10px;
	width: 515px;
	height: 290px;
	max-width: 100%;
	display: block;
}

.mse-video-embed-full-width {
	padding: 24px 12px;
	text-align: center;
}

.mse-video-embed-full-width iframe,
.mse-video-embed-full-width video {
	width: 95vw;
	max-width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	display: block;
	margin: 0 auto;
	border: none;
}
