﻿.events {
    max-width: 1300px;
    margin: 120px auto 80px auto;
    padding: 0px;
}

.events-wrapper {
    gap: 40px 40px;
    margin-bottom: 40px;
    border-top: 0px;
}


/*    .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 {
    width: 31%;
    flex-direction: row;
    border-top: none;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    box-sizing: border-box;
}

    .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
        ; */
    /* flex-direction: column; */
    /* flex: 1; */
    /* padding-right: 20px; */
    width: 100%;
}

.events-date {
    background-color: var(--main-color);
    color: white;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 0px;
    padding-right: 0px;
    border-radius: 6px;
    margin-bottom: 20px;
    width: 120px;
    height: 120px;
}

    .events-date .day {
        font-size: 36px;
        font-weight: bold;
    }

    .events-date .month,
    .events-date .year {
        font-size: 18px;
    }

.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 {
    /* display: flex
; */
    /* position: absolute; */
    align-items: center;
    /* justify-content: center; */
    /* margin-top: 20px; */
    bottom: 10px;
    right: 10px;
}

    .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;
        }
    }