/* Lightweight image lightbox for attachment thumbnails */
.mb-lightbox {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1.2rem;
	background: rgba(10, 20, 30, 0.78);
	backdrop-filter: blur(2px);
	z-index: 9999;
}

.mb-lightbox.is-open {
	display: flex;
}

.mb-lightbox__dialog {
	position: relative;
	max-width: min(92vw, 1180px);
	max-height: 90vh;
}

.mb-lightbox__img {
	display: block;
	max-width: 100%;
	max-height: 90vh;
	width: auto;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
	background: #ffffff;
}

.mb-lightbox__close {
	position: absolute;
	top: -0.5rem;
	right: -0.5rem;
	width: 2.15rem;
	height: 2.15rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #ffffff;
	color: #17384b;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}
