/* ===== PÁGINA DE NOTÍCIA INDIVIDUAL ===== */

.news-detail-page {
    margin-top: 80px;
    padding: 1.5rem 0;
}

/* Botão Voltar */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 153, 153, 0.3);
}

.back-button:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 153, 153, 0.4);
}

/* Header da Notícia */
.news-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffffff 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.news-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.news-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.news-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Imagem da Notícia */
.news-image-container {
    margin: 1.5rem 0;
    text-align: center;
}

.news-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.news-image:hover {
    transform: scale(1.02);
}

/* Conteúdo da Notícia */
.news-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-color);
}

.news-content p {
    margin-bottom: 1.2rem;
}

.news-content h2, .news-content h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem 0;
}

.news-content ul, .news-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.news-content li {
    margin-bottom: 0.5rem;
}

.news-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-muted);
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 0 10px 10px 0;
}

/* Notícias Relacionadas */
.related-news {
    margin-top: 3rem;
    padding: 2.5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.related-news h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.related-news-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.related-news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.related-news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-news-content {
    padding: 1.5rem;
}

.related-news-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.related-news-summary {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.related-news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.related-news-link:hover {
    color: var(--primary-dark);
}

/* Responsividade */
@media (max-width: 768px) {
    .news-detail-page {
        margin-top: 70px;
        padding: 1rem 0;
    }
    
    .news-title {
        font-size: 2rem;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .news-content {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .related-news-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .back-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

