
body.new-podcast-site {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8f9fa;
    color: #212529;
}

.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-brand .fa {
    margin-right: 8px;
    color: #007bff;
}

.nav-link {
    font-weight: 500;
}

.hero-section {
    background-color: #6f42c1;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%234a2688" fill-opacity="1" d="M0,192L48,176C96,160,192,128,288,133.3C384,139,480,181,576,186.7C672,192,768,160,864,149.3C960,139,1056,149,1152,176C1248,203,1344,245,1392,266.7L1440,288L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    color: #ffffff;
    padding: 6rem 0;
}


.hero-theme-light .hero-text h1 {
    color: #272727;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: #fff;
}

.hero-text p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin: 1.5rem 0;
}

.hero-image img {
    max-width: 350px;
    border-radius: 12px;
}

.follow-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.follow-icons {
    margin-top: 1.5rem;
}

.follow-icons a {
    display: inline-block;
    font-size: 1.75rem;
    color: #495057;
    transition: color 0.2s ease;
}

.follow-icons a:hover {
    color: #007bff;
}

.episodes-section {
    padding: 4rem 0;
}

.episode-card {
    display: flex;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.2s ease-in-out;
}

.episode-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
}

.episode-art {
    flex-shrink: 0;
    width: 150px;
}

.episode-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.episode-info {
    padding: 1.5rem;
    flex-grow: 1;
}

.episode-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0;
}

