/* A locally scoped, continuously looping certification logo marquee. */
#sponsors .arxedo-sponsors__marquee {
	position: relative;
	width: 100%;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
}

#sponsors .arxedo-sponsors__track {
	display: flex;
	align-items: center;
	width: max-content;
	transform: translate3d(0, 0, 0);
}

#sponsors .arxedo-sponsors__track.is-animating {
	animation: arxedo-sponsor-marquee var(--sponsors-duration, 40s) linear infinite;
	animation-delay: var(--sponsors-delay, 0s);
}

#sponsors .arxedo-sponsors__group {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-start !important;
	width: max-content;
	gap: var(--arx-layout-gap, var(--arx-preset--spacing--50, 2rem));
	padding-inline-end: var(--arx-layout-gap, var(--arx-preset--spacing--50, 2rem));
}

#sponsors .arxedo-sponsor {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	margin: 0;
}

#sponsors .arxedo-sponsor img {
	display: block;
	width: auto;
	max-width: none;
	height: 56px !important;
	object-fit: contain;
}

#sponsors:not(.is-marquee-ready) .arxedo-sponsors__marquee {
	overflow: visible;
	-webkit-mask-image: none;
	mask-image: none;
}

#sponsors:not(.is-marquee-ready) .arxedo-sponsors__group {
	width: auto;
	flex-wrap: wrap;
	justify-content: center;
	padding-inline-end: 0;
}

@keyframes arxedo-sponsor-marquee {
	to {
		transform: translate3d(calc(0px - var(--sponsors-distance, 1000px)), 0, 0);
	}
}

@media (max-width: 600px) {
	#sponsors .arxedo-sponsor img {
		height: 44px !important;
	}

	#sponsors .arxedo-sponsors__group {
		gap: clamp(1.25rem, 6vw, 2rem);
		padding-inline-end: clamp(1.25rem, 6vw, 2rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	#sponsors .arxedo-sponsors__marquee {
		overflow: visible;
		-webkit-mask-image: none;
		mask-image: none;
	}

	#sponsors .arxedo-sponsors__track,
	#sponsors .arxedo-sponsors__track.is-animating {
		display: block;
		width: 100%;
		transform: none !important;
		animation: none !important;
	}

	#sponsors .arxedo-sponsors__group {
		width: auto;
		flex-wrap: wrap;
		justify-content: center;
		padding-inline-end: 0;
	}

	#sponsors .arxedo-sponsors__group[aria-hidden="true"],
	#sponsors .arxedo-sponsor.is-marquee-copy {
		display: none !important;
	}
}
