/* =============================================
   Article Audio Player — Compact Inline Style
   ============================================= */

.audio-player {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    background: #f7f5f0;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    width: 100%;
}

/* Play / Pause button */
.audio-play-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: var(--navy, #0f2b46);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.15s;
    color: white;
}

.audio-play-btn:hover {
    background: #163d5e;
    transform: scale(1.06);
}

.audio-play-btn:active {
    transform: scale(0.96);
}

.audio-play-btn .material-symbols-outlined {
    font-size: 20px;
    font-variation-settings: 'FILL' 1;
}

/* Center section: label + progress */
.audio-center {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.audio-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.audio-label .material-symbols-outlined {
    font-size: 14px;
    color: var(--navy, #0f2b46);
}

/* Progress bar */
.audio-progress-wrap {
    position: relative;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 2px;
    cursor: pointer;
    overflow: hidden;
}

.audio-progress-wrap:hover {
    height: 6px;
}

.audio-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--navy, #0f2b46);
    border-radius: 2px;
    width: 0%;
    transition: width 0.15s linear;
}

/* Time display */
.audio-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
    color: #888;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.audio-time-separator {
    opacity: 0.4;
}

/* Speed button */
.audio-speed-btn {
    background: transparent;
    border: 1px solid #d4d4d4;
    color: #555;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-family);
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
    min-width: 36px;
    text-align: center;
}

.audio-speed-btn:hover {
    background: rgba(26, 115, 232, 0.08);
    color: #1a73e8;
    border-color: rgba(26, 115, 232, 0.3);
}

/* Responsive */
@media (max-width: 600px) {
    .audio-player {
        padding: 10px 14px;
        gap: 10px;
    }

    .audio-speed-btn {
        display: none;
    }
}
