/* Infographic lightbox (X29 task 1). Loaded with assets/lightbox/lightbox.js on single posts and the EWD page. */
.mv-zoomable { cursor: zoom-in; }
.mv-zoomable:focus-visible { outline: 3px solid #ff6b2c; outline-offset: 3px; }

html.mv-lightbox-open { overflow: hidden; }

.mv-lightbox { position: fixed; inset: 0; z-index: 2147483000; overflow: auto; overscroll-behavior: contain; background: rgba(8, 52, 35, .92); cursor: zoom-out; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y pinch-zoom; }
.mv-lightbox[hidden] { display: none; }
.mv-lightbox-stage { box-sizing: border-box; display: flex; align-items: center; justify-content: center; min-height: 100%; padding: 64px 24px 32px; }
.mv-lightbox-img { display: block; max-width: 100%; height: auto; border-radius: 8px; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); cursor: default; }
.mv-lightbox-close { position: fixed; top: 14px; right: 14px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; background: rgba(8, 52, 35, .7); color: #fff; font: 400 30px/1 Arial, sans-serif; cursor: pointer; }
.mv-lightbox-close:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.mv-lightbox-close:focus-visible { outline: 3px solid #ff6b2c; outline-offset: 2px; }
.mv-lightbox-close span { margin-top: -3px; }

@media (max-width: 767px) {
	.mv-lightbox-stage { padding: 64px 12px 24px; }
	.mv-lightbox-close { top: 10px; right: 10px; }
}
