@import url("../../config/styles/config.css");
@import url("../../config/styles/navbar.css");
/* Main */
.content{
    width: 100%;
    min-width: 320px;
    max-width: 1200px;
    margin: auto;
}

.intro{
    width: 90%;
    margin: 20px auto;
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.intro__title{
    color: var(--Color_Principal);
    font-size: 30px;
    margin-bottom: 30px;
}

.intro__parrafo{
    line-height: 25px;
    font-weight: 300;
}

@media screen and (min-width:768px) {
    .intro{
        padding: 40px;
    }
}

@media screen and (min-width:1210px) {
    .intro{
        width: 100%;
        padding: 60px;
    }
}

/* contenidos */
.contenidos{
    width: 90%;
    height: auto;
    margin: 20px auto;
}

.tabla__menu,
.contenedor__beneficios{
    background-color: #FFF;
    border-radius: 10px;
    height: auto;
}

.tabla__menu{
    padding: 20px;
    margin-bottom: 20px;
}

.tabla__menu > div{
    position: sticky;
    top: 90px;
}

.tabla__menu h3{
    color: var(--Color_Principal);
    margin-bottom: 15px;
}

.tabla__menu__links{
    list-style: none;
}

.tabla__menu__link a{
    text-decoration: none;
    padding: 20px 5px 10px;
    display: block;
    margin-bottom: 5px;
    border-bottom: 1px solid #d0d7e11f;
    color: #a3a8b1;
    font-weight: 300;
    font-size: 14px;
}

.tabla__menu__link a:hover {
    background: #d0d7e11f;
    color: #6a6a6a;
}

.contenedor__beneficios{
    overflow: hidden;
}

.contenedor__beneficios__header {
    width: 100%;
    height: 250px;
    overflow: hidden;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.contenedor__beneficios__header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contenedor__beneficios__text{
    padding: 20px;
}

.contenedor__beneficios__title{
    margin-bottom: 25px;
}

.contenedor__beneficios__parrafo{
    font-weight: 300;
    line-height: 20px;
    margin-bottom: 20px;
}

.lista__beneficios{
    padding-left: 20px;
    font-weight: 300;
    line-height: 22px;
}

@media screen and (min-width:768px){
    .tabla__menu {
        height: 100%;
    }
}

@media screen and (min-width:1000px) {
    .contenidos {
        display: grid;
        grid-template-columns: 30% 68%;
        gap: 20px;
        transition: all 0.4s ease;
    }

    .contenedor__beneficios__header {
        height: 320px;
    }

    .contenedor__beneficios__title{
        margin: 30px 0px;
    }
}

@media screen and (min-width:1210px) {
    .contenidos {
        width: 100%;
    }
}

/* novedades */
.novedades{
    background-color: #FFF;
    width: 90%;
    margin: auto;
    border-radius: 10px;
    padding: 20px;
    padding-top: 30px;
    transition: all 0.3s ease;
}

.novedades p{
    font-weight: 300;
    line-height: 26px;
}

.novedades__title{
    margin-bottom: 20px;
    text-align: center;
}

.cards{
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    transition: all 0.3s ease;

}

.card{
    background-color: #f5f7f9;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 25px;
    width: 90%;
    max-width: 320px;
}

.card__header{
    width: 100%;
    height: 210px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    overflow: hidden;
}

.card__header img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.card__texto{
    padding: 20px;
}

.card__title{
    color: var(--Color_Principal);
    font-size: 22px;
    line-height: 28px;
}

.nombre__autor{
    margin-bottom: 20px;
    color: var(--Color_Secundario);
    font-size: 15px;
}

.card__btn{
    background: #5790ab; 
    text-decoration: none; 
    padding: 15px 30px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
    color: #fff;
    font-weight: 300;
}

.card__autor {
    background-color: #cbe0f5;
    text-align: center;
    font-size: 14px;
    line-height: 12px;
    padding: 10px;
    margin-top: 10px;
}

.card__autor p {
    line-height: 17px;
    color: var(--Color_Principal);
}

@media screen and (min-width:768px) {
    .novedades > p{
        width: 90%;
        margin: auto;
        text-align: center;
    }

    .cards{
        grid-template-columns: repeat(2,1fr);
    }
    
    .card{
        width: 93%;
    }
}

@media screen and (min-width: 1000px) {
    .cards{
        grid-template-columns: repeat(3,1fr);
    }
}

@media screen and (min-width:1210px){
    .novedades{
        width: 100%;
    }
}