/* Vidéo MP4 accueil — bouton lecture toujours visible */
.bwp-widget-video.mc-has-mp4 .content {
	z-index: 3;
	pointer-events: none;
}

.bwp-widget-video.mc-has-mp4 .mc-mp4-play {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 90px;
	height: 90px;
	padding: 0;
	margin: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	background: rgba(250, 132, 0, 0.95);
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	opacity: 1;
	visibility: visible;
	box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
	transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
	pointer-events: auto;
}

.bwp-widget-video.mc-has-mp4 .mc-mp4-play .icon-play {
	opacity: 1;
	color: #fff;
}

.bwp-widget-video.mc-has-mp4 .mc-mp4-play:hover,
.bwp-widget-video.mc-has-mp4 .mc-mp4-play:focus {
	background: #227403;
	border-color: #fff;
	opacity: 1;
	transform: scale(1.06);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
	outline: none;
}

@media (max-width: 767px) {
	.bwp-widget-video.mc-has-mp4 .mc-mp4-play {
		width: 80px;
		height: 80px;
		font-size: 22px;
	}
}

/* Modale ouverte */
.bwp-widget-video.mc-has-mp4 .content-video.mc-mp4-modal.show {
	display: block !important;
}

.bwp-widget-video.mc-has-mp4 .content-video.show .mc-video-modal-backdrop.remove-show-modal {
	display: block;
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(34, 34, 34, 0.6);
	cursor: pointer;
	z-index: 10000;
}

.bwp-widget-video.mc-has-mp4 .content-video.show .mc-video-modal-close {
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	top: 16px;
	right: 16px;
	z-index: 10002;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #222;
	cursor: pointer;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.bwp-widget-video.mc-has-mp4 .mc-video-modal-close__icon {
	font-size: 32px;
	line-height: 1;
	font-weight: 300;
	margin-top: -2px;
}

.bwp-widget-video.mc-has-mp4 .mc-video-modal-close:hover,
.bwp-widget-video.mc-has-mp4 .mc-video-modal-close:focus {
	background: #fa8400;
	color: #fff;
	outline: none;
	transform: scale(1.05);
}

.bwp-widget-video.mc-has-mp4 .content-video.show .modal-dialog {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10001;
	display: block;
	pointer-events: auto;
}

.bwp-widget-video.mc-has-mp4 .content-video .modal-dialog video.mc-home-video-player {
	display: block;
	width: min(900px, 92vw);
	max-width: 92vw;
	height: auto;
	max-height: 80vh;
	background: #000;
	border-radius: 8px;
}

.bwp-widget-video.mc-has-mp4 .content-video.show .modal-dialog,
.bwp-widget-video.mc-has-mp4 .content-video.show .modal-dialog video.mc-home-video-player {
	display: block;
}

body.mc-video-modal-open {
	overflow: hidden;
}
