.MEDIA .container {
	max-width: 960rem;
	margin: 0 auto;
}

.MEDIA .video {
	position: relative;
}

.MEDIA .video video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.MEDIA .oembed {
	position: relative;
}

.MEDIA .oembed iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.MEDIA .oembed-image {
	all: unset;
	display: block;
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	cursor: pointer;
	overflow: hidden;
}

.MEDIA .oembed-image::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 80rem;
	height: 80rem;
	background: var(--blue) url(images/play-icon.svg) no-repeat center / 100%;
	transform: translate(-50%, -50%);
	transition: background 0.25s;
}

.MEDIA .oembed-image:hover::after {
	background-color: var(--green);
}

.MEDIA .oembed-image .b-img-fallback {
    background: var(--black);
}

.MEDIA .iframe {
	position: relative;
	aspect-ratio: 16/9;
}

.MEDIA .iframe iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.MEDIA[data-width="12"] .container {max-width: 100%;}
.MEDIA[data-width="10"] .container {max-width: 970rem;}
.MEDIA[data-width="8"] .container {max-width: 770rem;}
.MEDIA[data-width="6"] .container {max-width: 570rem;}
.MEDIA[data-width="large"] .container {max-width: 100%;}

.MEDIA[data-style="post"] .container {margin-left: 0; max-width: 687.48rem;}

@media screen and (min-width: 1121px) {
	.MEDIA[data-width="large"] {margin: 0 -100rem;}
}

@media screen and (max-width: 960px) {
	.MEDIA .oembed-image::after {width: 40rem; height: 40rem;}
}



/* MEDIA-MODAL */

.MEDIA-MODAL {
	position: relative;
	margin: 0 auto;
}

.MEDIA-MODAL .content {
	box-sizing: border-box;
	background: #000;
	max-height: calc(100vh - 80rem);
	overflow: visible;
}

.MEDIA-MODAL .content iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
