.lightbox-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox-content {
	position: relative;
	max-width: 80vw;
	max-height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox-content img {
	max-width: 100%;
	max-height: 85vh;
	object-fit: contain;
	display: block;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
	position: absolute;
	background: rgba(0, 0, 0, 0.5);
	border: none;
	color: white;
	font-size: 2em;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease;
	border-radius: 4px;
	padding: 10px 15px;
}

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover {
	background-color: rgba(127, 127, 127, 0.75);
}

.lightbox-close {
	top: -60px;
	right: 0;
}

.lightbox-close:hover {
	opacity: 0.7;
}

.lightbox-prev,
.lightbox-next {
	top: 50%;
	transform: translateY(-50%);
}

.lightbox-prev {
	left: -60px;
}

.lightbox-next {
	right: -60px;
}

@media (max-width: 768px) {
	.lightbox-content {
		max-width: 100vw;
	}
	.lightbox-prev {
		left: 30%;
		top: unset;
		bottom: -100px;
	}
	.lightbox-next {
		right: 30%;
		top: unset;
		bottom: -100px;
	}
}