/**
 * Stylesheet: Phân Hệ 팟캐스트 (Podcast Module)
 * Thiết kế chuẩn Mockup Tiếng Việt Hay & Figma
 */

/* ==========================================================================
   1. PAGE WRAPPER & CORE LAYOUT
   ========================================================================== */
.podcast-page-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    padding: 16px 20px 80px;
    min-height: calc(100vh - 72px);
    box-sizing: border-box;
    width: 100%;
}

.podcast-layout-container {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 22px;
    align-items: flex-start;
    width: 100%;
    margin-top: 14px;
}

/* ==========================================================================
   2. LEFT SIDEBAR: 4 LEVELS (ĐỒNG BỘ 100% VỚI COURSE SIDEBAR GỌN GÀNG, TINH TẾ)
   ========================================================================== */
.podcast-sidebar-col {
    grid-column: 1;
    position: sticky;
    top: 84px;
    z-index: 20;
    width: 220px;
    min-width: 220px;
    box-sizing: border-box;
}

.podcast-left-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.podcast-sidebar-nav {
    width: 100%;
}

.podcast-nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.podcast-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-family: var(--font-heading), 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    transition: all 0.2s ease;
    white-space: nowrap;
    letter-spacing: -0.4px;
    gap: 8px;
    box-sizing: border-box;
}

.podcast-nav-item:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.podcast-nav-item.is-active {
    background-color: #fff1f6;
    border: 1px solid #fecdd3;
    color: #ee5d9d;
    box-shadow: none;
}

.podcast-nav-item .nav-item-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.3px;
}

.podcast-nav-item .nav-item-chevron {
    color: #94a3b8;
    font-weight: 700;
    font-size: 12px;
    transition: color 0.2s ease;
    flex-shrink: 0;
    margin-left: auto;
}

.podcast-nav-item.is-active .nav-item-chevron {
    color: #ee5d9d;
}

/* ==========================================================================
   3. HERO BANNER
   ========================================================================== */
.podcast-main-content {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
    width: 100%;
}

.podcast-hero-banner-card {
    background: linear-gradient(135deg, #fdf2f8 0%, #fff1f2 40%, #f0fdf4 100%);
    border: 1px solid #fce7f3;
    border-radius: 18px;
    padding: 26px 32px;
    box-shadow: 0 2px 12px rgba(236, 72, 153, 0.05);
    position: relative;
    overflow: hidden;
}

.podcast-hero-content-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.podcast-hero-text-col {
    max-width: 580px;
}

.podcast-hero-title {
    font-family: var(--font-heading), 'Pretendard', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 10px;
    line-height: 1.3;
}

.podcast-hero-subtitle {
    font-family: var(--font-heading), 'Pretendard', sans-serif;
    font-size: 14.5px;
    color: #4b5563;
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
}

/* Artwork Column */
.podcast-hero-art-wrapper {
    position: relative;
    width: 120px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.podcast-art-bubble-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.25) 0%, rgba(236, 72, 153, 0) 70%);
    border-radius: 50%;
    animation: podcastPulse 3s infinite ease-in-out;
}

.podcast-art-soundwave-badge {
    position: absolute;
    top: -8px;
    left: -20px;
    background: #ffffff;
    border: 1px solid #fbcfe8;
    border-radius: 12px;
    padding: 7px 10px;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 4px 14px rgba(236, 72, 153, 0.15);
    z-index: 4;
}

.podcast-art-soundwave-badge .wave-bar {
    width: 3px;
    background: #ec4899;
    border-radius: 2px;
}

.wave-bar.w1 { height: 8px; animation: wavePulse 1.2s infinite ease-in-out; }
.wave-bar.w2 { height: 16px; animation: wavePulse 1.4s infinite ease-in-out 0.2s; }
.wave-bar.w3 { height: 22px; animation: wavePulse 1.1s infinite ease-in-out 0.4s; }
.wave-bar.w4 { height: 12px; animation: wavePulse 1.3s infinite ease-in-out 0.1s; }
.wave-bar.w5 { height: 18px; animation: wavePulse 1.5s infinite ease-in-out 0.3s; }
.wave-bar.w6 { height: 10px; animation: wavePulse 1.2s infinite ease-in-out 0.5s; }
.wave-bar.w7 { height: 6px; animation: wavePulse 1.0s infinite ease-in-out 0.2s; }

