/* 0.55.12 · Galeri foto event: kartu portrait dan pop-up (lightbox). */
.beeang-event-public__gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 12px;
}
.beeang-event-public__gallery-grid > a {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border: 1px solid #e1eaef;
	border-radius: 14px;
	background: #f1f6f8;
	cursor: zoom-in;
}
.beeang-event-public__gallery-grid > a img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.beeang-event-public__gallery-grid > a > span {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 18px 10px 8px;
	background: linear-gradient(transparent, rgba(8, 20, 28, 0.75));
	color: #ffffff;
	font-size: 12px;
	line-height: 1.35;
}
.beeang-gallery-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 56px 64px;
	background: rgba(8, 20, 28, 0.86);
}
.beeang-gallery-lightbox.is-open {
	display: flex;
}
.beeang-gallery-lightbox figure {
	display: grid;
	gap: 10px;
	justify-items: center;
	margin: 0;
	max-width: 100%;
	max-height: 100%;
}
.beeang-gallery-lightbox img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 140px);
	border-radius: 12px;
	background: #ffffff;
	object-fit: contain;
}
.beeang-gallery-lightbox figcaption {
	color: #ffffff;
	font-size: 14px;
	text-align: center;
}
.beeang-gallery-lightbox__close,
.beeang-gallery-lightbox__nav {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 999px;
	background: #ffffff;
	color: #0f2f3c;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}
.beeang-gallery-lightbox__close {
	top: 16px;
	right: 16px;
}
.beeang-gallery-lightbox__nav.is-prev {
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
}
.beeang-gallery-lightbox__nav.is-next {
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
}
@media (max-width: 640px) {
	.beeang-gallery-lightbox {
		padding: 56px 12px;
	}
	.beeang-gallery-lightbox__nav {
		top: auto;
		bottom: 16px;
		transform: none;
	}
	.beeang-gallery-lightbox__nav.is-prev {
		left: 16px;
	}
	.beeang-gallery-lightbox__nav.is-next {
		right: 16px;
	}
}
