/* Bitpage Bild-Lightbox (2026-10-17) */
html.bp-lb-open { overflow: hidden; }
.bp-lb {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(17, 17, 17, 0.92);
	opacity: 0;
	transition: opacity 0.18s ease;
	-webkit-tap-highlight-color: transparent;
}
.bp-lb[hidden] { display: none; }
.bp-lb.bp-lb-visible { opacity: 1; }
.bp-lb-fig {
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: calc(100vw - 120px);
}
.bp-lb-img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 110px);
	width: auto;
	height: auto;
	background: #fff;
	box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
	cursor: pointer;
	transition: opacity 0.15s ease;
}
.bp-lb.bp-lb-loading .bp-lb-img { opacity: 0.35; }
.bp-lb-cap {
	margin-top: 10px;
	max-width: 900px;
	color: #e6e6e6;
	font: 14px/1.5 "Noto Sans", sans-serif;
	text-align: center;
}
.bp-lb-cap[hidden] { display: none; }
.bp-lb-count {
	position: absolute;
	left: 16px;
	top: 14px;
	color: #bdbdbd;
	font: 13px/1 "Noto Sans", sans-serif;
}
.bp-lb-btn {
	position: absolute;
	border: 0;
	padding: 0;
	margin: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font: 34px/48px sans-serif;
	text-align: center;
	cursor: pointer;
	transition: background 0.15s ease;
}
.bp-lb-btn:hover,
.bp-lb-btn:focus-visible { background: rgba(255, 255, 255, 0.28); outline: 2px solid #fff; outline-offset: 2px; }
.bp-lb-btn[hidden] { display: none; }
.bp-lb-close { top: 10px; right: 10px; font-size: 30px; }
.bp-lb-prev { left: 12px; top: 50%; margin-top: -24px; }
.bp-lb-next { right: 12px; top: 50%; margin-top: -24px; }
@media (max-width: 600px) {
	.bp-lb-fig { max-width: 100vw; }
	.bp-lb-img { max-height: calc(100vh - 140px); }
	.bp-lb-prev, .bp-lb-next { top: auto; bottom: 14px; margin-top: 0; }
	.bp-lb-prev { left: calc(50% - 60px); }
	.bp-lb-next { right: calc(50% - 60px); }
}
@media (prefers-reduced-motion: reduce) {
	.bp-lb, .bp-lb-img { transition: none; }
}
