body {
	font-family: sans-serif;
	padding: 20px;
}

.figure img {
	cursor: pointer;
	transition: opacity 0.3s;
	display: block;
}

.figure img:hover {
	opacity: 0.8;
}

.caption {
	text-align: center;
	color: #666;
	font-size: 0.9em;
	margin-top: 5px;
}

/* Lightbox Styles */
.lightbox-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
}

.lightbox-overlay.active {
	opacity: 1;
	visibility: visible;
}

.lightbox-content {
	height: 90vh;
	width: auto;
	max-width: 90vw;
	object-fit: contain;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
	position: relative;
	/* For close button positioning if needed inside, but we'll put it outside/fixed */
}

.lightbox-close {
	position: absolute;
	top: 20px;
	right: 30px;
	color: white;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
	z-index: 1001;
	user-select: none;
	line-height: 1;
}

.lightbox-close:hover {
	color: #ccc;
}
