/*
 * Terminanzeige
 * Extracted from inline styles
 */

.epcan-termine-section {
    padding: 40px 0;
    background: transparent;
}

.epcan-termine-haupttitel {
    color: #626262;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.epcan-termine-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.epcan-termine-kategorie {
    flex: 1 1 calc(50% - 15px);
    min-width: 300px;
}

.epcan-termine-kategorie.full-width {
    flex: 1 1 100%;
}

.epcan-termine-kategorie h3 {
    margin-bottom: 20px;
}

.epcan-termine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.epcan-termin-card {
    background: white;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border-left: 3px solid #f1800e;
}

.epcan-termin-card:hover {
    box-shadow: 0 4px 12px rgba(241, 128, 14, 0.2);
    transform: translateY(-2px);
}

.epcan-termin-card h5 {
    margin: 0 0 12px 0;
}

.epcan-termin-adresse {
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.epcan-termin-adresse strong {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 2px;
}

.epcan-termin-uhrzeit {
    background: #f1800e;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

.epcan-termin-hinweis {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    font-style: italic;
}

.epcan-termin-daten {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #e5e5e5;
}

.epcan-termin-datum {
    padding: 4px 0;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.epcan-termin-datum strong {
    color: #333;
    font-weight: 600;
}

.epcan-termin-video-button {
    background: #004d9f;
    color: white;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.epcan-termin-video-button:hover {
    background: #003d7a;
    color: white;
    transform: translateX(2px);
    text-decoration: none;
}

.epcan-termin-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.epcan-termin-badge.aufzeichnung {
    background: #004d9f;
    color: white;
}

@media (max-width: 1024px) {
    .epcan-termine-kategorie {
        flex: 1 1 calc(50% - 15px);
    }

    .epcan-termine-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .epcan-termine-section {
        padding: 30px 0;
    }

    .epcan-termine-wrapper {
        gap: 20px;
    }

    .epcan-termine-kategorie {
        flex: 1 1 100%;
        min-width: unset;
    }

    .epcan-termine-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .epcan-termin-card {
        padding: 16px;
    }
}
