.wp-block-custom-client-logo-ticker.cltb-ticker {
	--cltb-duration: 35s;
	position: relative;
	width: 100%;
	overflow: hidden;
	box-sizing: border-box;
	padding: 18px 0;
	background: #f8f4ea;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cltb-ticker::before,
.cltb-ticker::after {
	content: "";
	position: absolute;
	z-index: 2;
	top: 0;
	bottom: 0;
	width: 60px;
	pointer-events: none;
}

.cltb-ticker::before {
	left: 0;
	background: linear-gradient(to right, var(--cltb-edge-color, rgba(248, 244, 234, 0.95)), transparent);
}

.cltb-ticker::after {
	right: 0;
	background: linear-gradient(to left, var(--cltb-edge-color, rgba(248, 244, 234, 0.95)), transparent);
}

.cltb-track {
	display: flex;
	width: max-content;
	animation: cltb-scroll var(--cltb-duration) linear infinite;
	will-change: transform;
}

.cltb-group {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 52px;
	padding-right: 52px;
}

.cltb-client {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: max-content;
	color: #242424;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	white-space: nowrap;
}

.cltb-client img {
	display: block;
	width: 64px;
	height: 48px;
	object-fit: contain;
	opacity: 0.92;
	transition: filter 0.25s ease, opacity 0.25s ease;
}

.cltb-grayscale .cltb-client img {
	filter: grayscale(100%);
}

.cltb-client:hover img {
	filter: none;
	opacity: 1;
}

.cltb-pause-on-hover:hover .cltb-track {
	animation-play-state: paused;
}

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

@media (max-width: 767px) {
	.wp-block-custom-client-logo-ticker.cltb-ticker {
		padding: 14px 0;
	}

	.cltb-group {
		gap: 34px;
		padding-right: 34px;
	}

	.cltb-client {
		font-size: 14px;
	}

	.cltb-client img {
		width: 48px;
		height: 38px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cltb-track {
		animation-play-state: paused;
	}
}
