/*
 * TOPOSEL Home – "Our Platforms" logo band.
 * Scoped under .tsl-home; loaded ONLY on the approved test page.
 *
 * Sizes and colours are ESTIMATES from the reference screenshots:
 * desktop band ≈ 126px tall with 5 logos, tablet 4 logos, mobile 2 logos,
 * label on the left (desktop) or centred above (tablet/mobile).
 */

.tsl-home .tsl-platforms {
	background: #ece8fa;
}

.tsl-home .tsl-platforms__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 40px;
	min-height: 126px;
	padding-top: 16px;
	padding-bottom: 16px;
}

.tsl-home .tsl-platforms__label {
	margin: 0;
	color: #3b4152;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.tsl-home .tsl-platforms__carousel {
	--tsl-per-view: 5;
}

.tsl-home .tsl-platforms__logo {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 40px;
	object-fit: contain;
}

@media (max-width: 1024px) {
	.tsl-home .tsl-platforms__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
		padding-top: 28px;
		padding-bottom: 28px;
		text-align: center;
	}

	.tsl-home .tsl-platforms__carousel {
		--tsl-per-view: 4;
	}
}

@media (max-width: 767px) {
	.tsl-home .tsl-platforms__inner {
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.tsl-home .tsl-platforms__label {
		font-size: 18px;
	}

	.tsl-home .tsl-platforms__carousel {
		--tsl-per-view: 2;
	}
}
