/* ==========================================================================
   WINSAFY UTILITY - PODCAST & WHATSAPP-STYLE VOICE NOTE SYSTEM
   Harmonized with WinSafy Design System (Colors: #1A3FD8, #0D1760, #00A3FF, #00C853)
   Clean vector SVGs only. No emojis.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. PODCAST HERO BANNER (Identical to Blog Banner)
   -------------------------------------------------------------------------- */
.podcast-banner {
    background: linear-gradient(135deg, #1A3FD8 0%, #0D1760 100%) !important;
    color: #FFFFFF !important;
    padding: 180px 0 70px 0 !important;
    position: relative !important;
    overflow: hidden !important;
    text-align: center !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.podcast-banner::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px) !important;
    background-size: 40px 40px !important;
    pointer-events: none !important;
    opacity: 1 !important;
}

.podcast-banner h1,
.podcast-banner-title {
    font-size: 42px !important;
    color: #FFFFFF !important;
    margin-bottom: 15px !important;
    font-family: 'Sora', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px;
}

.podcast-title-prefix {
    display: inline;
}

.podcast-title-brand {
    display: inline;
    color: #00A3FF;
    margin-left: 8px;
}

.podcast-banner p,
.podcast-banner-subtitle {
    font-size: 18px !important;
    color: #E2E8F0 !important;
    max-width: 680px !important;
    margin: 0 auto !important;
    line-height: 1.6 !important;
    font-family: 'DM Sans', sans-serif !important;
}


/* --------------------------------------------------------------------------
   2. CATEGORY FILTER PILLS (Matching Blog Filter Pills)
   -------------------------------------------------------------------------- */
.podcast-filter-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 45px;
}

.podcast-filter-btn {
    padding: 10px 22px;
    border-radius: 50px;
    background: #FFFFFF;
    color: #0D1760;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Sora', sans-serif;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.podcast-filter-btn:hover {
    background: #F1F5F9;
    border-color: #CBD5E1;
    color: #1A3FD8;
    transform: translateY(-1px);
}

.podcast-filter-btn.active {
    background: #1A3FD8;
    color: #FFFFFF;
    border-color: #1A3FD8;
    box-shadow: 0 4px 15px rgba(26, 63, 216, 0.25);
}

/* --------------------------------------------------------------------------
   3. RESPONSIVE HORIZONTAL PODCAST CARDS (Matching Blog Identity)
   -------------------------------------------------------------------------- */
.winsafy-podcasts-catalog-wrap {
    width: 100%;
    clear: both;
    font-family: 'DM Sans', sans-serif;
}

.podcast-cards-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 960px;
    margin: 0 auto 60px auto;
}

/* Horizontal Podcast Card */
.podcast-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(13, 23, 96, 0.04);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    position: relative;
    box-sizing: border-box;
}

.podcast-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(26, 63, 216, 0.09);
    border-color: rgba(0, 163, 255, 0.4);
}

/* 1:1 Square Cover Thumbnail (Left Side) */
.podcast-card-cover {
    width: 170px;
    min-width: 170px;
    height: 170px;
    aspect-ratio: 1 / 1;
    position: relative;
    background: linear-gradient(135deg, #0D1760 0%, #1A3FD8 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.podcast-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.podcast-card:hover .podcast-card-cover img {
    transform: scale(1.06);
}

.podcast-cover-default {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #FFFFFF;
    text-align: center;
}

.podcast-cover-default span {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.85);
}

