.sl-events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}

.sl-event-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    overflow: hidden;
}

.sl-event-image-link {
    display: block;
    line-height: 0;
}

.sl-event-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.sl-event-content {
    position: relative;
    padding-top: 30px;
}

.sl-event-date-badge {
    position: absolute;
    top: -60px;
    left: 20px;

    width: 95px;

    background: #ffffff;
    padding: 14px 10px;

    display: flex;
    flex-direction: column;
    align-items: center;

    box-shadow: 0 5px 20px rgba(0,0,0,0.08);

    z-index: 5;
}

.sl-event-day {
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}

.sl-event-month {
    font-size: 16px;
    margin-top: 3px;
}

.sl-event-weekday {
    margin-top: 10px;
    font-size: 14px;
}

.sl-event-time {
    font-size: 14px;
    margin-top: 2px;
}

.sl-event-inner {
    padding: 0 20px 20px;
}

.sl-event-title {
    margin: 0 0 15px;
    font-size: 24px;
    line-height: 1.2;
}

.sl-event-title a {
    text-decoration: none;
    color: inherit;
}

.sl-event-excerpt {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.sl-event-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 22px;

    background: #000;
    color: #fff;

    text-decoration: none;

    transition: all 0.25s ease;
}

.sl-event-button:hover {
    opacity: 0.85;
}

.sl-events-empty {
    grid-column: 1 / -1;
}

.sl-event-title a:focus,
.sl-event-button:focus,
.sl-event-image-link:focus {
    outline: 2px solid #000;
    outline-offset: 3px;
}

/* Tablet */

@media (max-width: 980px) {

    .sl-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }

}

/* Mobile */

@media (max-width: 767px) {

    .sl-events-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sl-event-title {
        font-size: 22px;
    }

}