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

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

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

.slider-container-cards3 {
    position: relative;
    width: 100%;
    height: 480px;
    max-width: 1250px;
    margin: auto auto;
    margin-top: 0px;
    /* overflow: hidden; */
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.cards3_n .slider-card-cards3 {
    width: 272px;
    height: 361px;
    margin-right: 16px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 12px 16px 50px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease-in-out;
}

.cards3_n .slider-card-cards3 img{
    width: 100%;
    max-width: 136px;
    margin-bottom: 24px;
}

.cards3_n .slider-card-cards3 h2{
    font-size: 22px;
    text-align: center;
    max-width: 224px;
    height: 50px;
    color: #BA0C2F;
    font-family: 'Alright Sans Black';
    line-height: 25px;
    margin-bottom: 16px;
}

.cards3_n .slider-card-cards3 p{
    font-family: 'Alright Sans Medium';
    font-size: 20px;
    color: #000;
    text-align: center;
    width: 100%;
    height: 98px;
    max-width: 238px;
    line-height: 26px;
}

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

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

.slider-card-cards3.effects{
    width: 272px;
    height: 409px;
    box-shadow: 8px 12px 38px rgba(152, 12, 49, 0.19);
}

@media (max-width: 1160px){
    .cards3_n .controls_btn{
        display: flex !important;
        width: 100%;
        justify-content: end;
        margin-right: 60px;
        margin-top: 15px;
    }
}

.cards3_n .controls_btn .control_btn{
    display: flex;
    justify-content: space-between;
    width: 77px;
}

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

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

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

.cards3_n .prev-btn-cards3:focus{
    outline: none;
}

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

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

.cards3_n .next-btn-cards3:focus{
    outline: none;
}

.cards3_n .slider-card-cards3:hover {
    width: 272px;
    height: 409px;
    box-shadow: 8px 12px 38px rgba(152, 12, 49, 0.19);

}

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

.cards3_n .slider-card-cards3: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 */
.cards3_n .slider_cards3_t .next-card {
    background: #980C31;
    transition: 2s ease;
    width: 368px;
    height: 242px;
}

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

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

.cards3_n .slider_cards3_t .next-card img{
    width: 26px;
    height: 16px;
}

@media (max-width: 1160px){
    .cards3_n{
        height: 580px !important;
    }
    .slider-container-cards3{
        justify-content: start;
        height: 430px !important;
        margin-bottom: 0px;
    }
    .slider-card-cards3:first-child {
        margin-left: 80px;
    }
    .cards3_n h1{
        margin-top: 0px;
        margin-bottom: 20px;
    }
}


@media (max-width: 768px){
    .cards3_n{
        align-items: start;
    }
    .cards3_n h1{
        margin-left: 40px;
        text-align: left;
    }
    .slider-card-cards3:first-child {
        margin-left: 20px;
    }
}
