/* Agrandissement opt-in des images de contenu SCE. */
img.sce-image-enlargeable {
	cursor: zoom-in;
}
img.sce-image-enlargeable:focus-visible {
	outline: 3px solid var(--nd-accent, var(--principal, #2271b1));
	outline-offset: 3px;
}
.sce-image-lightbox-open {
	overflow: hidden;
}
.sce-image-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	padding: clamp(16px, 3vw, 40px);
	background: rgba(8, 13, 20, .88);
	backdrop-filter: blur(4px);
}
.sce-image-lightbox__panel {
	position: relative;
	display: grid;
	place-items: center;
	max-width: 94vw;
	max-height: 94vh;
}
.sce-image-lightbox__image {
	display: block;
	width: auto;
	height: auto;
	max-width: 94vw;
	max-height: 86vh;
	margin: 0;
	object-fit: contain;
	background: #fff;
	box-shadow: 0 18px 55px rgba(0, 0, 0, .42);
}
.sce-image-lightbox__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .65);
	border-radius: 50%;
	background: rgba(0, 0, 0, .58);
	color: #fff;
	font: 32px/1 Arial, sans-serif;
	cursor: pointer;
	box-shadow: none;
}
.sce-image-lightbox__close:hover,
.sce-image-lightbox__close:focus,
.sce-image-lightbox__close:focus-visible {
	background: rgba(0, 0, 0, .82) !important;
	color: #fff !important;
	outline: 2px solid #fff;
	outline-offset: 2px;
}
.sce-image-lightbox__caption {
	max-width: min(82ch, 90vw);
	margin: 10px 0 0;
	color: #fff;
	font-size: .9rem;
	line-height: 1.45;
	text-align: center;
}
@media (max-width: 600px) {
	.sce-image-lightbox { padding: 12px; }
	.sce-image-lightbox__image { max-width: 96vw; max-height: 82vh; }
	.sce-image-lightbox__close { top: 6px; right: 6px; width: 38px; height: 38px; }
}
