/* noticias-home.css */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 20px;
    max-width: 800px;
    /* Largura máxima para o conteúdo */
    margin-left: auto;
    margin-right: auto;
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 2em;
    /* Tamanho maior para o título */
    line-height: 1.2;
}

.news-date {
    font-size: 0.9em;
    color: #777;
    display: block;
    /* Garante que a data fique em sua própria linha */
    border-bottom: 1px solid #eee;
    /* Linha separadora */
    padding-bottom: 10px;
}

.news-author {
    display: block;
    margin-top: 8px;
    margin-bottom: 16px;
    font-size: 0.95em;
    color: #555;
    font-weight: 600;
}

.news-content {
    margin-top: 10px;
}

.news-content img {
    max-width: 100%;
    /* Imagens responsivas */
    height: auto;
    display: block;
    /* Centraliza imagens */
    margin: 15px auto;
    border-radius: 4px;
}

.news-content p {
    margin-bottom: 1em;
    /* Espaçamento entre parágrafos */
}

.news-content a {
    color: #007bff;
    /* Links azuis */
    text-decoration: none;
}

.news-content a:hover {
    text-decoration: underline;
}

.error-message {
    color: #e74c3c;
    font-weight: bold;
    text-align: center;
    padding: 50px 0;
}