/*
 * Our Customers — Embla logo carousel [led_customers]
 * Fixed 160×100 slide box → no CLS; skel until img load.
 */

.led-customers {
	width: 100%;
}

.led-customers__title {
	margin-block: var(--space-6, 1.5rem) var(--space-4, 1rem);
	font-size: 18px;
	font-weight: var(--font-weight-bold, 700);
	line-height: 24.51px;
	text-align: center;
}

.led-customers__banner {
	display: flex;
	align-items: center;
	gap: var(--space-2, 0.5rem);
	height: 110px;
	width: 100%;
}

.led-customers__viewport {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	height: 100px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.led-customers__container {
	display: flex;
	touch-action: pan-y pinch-zoom;
	height: 100%;
}

.led-customers__slide {
	position: relative;
	flex: 0 0 auto;
	width: 160px;
	height: 100px;
	margin-right: var(--space-4, 1rem);
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.led-customers__skel {
	position: absolute;
	inset: 12px 20px;
	border-radius: 4px;
	background: linear-gradient(
		90deg,
		var(--color-neutral-100, #ededed) 0%,
		var(--color-neutral-50, #f5f5f5) 50%,
		var(--color-neutral-100, #ededed) 100%
	);
	background-size: 200% 100%;
	animation: led-customers-shimmer 1.2s ease-in-out infinite;
}

.led-customers__slide.is-loaded .led-customers__skel {
	display: none;
	animation: none;
}

a.led-customers__link {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 160px;
	height: 100px;
	text-decoration: none;
	color: inherit;
}

a.led-customers__link:focus-visible {
	outline: 2px solid var(--color-secondary, #1c86ff);
	outline-offset: 2px;
	border-radius: 4px;
}

@keyframes led-customers-shimmer {
	0% {
		background-position: 100% 0;
	}
	100% {
		background-position: -100% 0;
	}
}

.led-customers__img,
.led-customers__slide img {
	position: relative;
	z-index: 1;
	display: block;
	width: 160px;
	height: 100px;
	max-width: 100%;
	object-fit: contain;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.led-customers__slide.is-loaded .led-customers__img,
.led-customers__slide.is-loaded img {
	opacity: 1;
}

.led-customers__slide.is-loaded .led-customers__link .led-customers__img,
.led-customers__slide.is-loaded .led-customers__link img {
	opacity: 1;
}

.led-customers__prev,
.led-customers__next {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--color-text-muted, #565656);
	font-size: 46px;
	line-height: 1;
	cursor: pointer;
	user-select: none;
}

.led-customers__prev:hover,
.led-customers__next:hover {
	color: var(--color-text, #000);
}

.led-customers__prev:disabled,
.led-customers__next:disabled {
	opacity: 0.35;
	cursor: default;
}

@media only screen and (max-width: 600px) {
	.led-customers__prev,
	.led-customers__next {
		font-size: 40px;
		width: 36px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.led-customers__skel {
		animation: none;
	}

	.led-customers__img,
	.led-customers__slide img {
		transition: none;
	}
}
