/* Página de Notícias */
.pagina-noticias {
    padding: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.titulo-pagina {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-size: 2.2rem;
}

.lista-noticias {
    margin: 40px;
}

.leia-mais {
    display: inline-block;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.leia-mais:hover {
    text-decoration: none;
    color: var(--dark-color);
}

.grid-noticias {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.noticia {
    border: 1px solid var(--border-color);
    border-radius: 3px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.noticia:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.noticia img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.noticia h4 {
    padding: 0 15px;
    margin-top: 15px;
    font-size: 1.3rem;
}

.noticia h4 a {
    color: var(--dark-color);
}

.noticia h4 a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.noticia .data {
    padding: 0 15px;
    color: var(--text-light);
    font-size: 0.8rem;
    margin: 10px 0;
}

.noticia .resumo {
    padding: 0 15px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-color);
}

.noticia .leia-mais {
    display: block;
    padding: 0 15px 15px;
}

.mensagem-info {
    text-align: center;
    padding: 30px;
    background-color: var(--light-color);
    border-radius: 3px;
}

/* Notícia individual */
.pagina-noticia {
    padding: 30px 0;
}

.noticia-completa {
    max-width: 800px;
    margin: 0 auto;
}

.noticia-completa .titulo-pagina {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.meta-noticia {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.imagem-destaque {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    border-radius: 3px;
}

h3{
    margin: 5px 15px;
}
.conteudo-noticia {
    font-size: 1.1rem;
    line-height: 1.8;
}

.conteudo-noticia p {
    margin-bottom: 1.5rem;
}

.voltar {
    display: inline-block;
    margin-top: 20px;
    font-weight: bold;
}


@media screen and (max-width: 767px) {
    .lista-noticias{
        margin: 0;
    }
}