/* ============================================
   MATERIAS.CSS - Seção Matérias em Áudio
   Central de Notícias Brasil
   Desenvolvido por: Joceilton Gomes
   ============================================ */

/* ====== MATÉRIAS EM ÁUDIO ====== */
.materias-audio-section {
    background: #fff;
    padding: 40px 0;
    border-top: 1px solid #e5e7eb;
}

.materias-audio-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.materias-audio-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 28px;
    position: relative;
    display: inline-block;
}

.materias-audio-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #f97316;
    border-radius: 2px;
}

/* Grid de Cards */
.materias-audio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.materia-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.materia-tag {
    display: inline-block;
    padding: 4px 12px;
    background: transparent;
    color: #2563eb;
    border: 1px solid #2563eb;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    width: fit-content;
}

.materia-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    min-height: 60px;
}

.materia-meta {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
}

.materia-audio {
    width: 100%;
    height: 40px;
}

.materia-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.materia-btn {
    padding: 8px 16px;
    background: transparent;
    color: #1a1a1a;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.materia-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

/* Footer */
.materias-audio-footer {
    display: flex;
    justify-content: flex-end;
}

.materias-ver-todas {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.materias-ver-todas:hover {
    background: #1d4ed8;
}

/* ====== OUTROS ÁUDIOS PARA RÁDIOS ====== */
.audios-radio-section {
    background: #fff;
    padding: 40px 0;
}

.audios-radio-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.audios-radio-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #dc2626;
    margin-bottom: 28px;
    position: relative;
    display: inline-block;
}

.audios-radio-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #dc2626;
    border-radius: 2px;
}

/* Grid de Cards */
.audios-radio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.audio-radio-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.audio-radio-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    min-height: 48px;
}

.audio-radio-date {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
}

.audio-radio-player {
    width: 100%;
    height: 40px;
    margin: 8px 0;
}

.audio-radio-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: #2563eb;
    color: white;
    text-align: center;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.audio-radio-btn:hover {
    background: #1d4ed8;
}

/* ====== RESPONSIVO ====== */
@media (max-width: 1200px) {
    .materias-audio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .audios-radio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .materias-audio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .materia-card h3 {
        min-height: auto;
    }

    .materia-actions {
        flex-wrap: wrap;
    }

    .materias-audio-footer {
        justify-content: center;
    }

    .audios-radio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .audio-radio-card h3 {
        min-height: auto;
    }
}

