#podcast-section {
    --podcast-primary: #14254E;
    --podcast-primary-dark: #0F1D3D;
    --podcast-dark: #0f172a;
    --podcast-soft: #f8fafc;
    --podcast-border: #e5e7eb;
    --podcast-muted: #64748b;
}

#podcast-section .podcast-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--podcast-border);
    margin-bottom: 24px;
}

#podcast-section .podcast-section-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

#podcast-section .podcast-title-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #EEF2F8 0%, #DCE5F5 100%);
    color: var(--podcast-primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #C8D3E6;
}

#podcast-section .podcast-section-title {
    color: #111827;
    font-size: 18px;
    font-weight: 900;
    margin: 0;
}

#podcast-section .podcast-section-subtitle {
    color: var(--podcast-muted);
    font-size: 12px;
    margin-top: 3px;
}

#podcast-section .podcast-archive-link {
    color: var(--podcast-primary-dark);
    background: #EEF2F8;
    border: 1px solid #C8D3E6;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.2s ease;
}

#podcast-section .podcast-archive-link:hover {
    background: var(--podcast-primary);
    color: #ffffff;
    text-decoration: none;
}

#podcast-section .podcast-feature-card {
    height: 470px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    background: #020617;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

#podcast-section .podcast-feature-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    transform: scale(1.02);
    transition: 0.35s ease;
}

#podcast-section .podcast-feature-card:hover .podcast-feature-img {
    transform: scale(1.06);
    opacity: 0.52;
}

#podcast-section .podcast-feature-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(20, 37, 78, 0.28), transparent 34%),
        linear-gradient(to top, rgba(2, 6, 23, 0.98) 0%, rgba(2, 6, 23, 0.78) 45%, rgba(2, 6, 23, 0.25) 100%);
}

#podcast-section .podcast-feature-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#podcast-section .podcast-badge-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

#podcast-section .podcast-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 11px;
    font-weight: 800;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#podcast-section .podcast-badge.is-live {
    background: rgba(20, 37, 78, 0.22);
    border-color: rgba(20, 37, 78, 0.35);
}

#podcast-section .playing-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef4444;
    display: none;
    box-shadow: 0 0 0 rgba(239, 68, 68, 0.7);
    animation: podcastPulse 1.3s infinite;
}

@keyframes podcastPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.65);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

#podcast-section .podcast-feature-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.8;
    margin-bottom: 10px;
}

#podcast-section .podcast-feature-summary {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    line-height: 2;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#podcast-section .custom-podcast-player {
    width: 100%;
    padding: 17px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 15% 0%, rgba(142, 162, 201, 0.22), transparent 32%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(30, 41, 59, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

#podcast-section .player-main-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

#podcast-section .player-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

#podcast-section .player-play-btn {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 19px;
    border: 0;
    background: linear-gradient(135deg, #ffffff 0%, #DCE5F5 100%);
    color: #0F1D3D;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    cursor: pointer;
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: 0.2s ease;
    outline: none;
}

#podcast-section .player-play-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ffffff 0%, #B8C5DD 100%);
}

#podcast-section .player-play-btn.is-playing {
    background: linear-gradient(135deg, #14254E 0%, #14254E 100%);
    color: #ffffff;
}

#podcast-section .player-seek-btn {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.10);
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.2s ease;
    outline: none;
}

#podcast-section .player-seek-btn span {
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
}

#podcast-section .player-seek-btn:hover {
    background: rgba(20, 37, 78, 0.22);
    border-color: rgba(20, 37, 78, 0.45);
    color: #ffffff;
    transform: translateY(-1px);
}

#podcast-section .player-info {
    min-width: 0;
    flex: 1;
}

#podcast-section .player-label {
    color: #B8C5DD;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 5px;
}

#podcast-section .player-title {
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#podcast-section .player-time {
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 800;
    direction: ltr;
    white-space: nowrap;
}

