/*--------------------------------------------------------------------*/
/*  PODCAST ARCHIVE STYLES
/*--------------------------------------------------------------------*/

/* Color Variables - Straight Talk (default) */
.podcast-archive-page,
.single-podcast-page {
    --podcast-primary: #16a299;
    --podcast-secondary: #3aade3;
    --podcast-accent: #2ca7e0;
}

/* Color Variables - Nature's Ledger */
.podcast-archive-page.natures-ledger,
.single-podcast-page.natures-ledger {
    --podcast-primary: #16a299;
    --podcast-secondary: #3aade3;
    --podcast-accent: #93bf24;
}

/*--------------------------------------------------------------------*/
/*  HEADER SECTION
/*--------------------------------------------------------------------*/

.podcast-header {
    background-color: var(--podcast-primary);
    padding: 60px 0 80px;
	margin-top: 75px;
}

.podcast-header-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.podcast-cover-art {
    flex-shrink: 0;
}

.podcast-cover-art img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.podcast-header-info {
    color: #fff;
    flex-grow: 1;
}

.podcast-host-name {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    opacity: 0.9;
}

.podcast-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 20px;
    line-height: 1.1;
}

.podcast-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.btn-view-episodes {
    display: inline-block;
    background-color: var(--podcast-accent);
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
}

.btn-view-episodes:hover {
    background-color: #1a8fc4;
    color: #fff;
    text-decoration: none;
}

.podcast-social-icons {
    display: flex;
    gap: 10px;
}

.podcast-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.podcast-social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.podcast-social-icons img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

/*--------------------------------------------------------------------*/
/*  LISTEN ON SECTION
/*--------------------------------------------------------------------*/

.podcast-listen-on {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 25px;
    padding: 50px 0px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.listen-on-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    color: #fff;
}

.podcast-platform-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.podcast-platform-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.podcast-platform-link:hover {
    opacity: 0.8;
    color: #fff;
    text-decoration: none;
}

.podcast-platform-link img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/*--------------------------------------------------------------------*/
/*  SHOW DESCRIPTION BOX
/*--------------------------------------------------------------------*/

.podcast-description-wrapper {
    position: relative;
    margin-top: -40px;
    padding: 0 15px;
}

