.events-section {
    width: 100%;
    padding: 30px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--primary-lighter-color);
}

.events-section-container {
    width: 90%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.events-section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.events-section-title h1 {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 20px 0px;
}

.events-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 20px;
}

.event-card {
    margin: 15px;
    width: 30%;
    min-width: 285px;
    padding-bottom: 10px;
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

@media screen and (max-width: 678px) {
    .events-section-container {
        width: 100%;
    }
    .events-grid {
        margin-top: 0px;
        flex-direction: column;
        align-items: center;
    }
    .event-card {
        width: 50%;
    }
}

@media screen and (max-width: 450px) {
    .events-section {
        padding-top: 0px;
    }
    .event-card {
        width: 90%;
        margin: 15px 0px;
    }
}

.event-card-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.event-card-info {
    width: 100%;
    margin: 10px 2.5px;
    padding-right: 5px;
    display: flex;
}

.event-card-date-container {
    width: 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.event-card-event-month {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
}

.event-card-event-day {
    margin-top: 2px;
    font-size: 25px;
    font-weight: bold;
}

.event-card-details-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-card-event-name {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: var(--title-color);
}

.event-card-event-time {
    font-size: 14px;
    font-weight: 600;
}

.event-card-event-location {
    margin-top: 2px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--primary-color);
}