/* JN-eigene Lightbox für featured-images (News-Teaser) */
.jn-lightbox-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(10, 14, 16, 0.92);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: zoom-out;
	padding: 2rem;
}
.jn-lightbox-overlay figure {
	margin: 0;
	max-width: 95vw;
	max-height: 92vh;
}
.jn-lightbox-overlay img {
	display: block;
	max-width: 100%;
	max-height: 92vh;
	width: auto;
	height: auto;
	object-fit: contain;
	box-shadow: 0 10px 50px rgba(0, 0, 0, 0.6);
	border-radius: 4px;
}
.jn-lightbox-close {
	position: absolute;
	top: 1rem;
	right: 1.25rem;
	background: transparent;
	border: none;
	color: #fff;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	padding: 0.25rem 0.5rem;
	opacity: 0.85;
}
.jn-lightbox-close:hover {
	opacity: 1;
}
body.jn-lightbox-offen {
	overflow: hidden;
}
