/**
 * WDA Trusted Businesses Widget
 * Pixel-matched to the static WDA homepage trusted-businesses marquee section.
 */

.elementor-widget-wda_trusted_businesses,
.elementor-widget-wda_trusted_businesses .elementor-widget-container {
	overflow: visible;
}

.wda-tbg-section {
	--wda-tbg-fade-color: #ffffff;
	--wda-tbg-gap: 3rem;
	position: relative;
	background-color: #ffffff;
	border-top: 1px solid rgba(10, 10, 10, 0.05);
	border-bottom: 1px solid rgba(10, 10, 10, 0.05);
	overflow: hidden;
	padding: 4rem 0;
	box-sizing: border-box;
}

.wda-tbg-section *,
.wda-tbg-section *::before,
.wda-tbg-section *::after {
	box-sizing: border-box;
}

.wda-tbg-container {
	width: 100%;
	max-width: 120rem;
	margin: 0 auto 2.5rem;
	padding: 0 1.5rem;
}

.wda-tbg-heading {
	font-family: "Figtree", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: rgba(10, 10, 10, 0.25);
	text-align: center;
	margin: 0;
}

.wda-tbg-track-wrap {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.wda-tbg-fade {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 8rem;
	z-index: 10;
	pointer-events: none;
}

.wda-tbg-fade-left {
	left: 0;
	background: linear-gradient(to right, var(--wda-tbg-fade-color) 0%, rgba(255, 255, 255, 0) 100%);
}

.wda-tbg-fade-right {
	right: 0;
	background: linear-gradient(to left, var(--wda-tbg-fade-color) 0%, rgba(255, 255, 255, 0) 100%);
}

.wda-tbg-marquee {
	display: flex;
	width: max-content;
	white-space: nowrap;
	align-items: center;
	animation: wda-tbg-marquee var(--wda-tbg-duration, 20s) linear infinite;
	will-change: transform;
}

.wda-tbg-marquee-group {
	display: flex;
	align-items: center;
	gap: var(--wda-tbg-gap);
	padding-right: var(--wda-tbg-gap);
	white-space: nowrap;
	flex: 0 0 auto;
}

.wda-tbg-reverse .wda-tbg-marquee {
	animation-direction: reverse;
}

.wda-tbg-pause-on-hover:hover .wda-tbg-marquee {
	animation-play-state: paused;
}

.wda-tbg-company {
	display: inline-block;
	font-family: "Syne", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1.125rem;
	line-height: 1.75rem;
	font-weight: 800;
	color: rgba(10, 10, 10, 0.10);
	white-space: nowrap;
	cursor: default;
	text-decoration: none;
	transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.wda-tbg-company:hover,
.wda-tbg-company:focus {
	color: rgba(10, 10, 10, 0.35);
	text-decoration: none;
}

@keyframes wda-tbg-marquee {
	0% {
		transform: translate3d(0, 0, 0);
	}
	100% {
		transform: translate3d(-50%, 0, 0);
	}
}

@media (min-width: 768px) {
	.wda-tbg-container {
		padding-left: 3rem;
		padding-right: 3rem;
	}

	.wda-tbg-company {
		font-size: 1.25rem;
		line-height: 1.75rem;
	}
}

@media (min-width: 1024px) {
	.wda-tbg-container {
		padding-left: 5rem;
		padding-right: 5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wda-tbg-marquee {
		animation-duration: 80s;
	}
}