@keyframes wavePulse {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}

.podcast-art-mic-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.35);
    position: relative;
    z-index: 3;
}

.podcast-art-floating-badge {
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    z-index: 4;
}

.podcast-art-floating-badge.play-btn {
    top: 4px;
    right: -6px;
    color: #ec4899;
    animation: floatSlow 3.5s infinite ease-in-out;
}

.podcast-art-floating-badge.music-note {
    bottom: 2px;
    left: -8px;
    color: #2563eb;
    animation: floatSlow 4s infinite ease-in-out 1s;
}

@keyframes podcastPulse {
    0%, 100% { transform: scale(0.95); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ==========================================================================
   4. FILTER & SEARCH TOOLBAR
   ========================================================================== */
.podcast-filter-bar {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.podcast-filter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

/* Search Box */
.podcast-search-box {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 220px;
    max-width: 360px;
}

.podcast-search-box .search-icon {
    position: absolute;
    left: 14px;
    color: #9ca3af;
    font-size: 13.5px;
    pointer-events: none;
}

.podcast-search-input {
    width: 100%;
    height: 38px;
    padding: 0 32px 0 36px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: var(--font-heading), 'Pretendard', sans-serif;
    font-size: 13px;
    color: #111827;
    transition: all 0.18s ease;
}

.podcast-search-input:focus {
    outline: none;
    background: #ffffff;
    border-color: #ec4899;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.12);
}

.podcast-search-clear {
    position: absolute;
    right: 10px;
    background: transparent;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 12px;
    padding: 4px;
}

.podcast-search-clear.is-hidden {
    display: none;
}

.podcast-search-clear:hover {
    color: #4b5563;
}

/* Filter Actions Group */
.podcast-filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

/* Custom Dropdown UI (Chuẩn Modern Component, Không dùng select native) */
.podcast-custom-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.podcast-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 38px;
    padding: 0 14px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: var(--font-heading), 'Pretendard', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    outline: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    text-align: left;
    white-space: nowrap;
    min-width: 105px;
}

.podcast-dropdown-trigger:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.podcast-custom-dropdown.is-open .podcast-dropdown-trigger,
.podcast-dropdown-trigger:focus {
    border-color: #ec4899;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.12);
    background: #ffffff;
}

.podcast-dropdown-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.podcast-dropdown-chevron {
    color: #64748b;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
}

.podcast-custom-dropdown.is-open .podcast-dropdown-chevron {
    transform: rotate(180deg);
    color: #ec4899;
}

.podcast-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 140px;
    width: max-content;
    max-width: 260px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.14), 0 6px 12px -2px rgba(15, 23, 42, 0.08);
    padding: 6px;
    z-index: 250;
    display: none;
    flex-direction: column;
    gap: 2px;
    box-sizing: border-box;
    animation: podcastDropdownFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.podcast-custom-dropdown.is-open .podcast-dropdown-menu {
    display: flex;
}

@keyframes podcastDropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.podcast-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    font-family: var(--font-heading), 'Pretendard', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    text-align: left;
    user-select: none;
}

.podcast-dropdown-item span {
    flex: 1;
    min-width: 0;
}

.podcast-dropdown-item:hover {
    background: #fdf2f8;
    color: #db2777;
}

.podcast-dropdown-item.is-selected {
    background: #fdf2f8;
    color: #ec4899;
    font-weight: 700;
}

.podcast-dropdown-check {
    font-size: 12px;
    color: #ec4899;
    opacity: 0;
    flex-shrink: 0;
    transition: opacity 0.15s ease;
}

.podcast-dropdown-item.is-selected .podcast-dropdown-check {
    opacity: 1;
}

/* View Mode Switcher */
.podcast-view-mode-switch {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2px;
    gap: 2px;
}