.episode-meta {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.episode-info p {
    color: #495057;
    margin-bottom: 1.5rem;
}

.full-player-container {
    width: 100%;
    margin-top: auto;
}

.full-player-container {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 6px;
    overflow: hidden;
}

.iframe-container {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 6px;
    min-height: 170px;
}

.btn-play {
    background-color: #007bff;
    color: #ffffff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-right: 1rem;
}

.player-wrapper {
    display: flex;
    align-items: center;
}

.player-meta {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.site-footer {
    background-color: #343a40;
    color: #adb5bd;
    padding: 4rem 0;
}

.site-footer h5 {
    color: #ffffff;
    font-weight: 600;
}

.site-footer .footer-logo {
    font-size: 1.75rem;
}

.site-footer .list-unstyled a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer .list-unstyled a:hover {
    color: #ffffff;
}

.social-icons a {
    display: inline-block;
    font-size: 1.5rem;
    color: #adb5bd;
    margin-right: 1.5rem;
    transition: color 0.2s ease;
}

.social-icons a:hover {
    color: #ffffff;
}

.sub-footer {
    padding: 1.5rem 0;
    background-color: #212529;
    color: #6c757d;
    font-size: 0.9rem;
}

.sub-footer .blubrry-link {
    color: #adb5bd;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.sub-footer .blubrry-link img {
    height: 20px;
    width: 20px;
    margin-right: 8px;
    opacity: 0.7;
}

.sub-footer .blubrry-link:hover {
    color: #ffffff;
}


.hero-theme-dark .hero-text {
    color: #FFFFFF;
}


.hero-theme-dark .cta-button {
    background-color: #FFFFFF;
    color: var(--dominant-color);
    border-color: #FFFFFF;
    font-weight: 600;
}

.hero-theme-dark .cta-button:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
    color: var(--dominant-color);
}

.hero-theme-light .hero-text {
    color: #212529;
}

.hero-theme-light .cta-button {
    background-color: #212529;
    color: #FFFFFF;
    border-color: #212529;
    font-weight: 600;
}

.hero-theme-light .cta-button:hover {
    filter: brightness(120%);
}

.subscribe-icons {
    vertical-align: text-bottom;
    width: 36px;
    height: 36px;
    border: 0;
    display: inline-block;
    margin-right: 11px;
    background-image: url("../images/modern_icon_sprite_2024.svg");
    background-repeat: no-repeat;
    background-size: 50px;
}

.subscribe-icons-larger {
    vertical-align: text-bottom;
    width: 63px;
    height: 60px;
    border: 0;
    display: inline-block;
    margin-right: 8px;
    background-image: url("../images/modern_icon_sprite_2024.svg");
    background-repeat: no-repeat;
    background-size: 70px;
}

/*.destination-card {*/
/*    display: none;*/
/*    border-left-width: 16px;*/
/*    border-radius: 10px;*/
/*}*/

/*.card-border-grey {*/
/*    border-left-color: #E8F4FF;*/
/*}*/

.destinations-icon-links small {
    font-weight: bold;
}

.destinations-link {
    cursor: pointer;
}

.destinations-icon-links .active {
    background-color: #E8F4FF;
}

.destination-card.active {
    display: block;
}

.apple-podcast {
    background-position: -5px -10px;
}

.android {
    background-position: -5px -60px;
}

.email {
    background-position: -5px -111px;
}

.google {
    background-position: -5px -160px;
}

.tunein {
    background-position: -5px -258px;
}

.spotify {
    background-position: -5px -310px;
}

.iheartradio {
    background-position: -5px -460px;
}

.deezer {
    background-position: -5px -509px;
}

.pandora {
    background-position: -5px -559px;
}

.blubrry {
    background-position: -5px -610px;
}

.amazon_music {
    background-position: -5px -1008px;
}

.pcindex {
    background-position: -5px -1060px;
}

.jiosaavn {
    background-position: -5px -1109px;
}

.gaana {
    background-position: -5px -1208px;
}

.podchaser {
    background-position: -5px -1158px;
}

.anghami {
    background-position: -5px -1258px;
}

.subscribe-icons-larger.apple-podcast {
    background-position: -1px -5px;
}

.subscribe-icons-larger.android {
    background-position: -1px -70px;
}

.subscribe-icons-larger.email {
    background-position: 0px -143px;
}

.subscribe-icons-larger.google {
    background-position: -5px -220px;
}

.subscribe-icons-larger.tunein {
    background-position: 0px -355px;
}

.subscribe-icons-larger.spotify {
    background-position: -3px -428px;
}

.subscribe-icons-larger.iheartradio {
    background-position: -5px -640px;
}

.subscribe-icons-larger.deezer {
    background-position: 0px -706px;
}

.subscribe-icons-larger.pandora {
    background-position: 0px -780px;
}

.subscribe-icons-larger.blubrry {
    background-position: 0px -846px;
}

.subscribe-icons-larger.amazon_music {
    background-position: 0px -1406px;
}

.subscribe-icons-larger.pcindex {
    background-position: 0px -1476px;
}

.subscribe-icons-larger.jiosaavn {
    background-position: 0px -1546px;
}

.subscribe-icons-larger.gaana {
    background-position: 0px -1685px;
}

.subscribe-icons-larger.podchaser {
    background-position: 0px -1615px;
}

.subscribe-icons-larger.anghami {
    background-position: 0px -1753px;
}

.subscribe-icons-larger.rss {
    background-position: 0px -498px;
}

.subscribe-icons-larger.youtube {
    background-position: 0px -1822px;
}

.subscribe-icons-larger.grey-icon {
    background-image: url("../images/grey_icon_sprite_2023.svg");
}

.episode-player-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.episode-meta-top {
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.episode-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.player-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.episode-player-iframe {
    display: block;
    width: 100%;
    height: 165px;
    border: none;
}

.main-content-section {
    padding: 4rem 0;
}

.tabs-container .nav-tabs {
    border-bottom: 2px solid #dee2e6;
}

.tabs-container .nav-link {
    border: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;

    border-bottom: 3px solid transparent;

    margin-bottom: -2px;

    color: #6c757d;
    font-weight: 600;
    font-size: 1.0rem;
    padding: 0.75rem 1.25rem;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.tabs-container .nav-link.active {
    color: grey;
    border-bottom: 3px solid grey;
}

.tabs-container .nav-link:not(.active):hover {
    color: #343a40;
    border-bottom: 3px solid #dee2e6;
}

.tab-content .content-block {
    /*white-space: pre-wrap;     !* Respects newlines and wraps text *!*/
    /*overflow-wrap: break-word; !* Breaks long words/URLs *!*/
    /*word-break: break-all;     !* A fallback for aggressive breaks *!*/

    padding-top: 1rem;
    line-height: 1.7;
    color: #343a40;
}

.content-block p {
    margin-bottom: 1.5rem;
}

.sidebar .sidebar-widget {
    /*background-color: #f8f9fa;*/
    /*background-color: #FFF;*/
    /*border: 1px solid #e9ecef;*/
    /*border-radius: 8px;*/
    padding: 1.5rem;
}

.sidebar-widget h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.destination-icons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 1rem;
}

/*.destination-icons a {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    font-size: 1.5rem;*/
/*    color: #007bff;*/
/*    padding: 10px;*/
/*    background-color: #fff;*/
/*    border: 1px solid #dee2e6;*/
/*    border-radius: 6px;*/
/*    transition: background-color 0.2s ease;*/
/*}*/

/*.destination-icons a:hover {*/
/*    background-color: #e9ecef;*/
/*}*/


.nav-tabs {
    background-color: unset;
    border: unset;
}

.nav-tabs .nav-link.active {
    background-color: unset;
    border-left: unset;
    border-right: unset;
}

.chapters-list {
    display: flex;
    flex-direction: column;
}

.chapter-item {
    display: flex;
    align-items: center;
    padding: 1rem 0.75rem;
    text-decoration: none;
    color: #343a40;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #e9ecef;
}

.chapter-item:last-child {
    border-bottom: none;
}

.chapter-item:hover {
    background-color: #f8f9fa;
    text-decoration: none;
}

.chapter-time {
    font-weight: 600;
    color: #007bff;
    margin-right: 1.5rem;
    font-family: monospace;
    font-size: 1.1em;
}

.chapter-title {
    font-weight: 500;
    color: #212529;
}

.chapter-item.active {
    background-color: #e6f2ff;
}

.chapter-item.active .chapter-title {
    font-weight: 700;
}

.episode-description {
    /* These 5 lines are the magic */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* The number of lines to show */
    overflow: hidden;
    text-overflow: ellipsis;

    /* These are for basic styling (from your previous code) */
    color: #495057;
    margin-bottom: 1.5rem;
}


@media (max-width: 767.98px) {
    .hero-section {
        padding: 3rem 0;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .hero-image img {
        max-width: 250px;
    }

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

    .episode-art {
        width: 100%;
        height: 200px;
    }


    .tabs-container .nav-tabs {
        /* Prevents the tabs from wrapping to the next line */
        flex-wrap: nowrap;

        /*overflow-x: auto;*/

        /* Hides the ugly scrollbar on most browsers */
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;     /* Firefox */

        justify-content: center;
    }

    /* Hides scrollbar for Webkit (Chrome, Safari) */
    .tabs-container .nav-tabs::-webkit-scrollbar {
        display: none;
    }

    /* Ensures the links don't shrink */
    .tabs-container .nav-tabs .nav-item {
        flex-shrink: 0;
    }

    .tab-content .active {
        padding-top: 0;
    }

}

@media (min-width: 992px) {
    .sidebar {
        position: sticky;
        top: 2rem;
    }
}

.tab-pane#chapters .content-block {
    white-space: unset;
    overflow-wrap: unset;
    word-break: unset;
}