﻿.ctn-card-link {
    margin: 80px 55px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    position:relative;
    /* gap: 86px; */
}


.ctn-card-card-link {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    flex-direction: row;
    gap: 60px;
    opacity: 0;
    max-width: 1166px;
    padding: 26px !important;
    transition: opacity 1.6s ease-out;
}


.ctn-card-link .ver-card {
    opacity: 1 !important;
}

.ctn-card-card-link .swiper-wrapper{
    /*justify-content:center;*/
}
    .ctn-card-card-link .swiper-wrapper .swiper-slide {
        margin: 0 2rem 0 0;
    }

.sub-ctn-card-link {
    width: 261px !important;
    height: 249px !important;
    transform: translateY(100px);
}

.card-card-link-noRouter {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    gap: 10px;
    align-items: flex-start;
    padding: 30px;
    flex-shrink: 0;
    border-radius: 20px;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.03), 0px 0px 20px 0px rgba(0, 0, 0, 0.06), -20px 12px 35px 0px rgba(0, 0, 0, 0.03);
    background: white;
    transition: transform 1.2s;
    justify-content: space-between;
}

    .card-card-link-noRouter:hover {
        transform:scale(1.05);
    }
    .card-card-link-noRouter a {
        display: flex;
        width: 178.101px;
        height: 35px;
        align-items: center;
        gap: 8px;
        border-radius: 36px;
        color: var(--btn-text-link);
        font-family: var(--lexend);
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 20px; /* 142.857% */
        text-decoration-line: underline;
        text-decoration-style: solid;
        text-decoration-skip-ink: none;
        text-decoration-thickness: auto;
        text-underline-offset: auto;
        text-underline-position: from-font;
    }

.title-card-link {
    color: #000;
    text-align: center;
    font-family: var(--lexend);
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    margin: 0;
}

.subtitle-card-link {
    color: rgba(0, 0, 0, 0.41);
    text-align: center;
    font-family: var(--lexend);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    margin: 0;
}

.title-texto-card-link {
    color: var(--title-2);
    /* H4 */
    font-family: var(--lexend);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px; /* 166.667% */
    margin:0;
}

.texto-card-link {
    color: var(--texto-secundario);
    font-feature-settings: 'liga' off, 'calt' off;
    font-family: var(--lexend);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    min-height: 120px;
    margin: 0;
}

.ctn-card-link .texto-visible {
    opacity: 1;
    -webkit-mask-image: none;
    mask-image: none;
}

ctn-card-link .ver-card {
    opacity: 1 !important;
}

ctn-card-link .texto-oculto {
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    transition: opacity 2.5s
}

.card-content-up {
    transition: transform 1s cubic-bezier(0.39, 0.575, 0.565, 1), -webkit-transform 1s cubic-bezier(0.39, 0.575, 0.565, 1);
}


.ctn-card-link .swiper-button-next, .swiper-rtl .swiper-button-prev {
    right: 80px;
}

.ctn-card-link .swiper-button-next, .ctn-card-link .swiper-button-prev {
    /* top: 68rem; */
    color: var(--icons-tertiary);
}
    @media screen and (max-width: 1464px) {
        .ctn-card-link .swiper-button-next, .ctn-card-link .swiper-button-prev {
            display: none !important;
        }
    }
    @media screen and (max-width: 1232px) {
        .ctn-card-link {
            margin: 80px 23px 82px;
            gap: 40px;
        }

        .ctn-card-card-link {
            gap: var(--spacing-48px);
        }

            .ctn-card-card-link.swiper{
                width:100%;
            }
    }

    @media screen and (max-width:500px) {
        .title-card-link {
            font-size: 20px;
            line-height: 28px; /* 140% */
        }

        .title-texto-card-link {
            font-size: 16px;
            line-height: 24px; /* 150% */
        }
    }

    @media screen and (max-width:370px) {
        .sub-ctn-card-link {
            width: 100% !important;
            height: auto !important;
        }
    }