.btn-view-toggle {
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    border-radius: 6px;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-view-toggle:hover {
    color: #0f172a;
}

.btn-view-toggle.active {
    background: #ffffff;
    color: #ec4899;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   5. PODCAST CARDS (GRID & LIST VIEW)
   ========================================================================== */
/* Grid View (Default) */
.podcast-cards-container.grid-view {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
}

.podcast-card-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.podcast-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

/* Thumbnail 16:9 */
.podcast-card-thumb-link {
    display: block;
    text-decoration: none;
    width: 100%;
}

.podcast-card-thumb-box {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #0f172a;
    overflow: hidden;
}

.podcast-card-thumb-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.podcast-card-item:hover .podcast-card-thumb-img {
    transform: scale(1.05);
}

/* Play Overlay */
.podcast-card-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.podcast-card-item:hover .podcast-card-play-overlay {
    opacity: 1;
}

.podcast-play-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(236, 72, 153, 0.9);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    padding-left: 3px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transform: scale(0.9);
    transition: transform 0.2s ease, background 0.2s ease;
}

.podcast-card-item:hover .podcast-play-icon-circle {
    transform: scale(1);
    background: #ec4899;
}

/* Duration Badge */
.podcast-card-duration-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(15, 23, 42, 0.82);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 6px;
    font-family: var(--font-heading), 'Pretendard', sans-serif;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(4px);
}

/* Completed Badge */
.podcast-card-completed-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    color: #16a34a;
    background: #ffffff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Card Body */
.podcast-card-body {
    padding: 14px 14px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 4px;
}

