.mn-media-popup-open {
	overflow: hidden;
}

.video-popup#mn-media-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-popup#mn-media-popup.active {
	opacity: 1;
	visibility: visible;
}

.video-popup#mn-media-popup .video-popup-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	cursor: pointer;
}

.video-popup#mn-media-popup .video-popup-container {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 90%;
	max-width: 1200px;
	max-height: 90vh;
}

.video-popup#mn-media-popup .video-popup-close {
	position: absolute;
	top: 50px;
	right: 50px;
	background: none;
	border: 0;
	color: #fff;
	cursor: pointer;
	padding: 10px;
	z-index: 10;
	transition: opacity 0.3s ease;
}

.video-popup#mn-media-popup .video-popup-close:hover {
	opacity: 0.7;
}

.video-popup#mn-media-popup .video-popup-content {
	width: 100%;
	height: 100%;
}

.video-popup#mn-media-popup .video-popup-iframe-container.mn-media-popup__frame {
	width: 100%;
	height: 100%;
	position: relative;
	text-align: center;
}

.mn-media-popup__media {
	display: block;
	width: 100%;
	height: auto;
	max-height: 90vh;
	object-fit: contain;
	border-radius: 10px;
}

.mn-media-popup__caption {
	color: #fff;
	text-align: center;
	font-size: 0.95rem;
	line-height: 1.4;
	margin-top: 10px;
}

.mn-media-popup__nav {
	position: absolute;
	top: 50%;
	transform: translateY( -50% );
	background: none;
	border: 0;
	color: #fff;
	font-size: 56px;
	line-height: 1;
	padding: 6px 10px;
	cursor: pointer;
	transition: opacity 0.3s ease;
	user-select: none;
	border-radius: 50%;
	aspect-ratio: 1/1;
}

.mn-media-popup__nav-icon {
	display: block;
	width: 16px;
	height: 14px;
}

.mn-media-popup__nav:hover {
	opacity: 1;
	background: var(--greenDK);

}

.mn-media-popup__nav--prev {
	left: 14px;
	transform: translateY( -50% ) rotate( 180deg );
}

.mn-media-popup__nav--next {
	right: 14px;
}

@media (max-width: 768px) {
	.video-popup#mn-media-popup .video-popup-container {
		width: 95%;
		max-height: 96vh;
	}

	.video-popup#mn-media-popup .video-popup-close {
		top: 10px;
		right: 10px;
	}

	.mn-media-popup__nav {
		font-size: 44px;
	}
}

@media (max-width: 480px) {
	.video-popup#mn-media-popup .video-popup-container {
		width: 98%;
		max-height: 90vh;
	}
}
