/* Rounded embed / video lightbox content.
   Do not set overflow on .pswp__zoom-wrap - PhotoSwipe sizes it 0x0 for HTML slides
   (absolute .pswp__content), so overflow:hidden would clip the iframe entirely. */
.pswp.brx .pswp__content:has(iframe),
.pswp.brx .pswp__content:has(video) {
	border-radius: 16px;
	overflow: hidden;
}

.pswp.brx .pswp__content iframe,
.pswp.brx .pswp__content video,
.pswp.brx .bcl-embed-iframe {
	border: 0;
	border-radius: 16px;
	display: block;
	height: 100%;
	width: 100%;
}

html.bcl-lock,
html.bcl-lock body {
	overflow: hidden !important;
	overscroll-behavior: none;
	touch-action: none;
}

.pswp.brx.bcl-no-arrows .pswp__button--arrow--prev,
.pswp.brx.bcl-no-arrows .pswp__button--arrow--next {
	display: none !important;
}

.pswp.brx .bcl-thumbs {
	bottom: 12px;
	display: flex;
	justify-content: center;
	left: 0;
	pointer-events: none;
	position: absolute;
	right: 0;
	z-index: 10000;
}

.pswp.brx .bcl-thumbs__nav {
	display: flex;
	gap: 8px;
	max-width: min(92vw, 720px);
	overflow-x: auto;
	padding: 4px;
	pointer-events: auto;
}

.pswp.brx .bcl-thumbs__nav img {
	border-radius: 6px;
	cursor: pointer;
	flex: 0 0 auto;
	height: 56px;
	object-fit: cover;
	opacity: 0.5;
	width: 56px;
}

.pswp.brx .bcl-thumbs__nav img.active {
	opacity: 1;
	outline: 2px solid #fff;
}
