/* Rocket Builder – Lightbox. (c) rocketsuits – GPL-2.0-or-later */
.rb-lightbox:where(.rb-el,.rb-el *) {
	width: 100vw; height: 100vh; max-width: none; max-height: none;
	margin: 0; padding: 0; border: 0;
	background: rgba(10, 12, 16, 0.92); color: #fff;
}
.rb-lightbox:where(.rb-el,.rb-el *)::backdrop { background: rgba(10, 12, 16, 0.6); }
.rb-lb-open { overflow: hidden; }
.rb-lb-figure {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	width: 100%; height: 100%; margin: 0; padding: 60px 70px; box-sizing: border-box;
}
.rb-lb-img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4); }
.rb-lb-caption { margin-top: 14px; font-size: 15px; text-align: center; max-width: 900px; }
.rb-lb-btn {
	position: absolute; display: flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; padding: 0;
	background: rgba(255, 255, 255, 0.12); color: #fff; border: 0; border-radius: 50%; cursor: pointer;
}
.rb-lb-btn:hover, .rb-lb-btn:focus-visible { background: rgba(255, 255, 255, 0.28); outline: 2px solid #fff; outline-offset: 2px; }
.rb-lb-close { top: 14px; right: 14px; }
.rb-lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.rb-lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.rb-lightbox.is-single:where(.rb-el,.rb-el *) .rb-lb-prev, .rb-lightbox.is-single:where(.rb-el,.rb-el *) .rb-lb-next { display: none; }
.rb-lb-counter { position: absolute; top: 26px; left: 24px; font-size: 14px; opacity: 0.8; }
@media (max-width: 600px) {
	.rb-lb-figure { padding: 60px 10px; }
	.rb-lb-prev, .rb-lb-next { top: auto; bottom: 14px; transform: none; }
}
