/*
 * Gemeindebüro Online – Kalender (Basismodul)
 * Kartenlayout für [gbo_termine], nutzt die Theme-Farbvariablen
 * (siehe gemeindebuero-theme/style.css: --navy, --gold, --mid, --cream, --dark).
 */

.gbo-kal-liste {
    display: grid;
    gap: 14px;
    margin: 1em 0;
    list-style: none;
    padding: 0;
}

.gbo-kal-eintrag {
    display: flex;
    gap: 16px;
    background: #fff;
    border: 1px solid #e2e6ea;
    border-left: 4px solid var(--navy, #1E3A5F);
    border-radius: 8px;
    padding: 14px 16px;
    color: var(--dark, #1E2A35);
}

.gbo-kal-datum {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    /* --teal statt --navy: in manchen Design-Schemen (z. B. "Modern & markant")
       ist --navy fast schwarz — --teal bleibt in allen Schemen ein echter,
       freundlicherer Farbton. */
    background: var(--teal, #2A7F7F);
    color: #fff;
    border-radius: 6px;
    padding: 8px 6px;
    text-align: center;
    align-self: flex-start;
}

.gbo-kal-tag {
    font-size: 1.6em;
    font-weight: 700;
    line-height: 1.1;
}

.gbo-kal-monat {
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.gbo-kal-inhalt {
    flex: 1;
    min-width: 0;
}

.gbo-kal-titel {
    display: block;
    margin: 0 0 4px;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.3;
    color: var(--navy, #1E3A5F);
    text-decoration: none;
}

.gbo-kal-titel:hover,
.gbo-kal-titel:focus {
    text-decoration: underline;
}

.gbo-kal-meta {
    margin: 0;
    font-size: 0.9em;
    color: var(--mid, #5A6A78);
}

.gbo-kal-text {
    margin: 6px 0 0;
    font-size: 0.95em;
    color: var(--dark, #1E2A35);
}

.gbo-kal-leer {
    padding: 14px 16px;
    background: var(--cream, #F5F0E8);
    border-radius: 8px;
    color: var(--mid, #5A6A78);
}

.gbo-kal-detail {
    margin-bottom: 1.5em;
    border-top: 3px solid var(--navy, #1E3A5F);
    padding-top: 1em;
}

.gbo-kal-widget-link {
    margin: 10px 0 0;
    font-size: 0.9em;
}

.gbo-kal-widget-link a {
    color: var(--navy, #1E3A5F);
    text-decoration: none;
}

.gbo-kal-widget-link a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .gbo-kal-eintrag {
        gap: 12px;
        padding: 12px;
    }

    .gbo-kal-datum {
        min-width: 52px;
        padding: 4px;
    }

    .gbo-kal-titel {
        font-size: 1em;
    }
}
