/* ==============================
   SEÇÃO PUBLICAÇÕES EM DESTAQUE
   ============================== */

.publicacoes-section {
    background-color: #F7F7F7;
    padding: 4rem 2rem;
    width: 100%;
}

.publicacoes-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.publicacoes-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #7A34F3;
    margin-bottom: 1rem;
}

.publicacoes-description {
    font-size: 1rem;
    color: #333;
    max-width: 600px;
    margin: 0 0 3rem 0;
    line-height: 1.6;
}

.publicacoes-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.publicacao-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.publicacao-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.categoria {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.categoria-roxa {
    background-color: #7A34F3;
    color: white;
}

.categoria-laranja {
    background-color: #FF6B35;
    color: white;
}

.card-content {
    padding: 1.5rem;
    text-align: left;
    position: relative;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.card-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.card-arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 24px;
    height: 24px;
    color: #7A34F3;
    transition: transform 0.3s ease;
}

.publicacao-card:hover .card-arrow {
    transform: translateX(4px);
}

.publicacoes-button {
    background: #9249CA;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.publicacoes-button:hover {
    background: #6a2fd8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(122, 52, 243, 0.3);
}

/* Responsividade */
@media (max-width: 1024px) {
    .publicacoes-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .publicacoes-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .publicacoes-section {
        padding: 3rem 1rem;
    }
    
    .publicacoes-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .publicacoes-title {
        font-size: 1.8rem;
    }
    
    .publicacoes-description {
        font-size: 0.9rem;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .card-arrow {
        bottom: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .publicacoes-section {
        padding: 2rem 1rem;
    }
    
    .publicacoes-title {
        font-size: 1.5rem;
    }
    
    .publicacoes-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .card-image {
        height: 160px;
    }
}
