/* Termine – Rennkalender */

.termine-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #666;
}

.termine-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.termin-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 6px solid var(--msv-yellow);
    display: flex;
    flex-direction: column;
    padding: 25px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, opacity 0.2s;
}
.termin-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-left: 6px solid var(--msv-blue);
}
@media (min-width: 768px) {
    .termin-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* Vergangene Termine dezent zurücknehmen */
.termin-card.is-past {
    opacity: 0.6;
    border-left-color: #ccc;
}
.termin-card.is-past:hover {
    opacity: 0.9;
}
.termin-past-badge {
    display: inline-block;
    margin-top: 8px;
    padding: 2px 10px;
    border-radius: 20px;
    background: #e5e5e5;
    color: #555;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.termin-date-box {
    margin-bottom: 15px;
}
@media (min-width: 768px) {
    .termin-date-box {
        margin-bottom: 0;
        width: 35%;
        padding-right: 20px;
    }
    .termin-info-box {
        width: 65%;
        border-left: 2px solid #eee;
        padding-left: 25px;
    }
}
.termin-date {
    font-weight: bold;
    font-size: 1.25rem;
    color: var(--msv-blue);
}
.termin-et {
    font-size: 0.95rem;
    color: var(--link-red);
    font-style: italic;
    margin-top: 5px;
    font-weight: 600;
}
.termin-location {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.termin-flag {
    width: 24px;
    height: 18px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #ddd;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.termin-organizer {
    color: #555;
    font-size: 1rem;
}
.termin-link {
    color: var(--msv-blue);
    text-decoration: underline;
    font-weight: 600;
}
.termin-link:hover {
    color: var(--link-red);
}
