/*
 * Client lists (inc/clients.php). Figma "About" 2148:43781, section "Clients" 43919:
 * logo wall 43928 (150 × 46 logos, four across, 56 apart), "Who we supply" marquee 43958.
 * Figma "Clientele" 2148:47078: grids 47131 (six across, 100 high cells, 1px Line between).
 */

/* Logo wall */
.tmcl-wall {
	display: grid;
	grid-template-columns: repeat(4, 150px);
	justify-content: space-between;
	align-items: center;
	row-gap: 46px;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}
.tmcl-wall li {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 46px;
}
body .tmcl-wall img {
	display: block;
	width: auto;
	max-width: 150px;
	height: auto;
	max-height: 46px;
	object-fit: contain;
}

/* Clientele grids: six across, hairlines from the gap */
.tmcl-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1px;
	width: 100%;
	margin: 0;
	padding: 0;
	background: var(--line, #E4E4E7);
	list-style: none;
}
.tmcl-grid li {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100px;
	padding: 16px;
	background: var(--white, #FFFFFF);
	text-align: center;
}
.tmcl-grid span {
	color: var(--body, #656569);
	font-size: 14px;
	line-height: 1.45;
}
body .tmcl-grid img {
	display: block;
	width: auto;
	max-width: 150px;
	height: auto;
	max-height: 49px;
	object-fit: contain;
}

/* Who we supply */
.tmcl-marquee {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.tmcl-track {
	display: flex;
	width: max-content;
	animation: tmcl-scroll var(--tmcl-dur, 40s) linear infinite;
}
.tmcl-marquee:hover .tmcl-track {
	animation-play-state: paused;
}
.tmcl-track ul {
	display: flex;
	gap: 64px;
	margin: 0;
	padding: 11px 64px 11px 0;
	list-style: none;
}
.tmcl-track li {
	color: var(--body, #656569);
	font-size: 24px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: -.2px;
	white-space: nowrap;
}
@keyframes tmcl-scroll {
	to {
		transform: translateX(-50%);
	}
}

@media (max-width: 1024px) {
	.tmcl-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.tmcl-wall {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		column-gap: 24px;
	}
	body .tmcl-wall img {
		max-width: 100%;
	}
}
@media (max-width: 767px) {
	.tmcl-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.tmcl-grid li {
		min-height: 76px;
		padding: 12px 8px;
	}
	.tmcl-grid span {
		font-size: 13px;
	}
	body .tmcl-grid img {
		max-height: 34px;
	}
	.tmcl-wall {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		row-gap: 28px;
	}
	.tmcl-wall li {
		height: 40px;
	}
	body .tmcl-wall img {
		max-height: 36px;
	}
	.tmcl-marquee {
		width: 100%;
	}
	.tmcl-track ul {
		gap: 40px;
		padding-right: 40px;
	}
	.tmcl-track li {
		font-size: 20px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.tmcl-marquee {
		-webkit-mask-image: none;
		mask-image: none;
	}
	.tmcl-track {
		width: auto;
		animation: none;
	}
	.tmcl-track ul {
		flex-wrap: wrap;
		gap: 12px 32px;
		padding: 0;
	}
	.tmcl-track ul[aria-hidden] {
		display: none;
	}
}