#podcast-section .player-progress-wrap {
    width: 100%;
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

#podcast-section .player-progress {
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #14254E 0%, #8EA2C9 45%, #DCE5F5 100%);
    box-shadow: 0 0 18px rgba(142, 162, 201, 0.55);
    transition: width 0.12s linear;
}

#podcast-section .podcast-side-panel {
    background: #ffffff;
    border: 1px solid var(--podcast-border);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
    height: 470px;
    display: flex;
    flex-direction: column;
}

#podcast-section .podcast-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

#podcast-section .podcast-panel-title {
    color: #111827;
    font-size: 14px;
    font-weight: 900;
    margin: 0;
}

#podcast-section .podcast-panel-count {
    color: var(--podcast-muted);
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 800;
}

#podcast-section .podcast-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

#podcast-section .podcast-tab-btn {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

#podcast-section .podcast-tab-btn:hover {
    border-color: #C8D3E6;
    background: #EEF2F8;
    color: #0F1D3D;
}

#podcast-section .podcast-tab-btn.active {
    background: var(--podcast-primary);
    border-color: var(--podcast-primary);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(20, 37, 78, 0.24);
}

#podcast-section .podcast-items-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    padding-left: 3px;
}

#podcast-section .podcast-items-list::-webkit-scrollbar {
    width: 5px;
}

#podcast-section .podcast-items-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

#podcast-section .podcast-item-row {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 17px;
    padding: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: 0.2s ease;
}

#podcast-section .podcast-item-row:hover {
    border-color: #C8D3E6;
    background: #F7F9FC;
    transform: translateX(-3px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

#podcast-section .podcast-item-row.active-audio-row {
    background: linear-gradient(135deg, #EEF2F8 0%, #ffffff 100%);
    border-color: #AAB9D4;
    box-shadow: 0 10px 24px rgba(20, 37, 78, 0.14);
}

#podcast-section .podcast-item-main {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1;
}

#podcast-section .podcast-item-cover {
    width: 66px;
    height: 66px;
    min-width: 66px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    position: relative;
}

#podcast-section .podcast-item-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#podcast-section .podcast-item-body {
    margin-right: 12px;
    overflow: hidden;
    min-width: 0;
}

#podcast-section .podcast-item-cat {
    color: #14254E;
    font-size: 10px;
    font-weight: 900;
    margin-bottom: 5px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#podcast-section .podcast-item-title {
    color: #111827;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.7;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#podcast-section .active-audio-row .podcast-item-title {
    color: #0F1D3D;
}

#podcast-section .podcast-item-meta {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

#podcast-section .play-indicator-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 13px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

#podcast-section .active-audio-row .play-indicator-btn {
    background: #DCE5F5;
    border-color: #AAB9D4;
    color: #0F1D3D;
}

#podcast-section .podcast-empty-box {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    padding: 35px 15px;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
}

#podcast-section .podcast-empty-box i {
    font-size: 26px;
    display: block;
    margin-bottom: 10px;
    color: #cbd5e1;
}

@media (max-width: 991px) {
    #podcast-section .podcast-feature-card,
    #podcast-section .podcast-side-panel {
        height: auto;
    }

    #podcast-section .podcast-side-panel {
        margin-top: 16px;
    }

    #podcast-section .podcast-items-list {
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 576px) {
    #podcast-section .podcast-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    #podcast-section .podcast-archive-link {
        width: 100%;
        text-align: center;
    }

    #podcast-section .podcast-feature-content {
        padding: 18px;
    }

    #podcast-section .player-main-row {
        flex-wrap: wrap;
    }

    #podcast-section .player-controls {
        width: 100%;
        justify-content: center;
    }

    #podcast-section .player-play-btn {
        width: 54px;
        height: 54px;
        min-width: 54px;
        border-radius: 17px;
    }

    #podcast-section .player-time {
        margin-right: auto;
    }
}
