/* LAMIASPORTS Teams Slider 1.3.0 - professional responsive layout */

.lsts-bar {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 8px 12px;
	background: #1f1f1f;
	overflow: hidden;
}

.lsts-teams {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: repeat(var(--lsts-team-count, 1), minmax(0, 1fr));
	align-items: center;
	justify-items: center;
	width: 100%;
	min-width: 0;
}

.lsts-team {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 72px;
	height: 62px;
	min-width: 0;
	padding: 2px;
	text-decoration: none;
	border: 0;
	background: transparent;
	border-radius: 8px;
}

.lsts-team img {
	display: block !important;
	width: auto !important;
	height: auto !important;
	max-width: 62px !important;
	max-height: 58px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: contain !important;
	object-position: center !important;
	border: 0 !important;
	box-shadow: none !important;
	transform: translateZ(0);
	transition: transform 180ms ease;
}

.lsts-team:hover img,
.lsts-team:focus-visible img {
	transform: scale(1.05);
}

.lsts-team:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* Medium screens: keep every logo visible without clipping. */
@media (max-width: 900px) and (min-width: 601px) {
	.lsts-bar {
		padding: 7px 10px;
	}

	.lsts-team {
		max-width: 64px;
		height: 58px;
	}

	.lsts-team img {
		max-width: 56px !important;
		max-height: 54px !important;
	}
}

/* Phones: preserve horizontal scrolling. Every logo keeps a fixed footprint,
   so teams never overlap and the user can swipe through all teams. */
@media (max-width: 600px) {
	.lsts-bar {
		padding: 7px 10px;
		overflow-x: auto;
		overflow-y: hidden;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.lsts-bar::-webkit-scrollbar {
		display: none;
	}

	.lsts-teams {
		display: flex;
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items: center;
		gap: 16px;
		width: max-content;
		min-width: max-content;
	}

	.lsts-team {
		flex: 0 0 56px;
		width: 56px;
		max-width: 56px;
		height: 56px;
	}

	.lsts-team img {
		max-width: 54px !important;
		max-height: 52px !important;
	}
}

@media (max-width: 380px) {
	.lsts-teams {
		gap: 14px;
	}

	.lsts-team {
		flex-basis: 52px;
		width: 52px;
		max-width: 52px;
		height: 52px;
	}

	.lsts-team img {
		max-width: 50px !important;
		max-height: 48px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lsts-team img {
		transition: none;
	}
}
