@import url('/typo3conf/ext/tsv_rosshaupten/Resources/Public/Css/styles.css');

.section-title {
	color: var(--hauptfarbe);
	font-weight: 700;
	position: relative;
	display: inline-block;
	margin-bottom: 50px;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 60px;
	height: 4px;
	background-color: var(--tsv-rot);
}

.sponsoren-wrap {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 10px;
}

.sponsoren-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
	align-items: center;
	justify-items: center;
}

/* Basis-Styling für jedes Logo-Element */
.sponsoren-link {
	border-radius: var(--radius);
	text-decoration: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	transition: all 0.4s ease-in-out;
	transform: scale(0.95);
}

.sponsoren-link {}

.sponsoren-link.hell {
	background: rgba(255, 255, 255, 0.5);
}

.sponsoren-link.dark {
	background: rgba(0, 0, 0, 0.5);
}

.sponsoren-link a {
	text-decoration: none;
}

.sponsoren-link.dark a {
	color: var(--weiss) !important;
}

.sponsoren-link.hell a {
	color: var(--schwarz) !important;
}

.sponsoren-link img {
	max-width: 100%;
	height: auto;
	max-height: 90px;
	object-fit: contain;
	margin-bottom: 10px;
}

.sponsoren-link .sponsor-name {
	font-size: 20px;
	text-align: center;
	font-weight: 400;
	line-height: 1.4;
	transition: color 0.3s ease;
}

.sponsoren-link:hover {
	transform: scale(1.05);
	z-index: 10;
}

@media (max-width: 1199.98px) {
	.sponsoren-container {
		grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
	}
}

@media (max-width: 767.98px) {
	.sponsoren-container {
		grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	}
}

@media (max-width: 575.98px) {
	.sponsoren-container {
		grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
		gap: 40px;
	}
}

@media (max-width: 433.98px) {
	.sponsoren-link {
		transform: unset;
		width: 100%;
	}
}