.podcast-card-title-kr {
    font-family: var(--font-heading), 'Pretendard', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.podcast-card-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.podcast-card-title-link:hover {
    color: #ec4899;
}

.podcast-card-title-vn {
    font-family: var(--font-vietnamese), 'Be Vietnam Pro', sans-serif;
    font-size: 12.5px;
    color: #6b7280;
    margin: 0 0 8px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Meta Row & Badges */
.podcast-card-meta-row {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid #f3f4f6;
}

.podcast-card-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.podcast-badge-level {
    font-family: var(--font-heading), 'Pretendard', sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 6px;
    border: 1px solid transparent;
}

.podcast-badge-level.beginner {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #16a34a;
}

.podcast-badge-level.intermediate {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #2563eb;
}

.podcast-badge-level.advanced {
    background: #faf5ff;
    border-color: #e9d5ff;
    color: #9333ea;
}

.podcast-badge-tag {
    font-family: var(--font-heading), 'Pretendard', sans-serif;
    font-size: 11px;
    color: #4b5563;
    background: #f3f4f6;
    padding: 2px 7px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

/* Card Action Buttons */
.btn-card-save-toggle {
    background: transparent;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 15px;
    padding: 4px;
    transition: color 0.15s ease, transform 0.15s ease;
}

.btn-card-save-toggle:hover {
    color: #ec4899;
    transform: scale(1.15);
}

.btn-card-save-toggle.is-saved {
    color: #ec4899;
}

/* List View Mode */
.podcast-cards-container.list-view {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.podcast-cards-container.list-view .podcast-card-item {
    flex-direction: row;
    align-items: stretch;
}

.podcast-cards-container.list-view .podcast-card-thumb-link {
    width: 220px;
    min-width: 220px;
    flex-shrink: 0;
}

.podcast-cards-container.list-view .podcast-card-body {
    padding: 16px 18px;
}

.podcast-cards-container.list-view .podcast-card-title-kr {
    font-size: 16px;
    min-height: auto;
}

.podcast-cards-container.list-view .podcast-card-title-vn {
    font-size: 13.5px;
}

/* ==========================================================================
   6. EMPTY STATE & PAGINATION
   ========================================================================== */
.podcast-empty-state {
    grid-column: 1 / -1;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 50px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.podcast-empty-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 4px;
}

.podcast-empty-title {
    font-family: var(--font-heading), 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #374151;
    margin: 0;
}

.podcast-empty-desc {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 8px;
}

.btn-podcast-reset-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: #fdf2f8;
    color: #ec4899;
    border: 1px solid #fbcfe8;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--font-heading), 'Pretendard', sans-serif;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.15s ease;
}

.btn-podcast-reset-filter:hover {
    background: #fce7f3;
    border-color: #f472b6;
}

/* Pagination */
.podcast-pagination-nav {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.podcast-pagination-list {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.podcast-pagination-list .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 6px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    font-family: var(--font-heading), 'Pretendard', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}

.podcast-pagination-list .page-item .page-link:hover {
    border-color: #ec4899;
    color: #ec4899;
    background: #fdf2f8;
}

.podcast-pagination-list .page-item.active .page-link {
    background: #ec4899;
    border-color: #ec4899;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(236, 72, 153, 0.25);
}

.podcast-pagination-list .page-item.ellipsis span {
    display: inline-block;
    padding: 0 6px;
    color: #9ca3af;
}

/* ==========================================================================
   7. DETAIL PAGE: PLAYER, TRANSCRIPT & ACTIONS
   ========================================================================== */
.podcast-detail-content {
    gap: 20px;
}

/* Mobile trigger row */
.podcast-mobile-trigger-row {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.btn-mobile-podcast-sidebar,
.btn-mobile-podcast-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: var(--font-heading), 'Pretendard', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    cursor: pointer;
}

/* 16:9 Plyr YouTube Player Wrapper */
.podcast-player-container {
    width: 100%;
    background: #000000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.podcast-plyr-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.podcast-plyr-wrapper .plyr {
    --plyr-color-main: #ec4899;
    --plyr-video-control-color: #ffffff;
    --plyr-video-control-color-hover: #ec4899;
    border-radius: 16px;
    width: 100%;
    height: 100%;
}

/* Detail Header Card */
.podcast-detail-header-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.podcast-detail-header-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.podcast-detail-titles-wrap {
    flex: 1;
    min-width: 280px;
}

.podcast-detail-main-title {
    font-family: var(--font-heading), 'Pretendard', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 6px;
    line-height: 1.35;
}

.podcast-detail-sub-title {
    font-family: var(--font-vietnamese), 'Be Vietnam Pro', sans-serif;
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 12px;
}

.podcast-detail-meta-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.podcast-badge-info {
    font-family: var(--font-heading), 'Pretendard', sans-serif;
    font-size: 12px;
    color: #6b7280;
    background: #f3f4f6;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.podcast-badge-info.highlight {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 600;
}

/* Action Buttons: Bookmark & Complete */
.podcast-detail-action-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-podcast-action-save,
.btn-podcast-action-complete {
    height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    font-family: var(--font-heading), 'Pretendard', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: all 0.18s ease;
    box-sizing: border-box;
}

/* Save Button */
.btn-podcast-action-save {
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    color: #4b5563;
}

.btn-podcast-action-save:hover {
    border-color: #ec4899;
    color: #ec4899;
    background: #fdf2f8;
}

.btn-podcast-action-save.is-saved {
    border-color: #ec4899;
    background: #fdf2f8;
    color: #ec4899;
}

/* Complete Button */
.btn-podcast-action-complete {
    background: #ffffff;
    border: 1.5px solid #16a34a;
    color: #16a34a;
}

.btn-podcast-action-complete:hover {
    background: #f0fdf4;
}

.btn-podcast-action-complete.is-completed {
    background: #16a34a;
    border-color: #16a34a;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.25);
}

/* ==========================================================================
   8. TRANSCRIPT & TRANSLATION SECTION
   ========================================================================== */
/* ==========================================================================
   8. TRANSCRIPT & TRANSLATION SECTION (KHỚP 100% MOCKUP PODCAST_2.PNG)
   ========================================================================== */
.podcast-transcript-section {
    width: 100%;
}

.podcast-transcript-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 30px 32px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
}

.podcast-transcript-view {
    display: flex;
    flex-direction: column;
}

.podcast-transcript-view.is-hidden {
    display: none;
}

.podcast-transcript-text-flow {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.podcast-transcript-paragraph {
    font-family: var(--font-vietnamese), 'Be Vietnam Pro', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #1e293b;
    margin: 0;
}

.podcast-transcript-paragraph.kr-text {
    font-family: var(--font-heading), 'Pretendard', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
}

.podcast-transcript-btn-wrap {
    margin-top: 26px;
    display: flex;
    justify-content: center;
}

/* Nút 번역 보기 → chuẩn Mockup Podcast_2.png */
.btn-podcast-translate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 32px;
    background: #ffffff;
    border: 1.5px solid #fbcfe8;
    color: #ec4899;
    border-radius: 8px;
    font-family: var(--font-heading), 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(236, 72, 153, 0.06);
}

.btn-podcast-translate:hover {
    background: #fdf2f8;
    border-color: #f472b6;
    color: #db2777;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.15);
}

.btn-podcast-translate .btn-translate-icon {
    font-size: 13px;
    transition: transform 0.2s ease;
}

.btn-podcast-translate:hover .fa-arrow-right {
    transform: translateX(3px);
}

.btn-podcast-translate:hover .fa-arrow-left {
    transform: translateX(-3px);
}
}

.podcast-translation-badge-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading), 'Pretendard', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #db2777;
    margin-bottom: 8px;
}

