/*
 Theme Name: Feuerwehr St. Gangloff Child
 Theme URI: https://feuerwehr-sankt-gangloff.de
 Description: Child Theme für Feuerwehr St. Gangloff, basierend auf Divi
 Author: Feuerwehr St. Gangloff
 Template: Divi
 Version: 1.0.0
*/

/* --- Footer & Copyright Bereich --- */
#footer-info {
    display: block !important;
    color: #ffffff !important;
    padding: 15px 0 !important;
    text-align: center !important;
    background-color: #2E2E2E !important;
}

/* --- Fix für den weißen Streifen unter der Hero-Sektion --- */
.hero-sektion-fix {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.hero-sektion-fix .et_pb_row {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.hero-sektion-fix .et_pb_bottom_inside_divider {
    display: none !important;
}

/* --- Einsatzverwaltung: Tabellen-Design --- */

/* Tabellenkopf mit dunklem Hintergrund und weißer Schrift */
.einsatzverwaltung-table thead th {
    background-color: #2E2E2E !important;
    color: #ffffff !important;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    padding: 15px 10px !important;
    border: none !important;
}

/* Zeilenabstände und allgemeine Schrift */
.einsatzverwaltung-table td {
    font-family: 'Barlow', sans-serif !important;
    padding: 12px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #eeeeee !important;
}

/* Die Einsatznummer links hervorheben */
.einsatzverwaltung-table td:first-child {
    font-weight: bold;
    color: #2E2E2E;
}

/* Rote Einsatzmeldungen (Links) im Branding-Rot */
.einsatzverwaltung-table td a {
    color: #CC1417 !important;
    font-weight: 600;
    text-decoration: none;
}

.einsatzverwaltung-table td a:hover {
    text-decoration: underline;
}

/* --- Einsatzarchiv: Jahreszahlen als Buttons --- */

/* Container für die Jahres-Links */
.einsatzverwaltung-archive-list, 
.ev-archive-container {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none !important;
    padding: 0 !important;
    margin-top: 25px;
}

/* Styling der einzelnen Jahres-Buttons */
.einsatzverwaltung-archive-list li a,
.ev-archive-container a {
    background: #3D3D3D !important;
    color: #ffffff !important;
    padding: 8px 16px !important;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Hover-Effekt für die Buttons */
.einsatzverwaltung-archive-list li a:hover,
.ev-archive-container a:hover {
    background: #CC1417 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Entfernt Trennstriche (Pipes) zwischen den Jahren */
.ev-archive-container span.sep, 
.ev-archive-container .separator {
    display: none !important;
}
/* Mobile Hero Stats-Box Glass-Effekt */
.hero-mobile-stats {
    background: rgba(20, 20, 20, 0.65) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 10px !important;
    margin: 30px 20px !important; /* Abstand nach oben und zu den Seiten */
    position: relative;
    display: flex !important; /* Erzwingt, dass die 3 Spalten nebeneinander stehen */
    flex-direction: row !important;
    justify-content: space-around;
}

/* Rote Trennlinien zwischen den Stat-Spalten */
.hero-mobile-stats .et_pb_column:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: rgba(204, 20, 23, 0.5); /* Dein Feuerwehr-Rot #CC1417 */
}

/* Styling der Zahlen */
.stat-number {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 38px; /* Größe für Mobile optimiert */
    color: #CC1417;
    line-height: 1;
    margin-bottom: 5px;
    text-align: center;
}

/* Styling der Beschriftung */
.stat-label {
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.2;
}
/* --- Mobile Hero Stats-Box Sichtbarkeits-Fix --- */

.hero-mobile-stats {
    background: rgba(10, 10, 10, 0.85) !important; /* Fast schwarz für maximalen Kontrast */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 14px;
    border: 2px solid #CC1417; /* Roter Rahmen passend zur Feuerwehr */
    padding: 20px !important;
    margin: 20px !important;
    text-align: center !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Die Spalten untereinander mit Abstand */
.hero-mobile-stats .et_pb_column {
    margin-bottom: 25px !important;
    display: block !important;
    width: 100% !important;
}

.hero-mobile-stats .et_pb_column:last-child {
    margin-bottom: 0 !important;
}

/* Die Zahlen - Groß und Leuchtend Rot */
.stat-number {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 900 !important;
    font-size: 52px !important;
    color: #CC1417 !important;
    line-height: 1 !important;
    display: block !important;
    margin-bottom: 5px !important;
}

/* Die Beschriftung - Reinweiß und Fett für Lesbarkeit */
.stat-label {
    font-family: 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #ffffff !important; /* Reinweiß */
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    display: block !important;
}