.custom-events-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0 20px;
    padding: 20px 0;
    margin: 0 auto;
    background-color: #fcf8ee;
}

.custom-event-link {
    text-decoration: none;
    color: inherit;
    display: flex;
}

.custom-event-card {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    text-align: center;
    background-color: #fff;
    transition: none;
}

.custom-event-title-wrapper {
    flex-grow: 1;
    padding: 50px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-event-title {
    font-family: "rl-aqva", sans-serif;
    font-size: 1.6em;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
    color: #000;
    letter-spacing: 0.5px;
}

.custom-event-date-time-block {
    padding: 15px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.custom-event-date,
.custom-event-time {
    font-size: 1.1em;
    font-weight: 700;
    margin: 0;
    color: #000;
}

.custom-event-time {
    font-weight: 400;
}

@media (max-width: 768px) {
    .custom-events-container {
        grid-template-columns: 1fr;
    }
    .custom-event-date-time-block {
        gap: 10px;
    }
}