.podcast-duration-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(13, 23, 96, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
    padding: 3px 9px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

/* Animated Audio Equalizer Spectrum Overlay on Podcast Cover (Full Cover Waves) */
.podcast-cover-spectrum {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 23, 96, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    z-index: 2;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.podcast-card.is-playing .podcast-cover-spectrum {
    opacity: 1;
    pointer-events: auto;
    animation: spectrumCoverGlowPulse 2.5s ease-in-out infinite;
}

@keyframes spectrumCoverGlowPulse {
    0%, 100% {
        box-shadow: inset 0 0 30px rgba(0, 163, 255, 0.35);
    }
    50% {
        box-shadow: inset 0 0 50px rgba(0, 163, 255, 0.65), 0 0 25px rgba(26, 63, 216, 0.4);
    }
}

.podcast-cover-spectrum .spectrum-bar {
    display: block;
    width: 4.5px;
    border-radius: 4px;
    background: linear-gradient(180deg, #00C853 0%, #00A3FF 60%, #1A3FD8 100%);
    box-shadow: 0 0 10px rgba(0, 163, 255, 0.7);
    transition: height 0.15s ease;
}

/* Idle heights */
.spectrum-bar.bar-1 { height: 8px; }
.spectrum-bar.bar-2 { height: 16px; }
.spectrum-bar.bar-3 { height: 28px; }
.spectrum-bar.bar-4 { height: 40px; }
.spectrum-bar.bar-5 { height: 26px; }
.spectrum-bar.bar-6 { height: 15px; }
.spectrum-bar.bar-7 { height: 8px; }

/* Dynamic Animations when Audio is Playing */
@keyframes specWaveA { 0%, 100% { height: 8px; } 50% { height: 42px; } }
@keyframes specWaveB { 0%, 100% { height: 38px; } 50% { height: 12px; } }
@keyframes specWaveC { 0%, 100% { height: 14px; } 50% { height: 50px; } }
@keyframes specWaveD { 0%, 100% { height: 48px; } 50% { height: 18px; } }
@keyframes specWaveE { 0%, 100% { height: 18px; } 50% { height: 45px; } }
@keyframes specWaveF { 0%, 100% { height: 40px; } 50% { height: 10px; } }
@keyframes specWaveG { 0%, 100% { height: 10px; } 50% { height: 36px; } }

.podcast-card.is-playing .spectrum-bar.bar-1 {
    animation: specWaveA 0.75s ease-in-out infinite;
}
.podcast-card.is-playing .spectrum-bar.bar-2 {
    animation: specWaveB 0.6s ease-in-out infinite 0.12s;
}
.podcast-card.is-playing .spectrum-bar.bar-3 {
    animation: specWaveC 0.85s ease-in-out infinite 0.05s;
}
.podcast-card.is-playing .spectrum-bar.bar-4 {
    animation: specWaveD 0.7s ease-in-out infinite 0.18s;
}
.podcast-card.is-playing .spectrum-bar.bar-5 {
    animation: specWaveE 0.8s ease-in-out infinite 0.08s;
}
.podcast-card.is-playing .spectrum-bar.bar-6 {
    animation: specWaveF 0.65s ease-in-out infinite 0.15s;
}
.podcast-card.is-playing .spectrum-bar.bar-7 {
    animation: specWaveG 0.72s ease-in-out infinite 0.22s;
}

/* Badge Spectrum in Article Player */
.article-spectrum-bars {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 13px;
    margin-right: 4px;
}

.art-spec-bar {
    display: block;
    width: 2.5px;
    border-radius: 1px;
    background: #1A3FD8;
    transition: height 0.2s ease;
}

.art-spec-bar.bar-1 { height: 4px; }
.art-spec-bar.bar-2 { height: 9px; }
.art-spec-bar.bar-3 { height: 12px; }
.art-spec-bar.bar-4 { height: 6px; }

.winsafy-article-podcast-player.is-playing .art-spec-bar {
    background: linear-gradient(180deg, #00A3FF 0%, #1A3FD8 100%);
}
.winsafy-article-podcast-player.is-playing .art-spec-bar.bar-1 {
    animation: spectrumWaveA 0.7s ease-in-out infinite;
}
.winsafy-article-podcast-player.is-playing .art-spec-bar.bar-2 {
    animation: spectrumWaveB 0.55s ease-in-out infinite 0.1s;
}
.winsafy-article-podcast-player.is-playing .art-spec-bar.bar-3 {
    animation: spectrumWaveC 0.8s ease-in-out infinite 0.05s;
}
.winsafy-article-podcast-player.is-playing .art-spec-bar.bar-4 {
    animation: spectrumWaveD 0.6s ease-in-out infinite 0.15s;
}

/* Card Body (Right Side) */
.podcast-card-body {
    padding: 16px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    min-width: 0;
}

.podcast-card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    gap: 12px;
}

.podcast-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #94A3B8;
}

.podcast-card-category {
    font-family: 'Sora', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1A3FD8;
    background: rgba(26, 63, 216, 0.08);
    padding: 3px 10px;
    border-radius: 12px;
}

.podcast-card-ep-number {
    font-size: 11.5px;
    font-weight: 600;
    color: #64748B;
}

.podcast-card-title {
    font-family: 'Sora', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #0D1760;
    margin: 0 0 6px 0;
    line-height: 1.35;
}

.podcast-card-excerpt {
    font-size: 13.5px;
    line-height: 1.5;
    color: #64748B;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* In-Card Horizontal Audio Player Bar */
.podcast-card-player {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.podcast-card-player:hover {
    border-color: #CBD5E1;
    background: #F1F5F9;
}

.podcast-card-play-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A3FD8 0%, #00A3FF 100%);
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(26, 63, 216, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.podcast-card-play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(26, 63, 216, 0.5);
}

.podcast-card-play-btn .icon-pause {
    display: none;
}

.podcast-card-player.is-playing .podcast-card-play-btn .icon-play {
    display: none;
}

.podcast-card-player.is-playing .podcast-card-play-btn .icon-pause {
    display: block;
}

/* Skip -10s / +10s in Card */
.podcast-card-skip-btn {
    background: transparent;
    border: none;
    color: #64748B;
    cursor: pointer;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.podcast-card-skip-btn:hover {
    color: #1A3FD8;
    background: rgba(26, 63, 216, 0.06);
    transform: scale(1.08);
}

/* Single Horizontal Linear Track (Perfect Midline Centering with Play Button) */
.podcast-card-track {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    min-width: 90px;
    height: 32px;
}

.podcast-card-time-current,
.podcast-card-time-duration {
    font-size: 11px;
    font-weight: 600;
    color: #64748B;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    user-select: none;
    line-height: 1;
}

.podcast-card-bar-wrap {
    flex: 1;
    height: 6px;
    background: #E2E8F0;
    border-radius: 3px;
    position: relative;
    overflow: visible;
    transition: background 0.2s ease;
}

.podcast-card-player:hover .podcast-card-bar-wrap {
    background: #CBD5E1;
}

.podcast-card-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #1A3FD8, #00A3FF);
    border-radius: 3px;
    transition: width 0.1s linear;
    position: relative;
}

.podcast-card-bar-handle {
    position: absolute;
    top: 50%;
    right: -4px;
    transform: translateY(-50%) scale(0);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00A3FF;
    border: 2px solid #FFFFFF;
    box-shadow: 0 0 6px rgba(0, 163, 255, 0.7);
    transition: transform 0.15s ease;
    pointer-events: none;
}

.podcast-card-player.is-playing .podcast-card-bar-handle,
.podcast-card-track:hover .podcast-card-bar-handle {
    transform: translateY(-50%) scale(1);
}

/* Speed Button */
.podcast-card-speed-btn {
    background: transparent;
    border: 1px solid #CBD5E1;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Sora', sans-serif;
    flex-shrink: 0;
}

.podcast-card-speed-btn:hover {
    background: #1A3FD8;
    color: #FFFFFF;
    border-color: #1A3FD8;
}

/* Volume Button */
.podcast-card-vol-btn {
    background: transparent;
    border: none;
    color: #64748B;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.podcast-card-vol-btn:hover {
    color: #1A3FD8;
    transform: scale(1.08);
}

/* Share Actions in Card Header */
.podcast-card-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.podcast-share-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.podcast-share-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #64748B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.podcast-share-btn:hover {
    background: #1A3FD8;
    color: #FFFFFF;
    border-color: #1A3FD8;
    transform: translateY(-1px);
}

.podcast-share-wa:hover {
    background: #25D366;
    border-color: #25D366;
}

/* Responsive Mobile Styles */
@media (max-width: 768px) {
    .podcast-banner {
        padding: 135px 16px 35px 16px !important;
    }
    .podcast-banner h1,
    .podcast-banner-title {
        font-size: 26px !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        text-align: center !important;
    }
    .podcast-title-prefix {
        display: block !important;
        white-space: nowrap !important;
        color: #FFFFFF !important;
    }
    .podcast-title-brand {
        display: block !important;
        color: #00A3FF !important;
        margin-left: 0 !important;
    }
    .podcast-banner p,
    .podcast-banner-subtitle {
        font-size: 14.5px !important;
        line-height: 1.55 !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

    /* Category Filter Carousel on Mobile (Edge-to-Edge Swipe) */
    .podcast-filter-bar {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        padding: 6px 16px 14px 16px !important;
        margin: 0 -16px 30px -16px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    .podcast-filter-bar::-webkit-scrollbar {
        display: none !important;
    }
    .podcast-filter-btn {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        padding: 9px 18px !important;
        font-size: 13.5px !important;
    }
}

/* Responsive Horizontal Card Breakpoint */
@media (max-width: 680px) {
    .podcast-card {
        flex-direction: column;
    }
    .podcast-card-cover {
        width: 100%;
        min-width: auto;
        height: 180px;
        aspect-ratio: auto;
    }
    .podcast-card-body {
        padding: 16px;
    }
}

/* --------------------------------------------------------------------------
   4. WHATSAPP-STYLE MINI VOICE NOTE (Hero Section)
   -------------------------------------------------------------------------- */
.hero-voice-note-container {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 15;
    margin-top: 14px;
}

.hero-voice-note-container:empty {
    display: none !important;
}

.hero-voice-note-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 380px;
}

/* Unified Audio Card */
.voice-note-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(13, 23, 96, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(0, 163, 255, 0.42);
    border-radius: 18px;
    padding: 8px 12px;
    color: #FFFFFF;
    box-shadow: 0 12px 30px -6px rgba(13, 23, 96, 0.7), 0 0 22px rgba(0, 163, 255, 0.22);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 380px;
    width: 100%;
    box-sizing: border-box;
    user-select: none;
}

.voice-note-card:hover {
    border-color: rgba(0, 163, 255, 0.8);
    box-shadow: 0 16px 36px -6px rgba(13, 23, 96, 0.8), 0 0 28px rgba(0, 163, 255, 0.38);
}

/* Row 1: Thumbnail & Marquee Title */
.voice-note-top-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    overflow: hidden;
}

.voice-note-thumb {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 163, 255, 0.45);
    background: linear-gradient(135deg, #1A3FD8 0%, #0D1760 100%);
    box-shadow: 0 0 10px rgba(0, 163, 255, 0.3);
    flex-shrink: 0;
}

.voice-note-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Animated Equalizer Spectrum Covering Hero Thumbnail */
.voice-note-thumb-spectrum {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 23, 96, 0.72);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.voice-note-capsule.is-playing .voice-note-thumb-spectrum {
    opacity: 1;
}

.vn-spec-bar {
    display: block;
    width: 2.5px;
    border-radius: 2px;
    background: linear-gradient(180deg, #00F0FF 0%, #00C853 100%);
    box-shadow: 0 0 6px rgba(0, 240, 255, 0.8);
    height: 6px;
    transition: height 0.15s ease;
}

.voice-note-capsule.is-playing .vn-spec-bar.bar-1 { animation: vnSpecWave1 0.7s ease-in-out infinite; }
.voice-note-capsule.is-playing .vn-spec-bar.bar-2 { animation: vnSpecWave2 0.55s ease-in-out infinite 0.12s; }
.voice-note-capsule.is-playing .vn-spec-bar.bar-3 { animation: vnSpecWave3 0.8s ease-in-out infinite 0.05s; }
.voice-note-capsule.is-playing .vn-spec-bar.bar-4 { animation: vnSpecWave2 0.65s ease-in-out infinite 0.18s; }
.voice-note-capsule.is-playing .vn-spec-bar.bar-5 { animation: vnSpecWave1 0.75s ease-in-out infinite 0.1s; }

@keyframes vnSpecWave1 {
    0%, 100% { height: 5px; }
    50% { height: 18px; }
}
@keyframes vnSpecWave2 {
    0%, 100% { height: 16px; }
    50% { height: 6px; }
}
@keyframes vnSpecWave3 {
    0%, 100% { height: 7px; }
    50% { height: 22px; }
}

/* Marquee Scroller Wrapper */
.voice-note-marquee-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}

.voice-note-marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    animation: voiceNoteMarquee 15s linear infinite;
    cursor: default;
}

.voice-note-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes voiceNoteMarquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.voice-note-marquee-item {
    font-size: 11.5px;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    color: #67E8F9;
    letter-spacing: 0.2px;
}

.voice-note-marquee-sep {
    color: #00A3FF;
    font-size: 8px;
    opacity: 0.8;
}

/* Row 2: Audio Controls (Strict Midline Centering) */
.voice-note-controls-row {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.voice-note-play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A3FD8 0%, #00A3FF 100%);
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0, 163, 255, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.voice-note-play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(0, 163, 255, 0.6);
}

.voice-note-play-btn .icon-pause {
    display: none;
}

.voice-note-capsule.is-playing .voice-note-play-btn .icon-play {
    display: none;
}

.voice-note-capsule.is-playing .voice-note-play-btn .icon-pause {
    display: block;
}

.voice-note-capsule.is-playing .voice-note-thumb {
    box-shadow: 0 0 14px rgba(0, 163, 255, 0.65);
    border-color: #00F0FF;
}

/* Skip Buttons (-10s / +10s) */
.voice-note-skip-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    padding: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.voice-note-skip-btn:hover {
    color: #00A3FF;
    transform: scale(1.12);
}

/* Linear Progress Bar Track & Timer */
.voice-note-progress-wrap {
    flex: 1;
    min-width: 65px;
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    height: 28px;
    position: relative;
}

.voice-note-progress-track {
    flex: 1;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    position: relative;
    overflow: visible;
    transition: background 0.2s ease;
}

.voice-note-progress-wrap:hover .voice-note-progress-track {
    background: rgba(255, 255, 255, 0.32);
}

.voice-note-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00A3FF 0%, #38BDF8 100%);
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(0, 163, 255, 0.6);
    transition: width 0.1s linear;
    position: relative;
}

.voice-note-progress-handle {
    position: absolute;
    top: 50%;
    right: -4px;
    transform: translateY(-50%) scale(0);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 0 8px #00F0FF;
    transition: transform 0.15s ease;
    pointer-events: none;
}

.voice-note-capsule.is-playing .voice-note-progress-handle,
.voice-note-progress-wrap:hover .voice-note-progress-handle {
    transform: translateY(-50%) scale(1);
}

.voice-note-timer {
    font-size: 10.5px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    user-select: none;
    line-height: 1;
}

.voice-note-speed-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Sora', sans-serif;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.voice-note-speed-btn:hover {
    background: rgba(0, 163, 255, 0.3);
}

