/* Estilo para o contêiner de notícias */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background-color: #f5f5f5; /* Fundo suave */
    border-radius: 8px;
    max-width: 1200px;
    margin: auto;
}

/* Cada item de notícia */
.news-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s, transform 0.3s;
}

.news-item:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Imagem da notícia */
.news-item img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}

.news-item img:hover {
    transform: scale(1.05);
}

/* Conteúdo da notícia */
.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 10px; /* Margem superior personalizada */
    margin-bottom: 15px; /* Margem inferior personalizada */
    margin-left: 5px; /* Margem esquerda personalizada */
    margin-right: 10px; /* Margem direita personalizada */
}

/* Categoria da notícia */
.news-category {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.05em;
}

/* Título da notícia */
.news-title {
    font-size: 1.6rem;
    color: #1b1919; /* Vermelho */
    font-weight: bold;
    margin-bottom: 0.8px;
    line-height: 1.0;
    transition: color 0.3s;
}

.news-title:hover {
    color: #b71c1c; /* Vermelho mais escuro */
}

/* Detalhes adicionais (tempo e seção) */
.news-details {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
}

/* Ações (botões) */
.news-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.news-actions button,
.news-actions a {
    padding: 10px 15px;
    font-size: 0.9rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
}

/* Botão Curtir */
.news-actions .news-like {
    background-color: #ff9800;
    color: white;
}

.news-actions .news-like:hover {
    background-color: #e68900;
}

/* Botão Comentar */
.news-actions .news-comment {
    background-color: #03a9f4;
    color: white;
}

.news-actions .news-comment:hover {
    background-color: #0288d1;
}

/* Botão Compartilhar */
.news-actions .news-share {
    background-color: #8e24aa;
    color: white;
}

.news-actions .news-share:hover {
    background-color: #6a1b9a;
}

/* Botão Leia Mais */
.news-read-more {
    background-color: #28a745;
    color: white;
}

.news-read-more:hover {
    background-color: #218838;
}

/* Responsividade */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
    }

    .news-item img {
        width: 100%;
        height: auto;
    }

    .news-actions {
        justify-content: center;
    }
}
