﻿.events h3 {
    margin-bottom: 30px;
}

.events-wrapper {
    gap: unset;
    margin-bottom: 40px;
    border-top: 0px;
    display: unset;
}




/*    .events .sub-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .events h3 {
        font-size: 48px;
        font-weight: 400;
        letter-spacing: -0.01em;
        font-family: 'Noto Serif Display ExtraC', serif;
    }*/

/* Event Reihen */
.event-row {
    background-color: white;
    width: 100%;
    display: flex;
    align-items: center; /* vertikal zentrieren */
    justify-content: space-between; /* Abstand zwischen links und rechts */
    gap: 20px; /* Abstand zwischen Kindern */
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    border-radius: 0px;
}

    .event-row:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    }

/* Linke Seite - Datum und Event Information */
.event-left {
    display: flex;
    align-items: center;
    gap: 20px; /* Abstand zwischen Datum und Info */
    flex-wrap: wrap; /* falls zu schmal, umbrechen */
    flex-grow: 1; /* damit event-left möglichst viel Platz nimmt */
}

.events-date {
    display: flex;
    flex-direction: unset;
    justify-content: unset;
    align-items: unset;
    color: var(--main-color);
    border: 0px;
    background-color: transparent;
    border-radius: unset;
    padding: unset;
    width: unset;
    height: unset;
    margin: unset;
    padding-left: 20px;
    gap: 5px; /* Abstand zwischen Tag, Monat und Jahr */
    width: 200px;
}

    .events-date .day {
        font-size: 36px;
        font-weight: bold;
    }

    .events-date .month,
    .events-date .year {
        font-size: 18px;
    }

.event-info {
    color: #666;
    font-style: italic;
    flex-grow: 1; /* Info nimmt restlichen Platz */
}

    .event-info .event-title {
        font-size: 24px;
        font-weight: 500;
        margin-bottom: 10px;
    }

    .event-info .event-location {
        font-size: 18px;
        color: #666;
        margin-bottom: 10px;
    }

    .event-info .event-description {
        font-size: 16px;
        line-height: 1.6;
        color: #333;
    }

/* Rechte Seite - Button */
.event-right {
    align-items: center;
    bottom: 10px;
    right: 10px;
    flex-shrink: 0;
    padding-right: 20px;
    width: 150px;
}

    .event-right .btn {
        display: inline-block;
        border: solid 2px var(--main-color);
        background-color: white !important;
        color: var(--main-color);
        padding: 5px 10px;
        font-size: 16px;
        font-weight: 500;
        border-radius: 4px;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

        .event-right .btn:hover {
            background-color: var(--hover-color);
            color: white;
        }




/* Responsives Verhalten – bei kleinen Geräten zurück zu 1 Spalte */
@media (max-width: 1300px) {
    .event-row {
        width: 45%;
    }
}


@media (max-width: 900px) {
    .event-row {
        width: 100%;
    }
}

@media (max-width: 810px) {
    .event-info .event-title {
        font-size: 20px;
    }
}
/* Responsives Verhalten */
@media (max-width: 768px) {
    .event-row {
        flex-direction: column;
        align-items: center;
    }

    .event-left,
    .event-right {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
}
