.MEDIA .container {
	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;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.MEDIA .oembed-image {
	all: unset;
	display: block;
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
	overflow: hidden;
	border-radius: 15rem;
}
.MEDIA .oembed-image .b-button {
	white-space: nowrap;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* .MEDIA .oembed-image::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 80rem;
	height: 80rem;
	background: #333;
	transform: translate(-50%, -50%);
	transition: background 0.25s;
} */

.MEDIA .oembed-image:hover::after {
	background: blue;
}

.MEDIA[data-width="12"] .container {max-width: var(--col-12);}
.MEDIA[data-width="10"] .container {max-width: var(--col-10);}
.MEDIA[data-width="8"] .container {max-width: var(--col-8);}
.MEDIA[data-width="6"] .container {max-width: var(--col-6);}

@media screen and (max-width: 960px) {
	.MEDIA .oembed-image::after {width: 40rem; height: 40rem;}
}



/* PLAYLIST STYLE */

.MEDIA[data-variant="_playlist"] .oembed .oembed-image {
	display: none;
}
.MEDIA[data-variant="_playlist"] .oembed > div:not(.oembed-image) {
	display: block !important;
}

.MEDIA[data-variant="_playlist"] .oembed iframe {
	position: static;
}



/* 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;
}
