/* Logo Carousel – front end */

.logo-carousel {
	display: flex;
	flex-direction: column;
	gap: var(--lc-row-gap, 20px);
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.logo-carousel .lc-row {
	width: 100%;
	overflow: hidden;
}

.logo-carousel .lc-track {
	display: flex;
	width: max-content;
}

.logo-carousel .lc-track.is-running {
	animation: logo-carousel-scroll var(--lc-duration, 30s) linear infinite;
	will-change: transform;
}

.logo-carousel .lc-set {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Spacing sits after each logo (not CSS gap) so one set is exactly one loop. */
.logo-carousel .lc-item {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	margin: 0;
	padding: 0 var(--lc-gap, 40px) 0 0;
	list-style: none;
}

.logo-carousel .lc-item::before,
.logo-carousel .lc-item::marker {
	content: none;
}

.logo-carousel img.lc-logo {
	display: block;
	width: auto;
	height: auto;
	min-width: var(--lc-min-w, 0);
	max-width: var(--lc-max-w, none);
	min-height: var(--lc-min-h, 0);
	max-height: var(--lc-max-h, none);
	margin: 0;
	object-fit: contain;
	box-shadow: none;
}

@keyframes logo-carousel-scroll {
	from {
		transform: translate3d(0, 0, 0);
	}
	to {
		transform: translate3d(calc(-1 * var(--lc-shift, 0px)), 0, 0);
	}
}
