/**
 * Frontend CSS for PSC Client Testimonials
 * Scoped styling with protective overrides (!important)
 */

.psc-ct-section {
	font-family: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
	padding: 20px 0px !important;
	border-radius: 28px !important;
	width: 100% !important;
	max-width: 1280px !important;
	margin: 30px auto !important;
	box-sizing: border-box !important;
	color: #0f172a !important;
	overflow: hidden !important;
}

.psc-ct-section * {
	box-sizing: border-box !important;
}

/* Swiper Outer & Slide */
.psc-ct-swiper-container {
	width: 100% !important;
	overflow: hidden !important;
}

.psc-ct-slide {
	height: auto !important;
}

/* Main Quote Area */
.psc-ct-quote-area {
	margin-bottom: 40px !important;
}

.psc-ct-quote-text {
	font-size: 26px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	line-height: 1.45 !important;
	letter-spacing: -0.3px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	quotes: none !important;
	font-family: "Space Grotesk", sans-serif !important;
}

.psc-ct-quote-mark {
	font-size: 32px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	display: inline !important;
}

/* Footer Row: Client Profile & Nav Controls */
.psc-ct-footer-row {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	gap: 20px !important;
}

/* Client Profile Left */
.psc-ct-client-profile {
	display: flex !important;
	align-items: center !important;
	gap: 16px !important;
}

.psc-ct-avatar {
	width: 56px !important;
	height: 56px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	border: 1.5px solid #e2e8f0 !important;
}

.psc-ct-client-details {
	display: flex !important;
	flex-direction: column !important;
	gap: 3px !important;
}

.psc-ct-client-name {
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	margin: 0 !important;
	line-height: 1.2 !important;
}

.psc-ct-client-title {
	font-size: 14px !important;
	font-weight: 500 !important;
	color: #94a3b8 !important;
}

/* Navigation Controls & Live Counter */
.psc-ct-nav-wrapper {
	display: flex !important;
	align-items: center !important;
	gap: 16px !important;
	flex-shrink: 0 !important;
}

.psc-ct-nav-btn {
	width: 48px !important;
	height: 48px !important;
	border-radius: 50% !important;
	border: 1.5px solid #0f172a !important;
	background: transparent !important;
	color: #0f172a !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
	outline: none !important;
	padding: 0 !important;
}

.psc-ct-nav-btn svg {
	width: 18px !important;
	height: 18px !important;
	stroke: currentColor !important;
}

.psc-ct-prev-btn:hover {
	background-color: #0f172a !important;
	color: #ffffff !important;
	transform: translateY(-2px) !important;
}

.psc-ct-next-btn {
	background-color: #0f172a !important;
	color: #ffffff !important;
}

.psc-ct-next-btn:hover {
	background-color: #0066FF !important;
	border-color: #0066FF !important;
	transform: translateY(-2px) !important;
}

.psc-ct-counter {
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	letter-spacing: 0.5px !important;
	user-select: none !important;
}

.psc-ct-current-slide {
	text-decoration: underline !important;
	text-underline-offset: 3px !important;
	font-weight: 800 !important;
}

.psc-ct-counter-sep {
	color: #94a3b8 !important;
	margin: 0 3px !important;
}

.psc-ct-total-slides {
	color: #94a3b8 !important;
}

/* Empty Alert */
.psc-ct-empty-alert {
	background: #1e293b !important;
	color: #f8fafc !important;
	padding: 24px !important;
	border-radius: 12px !important;
	text-align: center !important;
	max-width: 800px !important;
	margin: 20px auto !important;
}

/* Responsive Rules */
@media (max-width: 960px) {
	.psc-ct-section {
		padding: 36px 28px !important;
		border-radius: 20px !important;
	}

	.psc-ct-quote-text {
		font-size: 22px !important;
	}
}

@media (max-width: 640px) {
	.psc-ct-section {
		padding: 28px 20px !important;
	}

	.psc-ct-quote-text {
		font-size: 18px !important;
		line-height: 1.5 !important;
	}

	.psc-ct-footer-row {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 20px !important;
	}

	.psc-ct-nav-wrapper {
		align-self: flex-end !important;
	}
}
