/**
 * Styles für Einzelfeiertags-Seiten
 * Nur FDP-spezifische Elemente stylen, Theme-Layout nicht überschreiben
 */

/* Container - NICHT das gesamte entry-content überschreiben */
.fdp-feiertag-single {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Header - Theme nicht überschreiben */

/* Meta-Infos */
.fdp-feiertag-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.fdp-feiertag-meta .fdp-date {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2563eb;
}

.fdp-feiertag-meta .fdp-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fdp-feiertag-meta .fdp-badge-success {
    background: #d1fae5;
    color: #065f46;
}

.fdp-feiertag-meta .fdp-badge-info {
    background: #dbeafe;
    color: #1e40af;
}

/* Schnellinfo Box */
.fdp-info-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0;
    padding: 0;
    margin: 30px 0;
    box-shadow: none;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.fdp-info-box-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.fdp-info-icon {
    font-size: 1.5rem;
}

.fdp-info-box-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
}

.fdp-info-box-content {
    background: #fff;
    padding: 25px;
}

.fdp-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f3f4f6;
}

.fdp-info-item:last-of-type {
    border-bottom: none;
}

.fdp-info-item strong {
    color: #6b7280;
    font-weight: 600;
    font-size: 0.95rem;
}

.fdp-info-item .fdp-badge {
    margin-left: 8px;
}

/* KW Badge */
.fdp-kw-badge {
    display: inline-block;
    padding: 3px 8px;
    margin-left: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

/* Countdown-Zeile - kein Rahmen, kein Hintergrund */
.fdp-info-item.fdp-countdown {
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 14px 0;
}

.fdp-info-item.fdp-past,
.fdp-info-item.fdp-today {
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 14px 0;
}

.fdp-info-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f3f4f6;
}

.fdp-btn-ical,
.fdp-btn-share {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.fdp-btn-ical {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.fdp-btn-ical:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.fdp-btn-share {
    background: #f3f4f6;
    color: #374151;
}

.fdp-btn-share:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

/* Buttons */
.fdp-action-buttons {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.fdp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.fdp-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.fdp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.fdp-btn-secondary {
    background: #f3f4f6;
    color: #374151;
}

.fdp-btn-secondary:hover {
    background: #e5e7eb;
}

/* Content-Sections - Theme nicht überschreiben, nur FDP-Klassen */

/* Tabellen - nur mit FDP-Klassen */
.fdp-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.fdp-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.fdp-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
}

.fdp-table td {
    padding: 15px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.95rem;
    color: #374151;
}

.fdp-table tr:last-child td {
    border-bottom: none;
}

.fdp-table tr:hover {
    background-color: #f9fafb;
}

/* Feiertags-Links in Tabelle */
.fdp-feiertag-link {
    color: #2563eb;
    text-decoration: none;
    transition: all 0.2s;
    border-bottom: 1px solid transparent;
}

.fdp-feiertag-link:hover {
    color: #1e40af;
    border-bottom-color: #1e40af;
}

/* Karte */
.fdp-map {
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Listen - nicht das Theme überschreiben */

/* Navigation */
.fdp-post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 2px solid #e5e7eb;
}

.fdp-post-navigation a {
    flex: 1;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #2563eb;
    font-weight: 600;
    transition: all 0.2s;
}

.fdp-post-navigation a:hover {
    background: #e5e7eb;
    transform: translateX(5px);
}

.nav-previous a:hover {
    transform: translateX(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .fdp-feiertag-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .fdp-action-buttons {
        flex-direction: column;
    }
    
    .fdp-btn {
        width: 100%;
        justify-content: center;
    }
    
    .fdp-table {
        font-size: 0.85rem;
    }
    
    .fdp-table th,
    .fdp-table td {
        padding: 10px 8px;
    }
    
    .fdp-post-navigation {
        flex-direction: column;
    }
}
