.noticia-container {
    margin-top: 20px;
    padding: 15px;
}

.noticia-imagem img {
    width: 100%;
    max-height: 300px; /* Limita a altura da imagem */
    object-fit: cover; /* Mantém a proporção e evita distorção */
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.noticia-conteudo {
    padding: 20px;
}

/* Ajustes para telas médias */
@media (max-width: 992px) {
    .noticia-imagem img {
        max-height: 250px;
    }

    .titulo-noticia {
        font-size: 2rem;
    }
    
    .texto-noticia, .data-noticia {
        font-size: 1.6rem;
    }
}

/* Ajustes para telas menores */
@media (max-width: 768px) {
    .noticia-container {
        text-align: center;
    }

    .noticia-imagem img {
        max-height: 220px;
    }

    .titulo-noticia {
        font-size: 2.2rem;
    }
    
    .texto-noticia, .data-noticia {
        font-size: 2.0rem;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 480px) {
    .noticia-imagem img {
        max-height: 180px;
    }

    .titulo-noticia {
        font-size: 1.8rem;
    }
    
    .texto-noticia, .data-noticia {
        font-size: 1.4rem;
    }
}

