/* CCA Slideshow — front end. Scoped under .cca-ss */

.cca-ss {
	position: relative;
	max-width: 1100px;
	margin: 0 auto;
	box-sizing: border-box;
}

.cca-ss * {
	box-sizing: border-box;
}

.cca-ss-viewport {
	overflow: hidden;
	width: 100%;
	border-radius: 10px;
}

.cca-ss-track {
	display: flex;
	transition: transform 0.5s ease;
	will-change: transform;
}

.cca-ss-slide {
	flex: 0 0 100%;
	min-width: 100%;
	line-height: 0; /* remove inline-image gap */
}

.cca-ss-slide img {
	display: block;
	width: 100%;
	height: auto;
}

.cca-ss-slide a {
	display: block;
}

/* Arrows */
.cca-ss-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	border: none;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-size: 1.1rem;
	cursor: pointer;
	z-index: 2;
	transition: background 0.2s ease;
}

.cca-ss-nav:hover {
	background: rgba(0, 0, 0, 0.75);
}

.cca-ss-prev { left: 14px; }
.cca-ss-next { right: 14px; }

/* Dots */
.cca-ss-dots {
	display: flex;
	justify-content: center;
	gap: 9px;
	margin-top: 14px;
}

.cca-ss-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: none;
	padding: 0;
	background: #ccc;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.cca-ss-dot.is-active {
	background: #c0392b;
	transform: scale(1.25);
}

@media (max-width: 680px) {
	.cca-ss-nav {
		width: 36px;
		height: 36px;
	}
}

/* Section heading above the slideshow */
.cca-ss-heading {
	text-align: center;
	margin: 0 auto 22px;
	padding-top: 48px;
	font-size: 2rem;
	line-height: 1.2;
	font-weight: 700;
}
