﻿.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.news-card-link {
    text-decoration: none;
    color: inherit;
}

.news-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(255, 107, 0, 0.12);
}

.news-thumbnail-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    background-color: var(--card-bg);
}

.news-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-badge {
    display: inline-block;
    background: var(--primary);
    color: #000;
    font-weight: 700;
    font-size: 0.65rem;
    text-transform: uppercase;
    padding: 0.1rem 0.6rem;
    border-radius: 30px;
    align-self: flex-start;
    margin-bottom: 0.5rem;
}

.news-content h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    color: var(--text-color);
}

.news-content p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.4;
    flex: 1;
    margin-bottom: 0.5rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--muted);
    border-top: 1px solid var(--border-color);
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

/* Responsivo */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
    }
    .news-thumbnail-img {
        height: 140px;
    }
}

@media (max-width: 480px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

.noticia-detalhe-page {
    padding: 0.5rem 0;
}

.noticia-article h1 {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}
    .article-meta span i {
        margin-right: 0.3rem;
    }
}

.article-actions { margin-top: 2rem; text-align: center; }

.article-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 14px;
    margin-bottom: 1.5rem;
    background-color: var(--card-bg);
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
}
.article-content p {
    margin-bottom: 1rem;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem 0;
}
.article-tags .tag {
    background: var(--card-bg);
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}
.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    transition: all 0.2s;
}
.share-btn.whatsapp { background: #25D366; }
.share-btn.twitter { background: #000; }
.share-btn.copy { background: var(--primary); color: #000; }
.share-btn:hover { transform: scale(1.1); }

.related-news {
    margin-top: 2.5rem;
    border-top: 2px solid var(--border-color);
    padding-top: 1.5rem;
}
.related-news h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}
.related-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}
.related-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}
.related-thumb {
    height: 120px;
    background-size: cover;
    background-position: center;
    background-color: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
}
.related-card h4 {
    padding: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Responsivo */
@media (max-width: 768px) {
    .article-image {
        height: 200px;
    }
    .noticia-article h1 {
        font-size: 1.6rem;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
}