/* Slideshow Styles */

.slideshow {
	position: relative;
	width: 100%;
	background-color: #000;
	border-radius: 8px;
	overflow: hidden;
}

.slideshow-container {
	position: relative;
	width: 100%;
	background-color: #f5f5f5;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 300px;
}

.slide {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: none;
}

.slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background-color: #f5f5f5;
}

/* Caption */
.slideshow-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	padding: 12px 16px;
	font-size: 0.9em;
	text-align: center;
	min-height: 24px;
}

/* Navigation Controls */
.slideshow-controls {
	position: absolute;
	bottom: 50px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	display: flex;
	gap: 12px;
}

.slideshow-prev,
.slideshow-next {
	background-color: rgba(255, 255, 255, 0.8);
	border: none;
	color: #000;
	padding: 8px 12px;
	cursor: pointer;
	border-radius: 4px;
	font-size: 1em;
	font-weight: bold;
	transition: background-color 0.3s ease;
}

.slideshow-prev:hover,
.slideshow-next:hover {
	background-color: #fff;
}

.slideshow-prev:active,
.slideshow-next:active {
	background-color: rgba(200, 200, 200, 0.9);
}

/* Indicators (optional) */
.slideshow-indicators {
	position: absolute;
	bottom: 14px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 6px;
	z-index: 9;
}

.indicator {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.indicator.active {
	background-color: #fff;
}

/* Responsive */
@media screen and (max-width: 736px) {
	.slideshow-container {
		min-height: 200px;
	}

	.slideshow-caption {
		padding: 8px 12px;
		font-size: 0.8em;
	}

	.slideshow-prev,
	.slideshow-next {
		padding: 6px 10px;
		font-size: 0.9em;
	}
}
