/* Sponsors — gray surface, centered title above a four-up logo grid.
 *
 * Lives in the global footer (see footer.php) so the band appears site-wide.
 * Originally lived inside front-page.php; extracted here when promoted to
 * footer chrome.
 */

.sponsors {
	background-color: var(--color-background-2);
	background-image: image-set(url(../../assets/kodanshahouse-background--light.avif) type("image/avif"), url(../../assets/kodanshahouse-background--light.webp) type("image/webp"), url(../../assets/kodanshahouse-background--light.png) type("image/png"));
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	padding: 4rem 0;
	text-align: center;
}

.sponsors__title {
	margin: 0 0 2.5rem;
	font-size: 4.115rem; /* 65.84px — family + tracking from .kodansha-black */
	line-height: 1.05;
}

.sponsors__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2rem;
	align-items: center;
	justify-items: center;
}

.sponsors__item {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 6rem;
}

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

.sponsors__logo {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

@media (max-width: 768px) {

	.sponsors {
		padding: 3rem 0;
	}

	.sponsors__title {
		font-size: 2rem;
	}

	.sponsors__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.5rem 2rem;
	}
}
