.lightbox-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.85);
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}
.lightbox-overlay.active {
	opacity: 1;
}
.lightbox-content {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	text-align: center;
}
.lightbox-content img {
	max-width: 90vw;
	max-height: 85vh;
	object-fit: contain;
	border: 0;
	display: block;
	margin: 0 auto;
	cursor: default;
}
.lightbox-close {
	position: absolute;
	top: -30px;
	right: -10px;
	color: #fff;
	font-size: 24px;
	cursor: pointer;
	background: none;
	border: none;
	padding: 5px 10px;
	line-height: 1;
	font-family: Arial, sans-serif;
}
.lightbox-close:hover {
	color: #ccc;
}
.lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	color: #fff;
	font-size: 36px;
	cursor: pointer;
	background: none;
	border: none;
	padding: 10px 15px;
	line-height: 1;
	font-family: Arial, sans-serif;
	user-select: none;
}
.lightbox-nav:hover {
	color: #ccc;
}
.lightbox-prev {
	left: -50px;
}
.lightbox-next {
	right: -50px;
}
.lightbox-caption {
	color: #fff;
	text-align: center;
	padding: 8px 0 0;
	font-size: 14px;
}
.lightbox-caption a {
	color: #adf;
	text-decoration: none;
}
.lightbox-caption a:hover {
	text-decoration: underline;
}
.lightbox-counter {
	color: #999;
	font-size: 12px;
	padding-top: 4px;
}

@media (max-width: 768px) {
	.lightbox-content {
		max-width: 100vw;
		max-height: 100vh;
		padding: 0 5px;
		box-sizing: border-box;
	}
	.lightbox-content img {
		max-width: 100%;
		max-height: 80vh;
	}
	.lightbox-prev {
		left: 0;
	}
	.lightbox-next {
		right: 0;
	}
	.lightbox-nav {
		background: rgba(0, 0, 0, 0.4);
		font-size: 28px;
		padding: 10px 8px;
	}
	.lightbox-close {
		top: -28px;
		right: 0;
	}
}