.upcoming-events-slider {
    padding: 50px 0;
}
 
.events-heading-container {
    text-align: center;
    margin-bottom: 40px;
}
 
.event-slide {
    width: 100%;
    padding: 0 10px;
    min-height: 110px;
}
 
.events-heading {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}
 
@media screen and (min-width: 768px) {
    .event-slide {
        width: 50%;
    }
}
 
.event-card {
    height: 100%;
    min-height: 110px;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}
 
.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
 
.event-date {
    width: 110px;
    min-height: 110px;
    background: #db0d1f;
    color: #fff;
    font-weight: 900;
    font-size: 2rem;
    line-height: 1;
}
 
.event-date span:last-child {
    font-weight: 300;
}
 
.event-details {
    width: calc(100% - 110px);
    padding: 10px;
}
 
.event-details .event-type {
    text-transform: uppercase;
    color: #999;
    font-size: 0.75rem;
}
 
.event-title {
    line-height: 1;
    margin-bottom: 5px;
}
 
.event-title a {
    display: block;
    text-transform: uppercase;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 1.125rem;
    color: var(--main-color);
}
 
.event-location {
    color: #999;
    font-size: 0.875rem;
}
 
.event-time {
    font-size: 0.775rem;
    background: #e1e1e1;
    display: inline-block;
    padding: 0 5px;
    border-radius: 10px;
}
 
.custom-prev-button,
.custom-next-button {
    position: absolute;
    font-size: 3rem;
    top: 50%;
    transform: translateY(-50%);
    left: -35px;
    color: #666;
    cursor: pointer;
}
 
.custom-next-button {
    left: unset;
    right: -35px;
}
 
.event-ajax .event-card {
    height: auto;
}
 
/* Responsive adjustments */
@media screen and (max-width: 767px) {
    .flickity-prev-next-button {
        display: none;
    }
 
    .events-slider {
        margin-bottom: 40px;
    }
}
