.carousel-container {
	display: flex;
	align-items: center;
	width: 100%;
	gap: 10px;
}

.carousel-wrapper {
	flex: 1;
	overflow: hidden;
}

.carousel-track {
	width: calc(100% - 58px);
	display: flex;
	transition: transform 0.4s ease;
}

.carousel-slide {
	padding: 10px;
	flex: 0 0 33.333%;
}

@media(max-width: 1024px) {

	.carousel-track {
		width: calc(100% - 40px);
	}

	.carousel-slide {
		flex: 0 0 50%;
	}

}

@media(max-width:768px) {

	.carousel-track {
		width: calc(100% - 20px);
	}

	.carousel-slide {
		flex: 0 0 100%;
	}

}


.image-box {
	width: 100%;
	aspect-ratio: 1/1;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	cursor: pointer;
}

.caption {
	text-align: center;
	padding: 12px 5px;
}

.carousel-btn {
	position: static;
	transform: none;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	background: none;
	border: none;
	font-size: 40px;
	padding: 0;
	color: var(--link-graphic-color);
}

.carousel-btn:hover {
	background: none;
	color: #000000;
}

.carousel-btn-prev {
	left: 5px;
}

.carousel-btn-next {
	right: 5px;
}


.carousel-dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 20px;
}

.carousel-dot {
	width: 12px;
	height: 12px;
	border-radius: 12px;
	border: none;
	background: #CCCCCC;
	cursor: pointer;
	transition: 0.3s;
	padding: 0;
}

.carousel-dot.active {
	background: #000000;
}


/* LIGHTBOX */

.lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.95);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.lightbox.active {
	display: flex;
}

.lightbox-image {
	width: 90%;
	height: 90%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.lightbox-close {
	position: absolute;
	top: 20px;
	right: 25px;
	color: white;
	font-size: 40px;
	cursor: pointer;
	line-height: 1;
}

.lightbox-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	color: white;
	font-size: 60px;
	cursor: pointer;
	user-select: none;
	padding: 20px;
}

.lightbox-prev {
	left: 20px;
}

.lightbox-next {
	right: 20px;
}