/* ===============================
   Chip Anderson — Testimonials
   Base structural styles
   (Colors / spacing / sizes are controlled from Elementor panel)
   =============================== */

.ca-testi-wrap {
	width: 100%;
	box-sizing: border-box;
}

.ca-testi-wrap *,
.ca-testi-wrap *::before,
.ca-testi-wrap *::after {
	box-sizing: border-box;
}

.ca-testi-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.ca-testi-title-block {
	max-width: 900px;
}

.ca-testi-title {
	margin: 0 0 14px;
	line-height: 1;
}

.ca-testi-underline {
	display: block;
	width: 245px;
	max-width: 40%;
	height: 2px;
	margin-bottom: 20px;
}

.ca-testi-desc {
	margin: 0;
	max-width: 680px;
}

.ca-testi-nav {
	display: flex;
	gap: 16px;
	flex-shrink: 0;
}

.ca-testi-nav button {
	border-radius: 100px;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.ca-testi-nav button:hover {
	transform: translateY(-2px);
}

.ca-testi-nav button:disabled {
	opacity: 0.35;
	cursor: not-allowed;
	transform: none;
}

.ca-testi-nav svg {
	width: 40%;
	height: 40%;
}

.ca-testi-prev {
	border: 1px solid #ffffff;
}

/* ============ TRACK / CARDS ============ */
.ca-testi-track-wrap {
	overflow: hidden;
	width: 100%;
}

.ca-testi-track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.ca-testi-track::-webkit-scrollbar {
	display: none;
}

.ca-testi-card {
	flex: 0 0 auto;
	scroll-snap-align: start;
	display: flex;
	align-items: stretch;
	gap: 40px;
}

.ca-testi-text-col {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.ca-testi-quote {
	margin: 0;
}

.ca-testi-person {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 32px;
}

.ca-testi-avatar {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-weight: 600;
	overflow: hidden;
}

.ca-testi-avatar-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ca-testi-person-info {
	min-width: 0;
}

.ca-testi-name {
	display: block;
}

.ca-testi-role {
	display: block;
}

.ca-testi-image-col {
	flex: 0 0 auto;
	overflow: hidden;
}

.ca-testi-image-col img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 900px) {
	.ca-testi-card {
		flex-direction: column;
	}
	.ca-testi-image-col {
		flex-basis: auto !important;
		width: 100% !important;
		height: 220px;
		order: -1;
	}
	.ca-testi-header {
		flex-direction: column;
	}
	.ca-testi-nav {
		align-self: flex-end;
	}
}

/* ============ PROGRESS BAR ============ */
.ca-testi-progress-track {
	position: relative;
	width: 100%;
	border-radius: 24px;
	overflow: hidden;
	margin-top: 40px;
}

.ca-testi-progress-fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	border-radius: 24px;
	transition: width 0.25s ease, left 0.25s ease;
}
