/* Technique Logo Slider */
.tls {
	--tls-height: var(--tls-h, 110px);
	--tls-inactive-opacity: 0.55;
	--tls-arrow-bg: #6b6b6b;
	--tls-arrow-bg-hover: #444;
	--tls-arrow-size: 52px;
	--tls-gap: 24px;
	position: relative;
	width: 100%;
	margin: 0 auto;
	padding: 40px 0;
	box-sizing: border-box;
}

.tls *,
.tls *::before,
.tls *::after {
	box-sizing: border-box;
}

.tls-title {
	margin: 0 0 24px;
	text-align: center;
	font-size: clamp(1.25rem, 2.2vw, 1.9rem);
	font-weight: 400;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #9a9a9a;
}

.tls-stage {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
}

.tls-viewport {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	/* Room for the enlarged centre logo */
	padding: calc(var(--tls-height) * (var(--tls-scale, 1.25) - 1) / 2 + 8px) 0;
	touch-action: pan-y;
}

.tls-track {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
	will-change: transform;
}

.tls-slide {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	height: var(--tls-height);
	margin: 0;
	padding: 0 var(--tls-gap);
	list-style: none;
}

.tls-slide::before,
.tls-slide::marker {
	content: none;
}

.tls-slide a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.tls-slide img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	filter: grayscale(100%);
	opacity: var(--tls-inactive-opacity);
	transform: scale(0.92);
	mix-blend-mode: multiply;
	transition: transform 0.6s ease, filter 0.6s ease, opacity 0.6s ease;
	user-select: none;
	-webkit-user-drag: none;
	pointer-events: none;
}

.tls-slide a img {
	pointer-events: auto;
}

.tls-slide a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

.tls-slide:hover img {
	opacity: 0.85;
}

.tls-slide.is-active {
	position: relative;
	z-index: 2;
}

.tls-slide.is-active img {
	filter: none;
	opacity: 1;
	transform: scale(var(--tls-scale, 1.25));
}

/* Used when the loop jumps between clones */
.tls.is-jumping .tls-slide img {
	transition: none !important;
}

/* Arrows */
.tls-arrow {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--tls-arrow-size);
	height: var(--tls-arrow-size);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--tls-arrow-bg);
	color: #fff;
	cursor: pointer;
	transition: background-color 0.2s ease;
	z-index: 3;
}

.tls-arrow:hover {
	background: var(--tls-arrow-bg-hover);
}

.tls-arrow:focus-visible {
	outline: 2px solid var(--tls-arrow-bg-hover);
	outline-offset: 3px;
}

.tls-arrow svg {
	width: 45%;
	height: 45%;
	fill: none;
	stroke: currentColor;
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Tablet */
@media (max-width: 1024px) {
	.tls {
		--tls-arrow-size: 44px;
		--tls-gap: 18px;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.tls {
		--tls-height: calc(var(--tls-h, 110px) * 0.75);
		--tls-arrow-size: 36px;
		--tls-gap: 12px;
		padding: 24px 0;
	}

	.tls-stage {
		gap: 6px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tls-slide img,
	.tls-track {
		transition: none !important;
	}
}
