/* ============================================
   OPINIAO.CSS - Seção Opinião
   Central de Notícias Brasil
   Desenvolvido por: Joceilton Gomes
   ============================================ */

/* ====== SEÇÃO OPINIÃO ====== */
.opiniao-section {
    background: #fff;
    padding: 40px 0;
}

.opiniao-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.opiniao-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.opiniao-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #dc2626;
    position: relative;
    padding-bottom: 8px;
}

.opiniao-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #dc2626;
    border-radius: 2px;
}

.opiniao-btn {
    background: #dc2626;
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.opiniao-btn:hover {
    background: #b91c1c;
}

/* Grid de Cards */
.opiniao-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.opiniao-card a {
    display: block;
    text-decoration: none;
}

.opiniao-thumb {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    aspect-ratio: 4/3;
}

.opiniao-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.opiniao-card:hover .opiniao-thumb img {
    transform: scale(1.05);
}

.opiniao-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #dc2626;
    line-height: 1.4;
    margin-bottom: 8px;
    min-height: 56px;
    transition: color 0.3s ease;
}

.opiniao-card:hover h3 {
    color: #b91c1c;
}

.opiniao-date {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
}

/* ====== RESPONSIVO ====== */
@media (max-width: 1200px) {
    .opiniao-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .opiniao-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .opiniao-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .opiniao-card h3 {
        min-height: auto;
    }
}

