﻿
.ctn-seccion-noticias {
    display: flex;
    margin: 80px 221px;
    align-items: center;
    justify-content: center;
}

.ctn-seccion-noticias .ver-card {
    opacity: 1 !important;
}

.sub-ctn-seccion-noticias {
    display: flex;
    width: 838px;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    border-radius: 20px;
    background: #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: opacity 1.6s ease-out;
}


.title-noticias {
    color: #000;
    text-align: center;
    /* H2 */
    font-family: var(--lexend);
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px; /* 133.333% */
    margin:0px;
}

.ctn-notiicas-left-right {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.noticias-left-home {
    display: flex;
    width: 428px;
    padding: 6px;
    flex-direction: column;
    align-items: flex-start;
    gap:4px;
    border: 1px solid rgba(206, 212, 218, 0.50);
}

.img-noticias-left {
    width: 413px;
    height: 239px;
    flex-shrink: 0;
    border-radius: 30px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.img-noticias-right {
    width: 123px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 10px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.title-noticias-left {
    color: var(--primario-primario-dark);
    text-align: center;
    /* Subtitle 1 */
    font-family: var(--lexend);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 150% */
    margin: 0;
}

.btn-mas {
    display: flex;
    width: 94px;
    padding: 8px 2px;
    align-items: center;
    gap: 8px;
    border-radius: 36px;
    color: var(--primario-primario);
    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;
    transition:transform 0.3s ease-in-out;
}

.btn-mas:hover{
    transform:scale(1.05)
}

.noticias-right-home {
    display: flex;
    flex-direction: column;
    gap: 23px;
}

.ctn-noticias-right-home {
    display: flex;
    width: 311px;
    padding: 6px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-radius: 10px;
    border:1px solid rgba(206, 212, 218, 0.50);
    background: #FFF;
}

.title-noticias-right {
    color: var(--primario-primario-dark);
    font-feature-settings: 'liga' off, 'calt' off;
    /* Body 2 */
    font-family: var(--lexend);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px; /* 150% */
    margin:0;
}

.btn-mas-mobile {
    display: none;
    width: auto;
    padding: 8px 2px;
    align-items: center;
    gap: 8px;
    border-radius: 36px;
    color: var(--primario-primario);
    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;
    transition: transform 0.3s ease-in-out;
}

.btn-mas-mobile:hover {
    transform: scale(1.05)
}

@media screen and (max-width:1295px) {
    .ctn-seccion-noticias{
        margin:80px 23px;
    }
}
@media screen and (max-width:900px){

    .ctn-notiicas-left-right a{
        display:flex;
    }

    .sub-ctn-seccion-noticias {
        align-items: center;
        width: 100%;
    }
    .ctn-notiicas-left-right {
        flex-direction: column;
        gap: 20px;
    }

    .img-noticias-left {
        width: 100%;
        height: 208px;
    }

    .img-noticias-right {
        width: 120px;
    }

    .title-noticias-left {
        text-align: start;
    }
    .noticias-left-home {
        width: 100%;
        align-items: center;
    }

    .noticias-right-home {
        gap: 20px;
    }

    .ctn-noticias-right-home{
        width:100%;
    }
}