/*
 Theme Name:   Astra Child
 Theme URI:    https://wpastra.com/
 Description:  Child theme for Astra
 Template:     astra
 Version:      1.0.0
*/

.d-flex {
    display: flex;
}

.home-video-popup {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    background: #000000bd;
    margin: auto;
}

.home-video-popup-wrapper {
    position: absolute;
    max-width: max-content;
    max-height: max-content;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.home-video-popup a.close-yt-popup {
    z-index: 9;
    position: absolute;
    right: 0px;
    top: -10px;
    background-color: black;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.episode-socials {
    list-style: none;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
}

.episode-socials>li {
    margin: 7px;
}

.episode-links {
    width: 100%;
}

.episode-links-wrapper {
    justify-content: space-between;
}

.episode-links-wrapper>a {
    display: flex;
    align-items: center;
}

.episode-links-wrapper>a>strong {
    margin-right: 10px;
}

.youtube-card {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 10px;
}

.youtube-card .video-title {
    margin-bottom: 6px;
    color: #000;
    font-family: Montserrat;
    font-size: 21px;
    font-style: normal;
    font-weight: 600;
    padding: 10px;
    text-align: left;
}

.youtube-card .channel-info {
    display: flex;
    align-items: end;
    gap: 10px;
    font-size: 14px;
    color: #555;
}

.youtube-card .channel-info img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.youtube-card .channel-info span {
    color: #000;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    display: block;
    text-align: left;
}

.youtube-card .channel-info span.subs {
    font-weight: 400;
}

.video-info {
    display: flex;
    align-items: center;
    margin-top: -30px;
    justify-content: space-between;
}

.subscribers {
    font-size: 13px;
    color: #555;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.youtube-btn,
.share-btn {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* YouTube button */
.youtube-btn {
    background: #000;
    color: #F2C417;
}

.youtube-btn svg {
    fill: #F2C417;
}

/* Share button */
.share-btn {
    background: #F2C417;
    color: #000;
}

.share-btn svg {
    fill: #000;
}

.youtube-btn:hover {
    opacity: 0.85;
}

.share-btn:hover {
    opacity: 0.85;
}

ul.slick-dots {
    display: flex;
    justify-content: center;
    align-items: center;
}

.episodes ul.slick-dots li button {
    display: none;
}

.episodes ul.slick-dots li.slick-active {
    opacity: 1;
    width: 10px;
    height: 10px;
    background-color: #F2C417;
}

.episodes ul.slick-dots li {
    width: 7px;
    list-style: none;
    height: 7px;
    background-color: #383838;
    border-radius: 50%;
    margin: 7px;
    opacity: 0.7;
    padding: 0 !important;
}

.recent-episodes .slick-list {
    overflow: visible;
}

.recent-episodes .slick-slide {
    opacity: 0.1;
    max-width: 600px;
}

.episodes .slick-slide.slick-center {
    opacity: 1;
    margin-top: -50px;
}

.episodes .slick-arrow.slick-prev {
    left: -20%;
}

.episodes .slick-arrow.slick-next {
    right: -20%;
}

.episodes .slick-arrow.slick-next::after {
    content: '\f054';

}

.episodes .slick-arrow.slick-prev::after {
    content: '\f053';
}

.episodes .slick-arrow::after {
    font-family: 'Font Awesome 5 Brands';
    color: white;
}

.episodes .slick-arrow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    max-width: max-content;
    background-color: transparent;
    color: transparent;
    border: 0;
    background-image: url(https://digitalespodcast.com/wp-content/uploads/2025/08/slick-next.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
    padding: 0;
    z-index: 1;
}

.popular-episodes .slick-slide {
    margin: 10px;
}

.episodes .slick-slide.blurred {
    opacity: 0.5;
}

.popular-episodes .slick-arrow {
    bottom: -90px;
    left: auto;
    right: 0;
    background-color: #141414;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-size: 10px;
    background-position: center;
}

.eael-creative-button {
    text-decoration: none !important;
}

.popular-episodes .slick-arrow.slick-next {
    /* right: 0; */
    right: 37%;
}

.popular-episodes .slick-arrow.slick-prev {
    left: auto;
    /* right: 60px; */
    right: 40%;
}

.popular-episodes .slick-arrow.slick-disabled {
    opacity: 0.5;
}

.episodes .slick-arrow.slick-prev {
    transform: rotate(180deg);
}

.popular-episodes figure img {
    width: 100%;
}

.popular-episodes .elementor-image-box-title {
    position: relative;
    cursor: pointer;
}

.popular-episodes .elementor-image-box-title svg {
    margin-right: 10px;
}

.popular-episodes .elementor-image-box-title span {
    margin-top: -20px;
    position: absolute;
    bottom: 20px;
}

.popular-episodes .elementor-image-box-content {
    padding: 0 15px 15px 15px;
    display: flex;
    flex-wrap: wrap;
}

.popuplar-episodes-view {
    max-width: max-content;
    margin: 24px auto 0 auto;
}

.sbt-list figure.elementor-image-box-img {
    position: relative;
}

.sbt-list figure.elementor-image-box-img img {
    width: 100%;
}

.sbt-list figure.elementor-image-box-img::after {
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, #161616 100%);
    content: '';
    width: 100%;
    height: 100px;
    display: block;
    position: absolute;
    bottom: 0;
}

.sbt-list .elementor-image-box-content {
    position: absolute;
    bottom: 30px;
    padding: 10px;
}

.sbt-list .slick-slide {
    margin: 7px;
}

.sbt-list .slick-arrow {
    bottom: 20px;
}

.fs-section .elementor-widget-text-editor {
    border-radius: 7px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.70) 0.9%, rgba(0, 0, 0, 0.00) 100%);
    width: 100%;
    padding: 20px;
}

.fs-section .elementor-widget-text-editor>.elementor-widget-container {
    max-width: 800px;
}

.newsletter-section .wpr-mailchimp-subscribe {
    position: absolute;
    right: 20px;
    top: 0;
    bottom: 0;
    max-width: 40px;
    max-height: 40px;
    margin: auto;
}

.top-bg-section .transparent-bg-content {
    border-radius: 7px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.70) 0.9%, rgba(0, 0, 0, 0.00) 100%);
}