.podcast-description-box {
    background: #fff;
    padding: 40px 60px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.podcast-description-box .show-icon {
    display: block;
    width: 125px;
    height: auto;
    margin: 0 auto 20px auto;
}

.podcast-description-box p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/*--------------------------------------------------------------------*/
/*  MOST RECENT EPISODE SECTION
/*--------------------------------------------------------------------*/

.podcast-most-recent {
    padding: 60px 0;
}

.podcast-most-recent .section-title {
    text-align: center;
    font-size: 32px;
    color: #3aade3;
    margin-bottom: 40px;
    font-weight: 600;
}

.most-recent-episode {
    background: #16a299;
    padding: 30px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    border-right-width: 25px;
    border-right-style: solid;
    border-right-color: var(--podcast-secondary);
}

.most-recent-episode a {
    color: #fff;
    font-weight: 800;
}

.most-recent-episode a:hover {
    opacity: .8;
}

.most-recent-episode .episode-artwork-link {
    flex-shrink: 0;
    display: block;
    align-self: center;
    transition: opacity 0.3s ease;
}

.most-recent-episode .episode-artwork-link:hover {
    opacity: 0.85;
}

.most-recent-episode .episode-artwork {
    width: 320px;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.most-recent-episode .episode-artwork img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.most-recent-episode .episode-content {
    flex-grow: 1;
}

.most-recent-episode .episode-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 15px;
    color: #fff;
}

.most-recent-episode .episode-title a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.most-recent-episode .episode-title a:hover {
    opacity: 0.85;
}

.most-recent-episode .episode-description {
    font-size: 15px;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 20px;
}

.most-recent-episode .btn-listen-now,
.most-recent-episode .btn-watch-now {
    background-color: #000;
    color: #fff;
}

.most-recent-episode .btn-listen-now:hover,
.most-recent-episode .btn-watch-now:hover {
    background-color: #333;
    color: #fff;
}

/*--------------------------------------------------------------------*/
/*  EPISODE BUTTONS
/*--------------------------------------------------------------------*/

.episode-buttons {
    display: flex;
    gap: 15px;
}

.btn-listen-now,
.btn-watch-now {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.btn-listen-now {
    background-color: var(--podcast-primary);
    color: #fff;
}

.btn-listen-now:hover {
    opacity: 0.9;
    color: #fff;
    text-decoration: none;
}

.btn-watch-now {
    background-color: var(--podcast-accent);
    color: #fff;
}

.btn-watch-now:hover {
    opacity: 0.9;
    color: #fff;
    text-decoration: none;
}

.btn-listen-now img,
.btn-watch-now img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

/*--------------------------------------------------------------------*/
/*  SEASON FILTER SECTION
/*--------------------------------------------------------------------*/

.podcast-season-filter {
    padding: 40px 0;
    text-align: center;
}

.season-dropdown {
    display: inline-block;
    margin-bottom: 20px;
}

.season-dropdown select {
    padding: 12px 40px 12px 20px;
    font-size: 16px;
    border: 2px solid #333;
	color:#fff;
    background: #333333;
    appearance: none;
    cursor: pointer;
    min-width: 200px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.season-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.season-tab {
    padding: 8px 20px;
    border: 2px solid #333;
    background: #fff;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.season-tab:hover,
.season-tab.active {
    color: var(--podcast-primary);
    text-decoration: none;
}

.season-tab.active {
    background-color: #333333;
    color: #fff;
}

/*--------------------------------------------------------------------*/
/*  EPISODE LIST
/*--------------------------------------------------------------------*/

.podcast-episodes-list {
    padding: 0 0 60px;
}

.episode-card {
    display: flex;
    border: 2px solid var(--podcast-primary);
    border-right-width: 25px;
    border-right-color: var(--podcast-secondary);
    margin-bottom: 20px;
    background: #fff;
}

.episode-card .episode-artwork-link {
    flex-shrink: 0;
    display: block;
    margin-left: 20px;
    align-self: center;
    transition: opacity 0.3s ease;
}

.episode-card .episode-artwork-link:hover {
    opacity: 0.85;
}

.episode-card .episode-artwork {
    width: 280px;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.episode-card .episode-artwork img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.episode-card .episode-content {
    flex-grow: 1;
    padding: 25px 30px;
}

.episode-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.episode-card .episode-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #333;
}

.episode-card .episode-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.episode-card .episode-title a:hover {
    color: var(--podcast-primary);
}

.episode-card .episode-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.episode-card .episode-buttons {
    display: flex;
    gap: 10px;
}

/*--------------------------------------------------------------------*/
/*  SINGLE PODCAST EPISODE STYLES
/*--------------------------------------------------------------------*/

/* Single Episode Header Adjustments */
.single-podcast-page .podcast-header {
    padding-bottom: 40px;
	margin-top: 75px;
}

.single-podcast-page .podcast-show-name {
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 5px;
    font-weight: 600;
}

.single-podcast-page .podcast-episode-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 20px;
    line-height: 1.2;
    color: #fff;
}

/* Audio Player */
.podcast-audio-player {
    margin-top: 30px;
}

.podcast-audio-player iframe {
    width: 100%;
    min-height: 0 !important;
    border: none;
}

/*--------------------------------------------------------------------*/
/*  CUSTOM AUDIO PLAYER STYLES
/*--------------------------------------------------------------------*/

.custom-audio-player {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--podcast-primary) 0%, #128a82 100%);
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Play/Pause Button */
.play-pause-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.play-pause-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.play-pause-btn:active {
    transform: scale(0.98);
}

.play-pause-btn svg {
    width: 20px;
    height: 20px;
    color: var(--podcast-primary);
}

.play-pause-btn .play-icon {
    margin-left: 2px; /* Optical center adjustment */
}

/* Progress Bar Container */
.progress-container {
    flex: 1;
    min-width: 100px;
}

.progress-bar {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    background: #fff;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.progress-handle {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: grab;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.progress-bar:hover .progress-handle,
.custom-audio-player.dragging .progress-handle {
    opacity: 1;
}

.custom-audio-player.dragging .progress-handle {
    cursor: grabbing;
}

/* Time Display */
.time-display {
    color: #fff;
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-variant-numeric: tabular-nums;
    min-width: 45px;
    text-align: center;
    flex-shrink: 0;
}

/* Volume Controls */
.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.volume-btn {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: opacity 0.2s ease;
}

.volume-btn:hover {
    opacity: 0.8;
}

.volume-btn svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.volume-slider-container {
    width: 70px;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Custom Audio Player Responsive */
@media screen and (max-width: 600px) {
    .custom-audio-player {
        flex-wrap: wrap;
        border-radius: 20px;
        padding: 15px;
        gap: 12px;
    }

    .play-pause-btn {
        width: 48px;
        height: 48px;
    }

    .progress-container {
        order: 3;
        width: 100%;
        flex: none;
    }

    .time-display {
        order: 2;
    }

    .volume-container {
        order: 4;
        margin-left: auto;
    }

    .volume-slider-container {
        width: 50px;
    }
}

/* Single Episode Description Box */
.single-podcast-page .podcast-description-box {
    padding: 30px 50px;
}

.single-podcast-page .podcast-description-box .show-icon {
    display: block;
    width: 50px;
    height: auto;
    margin: 0 auto 15px auto;
}

/* Tabs Section */
.podcast-content-section {
    padding: 50px 0;
}

.podcast-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 30px;
}

.podcast-tab {
    padding: 15px 30px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.podcast-tab:hover {
    color: #333;
}

.podcast-tab.active {
    color: var(--podcast-primary);
}

.podcast-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--podcast-primary);
}

/* Tab Content */
.podcast-tab-content {
    margin-bottom: 50px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.episode-description-content,
.episode-resources-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.episode-description-content p,
.episode-resources-content p {
    margin-bottom: 1.5em;
}

.episode-resources-content a {
    color: var(--podcast-primary);
}

.episode-resources-content a:hover {
    text-decoration: underline;
}

/* Host & Guest Sections */
.podcast-people-section {
    margin-bottom: 50px;
}

.podcast-people-section .section-title {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
}

.person-card {
    display: flex;
    gap: 25px;
    padding: 25px;
    border: 2px solid var(--podcast-primary);
    margin-bottom: 20px;
    background: #fff;
}

.person-image {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    overflow: hidden;
}

.person-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-info {
    flex-grow: 1;
}

.person-name {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 5px;
    color: #333;
}

.person-title {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin: 0 0 15px;
}

.person-bio {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
}

.read-more-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: var(--podcast-primary);
}

.read-more-link span {
    display: inline-block;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more-link:hover span {
    transform: translateX(5px);
}

/*--------------------------------------------------------------------*/
/*  RESPONSIVE STYLES
/*--------------------------------------------------------------------*/

@media screen and (max-width: 992px) {
    .podcast-header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .podcast-header-actions {
        justify-content: center;
    }

    .podcast-social-icons {
        justify-content: center;
    }

    .podcast-listen-on {
        flex-direction: column;
        gap: 15px;
    }

    .podcast-platform-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .podcast-description-box {
        padding: 30px;
    }

    .most-recent-episode {
        flex-direction: column;
    }

    .most-recent-episode .episode-artwork-link {
        width: 100%;
    }

    .most-recent-episode .episode-artwork {
        width: 100%;
        aspect-ratio: 16 / 9;
    }
}

@media screen and (max-width: 768px) {
    .podcast-header {
        padding: 40px 0 60px;
    }

    .podcast-title {
        font-size: 28px;
    }

    .podcast-cover-art img {
        width: 150px;
        height: 150px;
    }

    .podcast-description-wrapper {
        margin-top: -30px;
    }

    .podcast-description-box {
        padding: 25px 20px;
    }

    .episode-card {
        flex-direction: column;
        border-right-width: 2px;
        border-bottom-width: 25px;
        border-bottom-color: var(--podcast-secondary);
    }

    .episode-card .episode-artwork-link {
        width: 100%;
        margin-left: 0;
    }

    .episode-card .episode-artwork {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .episode-card .episode-content {
        padding: 20px;
    }

    .episode-buttons {
        flex-direction: column;
    }

    .btn-listen-now,
    .btn-watch-now {
        justify-content: center;
        width: 100%;
    }

    .season-tabs {
        gap: 8px;
    }

    .season-tab {
        padding: 6px 15px;
        font-size: 13px;
    }

    /* Single Podcast Responsive */
    .single-podcast-page .podcast-episode-title {
        font-size: 24px;
    }

    .podcast-tabs {
        flex-direction: column;
        border-bottom: none;
        gap: 5px;
    }

    .podcast-tab {
        border: 1px solid #e0e0e0;
        text-align: left;
    }

    .podcast-tab.active::after {
        display: none;
    }

    .podcast-tab.active {
        background-color: var(--podcast-primary);
        color: #fff;
        border-color: var(--podcast-primary);
    }

    .person-card {
        flex-direction: column;
        text-align: center;
    }

    .person-image {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
}
