/* Block: Spieltag Section */
.match-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.match-card .card-header {
    font-weight: 700;
    padding: 1rem 1.5rem;
}

.match-result {
    padding: 1rem 0;
}

/* Club Logos */
.club-logo {
    height: 50px;
    width: 50px;
    object-fit: contain;
    border-radius: 50%;
    background: #f8f9fa;
    padding: 4px;
    border: 1px solid #e9ecef;
}

/* Team Name */
.team-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.2;
}

/* Team Info (logo + name column) — fixed width so score stays centered */
.match-result .team-info {
    min-width: 0;
    flex: 1 1 0 !important;
    max-width: 40%;
}

.match-result .score {
    flex: 0 0 auto;
}

/* League label */
.match-league {
    font-size: 0.85rem;
}

/* Meta info (date, venue) */
.match-meta {
    font-size: 0.9rem;
}

.score h2 {
    color: var(--primary-color);
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    .match-result .d-flex {
        flex-direction: column;
        gap: 1rem;
    }

    .team-info {
        text-align: center !important;
    }

    .score {
        margin: 1rem 0 !important;
    }

    .match-meta span {
        display: block;
        margin-left: 0 !important;
    }
}
