/* POSTS PAGINA INICIAL */


.news-container-reitorias {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 7px; /* Espaçamento entre os posts */
    padding: 10px;
    margin-top: 0px;
    max-height: 900px;
    overflow-y: auto;

}

.news-container-reitorias::-webkit-scrollbar {
    width: 10px; 
    
}

.news-container-reitorias::-webkit-scrollbar-track {
    background-color: #f1f1f1; 
    border-radius: 10px; 
    
}

.news-container-reitorias::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px; 
    border: 2px solid #f1f1f1;
    
}

.news-container-reitorias::-webkit-scrollbar-thumb:hover {
    background-color: #555; 
}

.mais-noticias{
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

.mais-noticias-container{
    width: 160px;
    height: 40px;
    margin-bottom: 5px;
    background-color: #1351b4;
    border-radius: 18px;
    display: flex;  
    justify-content: center; 
    align-items: center;  
    cursor: pointer;  
    text-decoration: none; 
}

.mais-noticias-a{
    font-size: 1.2rem;
    font-weight: 600;
    color: #FFF;
    margin: 0;
}

.post-item-reitorias {
    max-width: 550px; 
    margin-bottom: 5px; /* Espaçamento entre os posts */
    margin-right: 5px;
    justify-content: center;
    box-sizing: border-box; /* Inclui padding e border na largura */
    margin-top: 10px;
    box-sizing: border-box;
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;

}

.post-item-reitorias:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.post_reitorias {
    
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    padding: 10px;
    box-sizing: border-box; /* Inclui padding e border na largura */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1; 
}

.info-post-reitorias {
    margin-bottom: 10px;
}


.title-post-reitorias {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 7px;
    width: 100%;
    color: #333;
    text-align: left;
    margin-bottom: 2px;
    white-space: normal; /* Permite a quebra de linha */
}

.title-post-reitorias .post-link-all {
    text-decoration: none; 
    color: inherit;
    transition: color 0.3s;
    
}

.title-post-reitorias .post-link-all:hover {
    color: #007bff;
}

.conteudos-reitorias img {
    display: none;
}

.content-post-reitorias{
    font-size: 0.8rem;
    font-weight: 400;
    margin-top: 7px;
    width: 100%;
    text-align: left;
    margin-bottom: 2px;
    white-space: normal; /* Permite a quebra de linha */
    word-wrap: break-word;
}

.content-post-reitorias p {
    margin: 0; /* Remove o espaço entre parágrafos */
}

.meta-info-all {
    margin-top: 0;
    font-size: 0.8rem;
    color: #777;
}

.category-post_reitorias {
    margin-right: 10px;
    text-decoration: none;
    color: #007bff;
}

.category-post_reitorias:hover {
    text-decoration: underline;
}

.date-post_reitorias {
    color: #777;
}
  

@media (max-width: 1200px) {

    .news-container-reitorias{
        justify-content: center;
        align-items: center;
      

    }

    .conteudos-reitorias img {
        display: none;
    }

    .post-item-reitorias {
        flex: 1 1 100%;
        max-width: 100%;
        width: 520px;
        margin-right: 0;
        transition: none; 
    }

}

/* Para telas menores que 768px */
@media (max-width: 990px) {
    .news-container-reitorias{
        justify-content: center;
        align-items: center;
    }


    .post-item-reitorias {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
        margin-right: 0;
        transition: none; 
    }

    .conteudos-reitorias img {
        display: none;
    }

    .content-post-reitorias{
        margin-top: 7px;
        width: 100%;
        text-align: left;
        margin-bottom: 2px;
        white-space: normal; /* Permite a quebra de linha */
        word-wrap: break-word;
    }

    .post-item-reitorias:hover {
        transform: none; 
        box-shadow: none; 
    }

    .title-post-reitorias {
        font-size: 1.2rem;
        font-weight: 600;
        line-height: 1.4;
        text-align: left; 
        white-space: normal; 
    }

    .title-post-reitorias .post-link-all:hover {
        color: inherit;
    }

    .category-post_reitorias {
        text-decoration: none;  
    }
}

/* Para telas menores que 576px */
@media (max-width: 576px) {
    .news-container-reitorias {
        justify-content: flex-start; /* Alinha o conteúdo ao topo */
        align-items: stretch; /* Faz com que o container cresça conforme o conteúdo */
        max-height: 400px; /* Altura máxima ajustada */
        overflow-y: auto; /* Permite rolagem */
        padding: 5px; /* Ajuste de padding para maximizar o espaço interno */
        margin: 0 auto; /* Centraliza o container horizontalmente */
    }

    .post-item-reitorias {
        flex: 1 1 100%;
        max-width: 100%;
        margin-right: 0;
        transition: none; 
    }

    .conteudos-reitorias img {
        display: none;
    }

    .content-post-reitorias{
        margin-top: 7px;
        width: 100%;
        text-align: left;
        margin-bottom: 2px;
        white-space: normal; /* Permite a quebra de linha */
        word-wrap: break-word;
    }

    .post-item-reitorias:hover {
        transform: none; 
        box-shadow: none; 
    }

   
    .title-post-reitorias {
        font-size: 1.2rem;
        font-weight: 600;
        line-height: 1.4;
        text-align: left; 
        white-space: normal; 
    }

    .title-post-reitorias .post-link-all:hover {
        color: inherit;
    }



    .category-post_reitorias {
        text-decoration: none;  
    }

}

