/* ==========================================================================
   testimonials-slider.css — Shared "Client Reviews" carousel component
   Used by: page-services.php, page-collections.php (and any future page)
   Markup: template-parts/testimonials-slider.php
   Prefix: col-testi- (historical, kept for stability — not collections-only)
   ========================================================================== */

.col-testi {
	background: #f8fafc;
	padding: 50px 0;
}

/* Section always sits on the light #f8fafc background above — the shared
   .lp-eyebrow / .lp-section-title em defaults use the bright brand cyan,
   which is correct on dark hero sections but fails contrast here. */
.col-testi .lp-eyebrow {
	color: var(--nw-cyan-text);
}

.col-testi .lp-section-title em {
	color: var(--nw-cyan-text) !important;
}

.col-testi-slider {
	position: relative;
	overflow: hidden;
}

.col-testi-track {
	display: flex;
	gap: 18px;
	position: relative;
	transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	will-change: transform;
}

.col-testi-card {
	flex: 0 0 auto;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 22px 20px;
	display: flex;
	flex-direction: column;
}

.col-testi-card__stars {
	color: #fbbf24;
	font-size: 15px;
	letter-spacing: 2px;
	margin-bottom: 12px;
}

.col-testi-card__quote {
	font-style: italic;
	font-size: 14px;
	color: #374151;
	line-height: 1.7;
	flex: 1;
	margin: 0 0 16px;
}

.col-testi-card__quote p { margin: 0; }

.col-testi-card__author {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-top: 14px;
	border-top: 1px solid #e5e7eb;
}

.col-testi-card__avatar {
	width: 38px;
	height: 38px;
	min-width: 38px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	background: #e0f2fe;
	color: #045f8c;
}

.col-testi-card__avatar--b { background: #ecfdf5; color: #065f46; }
.col-testi-card__avatar--c { background: #f5f3ff; color: #5b21b6; }
.col-testi-card__avatar--d { background: #fef3c7; color: #92400e; }
.col-testi-card__avatar--e { background: #fce7f3; color: #9d174d; }
.col-testi-card__avatar--f { background: #ede9fe; color: #5b21b6; }

.col-testi-card__author strong {
	display: block;
	font-size: 13px;
	color: #111827;
	font-weight: 700;
}

.col-testi-card__author span {
	display: block;
	font-size: 11px;
	color: #6b7280;
}

.col-testi-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 28px;
}

.col-testi-dots {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* !important: defeats Elementor's global kit button styles bleeding into these */
.col-testi-dot {
	display: block !important;
	width: 6px !important;
	height: 6px !important;
	min-width: unset !important;
	border-radius: 3px !important;
	background: #c8cdd6;
	background-image: none !important;
	border: 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.25s, width 0.25s;
}

.col-testi-dot.is-active {
	background-color: var(--nw-cyan) !important;
	width: 18px !important;
	border-radius: 3px !important;
}

.col-testi-arrows {
	display: flex;
	gap: 6px;
}

.col-testi-arrow {
	background-color: #fff !important;
	background-image: none !important;
	width: 28px !important;
	height: 28px !important;
	min-width: unset !important;
	padding: 0 !important;
	border-radius: 50% !important;
	border: 1px solid #d1d5db !important;
	color: #374151 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
	box-shadow: none !important;
	text-transform: none !important;
	cursor: pointer;
	transition: color 0.2s, border-color 0.2s;
}

.col-testi-arrow:hover {
	background-color: #fff !important;
	color: var(--nw-navy) !important;
	border-color: #9ca3af !important;
}

.col-testi-arrow:disabled {
	opacity: 0.25 !important;
	cursor: default;
	pointer-events: none;
}

@media (max-width: 767px) {
	.col-testi-grid { grid-template-columns: 1fr; }
}
