/**
 * Logo wall: `grid gap-10 lg:grid-cols-12 lg:gap-16`, the text in 4 and the
 * logos in 8. The text `mt-4 text-lg` muted under the heading, the links
 * `mt-6 flex-col gap-3`, each a flex item in its own 20px lines. The logos `grid grid-cols-2 gap-4 sm:grid-cols-3
 * lg:grid-cols-5`, a tile `flex aspect-[3/2] items-center justify-center
 * rounded-lg border border-border/60 bg-card p-4`, the logo contained, a
 * name without logo `text-sm font-medium` centered.
 */

.sba-c-logo-wall .sba-c-logo-wall-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 40px;
}

.sba-c-logo-wall .sba-c-logo-wall-text .sba-c-prose {
	margin-top: 16px;
}

.sba-c-logo-wall .sba-c-logo-wall-links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.sba-c-logo-wall .sba-c-logo-wall-links li {
	display: flex;
	margin: 0;
}

.sba-c-logo-wall .sba-c-logo-wall-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-content: start;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sba-c-logo-wall .sba-c-logo-wall-grid li {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 3 / 2;
	margin: 0;
	padding: 16px;
	border: 1px solid color-mix(in srgb, var(--sba-border) 60%, transparent);
	border-radius: var(--sba-radius);
	background-color: var(--sba-surface);
}

.sba-c-logo-wall .sba-c-logo-wall-grid a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.sba-c-logo-wall .sba-c-logo-wall-grid img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.sba-c-logo-wall .sba-c-logo-wall-grid span {
	color: var(--sba-charcoal);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	text-align: center;
}

@media (min-width: 640px) {
	.sba-c-logo-wall .sba-c-logo-wall-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.sba-c-logo-wall .sba-c-logo-wall-split {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 64px;
	}

	.sba-c-logo-wall .sba-c-logo-wall-text {
		grid-column: span 4;
	}

	.sba-c-logo-wall .sba-c-logo-wall-grid {
		grid-column: span 8;
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.sba-c-logo-wall .sba-c-logo-wall-full .sba-c-logo-wall-grid {
		grid-column: 1 / -1;
	}
}
