/* Liga-DB Stats – Kartendarstellung */

.ligadb-stats {
	--ligadb-red: #c31718;
	--ligadb-red-text: #ffffff;
	--ligadb-title: #070707;
	--ligadb-radius: 0;
	--ligadb-gap: 28px;
	--ligadb-min-card: 240px;

	width: 100%;
	box-sizing: border-box;
}

.ligadb-stats *,
.ligadb-stats *::before,
.ligadb-stats *::after {
	box-sizing: border-box;
}

/* Spezifität hoch genug, um die Theme-h2-Farbe (Grün) zu überschreiben. */
.ligadb-stats h2.ligadb-stats__title,
.ligadb-stats .ligadb-stats__title {
	text-align: center;
	color: var(--ligadb-title);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin: 0 0 14px;
}

.ligadb-stats__divider {
	display: block;
	width: 56px;
	height: 2px;
	margin: 0 auto 40px;
	background: var(--ligadb-red);
}

.ligadb-stats__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(var(--ligadb-min-card), 1fr));
	gap: var(--ligadb-gap);
	align-items: stretch;
}

.ligadb-stats__card {
	background: var(--ligadb-red);
	color: var(--ligadb-red-text);
	border-radius: var(--ligadb-radius);
	padding: 22px 26px;
	line-height: 1.5;
}

.ligadb-stats__card p {
	margin: 0 0 6px;
	color: inherit;
}

.ligadb-stats__card p:last-child {
	margin-bottom: 0;
}

.ligadb-stats__team {
	font-weight: 700;
}

.ligadb-stats__row strong {
	font-weight: 700;
}

.ligadb-stats__hint {
	opacity: 0.85;
	font-style: italic;
}

/* Auf sehr schmalen Screens eine Karte pro Zeile. */
@media (max-width: 600px) {
	.ligadb-stats {
		--ligadb-min-card: 100%;
	}
}
