/* E2Web logo marquee: only the animation lives here; sizes and gaps are in the blocks' GenerateBlocks styles.
   The script sets --e2-marquee-distance (one row's width) and --e2-marquee-duration (constant speed). */
@keyframes e2-marquee {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(calc(-1 * var(--e2-marquee-distance, 100%)), 0, 0); }
}
[data-marquee].is-running > [data-track] {
	animation: e2-marquee var(--e2-marquee-duration, 35s) linear infinite;
	will-change: transform;
	backface-visibility: hidden;
}
@media (hover: hover) and (pointer: fine) {
	[data-marquee]:has(img:hover) > [data-track] { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
	[data-marquee] { overflow-x: auto; }
	[data-marquee].is-running > [data-track] { animation: none; }
	[data-marquee] > [data-marquee-copy] { display: none; }
}