.voice-note-vol-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.voice-note-vol-btn:hover {
    color: #00A3FF;
    transform: scale(1.1);
}

.voice-note-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: 'Sora', sans-serif;
    font-size: 10px;
    font-weight: 700;
    padding-left: 5px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.voice-note-link:hover {
    color: #00A3FF;
}

/* Toast notification */
.podcast-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    background: #0D1760;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 30px;
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(0, 163, 255, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999999;
    pointer-events: none;
}

.podcast-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* --------------------------------------------------------------------------
   5. SEOPRESS-STYLE ULTRA-PREMIUM ADMIN PANEL
   -------------------------------------------------------------------------- */
.winsafy-admin-wrap {
    max-width: 1050px;
    margin: 25px auto 40px 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.winsafy-admin-header {
    background: linear-gradient(135deg, #0D1760 0%, #1A3FD8 100%);
    border-radius: 14px;
    padding: 26px 30px;
    color: #FFFFFF;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px -4px rgba(13, 23, 96, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.winsafy-admin-header-left h1 {
    font-family: 'Sora', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 6px 0;
}

.winsafy-admin-header-left p {
    margin: 0;
    color: #E2E8F0;
    font-size: 13.5px;
}

.winsafy-admin-header-actions {
    display: flex;
    gap: 12px;
}

.winsafy-admin-btn-preview {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
}

.winsafy-admin-btn-preview:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

/* Tabs Bar */
.winsafy-admin-tabs {
    display: flex;
    gap: 4px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 6px;
    margin-bottom: 24px;
}

.winsafy-admin-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    color: #64748B;
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: transparent;
    transition: all 0.2s ease;
}

.winsafy-admin-tab:hover {
    color: #1A3FD8;
    background: #F8FAFC;
}

.winsafy-admin-tab.active {
    background: #1A3FD8;
    color: #FFFFFF;
}

/* Card Boxes */
.winsafy-admin-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px -2px rgba(13, 23, 96, 0.04);
}

