.ajupy-client-scroller {
	--ajupy-tcs-text: #ffffff;
	--ajupy-tcs-muted: rgba(255, 255, 255, 0.22);
	--ajupy-tcs-accent: #1597ff;
	--ajupy-tcs-duration: 32s;
	display: block;
	position: relative;
	width: 100%;
	overflow: hidden;
	padding: 18px 0;
	background: transparent;
	color: var(--ajupy-tcs-text);
	font-family: inherit;
}

.ajupy-client-scroller::before,
.ajupy-client-scroller::after {
	content: "";
	position: absolute;
	z-index: 2;
	top: 0;
	bottom: 0;
	width: clamp(24px, 6vw, 84px);
	pointer-events: none;
}

.ajupy-client-scroller::before {
	left: 0;
	background: linear-gradient(90deg, var(--ajupy-tcs-fade, #050b20), transparent);
}

.ajupy-client-scroller::after {
	right: 0;
	background: linear-gradient(270deg, var(--ajupy-tcs-fade, #050b20), transparent);
}

.ajupy-client-scroller__track {
	display: flex;
	width: max-content;
	animation: ajupy-tcs-scroll var(--ajupy-tcs-duration) linear infinite;
	will-change: transform;
}

.ajupy-client-scroller__group {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: clamp(28px, 5vw, 76px);
	padding-right: clamp(28px, 5vw, 76px);
}

.ajupy-client-scroller__name {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	font-size: clamp(15px, 1.45vw, 21px);
	font-weight: 600;
	letter-spacing: 0.015em;
	line-height: 1.4;
	color: var(--ajupy-tcs-text);
	transition: color 180ms ease, opacity 180ms ease;
}

.ajupy-client-scroller__name::after {
	content: "";
	width: 6px;
	height: 6px;
	margin-left: clamp(28px, 5vw, 76px);
	border-radius: 50%;
	background: var(--ajupy-tcs-accent);
	box-shadow: 0 0 12px rgba(21, 151, 255, 0.55);
}

.ajupy-client-scroller__name:hover {
	color: var(--ajupy-tcs-accent);
}

.ajupy-client-scroller:hover .ajupy-client-scroller__track,
.ajupy-client-scroller:focus-within .ajupy-client-scroller__track {
	animation-play-state: paused;
}

.ajupy-client-scroller--right .ajupy-client-scroller__track {
	animation-name: ajupy-tcs-scroll-right;
}

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

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

@media (max-width: 600px) {
	.ajupy-client-scroller {
		padding: 14px 0;
	}
	.ajupy-client-scroller__group {
		gap: 24px;
		padding-right: 24px;
	}
	.ajupy-client-scroller__name {
		font-size: 14px;
	}
	.ajupy-client-scroller__name::after {
		margin-left: 24px;
		width: 5px;
		height: 5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ajupy-client-scroller {
		overflow-x: auto;
	}
	.ajupy-client-scroller__track {
		animation: none;
	}
	.ajupy-client-scroller__group[aria-hidden="true"] {
		display: none;
	}
}
