#noticias {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: var(--ff-roboto);
    color: var(--gray);
}

#noticias h1{
    margin-bottom: 50px;
    color: var(--blackblue);
    font-family: var(--ff-zendots);
}

.noticias-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.noticia-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--darkblue_30);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.noticia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px var(--darkblue_60);
}

.noticia-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.noticia-card h2 {
    font-size: 20px;
    margin: 15px;
    color: var(--darkblue_10);
    font-family: var(--ff-roboto);
}

.noticia-card p {
    font-size: 14px;
    margin: 0 15px 15px 15px;
    color: var(--gray);
}

.noticia-card a {
    display: block;
    text-align: center;
    background-color: var(--darkblue);
    color: var(--white);
    padding: 10px;
    text-decoration: none;
    border-top: 1px solid var(--darkblue_30);
    transition: background 0.3s ease;
    font-weight: bold;
}

.noticia-card a:hover {
    background-color: var(--lightblue);
}

/* Estilo da notícia detalhada */
.noticia-detalhe {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 12px var(--darkblue_30);
    text-align: center;
}

.noticia-detalhe h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--darkblue);
    font-family: var(--ff-zendots);
}

.noticia-detalhe img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.noticia-detalhe p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--blackblue);
    text-align: justify;
}

.noticia-detalhe a {
    display: inline-block;
    margin-top: 20px;
    background-color: var(--darkblue);
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.noticia-detalhe a:hover {
    background-color: var(--lightblue);
}