.winsafy-admin-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Sora', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #0D1760;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #F1F5F9;
}

.winsafy-admin-badge-step {
    background: #1A3FD8;
    color: #FFFFFF;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* Audio Field Wrapper & Warning Alert */
.winsafy-audio-field-wrap {
    width: 100%;
}

.winsafy-audio-warning {
    display: none;
    margin-top: 8px;
    padding: 9px 13px;
    background: #FFFBEB;
    border: 1px solid #FCD34D;
    border-radius: 6px;
    color: #B45309;
    font-size: 12.5px;
    line-height: 1.45;
}

/* Mobile Responsiveness for Voice Note Player */
@media (max-width: 480px) {
    .voice-note-card {
        padding: 8px 10px;
        gap: 6px;
        border-radius: 16px;
    }
    .voice-note-top-row {
        gap: 8px;
    }
    .voice-note-thumb {
        width: 30px;
        height: 30px;
        min-width: 30px;
    }
    .voice-note-marquee-item {
        font-size: 11px;
    }
    .voice-note-controls-row {
        gap: 4px;
        padding-top: 5px;
    }
    .voice-note-play-btn {
        width: 26px;
        height: 26px;
    }
    .voice-note-progress-wrap {
        min-width: 50px;
        gap: 5px;
    }
    .voice-note-timer {
        font-size: 9.5px;
    }
    .voice-note-speed-btn {
        font-size: 9px;
        padding: 2px 4px;
    }
    .voice-note-link {
        font-size: 9px;
        padding-left: 4px;
    }
}

/* ==========================================================================
   ARTICLE PODCAST PLAYER & TARGET HIGHLIGHT
   ========================================================================== */

/* Article Embedded Podcast Player */
.winsafy-article-podcast-player {
    background: #FFFFFF;
    border: 1px solid rgba(26, 63, 216, 0.14);
    border-radius: 16px;
    padding: 22px 26px;
    margin: 0 0 35px 0;
    box-shadow: 0 10px 30px rgba(13, 23, 96, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.winsafy-article-podcast-player::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #00A3FF 0%, #1A3FD8 100%);
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.winsafy-article-podcast-player:hover {
    border-color: rgba(0, 163, 255, 0.35);
    box-shadow: 0 14px 40px rgba(0, 163, 255, 0.1);
}

.article-podcast-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.article-podcast-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'Sora', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #1A3FD8;
    background: rgba(26, 63, 216, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
}

.article-podcast-duration {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #64748B;
}

.article-podcast-title-row {
    margin-bottom: 16px;
}

.article-podcast-title {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0D1760;
    margin: 0;
    line-height: 1.4;
}

/* Controls Bar */
.article-podcast-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #F8FAFC;
    border: 1px solid rgba(13, 23, 96, 0.08);
    border-radius: 12px;
    padding: 10px 16px;
}

.article-podcast-play-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A3FD8 0%, #00A3FF 100%);
    border: none;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(26, 63, 216, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-podcast-play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 163, 255, 0.4);
}

.article-podcast-play-btn .icon-pause {
    display: none;
}

.article-podcast-play-btn.playing .icon-play {
    display: none;
}

.article-podcast-play-btn.playing .icon-pause {
    display: block;
}

.article-podcast-track {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.article-podcast-bar-wrap {
    width: 100%;
    height: 6px;
    background: #E2E8F0;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.article-podcast-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #1A3FD8 0%, #00A3FF 100%);
    border-radius: 3px;
    transition: width 0.1s linear;
}

.article-podcast-time-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'DM Sans', sans-serif;
    font-size: 11.5px;
    color: #64748B;
    font-weight: 500;
}

.article-podcast-speed-btn {
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    padding: 3px 8px;
    font-family: 'Sora', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #0D1760;
    cursor: pointer;
    transition: all 0.2s ease;
}

.article-podcast-speed-btn:hover {
    background: #0D1760;
    color: #FFFFFF;
    border-color: #0D1760;
}

.article-podcast-vol-btn {
    background: transparent;
    border: none;
    color: #64748B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: color 0.2s ease;
}

.article-podcast-vol-btn:hover {
    color: #1A3FD8;
}

/* Redirection Footer Row */
.article-podcast-footer-row {
    margin-top: 15px;
    padding-top: 14px;
    border-top: 1px solid rgba(13, 23, 96, 0.06);
    display: flex;
    justify-content: flex-end;
}

.article-podcast-hub-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 63, 216, 0.05);
    border: 1px solid rgba(26, 63, 216, 0.18);
    color: #1A3FD8 !important;
    text-decoration: none !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.article-podcast-hub-link:hover {
    background: #1A3FD8;
    color: #FFFFFF !important;
    border-color: #1A3FD8;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(26, 63, 216, 0.25);
}

/* Spotlight Highlight Pulse on Target Podcast Card */
@keyframes podcastHighlightPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 163, 255, 0.7);
        border-color: #00A3FF;
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 16px rgba(0, 163, 255, 0);
        border-color: #1A3FD8;
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 163, 255, 0);
        border-color: rgba(26, 63, 216, 0.08);
        transform: scale(1);
    }
}

.podcast-card.podcast-card-highlighted {
    animation: podcastHighlightPulse 1.8s ease-in-out 2 forwards !important;
    border: 2px solid #00A3FF !important;
    scroll-margin-top: 120px;
}

/* Mobile Responsive for Article Podcast Player */
@media (max-width: 600px) {
    .winsafy-article-podcast-player {
        padding: 16px 14px;
        margin-bottom: 25px;
    }
    .article-podcast-title {
        font-size: 15.5px;
    }
    .article-podcast-controls {
        gap: 8px;
        padding: 8px 10px;
    }
    .article-podcast-play-btn {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }
    .article-podcast-speed-btn {
        padding: 2px 6px;
        font-size: 10px;
    }
    .article-podcast-hub-link {
        width: 100%;
        justify-content: center;
        font-size: 12.5px;
        padding: 9px 14px;
    }
}

