/* Audio component styling shared across the site */

.custom-audio-player {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(245, 240, 230, 0.94)) !important;
    border: 1px solid var(--nfe-line) !important;
    box-shadow: var(--nfe-shadow);
    padding: 1.4rem !important;
}

.custom-audio-player__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--nfe-text);
}

.custom-audio-player__description {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dotted rgba(31, 38, 31, 0.24);
    color: var(--nfe-muted);
    font-size: 0.92rem;
    font-style: italic;
    line-height: 1.5;
}

.custom-audio-player__actions {
    margin-top: 0.9rem;
    text-align: end;
}

.custom-audio-player__download {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(36, 59, 47, 0.24);
    color: var(--nfe-forest);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.custom-audio-player__download:hover {
    color: #f8f4ea;
    background: var(--nfe-forest);
}

.custom-audio-player audio {
    width: 100%;
}

@media (max-width: 767.98px) {
    .custom-audio-player {
        padding: 1.4rem;
    }
}