.podcast-script-paragraph.kr-paragraph {
    font-family: var(--font-heading), 'Pretendard', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #4b5563;
    margin: 0;
}

/* ==========================================================================
   9. RECOMMENDED PODCASTS (추천 팟캐스트)
   ========================================================================== */
.podcast-related-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}

.podcast-related-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.podcast-related-title {
    font-family: var(--font-heading), 'Pretendard', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.podcast-related-title i {
    color: #ec4899;
}

.podcast-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* ==========================================================================
   10. RESPONSIVE BREAKPOINTS (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 1024px) {
    .podcast-layout-container {
        display: block;
    }

    .podcast-sidebar-col {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        min-width: 280px;
        z-index: 999;
        transform: translateX(-100%);
        transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0;
    }

    .podcast-sidebar-col.open {
        transform: translateX(0);
    }

    .podcast-sidebar-card {
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        border: none;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
    }

    .podcast-sidebar-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.5);
        backdrop-filter: blur(2px);
        z-index: 998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
    }

    .podcast-sidebar-backdrop.active {
        opacity: 1;
        pointer-events: auto;
    }

    .podcast-mobile-trigger-row {
        display: flex;
    }

    .podcast-cards-container.grid-view {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .podcast-page-wrapper {
        padding: 12px 12px 60px;
    }

    .podcast-hero-banner-card {
        padding: 18px 18px;
    }

    .podcast-hero-content-wrap {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 12px;
    }

    .podcast-hero-title {
        font-size: 21px;
    }

    .podcast-hero-subtitle {
        font-size: 13.5px;
    }

    .podcast-hero-art-wrapper {
        width: 80px;
        height: 80px;
        align-self: center;
    }

    .podcast-art-mic-circle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .podcast-filter-bar {
        padding: 10px 12px;
    }

    .podcast-filter-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .podcast-search-box {
        max-width: 100%;
        width: 100%;
    }

    .podcast-filter-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr auto;
        gap: 8px;
        margin-left: 0;
    }

    .podcast-custom-select {
        width: 100%;
        font-size: 12px;
        padding-right: 24px;
    }

    .podcast-cards-container.grid-view {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .podcast-cards-container.list-view .podcast-card-item {
        flex-direction: column;
    }

    .podcast-cards-container.list-view .podcast-card-thumb-link {
        width: 100%;
    }

    .podcast-related-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .podcast-detail-header-card {
        padding: 16px;
    }

    .podcast-detail-main-title {
        font-size: 18px;
    }

    .podcast-detail-sub-title {
        font-size: 13.5px;
    }

    .podcast-detail-action-buttons {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .btn-podcast-action-save,
    .btn-podcast-action-complete {
        width: 100%;
        justify-content: center;
    }

    .podcast-transcript-section {
        padding: 16px;
    }

    .podcast-script-paragraph.vn-paragraph {
        font-size: 14.5px;
    }
}

@media (max-width: 480px) {
    .podcast-cards-container.grid-view {
        grid-template-columns: 1fr;
    }

    .podcast-filter-actions {
        grid-template-columns: 1fr 1fr;
    }

    .podcast-view-mode-switch {
        grid-column: 1 / -1;
        justify-content: center;
        width: 100%;
    }

    .btn-view-toggle {
        flex: 1;
    }
}
