/* ============================================
   PODCAST MODULE STYLES - Tony Robbins Inspired
   ============================================ */

:root {
    --podcast-bg-dark: #0a0a0a;
    --podcast-bg-light: #ffffff;
    --podcast-card-bg: #ffffff;
    --podcast-accent: #c5a059;
    /* Dorado FACE */
    --podcast-text-dark: #0a0a0a;
    --podcast-text-gray: #6b6b6b;
    --podcast-text-light-gray: #999999;
    --podcast-border-radius: 12px;
    --podcast-border-radius-lg: 20px;
    --podcast-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   PODCAST HERO SECTION
   ============================================ */

.podcast-hero {
    background: #000000;
    padding: 140px 20px 60px;
    text-align: left;
    position: relative;
}

.podcast-hero .container {
    max-width: 1400px;
    margin: 0 auto;
}

.podcast-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 40px 0;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

/* Remove subtitle - integrated filters instead */
.podcast-hero-subtitle {
    display: none;
}

/* ============================================
   CATEGORY FILTERS (Integrated in Hero)
   ============================================ */

.podcast-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.filter-btn {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0;
    padding: 10px 24px;
    background: transparent;
    color: #ffffff;
    border: 1.5px solid #ffffff;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--podcast-transition);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.filter-btn.active {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

/* Remove old separate filters section */
.podcast-filters-section {
    display: none;
}

/* ============================================
   PODCAST GRID
   ============================================ */

.podcast-grid-section {
    background: #fafafa;
    padding: 60px 20px 80px;
    min-height: 500px;
}

.podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ============================================
   PODCAST CARD
   ============================================ */

.podcast-card {
    background: var(--podcast-card-bg);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: var(--podcast-transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.podcast-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.podcast-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
}

.podcast-card-content {
    padding: 28px 24px 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.podcast-card-meta {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #999999;
    margin-bottom: 16px;
}

.podcast-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--podcast-text-dark);
    line-height: 1.3;
    margin: 0 0 24px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hide excerpt to match Tony Robbins minimal design */
.podcast-card-excerpt {
    display: none;
}

.podcast-card-btn {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 28px;
    background: transparent;
    color: var(--podcast-text-dark);
    border: 2px solid var(--podcast-text-dark);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--podcast-transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
}

.podcast-card-btn:hover {
    background: var(--podcast-text-dark);
    color: #ffffff;
}

.podcast-card-btn::before {
    /* content: '▶'; Removed for SVG replacement */
}

/* ============================================
   PODCAST DETAIL PAGE
   ============================================ */

.podcast-detail-hero {
    background: #ffffff;
    padding: 100px 20px 60px;
}

.podcast-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 60px;
    align-items: start;
}

.podcast-detail-artwork {
    width: 100%;
    border-radius: var(--podcast-border-radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.podcast-detail-info {
    padding-top: 20px;
}

.podcast-detail-meta {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--podcast-text-gray);
    margin-bottom: 16px;
}

.podcast-detail-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: var(--podcast-text-dark);
    line-height: 1.2;
    margin: 0 0 30px 0;
    letter-spacing: -1px;
}

.podcast-detail-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.podcast-btn-primary {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 18px 40px;
    background: var(--podcast-text-dark);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--podcast-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.podcast-btn-primary:hover {
    background: #333;
    transform: scale(1.02);
}

.podcast-btn-primary::before {
    /* content: '▶'; Removed for SVG replacement */
}

.podcast-platform-buttons {
    display: flex;
    gap: 12px;
}

.podcast-btn-platform {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    background: #f0f0f0;
    color: var(--podcast-text-dark);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--podcast-transition);
}

.podcast-btn-platform:hover {
    background: #e0e0e0;
}

/* Audio Player */
.audio-player-custom {
    margin-top: 30px;
    background: #f5f5f5;
    padding: 20px;
    border-radius: var(--podcast-border-radius);
}

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

/* ============================================
   PODCAST CONTENT SECTION
   ============================================ */

.podcast-content-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.podcast-content-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--podcast-text-dark);
    margin: 40px 0 20px 0;
}

.podcast-content-section p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.podcast-content-section ul {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    padding-left: 24px;
}

.podcast-content-section li {
    margin-bottom: 12px;
}

/* ============================================
   RELATED PODCASTS
   ============================================ */

.related-podcasts-section {
    background: #fafafa;
    padding: 60px 20px;
}

.related-podcasts-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
}

