/* version 2 */
.legesu-event-slider {
    width: 100%;
    height: auto;
    position: relative;
    border-radius: 16px 0 0 0;
}

.legesu-slide-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.legesu-slide-image {
    width: 100%;
    height: 650px; 
    background-size: cover;
    background-position: center center;
    border-radius: 16px 0 0 0;
    background-repeat: no-repeat;
}

.legesu-slide-image.legesu-no-image { 
    background: #efefef; 
}

.legesu-slide-title {
    position: relative;
    width: 100%;
    background: rgba(255,255,255,1);
    color: #000;
    padding: 15px 4% 15px 5px;
    font-size: 1.2em;
    text-align: right;
    height: 60px;
    line-height: 30px; /* Para centrar verticalmente el texto */
    box-sizing: border-box;
}


@media (max-width: 767px) {
    .legesu-slide-image { 
        height: auto;
        aspect-ratio: 16/9; 
    }
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: #D04A4C;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 200%;
    transform-origin: left top;
}