.body__container{
    display: block;
}
.news__list{
    display: grid;
    grid-template-columns: 400px 400px 400px;
    column-gap: 50px;

    flex-wrap: wrap;
}
.news__item{
    background-color: white;
    box-shadow: var(--box-shadow);
    border-radius: 20px;
    margin-bottom: 40px;
    padding: 20px;
    height: 400px;
    transition: 0.3s;

}
.news__item--img{
    display: flex;
    justify-content: center;
    align-items: center;

}
.news__item--img img{
    width: 360px;
    height: 270px;
   
    border-radius: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
   
}

.news__item--content{
    width: 100%;
}
.news__item--tittle{
    font-size: 1.6rem;
    line-height: 2.4rem;
    font-weight: 500;
    margin-top: 20px;

}
.news__list a{
    text-decoration: none;
    color: var(--text-color);
}
.news__list a:hover .news__item{
    background: var(--p-2-color);
}

.list__page{
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px auto 50px;
}
.list__page .active{
    background-color: var(--p-color);
    color: white;
}
.list__page li{
    list-style: none;
    background-color: white;
    box-shadow: var(--box-shadow);
    color: var(--text-color);
    padding: 18px 23px;
    border-radius: 20px;
    font-size: 1.4rem;
    font-weight: 400;

    cursor: pointer;
    transition: 0.3s;
}
.list__page li:hover{
    background-color: var(--p-color);
    color: white;

}

/* -------------------------------------------------------------------------------------------------------------------------------------------- NEWS DOC------------- */
.grid-2{
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
}
.news--doc__container{
    margin-top: 40px;
}
.news--doc__tittle{
    font-size: 2rem;
    line-height: 4rem;
    color: var(--text-color);
    
}
.news--doc__img{
 padding: 50px;
}
.news--doc__img img{
    width: 100%;
    display: block;
    margin: auto;
}
.news--doc__content p{
    font-size: 1.8rem;
    line-height: 3rem;
    color: var(--text-color);
    text-align: justify;
    word-break: break-word;
    margin-bottom: 10px;
}
.news--doc__content{
    margin-bottom: 80px;
}
.news--doc__content img{
    margin: 40px 0;
    width: 100%;
    
}