.read-more-mob {
    display: none;
}

.newsletter-section .wpr-mailchimp-fields {
    position: relative;
}

.social-icon-footer.elementor-element .elementor-social-icons-wrapper.elementor-grid {
    flex-direction: row;
    justify-content: left;
}

.fs-section .eael-creative-button:first-child svg {
    background-image: url(https://digitalespodcast.com/wp-content/uploads/2025/09/ERLOGO2-1.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.popular-episodes iframe {
    display: none;
}

.popular-episodes .elementor-image-box-img {
    position: relative;
}

.popular-episodes figure.elementor-image-box-img::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: #000000b8;
    z-index: 1;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 15px;
    background-image: url(https://digitalespodcast.com/wp-content/uploads/2025/09/Play-4.png);
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 1300px) {
    .popular-episodes .elementor-image-box-title, .popular-episodes .elementor-image-box-description {
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        /* number of lines to show */
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .popular-episodes figure.elementor-image-box-img::after {
        background-size: 50px;
    }
}

@media (max-width: 1024px) {
    .e-con:not(.p-episodes) {
        overflow: hidden;
    }

    header .e-con.elementor-element {
        overflow: unset;
    }

    header .hfe-nav-menu li a {
        color: black !important;
    }

    .popular-episodes .slick-arrow.slick-prev {
        right: 25%;
    }

    .popular-episodes .slick-arrow.slick-next {
        right: 19%;
    }

    .youtube-card .channel-info img {
        width: 60px;
        height: 60px;
    }

    .youtube-card .video-info {
        margin-top: -17px;
    }

    .youtube-card .channel-info span {
        font-size: 12px;
    }

    .youtube-card .btn-group {
        gap: 5px;
    }

    .youtube-card .btn-group a span {
        display: none;
    }
}

@media (max-width: 767px) {
    .home-video-popup-wrapper {
        height: 60%;
        width: 80%;
    }

    .yt-video, .yt-video iframe {
        height: 100%;
    }

    .top-bg-section .top-bg-content {
        margin: auto;
        top: 0;
        bottom: 0;
        max-height: max-content;
    }

    .fs-content {
        min-height: 400px;
    }

    .episode-links {
        margin-top: 20px;
    }

    .popular-episodes figure img {
        padding: 5px 15px;
    }

    .episode-links-wrapper {
        flex-wrap: wrap;
    }

    .episode-socials>li {
        margin: 10px 25px 0 0;
    }

    .recent-episodes .slick-slide {
        max-width: 280px;
        margin: 5px;
    }

    .show-more {
        display: none;
    }

    .youtube-card .video-title {
        font-size: 14px;
        padding: 0;
    }

    .youtube-card iframe {
        max-height: 140px;
    }

    .youtube-card .btn-group a {
        padding: 4px 6px;
        border-radius: 6px;
    }

    .episodes:not(.popular-episodes) .slick-arrow.slick-prev {
        left: -70%;
    }

    .episodes:not(.popular-episodes) .slick-arrow.slick-next {
        right: -70%;
    }

    .episodes:not(.popular-episodes) .slick-dots {
        padding: 0;
    }

    .eael-creative-button {
        min-width: unset;
    }

    .popular-episodes .slick-arrow.slick-next {
        right: 8%;
    }

    .popular-episodes .slick-arrow.slick-prev {
        right: 20%;
    }

    .popular-episodes .slick-arrow {
        width: 40px;
        height: 40px;
        bottom: -18%;
    }

    .channels-list {
        flex-wrap: wrap;
    }

    .channels-list>div {
        flex: 1 0 48%;
        max-width: 50%;
    }

    .newsletter-section .wpr-mailchimp-subscribe {
        max-width: 30px;
        max-height: 30px;
        top: -13px;
    }
}