.related-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .podcast-detail-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .podcast-detail-artwork {
        max-width: 400px;
        margin: 0 auto;
    }

    .podcast-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .podcast-hero-title {
        font-size: 40px;
    }

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

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

    .podcast-filters {
        gap: 8px;
    }

    .filter-btn {
        font-size: 12px;
        padding: 10px 20px;
    }

    .related-carousel {
        grid-template-columns: 1fr;
    }

    .podcast-platform-buttons {
        flex-direction: column;
    }

    .podcast-filters-section {
        position: static;
    }
}

@media (max-width: 480px) {
    .podcast-hero {
        padding: 80px 16px 60px;
    }

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

    /* Detail Page Mobile Optimizations */
    .podcast-detail-hero {
        padding: 80px 20px 40px;
        text-align: center;
    }

    .podcast-detail-title {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .podcast-detail-container {
        gap: 30px;
    }

    .podcast-detail-artwork {
        max-width: 100%;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .podcast-detail-cta {
        width: 100%;
    }

    .podcast-btn-primary {
        width: 100%;
        padding: 16px;
        justify-content: center;
    }

    .podcast-platform-buttons {
        flex-direction: column;
        width: 100%;
    }

    .podcast-btn-platform {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

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

/* ============================================
   STICKY AUDIO PLAYER
   ============================================ */

.sticky-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.98);
    border-top: 1px solid #333;
    z-index: 9999;
    padding: 15px 0;
    transform: translateY(120%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.sticky-player.active {
    transform: translateY(0);
}

.player-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    gap: 20px;
}

.player-left {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 25%;
    min-width: 200px;
}

.player-left img {
    width: 56px;
    height: 56px;
    border-radius: 4px;
    object-fit: cover;
}

.player-info h4 {
    color: white;
    font-size: 14px;
    margin: 0 0 4px 0;
    font-family: 'Montserrat', sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.player-info span {
    color: #b3b3b3;
    font-size: 11px;
    display: block;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
}

.player-center {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 24px;
}

.player-btn {
    background: none;
    border: none;
    color: #b3b3b3;
    cursor: pointer;
    padding: 0;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-btn:hover {
    color: white;
}

.play-toggle {
    color: white;
    background: white;
    color: black;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: transform 0.2s ease;
}

.play-toggle:hover {
    transform: scale(1.05);
    color: black;
}

/* Player buttons logic */
.play-toggle svg {
    margin-left: 0;
    /* Center icon */
}

.play-toggle svg#sticky-icon-play {
    margin-left: 2px;
    /* Visual center adjustment */
}


.player-progress-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 600px;
    font-size: 11px;
    color: #b3b3b3;
    font-family: monospace;
}

.progress-track {
    flex-grow: 1;
    height: 4px;
    background: #404040;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #c5a059;
    /* Brand Accent */
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

.progress-track:hover .progress-fill {
    background: #e0b868;
    filter: brightness(1.2);
}

.player-right {
    width: 25%;
    display: flex;
    justify-content: flex-end;
}

/* Mobile Responsive Player */
/* Mobile Responsive Player */
@media (max-width: 768px) {
    .sticky-player {
        bottom: 0px;
        padding: 12px 0 16px;
        /* Added bottom padding for progress bar */
    }

    .player-container {
        display: grid;
        grid-template-areas:
            "left controls right"
            "progress progress progress";
        grid-template-columns: 1fr auto auto;
        gap: 12px 15px;
        padding: 0 20px;
        align-items: center;
    }

    .player-left {
        grid-area: left;
        width: auto;
        min-width: 0;
        gap: 12px;
    }

    .player-left img {
        width: 48px;
        height: 48px;
        border-radius: 6px;
    }

    .player-info {
        max-width: 100%;
        overflow: hidden;
    }

    .player-info h4 {
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 2px;
    }

    .player-info span {
        font-size: 11px;
    }

    /* Unwrap the center container so children participate in grid */
    .player-center {
        display: contents;
    }

    .player-controls {
        grid-area: controls;
        gap: 15px;
        /* Add space between buttons */
        justify-content: flex-end;
        display: flex;
        /* Ensure flex layout */
        align-items: center;
    }

    /* Show all buttons */
    .player-controls button {
        display: flex;
    }

    .play-toggle {
        width: 42px;
        height: 42px;
        background: white;
        color: black;
        border: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .play-toggle svg {
        width: 20px;
        height: 20px;
    }

    .player-right {
        grid-area: right;
        width: auto;
        display: flex;
        align-items: center;
    }

    /* Progress bar full width bottom */
    .player-progress-bar {
        grid-area: progress;
        display: flex;
        /* Force flex */
        width: 100%;
        margin-top: 5px;
        align-items: center;
        gap: 10px;
    }

    .progress-track {
        height: 4px;
        /* Thicker touch target */
    }
}