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

.slider_two{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1366px;
    height: 520px;
}

.slider_two h1{
    color: #BA0C2F;
    font-size: 34px;
    text-align: center;
    margin-bottom: 0px;
    margin-top: 82px;
    font-family: 'Alright Sans Black';
}

.slider-container-two {
    position: relative;
    width: 100%;
    height: 350px;
    max-width: 965px;
    margin: auto auto;
    margin-top: 0px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider_two_t {
    display: flex;
    align-items: center;
    transition: transform 0.5s ease-in-out;
}

.slider_two .slider-card-two {
    width: 272px;
    height: 179px;
    margin-right: 16px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: start;
    box-shadow: 12px 0px 40px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease-in-out;
}

.slider_two .slider-card-two p{
    font-size: 30px;
    text-align: left;
    max-width: 241px;
    margin: 0;
    margin-left: 24px;
    /* margin-top: 90px; */
    color: #BA0C2F;
    font-family: 'Alright Sans Black';
    line-height: 32px;
}

.slider_two .slider-card-two a{
    margin-bottom: 32px;
    width: 100%;
    display: flex;
    justify-content: end;
}

.slider_two .slider-card-two a img{
    margin-right: 32px !important;
}

.slider-card-two:first-child{
    margin-left: 16px;
}

/* .slider-image {
    max-width: 190px;
    max-height: 86px;
} */

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

.slider-btn-two:last-child svg{
    fill: red;
}

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

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

.slider_two .prev-btn-two:focus{
    outline: none;
}

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

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

.slider_two .next-btn-two:focus{
    outline: none;
}


.slider_two .controls_btn{
    display: none;
}

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

.slider_two .slider-card-two:hover {
    width: 368px;
    height: 242px;
    background: #980C31;
}

.slider_two .slider-card-two:hover p{
    color: #fff !important;
    margin-left: 48px;
    margin-bottom: 40px;
    font-family: 'Alright Sans Black';
    line-height: 32px;
}

.slider_two .slider-card-two a #arrow_icon_s{
    margin-right: 30px;
    width: 20px;
    height: 22px;
}

.slider_two .slider-card-two:hover a #arrow_icon_s{
    background-image: url("../images-reskin/white-arrow-icon.png");
    background-repeat: no-repeat;
    background-position: center;
}

/* Añade el estilo para la animación al hacer más grande la tarjeta en el medio */
.slider_two .slider_two_t .next-card {
    background: #980C31;
    transition: 2s ease;
    width: 368px;
    height: 242px;
}

.slider_two .slider_two_t .next-card p{
    color: #fff !important;
    margin-left: 48px;
    margin-bottom: 30px;
}

.slider_two .slider_two_t .next-card a{
    margin-left: -32px;
    margin-bottom: 32px;
    width: 100%;
    opacity: 1;
}

.slider_two .slider_two_t .next-card img{
    width: 26px;
    height: 16px;
}


@media (max-width: 768px){
    .slider_two_t{
        margin-left: 0px;
    }
    .slider_two .slider-card-two{
        width: 235px;
        height: 200px;
        border: 1px solid #980C31;
        align-items: center;
    }
    .slider_two .slider-card-two:hover {
        width: 235px;
        height: 200px;

    }
    .slider_two .slider-card-two p{
        font-size: 20px;
        color: #980C31;
        margin-left: 0;
        max-width: 163px;
        margin-bottom: 15px;
    }
    .slider_two .slider-card-two:hover p{
        color: #fff !important;
        font-family: 'Alright Sans Black';
        line-height: 32px;
        font-size: 25px;
        margin-left: 0px !important;
        margin-bottom: 0px !important;
    }

    .slider_two .slider-card-two:hover a #arrow_icon_s{
        margin-right: 180px;
    }
    .slider_two .slider-card-two a #arrow_icon_s{
        background-image: url("../images-reskin/red-right-arrow.svg");
        background-repeat: no-repeat;
        background-position: center;
        margin-right: 170px;
    }
    .slider_two .slider-card-two a{
        margin-bottom: 22px;
        margin-top: 10px;
    }
    .slider_two{
        align-items: start;
    }
    .slider_two h1{
        font-size: 26px;
        width: 260px;
        text-align: left;
        margin-left: 20px;
        margin-bottom: 20px !important;
    }
    .slider-container-two{
        height: 240px !important;
        justify-content: start !important;
    }
}

@media (max-width: 756px){
    .slider_two .controls_btn{
        display: flex;
        width: 100%;
        justify-content: end;
        position: absolute;
        margin-top: 310px;
    }
}
