.podcasts {
    position: relative;
    margin: 0 0 50px 0;
}

.podcasts__top-content {
    margin-bottom: 25px;
}

.podcasts__heading h2 {
    font-size: 40px;
    line-height: 1.125em;
    margin-bottom: 4px;
}

.podcast-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    & h3 {
        color: #2960BB;
    }
}

.podcast-filters {
    max-width: 300px;
    width: 100%;
    margin-bottom: 36px;
    & span {
        font-size: 17px;
        color: #29447E;
        margin-bottom: 8px;
        display: block;
        font-weight: 600;
    }
}

.podcast-filters select {
    width: 100%;
    padding: 10px;
}

.podcasts__image {
    width: 85px;
    height: 85px;
    float: left;
    margin: 0 12px 10px 0;
}

.podcasts__image img {
    border-radius: 8px;
}

.featured-episode-card {
    width: 100%;
    /* & iframe {
        filter: invert(1) hue-rotate(218deg);
    } */
}

.featured-episode h3 {
    color: #2960BB;
}

.podcasts__info {
    padding-top: 18px;
}

.podcasts__info h5 {
    margin: 0 0 6px;
    padding: 0;
    font-size: 14px;
    line-height: 1.2em;
    color: #222222;
    font-weight: 700;
    font-family: "Montserrat", serif;
    text-transform: none;
    overflow: hidden;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.podcasts__info p {
    margin: 0 0 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.2em;
    color: #4A4A4A;
    font-weight: 500;
    font-family: "Montserrat", serif;
    text-transform: none;
    overflow: hidden;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.save-spotify {
    margin: 0 0 14px;
    padding: 0 0 0 22px;
    font-size: 12px;
    line-height: 1.2em;
    color: #4A4A4A;
    font-weight: 500;
    font-family: "Montserrat", serif;
    text-transform: none;
    position: relative;
    background: none;
    display: inline-block;
}

.save-spotify img {
    position: absolute;
    left: 0;
    top: 0;
    max-width: 15px;
}

.progress {
    position: relative;
    width: max-content;
}

.player-controls {
    position: relative;
    max-width: 308px;
}

.time {
    margin: 0 25px;
    border: none;
    font-size: 5px;
    width: 103px;
    border-radius: 10px;
    background: #9EA0A3;
}

.time::-webkit-progress-bar {
    border-radius: 10px;
    background: #9EA0A3;
}

.time::-webkit-progress-value {
    border-radius: 10px;
    background: #9EA0A3;
}

.time::-moz-progress-bar {
    border-radius: 10px;
    background: #9EA0A3;
    opacity: 1;
}

.time::-moz-progress-value {
    border-radius: 10px;
    background: #9EA0A3;
    opacity: 1;
}

.play-backward {
    position: absolute;
    left: 0;
    top: 0;
    max-width: 22px;
}

.play-forward {
    position: absolute;
    left: 130px;
    top: 0;
    max-width: 22px;
}

.progress span {
    margin: 0 0 0;
    padding: 0 0 0 26px;
    font-size: 14px;
    line-height: 1.2em;
    color: #4A4A4A;
    font-weight: 600;
    font-family: "Montserrat", serif;
    text-transform: none;
    position: relative;
    display: inline-block;
}

.play-dots {
    position: absolute;
    right: 0;
    top: 0;
}

.play {
    position: absolute;
    right: 0;
    top: -4px;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background: #367C00;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.play::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    clip-path: polygon(0 0, 0 100%, 80% 50%);
    background: #fff;
    margin: 0 0 0 3px;
}

.play-dots {
    position: absolute;
    right: 57px;
    top: -4px;
    cursor: pointer;
    font-size: 34px;
    line-height: 0.5em;
    letter-spacing: -0.49em;
}

.spotify {
    position: absolute;
    right: 10px;
    top: 3px;
    cursor: pointer;
    max-width: 16px;
}

@media (min-width: 768px) {
    .podcasts {
        margin: 0 0 50px 0;
    }
    .podcasts__heading h2 {
        font-size: 50px;
    }
    .podcasts__col {
        padding: 0;
        display: flex;
        flex-wrap: wrap;
    }
    .podcasts__image {
        width: 130px;
        height: auto;
        float: none;
        margin: 0;
        position: relative;
    }
    .podcasts__image img {
        border-radius: 8px;
        position: absolute;
        width: 100%;
        height: 100%;
    }
    .podcasts__info {
        padding-top: 17px;
        width: calc(100% - 130px);
        padding-left: 14px;
    }
    .podcasts__info h5 {
        margin: 0 0 6px;
        font-size: 14px;
    }
    .podcasts__info p {
        font-size: 14px;
    }
    .save-spotify {
        margin: 15px 0 6px;
        padding: 5px 0 5px 30px;
    }
    .save-spotify img {
        max-width: 23px;
    }
    .progress {
        width: calc(100% - 94px);
    }
    .player-controls {
        position: relative;
        max-width: 100%;
    }
    .time {
        margin: 0 28px;
        border-radius: 10px;
        width: calc(100% - 120px);
    }
    .play-forward {
        left: calc(100% - 80px);
    }
    .spotify {
        right: 13px;
        top: 5px;
        max-width: 23px;
    }
    .podcasts__top-content {
        margin-bottom: 30px;
    }
}

@media (min-width: 1200px) {
    .podcasts {
        margin: 0 0 120px 0;
    }
    .podcasts__heading h2 {
        font-size: 55px;
    }
    .podcasts__top-content {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-end;
        justify-content: space-between;
    }
    .podcasts__heading {
        width: 80%;
    }
    .play {
        background: #367C00;
    }
    .play:hover {
        background: #235000;
    }
}

.podcasts__listings {
    margin-top: 5px;
}

.podcasts-item {
    margin-top: 20px;
    position: relative;
}

.podcast-card {
    display: block;
    background: #FFFFFF;
    border: 1px solid rgba(116, 115, 115, 0.40);
    border-radius: 10px;
    padding: 18px 81px 18px 20px;
    position: relative;
}

.podcast-episode {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 25px;
    padding-bottom: 5px;
}

.podcast-episode h5 {
    margin: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.2em;
    text-transform: uppercase;
    color: #29447E;
    font-weight: 700;
    font-family: "Barlow Condensed", serif;
}

.episode-date {
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.2em;
    color: #222222;
    font-weight: 600;
    display: block;
    letter-spacing: 0.025em;
}

.podcast-episode-name {
    margin: 0;
    padding: 0;
    font-size: 20px;
    line-height: 1.2em;
    color: #222222;
    font-weight: 600;
    font-family: "Barlow Condensed", serif;
    letter-spacing: 0.025em;
}

.episode-link {
    position: absolute;
    right: 16px;
    bottom: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #367C00;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.episode-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(50% + 2px);
    transform: translate(-50%, -50%);
    width: 21px;
    height: 21px;
    clip-path: polygon(0 0, 0 100%, 80% 50%);
    background: #fff;
    margin: 0 0 0 3px;
}

.podcasts__btn {
    margin-top: 12px;
}

.podcasts__heading h3 {
    margin-bottom: 3px;
}

@media (min-width: 768px) {
    .podcasts__listings {
        margin-top: 10px;
    }
    .podcast-card {
        border-radius: 15px;
        padding: 19px 142px 33px 20px;
    }
    .podcast-episode {
        padding-bottom: 3px;
    }
    .podcast-episode-name {
        font-size: 24px;
    }
    .episode-link {
        right: 25px;
        bottom: 20px;
    }
    .podcasts__btn {
        margin-top: 16px;
    }
}

@media (min-width: 1200px) {
    .podcast-card {
        padding: 19px 76px 54px 20px;
        height: 100%;
    }
    .podcast-episode {
        padding-bottom: 6px;
    }
    .episode-link {
        background: #367C00;
        right: 16px;
    }
    .podcast-card:hover {
        background: #f5f8fc;
        border: 1px solid #A0B9E4;
    }
    .podcast-card:hover .episode-link {
        background: #235013;
    }
    .podcast-listing .podcast-card:hover {
        background: #f5f8fc;
        border: 1px solid #2960BB;
    }
    .podcast-listing .episode-link:hover {
        background: #235000;
    }
    .podcast-listing .podcast-card:hover .episode-link {
        background: #19225B;
    }
    .save-spotify:hover {
        color: #000;
        background: none;
    }
    .podcasts__btn {
        margin-top: 0;
    }
}

.podcasts__col iframe {
    height: 155px;
}

.podcast-listing-container {
    padding-bottom: 100px;
    background-color: #f5f8fc;
    padding-top: 200px;
    margin-top: -90px;
}

.js-load-more {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.podcast-listing__pagination .load-more__btn {
    background-color: #2960BB;
}

.podcast-listing__pagination {
    & .load-more__counter {
        font-weight: 700;
    }
    & progress {
        display: none;
    }
    & .btn-primary {
        background-color: #2960BB;
        &:hover {
            background-color: #19225B;
        }
    }
}

.podcast-listing .episode-link {
    background-color: #2960BB;
    &:hover {
        background-color: #19225B;
    }
}

.page-id-779 .masthead--innerpage__text {
    & .sub-heading {
        color: #29447E;
    }
}

.page-id-779 .block-half_text_half_media {
    & h2 {
        color: #29447E;
        text-transform: capitalize;
    }
    & .image-text__img__wrap::after {
        border: 2px solid #29447E;
    }
    & .clone-half-text-half-media__repeater-buttons {
        & .btn {
            background-color: #2960BB;
            &:hover {
                background-color: #19225B;
            }
        }
    }
}

.podcast-listing.loading {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.podcast-listing {
    min-height: 200px;
    /* Adjust based on your needs */
}

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


/* Loading Indicator */

.is-loading:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 50px;
    height: 50px;
    border: 5px solid;
    border-color: #E3E3E3 #E3E3E3 transparent;
    border-radius: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-animation: simpleSpin 1.5s linear infinite;
    animation: simpleSpin 1.5s linear infinite;
    z-index: 3;
}

.social-media-links {
    display: flex;
    gap: 30;
    align-items: center;
    & h5 {
        font-size: 25px;
        font-weight: 600;
        color: #29447E;
    }
    & ul {
        display: flex;
        gap: 10px;
        & li {
            &::before {
                display: none;
            }
            & a {
                width: 49px;
                height: 49px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                background-color: #2960BB;
                color: #fff;
                &:hover {
                    opacity: 0.8;
                }
            }
        }
    }
}

.related-links .apps {
    display: flex;
    gap: 10px;
    & ul {
        display: flex;
        gap: 10px;
        & li {
            &::before {
                display: none;
            }
            & a {
                text-decoration: none;
                border: none;
                background: none;
                &:hover {
                    opacity: 0.8;
                }
            }
        }
    }
}

@-webkit-keyframes simpleSpin {
    0% {
        -webkit-transform: translate(-50%, -50%) rotateZ(0deg);
        transform: translate(-50%, -50%) rotateZ(0deg);
    }
    100% {
        -webkit-transform: translate(-50%, -50%) rotateZ(360deg);
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}

@keyframes simpleSpin {
    0% {
        -webkit-transform: translate(-50%, -50%) rotateZ(0deg);
        transform: translate(-50%, -50%) rotateZ(0deg);
    }
    100% {
        -webkit-transform: translate(-50%, -50%) rotateZ(360deg);
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}