/* ===============================
   Veranstaltungsliste – Ellwangen-Stil (angepasst)
   =============================== */

/* Wrapper */
.valiste-fullscreen-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: #ffffff;
    color: #000;
    font-family: "Helvetica Neue", Arial, sans-serif;
    box-sizing: border-box;
}

.veranstaltungsliste {
    list-style: none;
    margin: 2rem 0 0 0;
    padding: 0;
    width: 100%;
    max-width: 1200px;
}

/* ========================================
   Kartenlayout (Bild – Text – Datumsspalte)
   ======================================== */

.event-card {
    display: grid;
    grid-template-columns: 1fr 1.7fr 0.9fr; /* Datumsspalte jetzt breiter */
    align-items: stretch;
    background-color: #f1f4f5;
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.event-subtitle {
    font-size: 1rem;
    font-style: italic;
    color: #555;
    margin-top: -0.3rem;
    margin-bottom: 0.5rem;
}


/* Linke Spalte: Bild */
.event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mittlere Spalte: Textinhalt */
.event-content {
    padding: 1.5rem;
    color: #002b36;
}

.event-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #003d4d;
    margin: 0 0 0.8rem 0;
    line-height: 1.3;
}

.event-presenter {
    color: #003d4d;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.event-presenter a,
.event-presenter strong {
    color: #a2b900;
    font-weight: 600;
    text-decoration: none;
}

.event-location {
    font-size: 1rem;
    color: #003d4d;
    margin-top: 0.4rem;
}

/* Rechte Spalte: Datum / Uhrzeit */
.event-datebox {
    background-color: #003d4d;
    color: #fff;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    min-width: 220px; /* breiter */
}

.event-date {
    font-weight: bold;
    margin-bottom: 0.8rem;
    line-height: 1.1;
}

.event-day {
    font-size: 2.2rem;
    font-weight: 700;
    color: #f0d60a;
}

.event-month {
    text-transform: capitalize;
    font-size: 1.2rem;
    color: #f0d60a;
}

.event-year {
    font-size: 1rem;
    color: #f0d60a;
}

.event-time {
    margin: 0.8rem 0 0;
    font-size: 1rem;
    color: #fff;
}

/* ========================================
   Zusatzklassen
   ======================================== */

.valiste-badge {
    display: inline-block;
    background-color: #444;
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 0.3rem;
    margin-right: 0.3rem;
    font-size: 0.8rem;
}

.black {
    color: #000;
    font-size: 1.3rem;
    text-align: center;
    margin-top: 2rem;
}

/* ========================================
   Responsive Anpassungen
   ======================================== */

@media (max-width: 900px) {
    .event-card {
        grid-template-columns: 1fr;
    }

    .event-img img {
        height: 250px;
    }

    .event-datebox {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: center;
        padding: 1rem;
    }

    .event-date {
        margin-bottom: 0;
    }

    .event-day {
        font-size: 1.6rem;
    }

    .event-month,
    .event-year {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .event-content {
        padding: 1rem;
    }

    .event-title {
        font-size: 1.3rem;
    }

    .event-presenter,
    .event-location {
        font-size: 0.9rem;
    }

    .event-time {
        font-size: 0.85rem;
    }
}


/* ========================================
   Kompakte Veranstaltungsübersicht (Compact)
   ======================================== */

.valiste-compact {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #002b36;
}

.valiste-datum {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: #003d4d;
    border-bottom: 2px solid #003d4d;
    padding-bottom: 0.3rem;
}

.valiste-tabelle {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.valiste-tabelle th,
.valiste-tabelle td {
    border: 1px solid #ccc;
    padding: 0.6rem 0.8rem;
    text-align: left;
    font-size: 0.95rem;
}

.valiste-tabelle th {
    background-color: #003d4d;
    color: #fff;
    font-weight: 600;
}

.valiste-tabelle tr:nth-child(even) {
    background-color: #f7f9fa;
}

.valiste-tabelle td:first-child {
    width: 15%;
    white-space: nowrap;
}

.valiste-tabelle td:nth-child(2) {
    width: 45%;
}

.valiste-tabelle td:nth-child(3),
.valiste-tabelle td:nth-child(4) {
    width: 20%;
}

/* Mobile Ansicht */
@media (max-width: 700px) {
    .valiste-tabelle th,
    .valiste-tabelle td {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }

    .valiste-datum {
        font-size: 1.2rem;
    }
}

/* Highlight-Veranstaltungen */
.valiste-highlight td {
    background-color: #fffbea;
    font-weight: 600;
    color: #b8860b;
}

.valiste-highlight td:first-child::before {
    content: "⭐ ";
    color: #e0a000;
}

/* ===============================
   HIGHLIGHT-VERANSTALTUNGEN
   =============================== */

.event-highlight {
    border: 3px solid #ffcc00;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.6);
    position: relative;
}

.event-highlight::before {
    content: "⭐ Highlight";
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ffcc00;
    color: #000;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 0.2rem 0.5rem;
    border-radius: 0.3rem;
}
