/* CSS */
.sliderfour-n{
    margin-top: 0px !important;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    position: relative;
    z-index: 2;
}

.slider_four{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1366px;
    padding: 40px 0;
    z-index: 3;
}

.slider_four .content_four_title{
    display: flex;
    justify-content: center;
    width: 100%;
}

.slider_four .content_four_title #title_four{
    color: #BA0C2F;
    font-size: 34px;
    text-align: center;
    margin-bottom: 48px;
    margin-top: 0px;
    /*font-family: 'Alright Sans Black';*/
    width: 100%;
    /*font-family: "HDUAlrightSans-Black", Verdana;*/
}

.slider_four .content_four_title #title_four br{
    display:none;
}

.slider-container-four {
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: transform 0.5s ease-in-out;
}

.slider_four .slider-card-four {
    width: 250px;
    height: 320px;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 24px;
    margin-right: 8px;
    transition: all 0.7s ease-in-out;
    border-radius: 20px;
}

.slider_four .slider-card-four .slider-container-text-four{
    width: 100%;
    display: flex;
    flex-direction: column;
    height: auto;
}

.slider_four .slider-card-four:hover{
    width: 280px;
    height: 358px;
}

.slider_four .slider-card-four:hover p{
    max-width: 232px;
}

.slider_four .slider-card-four:last-child{
    margin-right: 0px;
}

.slider_four .slider-card-four h1{
    /*font-family: 'Alright Sans Black';*/
    /*font-family: "HDUAlrightSans-Black", Verdana;*/
    font-size: 20px;
    text-align: left;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.slider_four .slider-card-four p{
    /*font-family: 'Alright Sans Regular';*/
    font-size: 16px;
    text-align: left;
    color: #FFFFFF;
    margin-bottom: 0px;
    max-width: 228px;
    /*font-family: "Alright Sans", Verdana, sans-serif;*/
    /*font-family: "HDUAlrightSans-Regular", Verdana;*/
}

/*  */
.slider_four .controls_btn{
    display: none;
}

.slider_four .controls_btn .control_btn{
    display: flex;
    justify-content: space-between;
    width: 77px;
    margin-right: 30px;
}

.slider_four .slider-btn-four {
    width: 36px;
    height: 36px;
    border-radius: 50px;
    font-size: 24px;
    background: transparent;
    cursor: pointer;
    background: #BA0C2F1A;
}

.slider_four .prev-btn-four {
    left: 10px;
    background-image: url("../images-reskin/red-arrow-icon.svg");
    background-repeat: no-repeat;
    background-position: center;
}

.slider_four .prev-btn-four:hover{
    background: #BA0C2F;
    background-image: url("../images-reskin/white-left-arrow.svg");
    background-repeat: no-repeat;
    background-position: center;
}

.slider_four .prev-btn-four:focus{
    outline: none;
}

.slider_four .next-btn-four {
    right: 10px;
    background-image: url("../images-reskin/red-right-arrow.svg");
    background-repeat: no-repeat;
    background-position: center;
}

.slider_four .next-btn-four:hover{
    background: #BA0C2F;
    background-image: url("../images-reskin/white-arrow-icon.png");
    background-repeat: no-repeat;
    background-position: center;
}

.slider_four .next-btn-four:focus{
    outline: none;
}
/*  */

@media (max-width: 1000px){
    .slider_four .slider-card-four{
        width: 235px;
        height: 345px;
        margin-right: 16px !important;
    }
    .slider_four .slider-card-four:last-child{
        margin-right: 0px !important;
    }
}

@media (max-width: 768px){
    .slider_four{
        /* align-items: start !important; */
        justify-content: start;
        height: 600px;
    }
    .slider_four .content_four_title #title_four{
        font-size: 26px;
        text-align: center;
        /* margin-top: 25px; */
        margin-top: 70px;
        max-width: 435px;
    }
    .slider_four .content_four_title #title_four br{
        display:inline;
    }
        .slider_four .slider-card-four {
        /* Tamaño adaptable con límites */
        width: calc(250px + (100vw - 360px) * (250 - 200) / (768 - 360));
        height: calc(320px + (100vw - 360px) * (400 - 310) / (768 - 360));
        }

        .slider_four .effect {
        width: calc(250px + (100vw - 360px) * (300 - 250) / (768 - 360)) !important;
        height: calc(344px + (100vw - 360px) * (400 - 344) / (768 - 360)) !important;
        }



    .slider_four .slider-card-four h1{
        font-size: 26px;
    }

    
    /* */
    
}
@media (max-width: 768px){
    .slider_four{
        align-items: start !important;
    }
    .slider_four .slider-card-four:hover{
        width: 200px;
        height: 310px;
    }

    /* No arrows at any mobile/tablet width (0-768px) — swipe only, same
       pattern as the hero carousel (slidersix-n). An earlier pass here
       showed them below 640px to close a gap in the *centering* logic's
       breakpoint (which legitimately needed to extend to 768px to match
       the fluid card-sizing CSS), but conflated that with arrow
       visibility — those are two separate concerns; the centering fix
       didn't require showing arrows too. */
    .slider_four .controls_btn{
        display: none;
    }
}
@media (max-width: 500px){
    .slider_four .content_four_title #title_four{
        padding: 0px 16px;
    }
    .slider_four .slider-card-four{
        margin-right: 8px !important;
    }
}

@media (max-width: 430px){
    .slider_four .controls_btn{
        margin-top: 515px;
    }
    .slider_four .controls_btn .control_btn {
        margin-right: 25px;
    }

    .slider_four .slider-card-four h1{
        font-size: 20px;
    }
    .slider_four .slider-card-four p {
        font-size: 14px
    }
    .slider_four .slider-card-four .slider-container-text-four {
        height: auto !important;
    }
}


@media (max-width: 363px){
    .slider_four .controls_btn{
        margin-top: 530px !important;
    }
    .slider_four{
        height: 570px !important;
    }
}