/* Halo Testimonial Carousel — base styles. Widget-specific colors/speed are set
   via inline CSS custom properties per-instance, defined in the widget render(). */

.halo-testi-wrap {
	overflow: hidden;
	padding: 40px 0;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.halo-testi-row {
	display: flex;
	gap: 20px;
	width: max-content;
	will-change: transform;
	animation-duration: var(--halo-testi-speed, 40s);
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

.halo-testi-row.halo-row-left {
	animation-name: halo-scroll-left;
}

.halo-testi-row.halo-row-right {
	animation-name: halo-scroll-right;
	margin-top: 20px;
}

.halo-testi-wrap:hover .halo-testi-row {
	animation-play-state: paused;
}

@keyframes halo-scroll-left {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

@keyframes halo-scroll-right {
	from { transform: translateX(-50%); }
	to   { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
	.halo-testi-row {
		animation: none !important;
	}
}

.halo-testi-card {
	flex: 0 0 320px;
	background: var(--halo-testi-card-bg, #F7F9FC);
	border: 1px solid #E5E7EB;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.halo-testi-quote-mark {
	font-family: Georgia, serif;
	font-size: 32px;
	color: var(--halo-testi-accent, #35C8E8);
	line-height: 1;
	margin-bottom: 8px;
	display: block;
}

.halo-testi-text {
	font-size: 15px;
	line-height: 1.6;
	color: #1E293B;
	margin: 0 0 20px;
}

.halo-testi-person {
	display: flex;
	align-items: center;
	gap: 12px;
}

.halo-testi-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--halo-testi-avatar-bg, #0A3DAA);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 14px;
	flex-shrink: 0;
	overflow: hidden;
}

.halo-testi-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.halo-testi-name {
	font-weight: 600;
	font-size: 14px;
	color: #1E293B;
	margin: 0;
}

.halo-testi-role {
	font-size: 12px;
	color: #64748B;
	margin: 0;
}
