/* Lightbox (assets/js/lightbox.js) */

.sd-lb {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(0, 0, 0, 0.88);
	color: #fff;
	overflow: hidden;
}

.sd-lb::backdrop {
	background: rgba(0, 0, 0, 0.88);
}

.sd-lb__media {
	position: absolute;
	inset: 5% 8%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sd-lb__media img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.sd-lb__media iframe {
	width: 100%;
	height: 100%;
	max-width: 1100px;
	max-height: 620px;
	aspect-ratio: 16 / 9;
	border: 0;
}

.sd-lb__video {
	max-width: 480px;
	text-align: center;
}

.sd-lb__video .btn {
	border: 0;
	color: #fff;
	font: inherit;
	cursor: pointer;
}

.sd-lb__btn {
	position: absolute;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease;
}

.sd-lb__btn:hover,
.sd-lb__btn:focus-visible {
	background: var(--primary-color, #24a1d6);
}

.sd-lb__close {
	top: 16px;
	right: 16px;
}

.sd-lb__prev,
.sd-lb__next {
	top: 50%;
	transform: translateY(-50%);
}

.sd-lb__prev {
	left: 12px;
}

.sd-lb__next {
	right: 12px;
}

.sd-lb--single .sd-lb__prev,
.sd-lb--single .sd-lb__next {
	display: none;
}

@media (max-width: 700px) {
	.sd-lb__media {
		inset: 64px 4%;
	}
}
