@media only screen and (max-width: 600px) {
	
}

@media (min-width: 1200px) {
    .podcast_caro .carousel-item {
        flex-basis: 25%;
    }
}

@media only screen and (max-width: 700px) {
    .search_popup_back {
        top: 430px;
    }

    .search_popup_content {
        height: 430px;
    }

    .search_popup_inner {
        padding-top: 150px;
    }

    .search_popup_title {
        font-size: 24px;
    }
}


@media only screen and (max-width: 1300px) {
    .tag .podcast_archive .podcast_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 1000px) {
    .tag .podcast_archive .wrapper > div {
        grid-template-columns: 1fr;
    }

    .tag .podcast_archive .right_sidebar {
        display: none;
    }
}

@media only screen and (max-width: 820px) {
    .tag_podcast_grid {
        grid-template-columns: 1fr;
    }

    .tag_podcast_grid .side_text {
        writing-mode: initial;
        transform: none;
        font-size: clamp(30px, 9.5vw, 42px);
        left: 0;
        margin-bottom: 25px;
    }

    .tag .podcast_archive .podcast_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
    }
}

@media only screen and (max-width: 520px) {
    .tag .podcast_archive .podcast_grid {
        grid-template-columns: 1fr;
    }
}


@media only screen and (min-width: 1201px) and (max-width: 1400px) {
    .search_results_archive.hide_right_sidebar .search_article_grid {
        grid-template-columns: repeat(3, minmax(0, 353px));
    }

    .search_results_archive.hide_right_sidebar .search_podcast_grid {
        grid-template-columns: repeat(4, minmax(0, 250px));
    }
}

@media only screen and (max-width: 1200px) {
    .search_article_grid,
    .search_podcast_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 1000px) {
    .search_results_archive .wrapper > div {
        grid-template-columns: 1fr;
    }

    .search_results_archive .right_sidebar {
        display: none;
    }
}

@media only screen and (max-width: 820px) {
    .search_results_section {
        grid-template-columns: 1fr;
    }

    .search_results_section .side_text {
        writing-mode: initial;
        transform: none;
        font-size: clamp(30px, 9.5vw, 42px);
        left: 0;
        margin-bottom: 25px;
    }
}

@media only screen and (max-width: 560px) {
    .search_article_grid,
    .search_podcast_grid {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 1000px) {
    .page-template-TEMPLATE-articles .home_sidebar_grid > .wrapper > div {
        grid-template-columns: 1fr;
    }

    .page-template-TEMPLATE-articles .home_sidebar_grid .right_sidebar {
        display: none;
    }
}

@media only screen and (max-width: 820px) {
    .page-template-TEMPLATE-articles .home_sidebar_grid .side_caro_grid {
        grid-template-columns: 1fr;
    }

    .page-template-TEMPLATE-articles .home_sidebar_grid .side_text {
        writing-mode: initial;
        transform: none;
        font-size: clamp(30px, 9.5vw, 42px);
        left: 0;
        margin-bottom: 25px;
    }
}


@media only screen and (max-width: 1200px) {
    .category_article_grid {
        grid-template-columns: repeat(2, minmax(0, 353px));
    }
}

@media only screen and (max-width: 1000px) {
    .category_article_archive .wrapper > div {
        grid-template-columns: 1fr;
    }

    .category_article_archive .right_sidebar {
        display: none;
    }
}

@media only screen and (max-width: 820px) {
    .category_article_grid_wrap {
        grid-template-columns: 1fr;
    }

    .category_article_grid_wrap .side_text {
        writing-mode: initial;
        transform: none;
        font-size: clamp(30px, 9.5vw, 42px);
        left: 0;
        margin-bottom: 25px;
    }

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

/* Desktop tightening and carousel cleanup */
@media only screen and (max-width: 1700px) {
    .wrapper,
    .home_sidebar_grid .wrapper,
    .category_article_archive .wrapper,
    .search_results_archive .wrapper,
    .tag .podcast_archive .wrapper,
    .podcast_archive .wrapper,
    .page-template-TEMPLATE-articles .home_sidebar_grid .wrapper {
        max-width: calc(100% - 80px);
    }

    .home_sidebar_grid .wrapper,
    .home_sidebar_grid.hide_right_sidebar .wrapper,
    .page-template-TEMPLATE-articles .home_sidebar_grid .wrapper {
        right: 0;
    }

    .post_content > .wrapper > div {
        grid-template-columns: minmax(0, 1fr) 353px;
        gap: 40px;
    }

    .home_sidebar_grid > .wrapper > div,
    .page-template-TEMPLATE-articles .home_sidebar_grid > .wrapper > div,
    .category_article_archive .wrapper > div,
    .search_results_archive .wrapper > div,
    .podcast_archive .wrapper > div,
    .tag .podcast_archive .wrapper > div {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 353px);
        gap: 40px;
    }

    .side_caro_grid {
        grid-template-columns: clamp(52px, 4.75vw, 80px) minmax(0, 1fr);
    }

    .side_text {
        font-size: clamp(76px, 5.65vw, 96px);
        left: 0;
    }

    .all_way .side_caro_content,
    .related_articles .side_caro_content,
    .article_top_all_way .side_caro_content,
    .home_sidebar_grid.hide_right_sidebar .all_way .side_caro_content {
        width: min(calc(100vw - 120px), calc(50vw + 700px));
    }

    .article_caro.first::after,
    .podcast_caro.first::after {
        width: min(1560px, calc(100vw - 80px));
    }

    .article_caro.first.all_way::after,
    .podcast_caro.first.all_way::after {
        left: 40px;
    }

    .all_way .carousel-next,
    .home_sidebar_grid.hide_right_sidebar .all_way .carousel-next,
    .article_top_all_way .carousel-next,
    .podcast_caro.first .latest_podcast_carousel .carousel-next {
        right: var(--ai-carousel-next-inset) !important;
    }

    .all_way .carousel-prev,
    .home_sidebar_grid.hide_right_sidebar .all_way .carousel-prev,
    .article_top_all_way .carousel-prev,
    .podcast_caro.first .latest_podcast_carousel .carousel-prev {
        right: var(--ai-carousel-prev-inset) !important;
    }

    .single_banner .text > div {
        padding-left: clamp(60px, 8vw, 160px);
        padding-right: clamp(40px, 5vw, 80px);
    }

    .small_banner .wrapper > div {
        grid-template-columns: minmax(0, 780px) minmax(320px, 400px);
        gap: clamp(40px, 5vw, 80px);
    }
}

@media only screen and (max-width: 1450px) {
    .wrapper,
    .home_sidebar_grid .wrapper,
    .category_article_archive .wrapper,
    .search_results_archive .wrapper,
    .tag .podcast_archive .wrapper,
    .podcast_archive .wrapper,
    .page-template-TEMPLATE-articles .home_sidebar_grid .wrapper {
        max-width: calc(100% - 60px);
    }

    .post_content > .wrapper > div,
    .home_sidebar_grid > .wrapper > div,
    .page-template-TEMPLATE-articles .home_sidebar_grid > .wrapper > div,
    .category_article_archive .wrapper > div,
    .search_results_archive .wrapper > div,
    .podcast_archive .wrapper > div,
    .tag .podcast_archive .wrapper > div {
        gap: 30px;
    }

    .home_sidebar_grid > .wrapper > div,
    .page-template-TEMPLATE-articles .home_sidebar_grid > .wrapper > div,
    .category_article_archive .wrapper > div,
    .search_results_archive .wrapper > div,
    .podcast_archive .wrapper > div,
    .tag .podcast_archive .wrapper > div {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
    }

    .post_content > .wrapper > div {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 353px);
    }

    .sidebar_latest_podcast_header,
    .sidebar_latest_article_header,
    .sidebar_latest_video_header {
        gap: 14px;
    }

    .sidebar_latest_podcast_header h2,
    .sidebar_latest_article_header h2,
    .sidebar_latest_video_header h2 {
        font-size: 30px;
    }

    .sidebar_latest_podcast_header a,
    .sidebar_latest_article_header a,
    .sidebar_latest_video_header a {
        font-size: 21px;
    }

    .all_way .side_caro_content,
    .related_articles .side_caro_content,
    .article_top_all_way .side_caro_content,
    .home_sidebar_grid.hide_right_sidebar .all_way .side_caro_content {
        width: calc(100vw - 90px);
    }

    .single_banner {
        grid-template-columns: 45% 55%;
    }

    .single_banner h1 {
        font-size: 34px;
    }

    .small_banner .wrapper > div {
        grid-template-columns: minmax(0, 1fr) 340px;
    }

    .small_banner .text > div,
    .small_banner .text > div > span {
        font-size: 76px;
    }
}

@media only screen and (max-width: 1200px) {
    .wrapper,
    .home_sidebar_grid .wrapper,
    .category_article_archive .wrapper,
    .search_results_archive .wrapper,
    .tag .podcast_archive .wrapper,
    .podcast_archive .wrapper,
    .page-template-TEMPLATE-articles .home_sidebar_grid .wrapper {
        max-width: calc(100% - 40px);
    }

    .post_content > .wrapper > div,
    .home_sidebar_grid > .wrapper > div,
    .page-template-TEMPLATE-articles .home_sidebar_grid > .wrapper > div,
    .category_article_archive .wrapper > div,
    .search_results_archive .wrapper > div,
    .podcast_archive .wrapper > div,
    .tag .podcast_archive .wrapper > div {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .right_sidebar {
        display: none;
    }

    .side_caro_grid {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .side_text {
        font-size: 62px;
    }

    .all_way .side_caro_content,
    .related_articles .side_caro_content,
    .article_top_all_way .side_caro_content,
    .home_sidebar_grid.hide_right_sidebar .all_way .side_caro_content {
        width: 100%;
    }

    .article_caro.first.all_way::after,
    .podcast_caro.first.all_way::after {
        left: 20px;
    }

    .all_way .carousel-next,
    .home_sidebar_grid.hide_right_sidebar .all_way .carousel-next,
    .article_top_all_way .carousel-next,
    .podcast_caro.first .latest_podcast_carousel .carousel-next {
        right: var(--ai-carousel-next-inset) !important;
    }

    .all_way .carousel-prev,
    .home_sidebar_grid.hide_right_sidebar .all_way .carousel-prev,
    .article_top_all_way .carousel-prev,
    .podcast_caro.first .latest_podcast_carousel .carousel-prev {
        right: var(--ai-carousel-prev-inset) !important;
    }

    .category_article_grid,
    .search_article_grid {
        grid-template-columns: repeat(2, minmax(0, 353px));
    }

    .podcast_archive .podcast_grid,
    .search_podcast_grid {
        grid-template-columns: repeat(3, minmax(0, 250px));
    }

    .small_banner .wrapper > div {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 30px;
    }

    .small_banner .text > div,
    .small_banner .text > div > span {
        font-size: 62px;
    }
}

/* Keep first archive sliders below the banner on laptop-sized screens. */
@media only screen and (min-width: 821px) and (max-width: 1800px) {
    .wrapper,
    .home_sidebar_grid .wrapper,
    .category_article_archive .wrapper,
    .search_results_archive .wrapper,
    .tag .podcast_archive .wrapper,
    .podcast_archive .wrapper,
    .page-template-TEMPLATE-articles .home_sidebar_grid .wrapper {
        max-width: calc(100% - 120px);
    }

    .all_way .side_caro_content,
    .related_articles .side_caro_content,
    .article_top_all_way .side_caro_content,
    .home_sidebar_grid.hide_right_sidebar .all_way .side_caro_content {
        width: calc(100vw - 140px);
    }

    .post_content.neg_margin {
        margin-top: 50px !important;
    }

    .post_content.neg_margin .right_sidebar {
        margin-top: 0;
    }

    body.home .article_caro.first,
    body.page-template-TEMPLATE-articles .article_caro.first,
    body.post-type-archive-podcasts .podcast_caro.first,
    body.post-type-archive-video .video_top_all_way,
    body.post-type-archive-videos .video_top_all_way {
        top: 0;
        padding-top: 90px;
    }

    body.home .article_caro.first .carousel-prev,
    body.home .article_caro.first .carousel-next,
    body.page-template-TEMPLATE-articles .article_caro.first .carousel-prev,
    body.page-template-TEMPLATE-articles .article_caro.first .carousel-next,
    body.post-type-archive-podcasts .podcast_caro.first .carousel-prev,
    body.post-type-archive-podcasts .podcast_caro.first .carousel-next,
    body.post-type-archive-video .video_top_all_way .carousel-prev,
    body.post-type-archive-video .video_top_all_way .carousel-next,
    body.post-type-archive-videos .video_top_all_way .carousel-prev,
    body.post-type-archive-videos .video_top_all_way .carousel-next {
        top: -50px !important;
    }

    body.post-type-archive-videos .video_article_archive {
        margin-top: 90px;
    }

    body.home .home_sidebar_grid,
    body.page-template-TEMPLATE-articles .home_sidebar_grid,
    body.post-type-archive-video .video_archive_sections,
    body.post-type-archive-videos .video_archive_sections {
        top: 0;
        margin-top: calc(var(--ai-section-divider-pad) + var(--ai-section-divider-gap));
        margin-bottom: 40px;
    }

    body.post-type-archive-podcasts .archive_grid {
        top: 0;
        margin-top: var(--ai-section-divider-gap);
        margin-bottom: 40px;
    }

}

@media only screen and (min-width: 821px) and (max-width: 1800px) {
    .big_banner .fixed_text,
    .archive .big_banner .fixed_text {
        top: 64%;
    }

    .big_banner .fixed_text .big_title {
        display: block;
        font-size: 68px;
        line-height: 1;
    }

    .big_banner .fixed_text h1 {
        margin: 24px 0 0;
    }

    .big_banner .fixed_text > .post_snippet,
    .big_banner .fixed_text > .podcast_banner_snippet {
        margin-top: 22px;
    }

    .big_banner .fixed_text > a {
        margin-top: 26px;
    }
}

@media only screen and (min-width: 1001px) and (max-width: 1800px) {
    .post-type-archive-podcasts .big_banner.archive_page .fixed_text h1 {
        font-size: 24px;
        line-height: 36px;
    }
}

@media only screen and (min-width: 821px) {
    .home .home_sidebar_grid:not(.hide_right_sidebar) .side_caro_content .carousel {
        --ai-carousel-next-inset: 0px;
        --ai-carousel-prev-inset: 70px;
    }

    .home .all_way .side_caro_content .carousel {
        --ai-carousel-next-inset: var(--ai-carousel-edge-inset);
        --ai-carousel-prev-inset: calc(var(--ai-carousel-edge-inset) + 70px);
    }

    .home .article_caro.first:not(.all_way) .side_caro_content .carousel {
        --ai-carousel-home-article-row-width: 1526px;
        --ai-carousel-next-inset: max(0px, calc(100% - var(--ai-carousel-home-article-row-width)));
        --ai-carousel-prev-inset: max(70px, calc(100% - 1456px));
    }

    .article_top_all_way .carousel-next {
        right: 4vw !important;
    }

    .article_top_all_way .carousel-prev {
        right: calc(4vw + 70px) !important;
    }
}

@media only screen and (min-width: 821px) and (max-width: 1800px) {
    body.home .article_top_all_way .carousel {
        position: static;
    }

    body.home .article_top_all_way .carousel-next {
        top: 40px !important;
        right: -20px !important;
    }

    body.home .article_top_all_way .carousel-prev {
        top: 40px !important;
        right: 50px !important;
    }
}

/* Early mobile pass: keep carousel rails tidy before full mobile work. */
@media only screen and (max-width: 820px) {
    .article_caro .carousel-track,
    body .podcast_caro .carousel-track,
    body .podcast_caro.first .latest_podcast_carousel .carousel-track {
        gap: 0 !important;
        width: calc(100% + 20px) !important;
        margin-left: -10px !important;
    }

    .article_caro .carousel-item,
    body .podcast_caro .carousel-item,
    body .podcast_caro.first .latest_podcast_carousel .carousel-item {
        flex: 0 0 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        padding: 0 10px !important;
    }

    .article_caro a,
    .video_caro .carousel-item > a,
    .article_caro a.carousel-view-all-card,
    .podcast_caro a.carousel-view-all-card {
        max-width: none;
    }

    .podcast_caro a,
    .podcast_caro.first .latest_podcast_carousel a {
        max-width: 250px;
        min-width: 0;
    }

    .home_sidebar_grid .carousel,
    .article_caro .carousel,
    .podcast_caro .carousel,
    .video_caro .carousel {
        padding-top: 48px;
    }

    .carousel-prev,
    .carousel-next,
    .home_sidebar_grid .carousel-prev,
    .home_sidebar_grid .carousel-next,
    .video_caro .carousel-prev,
    .video_caro .carousel-next {
        top: -8px !important;
        width: 42px;
    }

    .carousel-next,
    .home_sidebar_grid .carousel-next,
    .video_caro .carousel-next,
    .all_way .carousel-next,
    .home_sidebar_grid.hide_right_sidebar .all_way .carousel-next,
    .article_top_all_way .carousel-next,
    .podcast_caro.first .latest_podcast_carousel .carousel-next {
        right: var(--ai-carousel-next-inset) !important;
    }

    .carousel-prev,
    .home_sidebar_grid .carousel-prev,
    .video_caro .carousel-prev,
    .all_way .carousel-prev,
    .home_sidebar_grid.hide_right_sidebar .all_way .carousel-prev,
    .article_top_all_way .carousel-prev,
    .podcast_caro.first .latest_podcast_carousel .carousel-prev {
        right: var(--ai-carousel-prev-inset) !important;
    }

    .side_caro_grid,
    .category_article_grid_wrap,
    .search_results_section {
        grid-template-columns: 1fr;
    }

    .side_caro_grid .side_text,
    .category_article_grid_wrap .side_text,
    .search_results_section .side_text {
        writing-mode: initial;
        transform: none;
        left: 0;
        margin-bottom: 25px;
    }
}

@media only screen and (max-width: 820px) {
    .video_caro .carousel-track {
        gap: 38px !important;
        width: 100% !important;
        margin-left: 0 !important;
    }

    .video_caro .carousel-item {
        flex: 0 0 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        padding: 0 !important;
    }
}

/* Tablet landscape headers and top banners */
@media only screen and (min-width: 821px) and (max-width: 999px) {
    #header {
        top: 18px;
    }

    #header .wrapper {
        max-width: calc(100% - 40px);
    }

    #header .wrapper > div {
        align-items: flex-start;
    }

    #header #logo {
        flex: 0 0 120px;
        width: 120px;
        z-index: 12;
    }

    #menu {
        display: flex;
        align-items: flex-start;
        padding-top: 6px;
    }

    #menu > a,
    #menu .open_search,
    #menu .open_login {
        display: none;
    }

    #menu > .menu_open,
    #menu > .menu_close,
    #menu > .search_close {
        width: 64px;
        top: 0;
        margin-left: 0;
    }

    .big_banner {
        min-height: 560px;
    }

    .big_banner .fixed_text,
    .archive .big_banner .fixed_text {
        top: 64%;
        left: 7%;
        max-width: 520px;
    }

    .big_banner .fixed_text .big_title {
        display: block;
        font-size: 64px;
        line-height: 0.98;
    }

    .big_banner.archive_page h1,
    .big_banner .fixed_text h1 {
        margin: 18px 0;
        font-size: 22px;
        line-height: 1.35;
    }

    .big_banner .fixed_text p {
        font-size: 16px;
        line-height: 26px;
    }

    .big_banner .fixed_text > a {
        margin-top: 20px;
    }

    .post-type-archive-podcasts .big_banner.archive_page .podcast_banner_snippet {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 16px;
        margin-bottom: 20px;
    }

    .post-type-archive-podcasts .big_banner.archive_page .podcast_banner_thumb {
        width: 110px;
        height: 110px;
    }

    .post-type-archive-podcasts .big_banner.archive_page .podcast_banner_snippet .post_snippet {
        max-height: 110px;
    }
}

/* Mobile square page/article headers */
@media only screen and (max-width: 820px) {
    #header {
        top: 0;
        box-sizing: border-box;
        padding: 12px 0 10px;
    }

    #header .wrapper {
        max-width: calc(100% - 32px);
    }

    #header .wrapper > div {
        align-items: center;
    }

    #header #logo {
        flex: 0 0 clamp(56px, 16vw, 72px);
        width: clamp(56px, 16vw, 72px);
        z-index: 12;
    }

    #menu {
        align-self: center;
        align-items: center;
        padding-top: 0;
    }

    #menu > a,
    #menu .open_search,
    #menu .open_login,
    #menu a.join_button {
        display: none;
    }

    #menu > .menu_open,
    #menu > .menu_close,
    #menu > .search_close {
        width: clamp(58px, 16vw, 70px);
        top: 0;
        margin-left: 0;
    }

    #menu > .menu_close,
    #menu > .search_close {
        transform: rotate(180deg);
    }

    .big_banner,
    .small_banner,
    .single_banner {
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        margin-bottom: 0;
    }

    .small_banner.internal_general,
    .single_banner {
        border-bottom: 1px solid #FFD645;
    }

    .big_banner > img,
    .small_banner > img,
    .single_banner .image,
    .single_banner .image img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .big_banner > img,
    .small_banner > img,
    .single_banner .image img {
        object-position: 68% 50%;
    }

    .single_banner {
        display: block;
    }

    .single_banner .text,
    .single_banner .image {
        position: static;
    }

    .big_banner .grady,
    .small_banner .grady {
        width: 100%;
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0) 100%);
    }

    .single_banner::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.54) 0%, rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0) 100%);
        pointer-events: none;
    }

    .grady_top {
        height: 42%;
    }

    .big_banner .fixed_text,
    .archive .big_banner .fixed_text,
    .small_banner.internal_general .fixed_text,
    .internal_general .fixed_text,
    .single_banner .text > div {
        position: absolute;
        left: 16px;
        right: 16px;
        top: auto;
        bottom: clamp(16px, 5vw, 28px);
        z-index: 4;
        max-width: none;
        padding: 0;
        transform: none;
    }

    .fixed_text .big_title {
        display: block;
        font-size: clamp(30px, 9.5vw, 42px);
        line-height: 0.95;
        -webkit-text-stroke: 1px #FFD645;
    }

    .big_banner.archive_page h1,
    .big_banner .fixed_text h1,
    .single_banner h1,
    .internal_general .fixed_text h2 {
        margin: 10px 0 0;
        color: #FFF;
        font-size: clamp(19px, 5.4vw, 26px);
        line-height: 1.25;
        text-transform: uppercase;
    }

    .internal_general .fixed_text h2 br {
        display: none;
    }

    .big_banner .fixed_text p,
    .small_banner p,
    .internal_general .fixed_text p {
        max-width: min(100%, 330px);
        margin: 12px 0 0;
        color: #FFF;
        font-size: clamp(14px, 4vw, 16px);
        line-height: 1.65;
    }

    .big_banner .fixed_text > a {
        margin-top: 14px;
        border-radius: 7px;
        padding: 8px 34px 8px 12px;
        font-size: 14px;
        line-height: 18px;
        background-size: 12px auto;
    }

    .single .single_banner .single_article_meta {
        display: none;
    }
}

@media only screen and (max-width: 420px) {
    .big_banner .fixed_text p,
    .small_banner p,
    .internal_general .fixed_text p {
        max-width: 100%;
    }

    .big_banner.archive_page h1,
    .big_banner .fixed_text h1,
    .single_banner h1,
    .internal_general .fixed_text h2 {
        font-size: clamp(18px, 5.8vw, 23px);
    }
}

/* Mobile block spacing cleanup */
@media only screen and (max-width: 820px) {
    .post_content.neg_margin,
    .home_sidebar_grid,
    .home_sidebar_grid.hide_right_sidebar,
    .page-template-TEMPLATE-articles .home_sidebar_grid,
    .article_caro.first,
    .home .article_caro.first,
    .podcast_caro.first {
        top: 0 !important;
    }

    .post_content.neg_margin {
        margin-top: 32px !important;
    }

    .post_content.neg_margin .right_sidebar {
        margin-top: 0 !important;
    }

    .home_sidebar_grid,
    .page-template-TEMPLATE-articles .home_sidebar_grid {
        margin: 0 0 56px;
    }

    .home_sidebar_grid .wrapper,
    .home_sidebar_grid.hide_right_sidebar .wrapper,
    .page-template-TEMPLATE-articles .home_sidebar_grid .wrapper {
        right: 0 !important;
        max-width: calc(100% - 32px);
    }

    .article_caro.first,
    .home .article_caro.first,
    .podcast_caro.first {
        margin: 46px 0 56px;
    }

    .podcast_caro.first {
        padding-top: 0 !important;
    }

    .home .article_caro.last {
        margin-top: 0;
    }

    .article_caro.first::after,
    .podcast_caro.first::after {
        width: calc(100% - 32px);
        bottom: -28px;
    }

    .podcast_caro.first::after {
        bottom: 0;
    }

    .home_sidebar_grid .podcast_caro,
    .home_sidebar_grid .article_caro:not(.last),
    .archive_grid .podcast_series_list {
        margin-bottom: 50px;
        padding-bottom: 30px;
    }

    .home_sidebar_grid .carousel,
    .article_caro .carousel,
    .podcast_caro .carousel,
    .video_caro .carousel {
        padding-top: 48px;
    }

    body .podcast_caro .carousel-track,
    body .podcast_caro.first .latest_podcast_carousel .carousel-track {
        gap: 0 !important;
        width: calc(100% + 20px) !important;
        margin-left: -10px !important;
    }

    body .podcast_caro .carousel-item,
    body .podcast_caro.first .latest_podcast_carousel .carousel-item {
        flex: 0 0 66.6667% !important;
        max-width: none !important;
        min-width: 0 !important;
        padding: 0 10px !important;
    }

    body .podcast_caro a,
    body .podcast_caro.first .latest_podcast_carousel a,
    body .podcast_caro a.carousel-view-all-card {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    body .podcast_caro a,
    body .podcast_caro.first .latest_podcast_carousel a {
        height: auto;
        min-height: 430px;
    }
}

@media only screen and (max-width: 420px) {
    .home_sidebar_grid .wrapper,
    .home_sidebar_grid.hide_right_sidebar .wrapper,
    .page-template-TEMPLATE-articles .home_sidebar_grid .wrapper {
        max-width: calc(100% - 24px);
    }

    .article_caro.first,
    .home .article_caro.first,
    .podcast_caro.first {
        margin: 38px 0 48px;
    }

    body .podcast_caro a,
    body .podcast_caro.first .latest_podcast_carousel a {
        min-height: 400px;
    }
}

/* Mobile carousel heading arrow alignment */
@media only screen and (max-width: 820px) {
    .side_caro_grid,
    .category_article_grid_wrap,
    .search_results_section {
        --mobile-section-heading-size: clamp(30px, 9.5vw, 42px);
        --mobile-section-heading-gap: 16px;
        --mobile-section-arrow-width: clamp(34px, 10vw, 46px);
        position: relative;
    }

    .side_caro_grid .side_text,
    .category_article_grid_wrap .side_text,
    .search_results_section .side_text {
        padding-right: clamp(48px, 14vw, 62px);
        margin-bottom: var(--mobile-section-heading-gap);
        font-size: var(--mobile-section-heading-size);
        line-height: 1;
    }

    .side_caro_grid .carousel,
    .category_article_grid_wrap .carousel,
    .search_results_section .carousel {
        padding-top: 0 !important;
    }

    .side_caro_grid .carousel-prev,
    .category_article_grid_wrap .carousel-prev,
    .search_results_section .carousel-prev {
        display: none !important;
    }

    .side_caro_grid .carousel-next,
    .category_article_grid_wrap .carousel-next,
    .search_results_section .carousel-next {
        top: calc(clamp(-33px, -7.5vw, -25px) - var(--mobile-section-heading-gap)) !important;
        right: var(--ai-carousel-next-inset) !important;
        width: var(--mobile-section-arrow-width);
        height: auto;
        padding: 0;
        border: 0;
        background: transparent;
        line-height: 0;
    }

    .side_caro_grid .carousel-next img,
    .category_article_grid_wrap .carousel-next img,
    .search_results_section .carousel-next img {
        display: block;
        width: 100%;
        height: auto;
    }
}



/* Mobile mailing list and footer */
@media only screen and (max-width: 820px) {
    .mailing_list {
        padding: clamp(24px, 6vw, 38px) 0 clamp(28px, 7vw, 44px);
    }

    .mailing_list .wrapper,
    #footer .wrapper {
        max-width: calc(100% - 32px);
    }

    .mailing_list .wrapper > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        text-align: center;
    }

    .mailing_list .wrapper > div > div {
        font-size: clamp(31px, 10vw, 62px);
        line-height: 1;
        white-space: nowrap;
    }

    .mailing_list .wrapper > div p {
        position: static;
        max-width: 560px;
        margin: clamp(18px, 4vw, 25px) auto clamp(22px, 5vw, 31px);
        font-size: clamp(14px, 3.55vw, 22px);
        font-weight: 700;
        line-height: 1.95;
    }

    .mailing_list .wrapper div a {
        align-self: center;
        width: clamp(180px, 44.5vw, 275px);
        height: clamp(52px, 12.3vw, 76px);
        margin-top: 0;
        padding: 0;
        border-radius: 10px;
        font-size: clamp(16px, 3.55vw, 22px);
        line-height: clamp(52px, 12.3vw, 76px);
    }

    #footer {
        padding: 16px 0 14px;
        background: linear-gradient(180deg, #a92720 0%, #8f1814 100%);
    }

    #footer .wrapper > div {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
    }

    #footer .wrapper > div.footer_without_membership_promo {
        grid-template-columns: 1fr;
    }

    .foot_1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .foot_1 > img {
        width: clamp(72px, 26vw, 110px);
        height: auto;
    }

    .bottom_socials {
        position: static;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(7px, 2.5vw, 11px);
        margin-top: 12px;
    }

    .bottom_socials a {
        display: block;
        width: clamp(22px, 6.5vw, 30px);
        max-width: none;
        margin: 0;
        line-height: 0;
    }

    .bottom_socials a img {
        display: block;
        width: 100%;
        height: auto;
    }

    .foot_2 {
        padding-top: 26px;
        text-align: center;
    }

    a.join_button {
        display: inline-block;
        padding: 10px 18px;
        border-radius: 5px;
        font-size: 17px;
        line-height: 20px;
    }

    .join_button > span {
        width: 40px;
        height: 33px;
        top: -15px;
        left: -19px;
    }

    .foot_3 {
        padding-top: 19px;
        text-align: center;
    }

    .foot_3 span {
        margin-bottom: 8px;
        font-size: 14px;
        line-height: 18px;
        text-align: center;
    }

    .foot_3 > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .foot_3 a,
    .foot_3 a:last-child {
        display: block;
        margin: 0;
    }

    .foot_3 a {
        width: min(169px, 58vw);
    }

    .foot_3 a:last-child {
        width: min(150px, 52vw);
    }

    #copyright {
        padding: 10px 12px;
        background: #8f1814;
        font-size: 14px;
        line-height: 22px;
    }

    #copyright .copyright_separator {
        display: none;
    }

    #copyright .copyright_links {
        display: block;
    }
}


/* Keep carousel cards level and protect desktop vertical-label spacing */
@media only screen and (max-width: 820px) {
    .article_caro .carousel-track,
    .podcast_caro .carousel-track,
    .video_caro .carousel-track {
        align-items: stretch;
    }

    .article_caro .carousel-item,
    .podcast_caro .carousel-item,
    .video_caro .carousel-item {
        align-items: stretch;
        height: auto;
    }

    .article_caro .carousel-item > a,
    .video_caro .carousel-item > a {
        height: 100%;
    }

    body .podcast_caro .carousel-item > a,
    body .podcast_caro.first .latest_podcast_carousel .carousel-item > a {
        height: clamp(390px, calc(66.6667vw + 168px), 675px) !important;
        min-height: 0 !important;
    }

    body .podcast_caro .carousel-item > a h3,
    body .podcast_caro.first .latest_podcast_carousel .carousel-item > a h3 {
        display: -webkit-box;
        height: 40px;
        margin: 14px 0 10px;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-size: 18px;
        line-height: 20px;
    }

    body .podcast_caro .carousel-item > a .post_snippet,
    body .podcast_caro.first .latest_podcast_carousel .carousel-item > a .post_snippet {
        height: 100px;
        overflow: hidden;
        -webkit-line-clamp: 5;
        line-height: 20px;
    }
}

@media only screen and (min-width: 821px) {
    .side_caro_grid {
        grid-template-columns: 96px minmax(0, 1fr);
        column-gap: 16px;
    }

    .side_caro_grid > .side_text {
        left: 0;
    }
}

@media only screen and (min-width: 821px) and (max-width: 1200px) {
    .side_caro_grid {
        grid-template-columns: 62px minmax(0, 1fr);
    }
}

@media only screen and (min-width: 1201px) and (max-width: 1700px) {
    .side_caro_grid {
        grid-template-columns: clamp(76px, 5.65vw, 96px) minmax(0, 1fr);
    }
}

@media only screen and (min-width: 821px) and (max-width: 1200px) {
    .category_article_grid,
    .search_article_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    .post-type-archive-podcasts .archive_grid .series_list {
        box-sizing: border-box;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
        padding: 0;
    }

    .post-type-archive-podcasts .podcast_series_toolbar {
        margin-right: 0;
        margin-left: 0;
    }

    .podcast_caro.first .latest_podcast_carousel .carousel-track,
    .podcast_caro:not(.first) .carousel-track,
    .article_caro .carousel-track,
    .video_caro .carousel-track {
        gap: 0;
    }

    .podcast_caro.first .latest_podcast_carousel .carousel-item,
    .podcast_caro:not(.first) .carousel-item,
    .article_caro .carousel-item,
    .video_caro .carousel-item {
        min-width: 0;
    }
}

@media only screen and (min-width: 821px) and (max-width: 900px) {
    .podcast_archive .podcast_grid,
    .search_podcast_grid {
        grid-template-columns: repeat(2, minmax(0, 250px));
        justify-content: start;
    }
}

@media only screen and (min-width: 821px) and (max-width: 1023px) {
    .podcast_caro .carousel-item,
    .podcast_caro.first .latest_podcast_carousel .carousel-item {
        flex: 0 0 33.3333% !important;
        max-width: none !important;
        min-width: 0 !important;
        padding: 0 10px !important;
    }

    .podcast_caro .carousel-item > a,
    .podcast_caro.first .latest_podcast_carousel .carousel-item > a {
        min-width: 0 !important;
        max-width: 250px;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1200px) {
    .podcast_caro .carousel-item,
    .podcast_caro.first .latest_podcast_carousel .carousel-item {
        flex: 0 0 25% !important;
        max-width: none !important;
        min-width: 0 !important;
        padding: 0 10px !important;
    }

    .podcast_caro .carousel-item > a,
    .podcast_caro.first .latest_podcast_carousel .carousel-item > a {
        min-width: 0 !important;
        max-width: 250px;
    }
}




@media only screen and (min-width: 1001px) and (max-width: 1800px) {
    #header #logo {
        flex: 0 0 170px;
        width: 170px;
    }
}

/* Lightly scale the expanded menu for common 1366px laptop screens. */
@media only screen and (min-width: 1301px) and (max-width: 1440px) {
    .big_menu {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .menu_grid {
        box-sizing: border-box;
        min-height: 100vh;
        margin-top: 0;
        padding: 220px 0 56px;
    }

    .menu_grid .wrapper {
        width: calc(100% - 80px);
        max-width: 1245px;
    }

    .menu_grid .wrapper > div {
        gap: 52px;
    }

    .menu_grid .left a {
        margin-bottom: 9px;
        font-size: 32px;
        line-height: 1.08;
    }

    .menu_grid .right > span,
    .menu_grid .right > span > span {
        font-size: 44px;
        line-height: 1;
    }

    .menu_grid .right p {
        margin: 18px 0 30px;
        font-size: 16px;
        line-height: 1.55;
    }

    .menu_app_links {
        gap: 12px;
    }

    .menu_app_links a {
        width: 170px;
    }

    .menu_app_links a:last-child {
        width: 151px;
    }

    #menu {
        align-self: flex-start;
        display: flex;
        align-items: center;
        padding-top: 11px;
    }

    #menu > .menu_open,
    #menu > .menu_close,
    #menu > .search_close {
        top: 0;
        width: 70px;
        height: 46px;
        overflow: hidden;
        vertical-align: top;
    }

    #menu > .menu_open img,
    #menu > .menu_close img,
    #menu > .search_close img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* Keep the expanded menu comfortably inset on laptops and tablets. */
@media only screen and (min-width: 821px) and (max-width: 1300px) {
    .big_menu {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .menu_grid {
        box-sizing: border-box;
        min-height: 100vh;
        margin-top: 0;
        padding: 210px 0 56px;
    }

    .menu_grid .wrapper {
        width: calc(100% - 64px);
        max-width: 1120px;
    }

    .menu_grid .wrapper > div {
        gap: 40px;
    }

    .menu_grid .left a {
        margin-bottom: 9px;
        font-size: 30px;
        line-height: 1.08;
    }

    .menu_grid .right > span,
    .menu_grid .right > span > span {
        font-size: 42px;
        line-height: 1;
    }

    .menu_grid .right p {
        margin: 16px 0 28px;
        font-size: 16px;
        line-height: 1.55;
    }

    .menu_app_links {
        gap: 12px;
    }

    .menu_app_links a {
        width: 160px;
    }

    .menu_app_links a:last-child {
        width: 143px;
    }

    #menu {
        align-self: flex-start;
        display: flex;
        align-items: center;
        padding-top: 10px;
    }

    #menu > .menu_open,
    #menu > .menu_close,
    #menu > .search_close {
        top: 0;
        width: 64px;
        height: 42px;
        overflow: hidden;
        vertical-align: top;
    }

    #menu > .menu_open img,
    #menu > .menu_close img,
    #menu > .search_close img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

@media only screen and (min-width: 821px) and (max-width: 1000px) {
    .menu_grid {
        padding-top: 230px;
    }

    .menu_grid .wrapper {
        width: calc(100% - 48px);
    }

    .menu_grid .wrapper > div {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 28px;
    }

    .menu_grid .left a {
        font-size: 27px;
    }

    .menu_grid .right > span,
    .menu_grid .right > span > span {
        font-size: 36px;
    }

    .menu_grid .right p {
        font-size: 15px;
    }

    .menu_app_links a {
        width: 140px;
    }

    .menu_app_links a:last-child {
        width: 125px;
    }
}


/* Mobile full-screen menu and search */
.mobile_menu_top {
    display: none;
}

@media only screen and (max-width: 999px) {
    .big_menu {
        min-height: 100vh;
        min-height: 100dvh;
        height: 100dvh;
        overflow-x: hidden;
        overflow-y: auto;
        background: #60140f;
    }

    .menu_grid {
        min-height: 100dvh;
        margin-top: 0;
        padding: clamp(112px, 30vw, 132px) 0 56px;
    }

    .menu_grid .wrapper {
        max-width: calc(100% - 16px);
    }

    .menu_grid .wrapper > div {
        display: block;
    }

    .mobile_menu_top {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(130px, 0.9fr);
        min-height: 132px;
    }

    .mobile_menu_primary {
        padding-right: 16px;
        border-right: 1px solid #FFD645;
    }

    .mobile_menu_primary a {
        display: block;
        margin-bottom: 4px;
        color: #FFD645;
        font-family: "Anton", sans-serif !important;
        font-size: clamp(30px, 9vw, 38px);
        font-weight: 400;
        line-height: 1.15;
        text-transform: uppercase;
    }

    .mobile_menu_utility {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 19px;
        padding: 6px 0 0 14px;
    }

    .mobile_menu_utility button {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        gap: 7px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #FFF;
        font-size: clamp(20px, 6vw, 25px);
        line-height: 1;
        text-transform: uppercase;
        white-space: nowrap;
        cursor: pointer;
    }

    .mobile_menu_login > span {
        position: static;
        display: block;
        flex: 0 0 20px;
        width: 20px;
        height: 25px;
        margin: 0;
        background: url("../assets/login_icon.png") center / contain no-repeat;
    }

    .mobile_menu_search > span {
        width: 22px;
        height: 22px;
        background: url("../assets/search_icon.png") center / contain no-repeat;
    }

    .menu_grid .left {
        margin-top: 28px;
    }

    .menu_grid .left a {
        margin-bottom: 9px;
        font-size: clamp(20px, 6vw, 25px);
        line-height: 1.18;
    }

    .menu_grid .right {
        max-width: 430px;
        margin-top: 27px;
    }

    .menu_grid .right:not(.menu_app_promo) {
        display: flex;
        width: 100%;
        max-width: 430px;
        align-items: center;
        gap: 24px;
    }

    .menu_grid .right.menu_nonpremium_promo {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 24px;
        row-gap: 20px;
    }

    .menu_nonpremium_promo .menu_free_app_promo {
        display: flex;
        grid-column: 1 / -1;
        width: 100%;
        margin-bottom: 0;
        gap: 9px;
    }

    .menu_nonpremium_promo .menu_free_app_promo > span {
        font-size: clamp(20px, 6vw, 25px);
    }

    .menu_nonpremium_promo .menu_free_app_promo .menu_app_links {
        display: grid;
        flex: 1 1 auto;
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.95fr);
        gap: 8px;
        width: 100%;
        max-width: 213px;
        min-width: 0;
    }

    .menu_nonpremium_promo .menu_free_app_promo .menu_app_links a,
    .menu_nonpremium_promo .menu_free_app_promo .menu_app_links a:last-child {
        width: 100%;
        margin: 0;
    }

    .menu_nonpremium_promo > span {
        grid-column: 1;
    }

    .menu_nonpremium_promo > p {
        display: none;
    }

    .menu_nonpremium_promo > a.join_button {
        grid-column: 2;
        align-self: center;
    }

    .menu_grid .right > span,
    .menu_grid .right > span > span {
        font-size: clamp(30px, 9.5vw, 42px);
        line-height: 1;
    }

    .menu_grid .right:not(.menu_app_promo) > span,
    .menu_grid .right:not(.menu_app_promo) > span > span {
        font-size: clamp(27px, 8.5vw, 42px);
    }

    .menu_grid .right p {
        margin: 14px 0 24px;
        font-size: 14px;
        line-height: 1.55;
    }

    .menu_grid .right:not(.menu_app_promo) > p {
        display: none;
    }

    .menu_grid .right a.join_button {
        margin-left: 0;
        padding: 9px 14px;
        flex: 0 0 auto;
        font-size: clamp(15px, 4.5vw, 18px);
        line-height: 22px;
    }

    .menu_app_links {
        flex-wrap: wrap;
        gap: 10px;
    }

    .menu_app_links a {
        width: min(140px, 40vw);
    }

    .menu_app_links a:last-child {
        width: min(125px, 36vw);
    }

    .menu_grid_with_app .menu_app_promo {
        display: flex;
        align-items: center;
        gap: 9px;
        width: 100%;
        max-width: 430px;
        margin-top: 34px;
    }

    .menu_grid_with_app .menu_app_promo > span {
        flex: 0 0 auto;
        font-size: clamp(20px, 6vw, 25px);
        line-height: 1;
        white-space: nowrap;
    }

    .menu_grid_with_app .menu_app_promo > p {
        display: none;
    }

    .menu_grid_with_app .menu_app_promo .menu_app_links {
        display: grid;
        flex: 1 1 auto;
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.95fr);
        gap: 8px;
        width: 100%;
        max-width: 213px;
        min-width: 0;
    }

    .menu_grid_with_app .menu_app_promo .menu_app_links a,
    .menu_grid_with_app .menu_app_promo .menu_app_links a:last-child {
        width: 100%;
        margin: 0;
    }

    #menu > .menu_close,
    #menu > .search_close {
        position: relative;
        width: clamp(70px, 22vw, 86px);
        height: 64px;
        transform: none;
        overflow: visible;
    }

    #menu > .menu_close img,
    #menu > .search_close img {
        display: block;
        width: 100%;
        height: auto;
    }

    #menu > .menu_close::before,
    #menu > .search_close::before {
        content: none;
    }

    #menu > .menu_close::after,
    #menu > .search_close::after {
        content: none;
    }

    .search_popup {
        position: fixed;
        inset: 0;
        z-index: 10;
    }

    .search_popup_back {
        display: none;
    }

    .search_popup_content {
        width: 100%;
        height: 100vh;
        height: 100dvh;
        overflow-y: auto;
        background: linear-gradient(205deg, #76170f 0%, #b7241f 100%);
    }

    .search_popup_content .wrapper {
        max-width: calc(100% - 22px);
    }

    .search_popup_inner {
        max-width: 520px;
        margin: 0 auto;
        padding-top: clamp(112px, 30vw, 132px);
        text-align: center;
    }

    .search_popup_title {
        margin-bottom: 24px;
        font-size: clamp(22px, 6.8vw, 28px);
        line-height: 1.2;
    }

    .search_popup_inner p {
        margin-bottom: 45px;
        font-size: 14px;
        line-height: 1.55;
    }

    .search_popup_form {
        grid-template-columns: minmax(0, 1fr) 34px;
        border-bottom: 2px solid rgba(255, 255, 255, 0.72);
        text-align: left;
    }

    .search_popup_form input {
        height: 43px;
        font-size: 16px;
        line-height: 43px;
    }

    .search_popup_form button {
        height: 43px;
        background-size: 21px auto;
    }
}

@media only screen and (max-width: 360px) {
    .mobile_menu_top {
        grid-template-columns: minmax(0, 1fr) 126px;
    }

    .mobile_menu_primary a {
        font-size: 29px;
    }
}


/* Keep full-screen overlay content clear of the absolute mobile header */
@media only screen and (max-width: 999px) {
    .big_menu .menu_grid {
        padding: 0 0 56px;
    }

    .big_menu .menu_grid .wrapper,
    .search_popup_content .wrapper {
        width: 100%;
        max-width: 100%;
        padding-right: 16px;
        padding-left: 16px;
    }

    .big_menu .menu_grid .wrapper {
        padding-top: clamp(145px, 38vw, 170px);
    }

    .search_popup_content .wrapper {
        padding-top: clamp(145px, 38vw, 170px);
        padding-bottom: 40px;
    }

    .search_popup_inner {
        padding-top: 0;
    }
}



/* Mobile search results page */
@media only screen and (max-width: 820px) {
    .small_banner.search_page {
        border-bottom: 1px solid #FFD645;
    }

    .small_banner.search_page .wrapper {
        display: block;
        width: 100%;
        max-width: 100%;
        height: 100%;
    }

    .small_banner.search_page .wrapper > div {
        display: block;
        width: 100%;
        height: 100%;
        padding-top: 0;
    }

    .small_banner.search_page .text {
        position: absolute;
        right: 16px;
        bottom: clamp(20px, 6vw, 30px);
        left: 16px;
        z-index: 4;
    }

    .small_banner.search_page .text > div,
    .small_banner.search_page .text > div > span {
        font-size: clamp(30px, 9.5vw, 42px);
        line-height: 0.95;
        -webkit-text-stroke-width: 1px;
    }

    .small_banner.search_page h2 {
        margin-top: 12px;
        font-size: clamp(16px, 4.8vw, 21px);
        line-height: 1.3;
    }

    .search_results_archive,
    .search_results_archive.hide_right_sidebar {
        margin: 36px 0 56px;
        overflow: hidden;
    }

    .search_results_archive .wrapper,
    .search_results_archive.hide_right_sidebar .wrapper {
        width: 100%;
        max-width: calc(100% - 32px);
    }

    .search_results_archive .wrapper > div,
    .search_results_archive.hide_right_sidebar:not(.search_results_archive_empty) .wrapper > div {
        display: block;
    }

    .search_results_main,
    .search_results_section,
    .search_results_archive.hide_right_sidebar .side_caro_content {
        width: 100%;
        min-width: 0;
    }

    .search_results_section {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        margin-bottom: 54px;
    }

    .search_results_section:last-child {
        margin-bottom: 0;
    }

    .search_results_section .side_text {
        width: 100%;
        padding-right: 0;
        margin-bottom: 16px;
        font-size: clamp(30px, 9.5vw, 42px);
        line-height: 1;
    }

    .search_results_archive.hide_right_sidebar .search_article_grid,
    .search_results_archive.hide_right_sidebar .search_podcast_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 20px;
        justify-content: stretch;
        width: 100%;
    }

    .search_article_grid .search_result_item {
        width: 100%;
        min-width: 0;
        justify-content: stretch;
    }

    .search_article_grid .search_result_item > a,
    .search_podcast_grid .podcast_card {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .search_article_grid h2 {
        display: -webkit-box;
        height: 48px;
        margin: 16px 0 12px;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-size: 20px;
        line-height: 24px;
    }

    .search_article_grid .post_snippet {
        line-height: 20px;
    }

    .search_podcast_grid .podcast_card {
        height: 550px;
    }

    .search_podcast_grid .podcast_card h3 {
        display: -webkit-box;
        height: 40px;
        margin: 14px 0 10px;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-size: 18px;
        line-height: 20px;
    }

    .search_podcast_grid .podcast_card .post_snippet {
        height: 100px;
        overflow: hidden;
        -webkit-line-clamp: 5;
        line-height: 20px;
    }

    .search_load_more {
        margin-top: 28px;
        padding: 10px 18px;
        border-radius: 5px;
        font-size: 18px;
        line-height: 22px;
    }

    .search_no_results {
        padding: 48px 16px 70px;
        font-size: clamp(28px, 8vw, 38px);
        line-height: 1.15;
    }
}

@media only screen and (max-width: 560px) {
    .search_results_archive.hide_right_sidebar .search_article_grid,
    .search_results_archive.hide_right_sidebar .search_podcast_grid {
        grid-template-columns: minmax(0, 1fr);
    }
}


.search_slider_next {
    display: none;
}

/* Search result sliders at tablet and mobile widths */
@media only screen and (max-width: 1200px) {
    .search_results_section {
        position: relative;
    }

    .search_results_section .side_text {
        padding-right: 56px;
    }

    .search_slider_next {
        position: absolute;
        top: clamp(4px, 1.2vw, 8px);
        right: 0;
        z-index: 2;
        display: block;
        width: clamp(36px, 10vw, 44px);
        height: auto;
        padding: 0;
        border: 0;
        background: transparent;
        line-height: 0;
        cursor: pointer;
    }

    .search_slider_next img {
        display: block;
        width: 100%;
        height: auto;
    }

    .search_slider_next_hidden {
        display: none;
    }

    .search_results_archive.hide_right_sidebar .search_article_grid,
    .search_results_archive.hide_right_sidebar .search_podcast_grid {
        display: flex;
        grid-template-columns: none;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 0 4px;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .search_results_archive.hide_right_sidebar .search_article_grid::-webkit-scrollbar,
    .search_results_archive.hide_right_sidebar .search_podcast_grid::-webkit-scrollbar {
        display: none;
    }

    .search_results_archive .search_result_hidden {
        display: flex !important;
    }

    .search_article_grid .search_result_item {
        flex: 0 0 min(88%, 353px);
        scroll-snap-align: start;
    }

    .search_podcast_grid .podcast_card {
        flex: 0 0 min(66.6667%, 250px);
        height: 430px;
        scroll-snap-align: start;
    }

    .search_results_archive .search_load_more {
        display: none;
    }
}

@media only screen and (min-width: 821px) and (max-width: 1200px) {
    .search_results_archive.hide_right_sidebar .search_results_section {
        grid-template-columns: 96px minmax(0, 1fr);
        column-gap: 16px;
    }

    .search_results_archive.hide_right_sidebar .search_results_section .side_caro_content {
        width: calc(100vw - 192px);
        max-width: none;
    }

    .search_results_archive.hide_right_sidebar .search_slider_next {
        top: -58px;
        right: -40px;
    }
}


/* Mobile single-article typography and media containment */
@media only screen and (max-width: 820px) {
    .single-post .single_article_mobile_join_promo {
        display: block;
        width: calc(100% - 32px);
        margin: 24px auto 0;
    }

    .single-post .single_article_mobile_join_promo .sidebar_join_promo {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .single-post .post_content {
        margin: 32px 0 48px;
    }

    .single-post .post_content > .wrapper {
        width: 100%;
        max-width: calc(100% - 32px);
    }

    .single-post .post_content > .wrapper > div {
        display: block;
    }

    .single-post .post_content .left_content {
        width: 100%;
        max-width: 100%;
        padding: 18px 16px;
        border-radius: 6px;
        overflow: hidden;
    }

    .single-post .post_content .left_content p,
    .single-post .post_content .left_content li,
    .single-post .post_content .left_content blockquote {
        margin-bottom: 18px;
        font-size: 16px;
        line-height: 26px;
        letter-spacing: 0;
        word-spacing: normal;
        text-align: left !important;
        overflow-wrap: anywhere;
    }

    .single-post .post_content .left_content h2 {
        margin: 28px 0 14px;
        font-size: clamp(25px, 7.5vw, 30px);
        line-height: 1.18;
    }

    .single-post .post_content .left_content h3 {
        margin: 24px 0 13px;
        font-size: clamp(22px, 6.5vw, 26px);
        line-height: 1.22;
    }

    .single-post .post_content .left_content h4 {
        margin: 22px 0 12px;
        font-size: clamp(20px, 5.8vw, 23px);
        line-height: 1.25;
    }

    .single-post .post_content .left_content h5 {
        margin: 20px 0 10px;
        font-size: 19px;
        line-height: 1.3;
    }

    .single-post .post_content .left_content h6 {
        margin: 18px 0 10px;
        font-size: 17px;
        line-height: 1.35;
    }

    .single-post .post_content .left_content > *:first-child {
        margin-top: 0;
    }

    .single-post .post_content .left_content a,
    .single-post .post_content .left_content pre,
    .single-post .post_content .left_content code {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .single-post .post_content .left_content figure,
    .single-post .post_content .left_content img,
    .single-post .post_content .left_content video,
    .single-post .post_content .left_content object,
    .single-post .post_content .left_content embed,
    .single-post .post_content .left_content iframe,
    .single-post .post_content .left_content .wp-block-embed,
    .single-post .post_content .left_content .wp-block-embed__wrapper,
    .single-post .post_content .left_content .wp-block-video,
    .single-post .post_content .left_content > div {
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .single-post .post_content .left_content figure {
        margin: 20px 0;
    }

    .single-post .post_content .left_content img,
    .single-post .post_content .left_content video {
        width: 100% !important;
        height: auto !important;
    }

    .single-post .post_content .left_content iframe {
        width: 100% !important;
    }

    .single-post .post_content .left_content iframe[src*="youtube"],
    .single-post .post_content .left_content iframe[src*="youtu.be"],
    .single-post .post_content .left_content iframe[src*="vimeo"] {
        aspect-ratio: 16 / 9;
        height: auto !important;
    }

    .single-post .post_content .left_content .wp-block-embed-youtube .wp-block-embed__wrapper,
    .single-post .post_content .left_content .wp-block-embed-vimeo .wp-block-embed__wrapper {
        aspect-ratio: 16 / 9;
    }

    .single-post .post_content .left_content .wp-block-embed-youtube iframe,
    .single-post .post_content .left_content .wp-block-embed-vimeo iframe {
        width: 100% !important;
        height: 100% !important;
    }

    .single-post .post_content .left_content table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
    }

    .single-post .post_content .left_content .alignwide,
    .single-post .post_content .left_content .alignfull {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
}


/* Match single-article banner hierarchy and size article-body H1s */
@media only screen and (max-width: 820px) {
    .single-post .single_banner h1 {
        margin: 0;
        font-size: clamp(19px, 5.4vw, 26px);
        line-height: 1.25;
    }

    .single-post .single_banner .fixed_category {
        display: block;
        margin-bottom: 10px;
        color: #FFD645;
        -webkit-text-fill-color: #FFD645;
        -webkit-text-stroke: 0;
        font-size: clamp(30px, 9.5vw, 42px);
        line-height: 0.95;
    }

    .single-post .post_content .left_content h1 {
        margin: 28px 0 16px;
        font-size: clamp(26px, 8vw, 32px);
        line-height: 1.15;
        letter-spacing: 0;
        word-spacing: normal;
        text-align: left !important;
        overflow-wrap: anywhere;
    }
}


/* Compact mobile single-article banner with metadata band */
@media only screen and (max-width: 820px) {
    .single-post .single_banner {
        --single-mobile-image-height: 100vw;
        display: block;
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        aspect-ratio: auto;
        padding-top: var(--single-mobile-image-height);
        overflow: visible;
        border-bottom: 0;
        background: linear-gradient(205deg, #76170f 0%, #a9201b 100%);
    }

    .single-post .single_banner .image {
        position: absolute;
        inset: 0 0 auto;
        width: 100%;
        height: var(--single-mobile-image-height);
    }

    .single-post .single_banner .image img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 68% 50%;
    }

    .single-post .single_banner::after {
        inset: 0 0 auto;
        width: 100%;
        height: var(--single-mobile-image-height);
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.22) 62%, rgba(0, 0, 0, 0.04) 100%);
    }

    .single-post .single_banner .grady_top {
        height: min(42%, 150px);
    }

    .single-post .single_banner .text,
    .single-post .single_banner .text > div {
        position: static;
    }

    .single-post .single_banner .text > div {
        max-width: none;
        padding: 18px 16px 24px;
        transform: none;
    }

    .single-post .single_banner h1 {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        z-index: 4;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        width: 100%;
        height: var(--single-mobile-image-height);
        margin: 0;
        padding: 0 16px 18px;
        font-size: clamp(19px, 5.4vw, 24px);
        line-height: 1.28;
    }

    .single-post .single_banner .fixed_category {
        display: block;
        margin-bottom: 10px;
        -webkit-text-fill-color: #FFD645;
        -webkit-text-stroke: 0;
        font-size: clamp(30px, 9.5vw, 40px);
        line-height: 0.95;
    }

    .single .single_banner .single_article_meta {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        margin-top: 0;
    }

    .single .single_banner .single_article_meta span,
    .single .single_banner .single_article_meta a {
        font-size: 15px;
        line-height: 20px;
    }

    .single .single_banner .single_article_meta span {
        margin-bottom: 4px;
    }

    .single .single_banner .single_article_meta span:last-child {
        margin-bottom: 0;
    }

    .single-post .post_content {
        margin-top: 24px;
    }
}


/* Compact mobile single-podcast layout */
@media only screen and (max-width: 820px) {
    .single-podcasts .single_banner.single_podcast {
        --single-podcast-hero-height: 100vw;
        display: block;
        height: auto;
        min-height: 0;
        padding-top: var(--single-podcast-hero-height);
        aspect-ratio: auto;
        overflow: visible;
        border-bottom: 0;
        background: linear-gradient(205deg, #7a170f 0%, #b7231d 100%);
    }

    .single-podcasts .single_banner.single_podcast .image {
        position: static;
        display: block;
        width: 100%;
        height: auto;
        padding: 18px 15px 20px;
        background: transparent;
    }

    .single-podcasts .single_banner.single_podcast .image > img.square_podcast_featured {
        position: absolute;
        inset: 0 0 auto;
        width: 100%;
        height: var(--single-podcast-hero-height);
        object-fit: cover;
        object-position: 50% 28%;
    }

    .single-podcasts .single_banner.single_podcast .podcast_banner_play {
        top: calc(var(--single-podcast-hero-height) / 2);
        z-index: 5;
        width: clamp(58px, 19vw, 76px);
        max-width: 76px;
    }

    .single-podcasts .single_banner.single_podcast .podcast_banner_play::before {
        display: none;
    }

    .single-podcasts .single_banner.single_podcast .image .grady,
    .single-podcasts .single_banner.single_podcast::after {
        position: absolute;
        inset: 0 0 auto;
        width: 100%;
        height: var(--single-podcast-hero-height);
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 42%, rgba(0, 0, 0, 0.7) 100%);
        pointer-events: none;
    }

    .single-podcasts .single_banner.single_podcast .image .grady {
        z-index: 1;
    }

    .single-podcasts .single_banner.single_podcast .text,
    .single-podcasts .single_banner.single_podcast .text > div {
        position: static;
    }

    .single-podcasts .single_banner.single_podcast .text > div {
        position: absolute;
        top: 0;
        right: 0;
        bottom: auto;
        left: 0;
        z-index: 4;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        justify-content: flex-end;
        width: 100%;
        height: var(--single-podcast-hero-height);
        padding: 0 15px 18px;
        transform: none;
    }

    .single-podcasts .single_banner.single_podcast h1 {
        width: 100%;
        margin: 0;
        color: #FFF;
        font-size: clamp(19px, 5.5vw, 23px);
        line-height: 1.35;
    }

    .single-podcasts .single_banner.single_podcast .fixed_category {
        display: block;
        margin-bottom: 9px;
        font-size: clamp(29px, 8.5vw, 36px);
        line-height: 1;
        -webkit-text-fill-color: #FFD645;
        -webkit-text-stroke: 0;
    }

    .single-podcasts .single_banner.single_podcast .text .post_snippet {
        display: none;
    }

    .single-podcasts .single_podcast .single_podcast_overview {
        position: relative;
        left: auto;
        bottom: auto;
        z-index: 3;
        display: block;
        width: 100%;
        max-width: none;
        min-height: 94px;
        padding-top: 0;
    }

    .single-podcasts .single_podcast .single_podcast_overview::after {
        content: "";
        display: table;
        clear: both;
    }

    .single-podcasts .single_podcast .single_podcast_overview .square_featured {
        position: relative;
        float: right;
        width: 92px;
        height: 92px;
        margin: 0 0 12px 16px;
        overflow: hidden;
        border: 1px solid #FFD645;
        border-radius: 9px;
    }

    .single-podcasts .single_podcast .single_podcast_overview .square_featured img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .single-podcasts .single_podcast .single_podcast_overview > p {
        margin: 0;
        color: #FFF;
        font-size: 15px;
        line-height: 22px;
    }

    .single-podcasts .single_podcast .anfield-podcast-audio {
        position: relative;
        left: auto;
        bottom: auto;
        z-index: 4;
        width: 72px;
        height: 38px;
        margin-top: 20px;
        overflow: hidden;
        border-radius: 6px;
        background: #FFD645;
    }

    .single-podcasts .single_podcast .anfield-podcast-audio__track {
        display: none;
    }

    .single-podcasts .single_podcast .anfield-podcast-audio__button {
        flex: 0 0 72px;
        width: 72px;
        height: 38px;
        color: #000;
        background: #FFD645;
    }

    .single-podcasts .single_podcast .anfield-podcast-audio__button:hover,
    .single-podcasts .single_podcast .anfield-podcast-audio__button:focus-visible {
        background: #ffe16d;
    }

    .single-podcasts .single_podcast .anfield-podcast-audio__play,
    .single-podcasts .single_podcast .anfield-podcast-audio__pause {
        display: none;
    }

    .single-podcasts .single_podcast .anfield-podcast-audio__button::after {
        content: "PLAY \2192";
        font-family: "Anton", sans-serif;
        font-size: 13px;
        line-height: 1;
        text-transform: uppercase;
    }

    .single-podcasts .single_podcast .anfield-podcast-audio.is-playing .anfield-podcast-audio__button::after {
        content: "PAUSE";
    }

    .single-podcasts .single_podcast_mobile_join_promo {
        display: block;
        width: calc(100% - 32px);
        margin: 24px auto 0;
    }

    .single-podcasts .single_podcast_mobile_join_promo .sidebar_join_promo {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .single-podcasts .home_sidebar_grid.single_podcast_grid {
        margin: 24px 0 48px;
    }
}


/* Mobile Podcasts archive hero: use only the full-bleed image content */
@media only screen and (max-width: 820px) {
    .post-type-archive-podcasts .big_banner.archive_page .podcast_banner_snippet {
        display: none;
    }
}


/* Align archive carousel wrappers and run mobile rails to the viewport edge */
@media only screen and (max-width: 820px) {
    .article_caro.first > .wrapper,
    .podcast_caro.first > .wrapper,
    .home_sidebar_grid > .wrapper {
        right: 0 !important;
        width: 100%;
        max-width: calc(100% - 32px);
        margin-right: auto;
        margin-left: auto;
    }

    .post-type-archive-podcasts .podcast_caro.first .side_caro_content,
    .post-type-archive-podcasts .archive_grid .podcast_caro .side_caro_content,
    .page-template-TEMPLATE-articles .article_caro.first .side_caro_content,
    .page-template-TEMPLATE-articles .home_sidebar_grid .article_caro .side_caro_content {
        width: calc(100vw - 16px) !important;
        max-width: none;
    }

    .post-type-archive-podcasts .archive_grid,
    .page-template-TEMPLATE-articles .home_sidebar_grid {
        overflow: visible;
    }

    .post-type-archive-podcasts .archive_grid .side_caro_grid {
        display: block;
    }

    .post-type-archive-podcasts .archive_grid .side_text {
        display: block;
        margin-bottom: 34px !important;
        padding-right: 0;
    }

    .post-type-archive-podcasts .podcast_series_toolbar {
        align-items: center;
        justify-content: flex-start;
        gap: 11px;
        margin: 0 0 28px;
    }

    .post-type-archive-podcasts .podcast_series_toolbar button {
        font-size: 18px;
    }

    .post-type-archive-podcasts .podcast_series_filter_icon {
        display: block;
        flex: 0 0 50px;
        width: 50px;
        height: auto;
        margin-right: 4px;
    }

    .post-type-archive-podcasts .archive_grid .series_list {
        box-sizing: border-box;
        width: 100% !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
        padding: 0 !important;
    }

    .post-type-archive-podcasts .archive_grid .series_list > a {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .post-type-archive-podcasts .archive_grid .series_list .image {
        width: 100% !important;
        max-width: none !important;
    }

    .post-type-archive-podcasts .podcast_series_list:not(.is-expanded) .series_list > a:nth-child(n+10) {
        display: none !important;
    }

    .post-type-archive-podcasts .podcast_series_list.is-expanded .series_list > a {
        display: block !important;
    }

    .post-type-archive-podcasts .podcast_series_load_more {
        margin-top: 34px;
        font-size: 14px;
        line-height: 20px;
        padding: 10px 16px;
    }

    .post-type-archive-podcasts .podcast_caro .carousel-next {
        right: var(--ai-carousel-next-inset) !important;
    }

    .post-type-archive-podcasts .podcast_caro .carousel-prev {
        right: var(--ai-carousel-prev-inset) !important;
    }

    .post-type-archive-podcasts .podcast_caro.first .latest_podcast_carousel .carousel-next {
        right: var(--ai-carousel-next-inset) !important;
    }

    .post-type-archive-podcasts .podcast_caro.first .latest_podcast_carousel .carousel-prev {
        right: var(--ai-carousel-prev-inset) !important;
    }
}


/* Mobile single-video layout */
@media only screen and (max-width: 820px) {
    body.single-video .single_video_banner,
    body.single-videos .single_video_banner {
        display: block;
        width: 100%;
        height: auto;
        min-height: 0;
        margin: 0;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        border-bottom: 1px solid #FFD645;
    }

    body.single-video .single_video_banner .image,
    body.single-videos .single_video_banner .image,
    body.single-video .single_video_banner .image > img,
    body.single-videos .single_video_banner .image > img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    body.single-video .single_video_banner .image > img,
    body.single-videos .single_video_banner .image > img {
        object-fit: cover;
        object-position: 50% 50%;
    }

    body.single-video .single_video_banner::after,
    body.single-videos .single_video_banner::after {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 38%, rgba(0, 0, 0, 0.76) 100%);
    }

    body.single-video .single_video_banner .text,
    body.single-videos .single_video_banner .text {
        position: static;
    }

    body.single-video .single_video_banner .text > div,
    body.single-videos .single_video_banner .text > div {
        position: absolute;
        right: 16px;
        bottom: 18px;
        left: 16px;
        z-index: 4;
        width: auto;
        max-width: none;
        padding: 0;
        transform: none;
    }

    body.single-video .single_video_banner h1,
    body.single-videos .single_video_banner h1 {
        margin: 0;
        color: #FFF;
        font-size: clamp(19px, 5.4vw, 24px);
        line-height: 1.28;
        overflow-wrap: anywhere;
    }

    body.single-video .single_video_banner .fixed_category,
    body.single-videos .single_video_banner .fixed_category {
        display: block;
        margin-bottom: 9px;
        font-size: clamp(29px, 8.5vw, 36px);
        line-height: 1;
        -webkit-text-fill-color: #FFD645;
        -webkit-text-stroke: 0;
    }

    body.single-video .single_video_banner .single_article_meta,
    body.single-videos .single_video_banner .single_article_meta {
        display: none;
    }

    body.single-video .single_video_banner .video_banner_play,
    body.single-videos .single_video_banner .video_banner_play {
        top: 39%;
        width: clamp(58px, 19vw, 76px);
        max-width: 76px;
    }

    body.single-video .single_video_banner .video_banner_play::before,
    body.single-videos .single_video_banner .video_banner_play::before {
        display: none;
    }

    body.single-video .single_video_banner .video_banner_media iframe,
    body.single-videos .single_video_banner .video_banner_media iframe {
        position: absolute;
        inset: 0;
        z-index: 5;
        width: 100%;
        height: 100%;
        border: 0;
    }

    body.single-video .post_content,
    body.single-videos .post_content {
        margin: 24px 0 42px;
    }

    body.single-video .post_content > .wrapper,
    body.single-videos .post_content > .wrapper,
    body.single-video .single_video_parts > .wrapper,
    body.single-videos .single_video_parts > .wrapper {
        right: 0;
        width: 100%;
        max-width: calc(100% - 32px);
    }

    body.single-video .post_content > .wrapper > div,
    body.single-videos .post_content > .wrapper > div {
        display: block;
    }

    body.single-video .post_content .left_content,
    body.single-videos .post_content .left_content {
        width: 100%;
        max-width: 100%;
        padding: 18px 16px;
        overflow: hidden;
        border-radius: 6px;
    }

    body.single-video .post_content .left_content p,
    body.single-video .post_content .left_content li,
    body.single-video .post_content .left_content blockquote,
    body.single-videos .post_content .left_content p,
    body.single-videos .post_content .left_content li,
    body.single-videos .post_content .left_content blockquote {
        margin-bottom: 18px;
        font-size: 16px;
        line-height: 26px;
        letter-spacing: 0;
        word-spacing: normal;
        text-align: left !important;
        overflow-wrap: anywhere;
    }

    body.single-video .post_content .left_content h1,
    body.single-videos .post_content .left_content h1 {
        margin: 26px 0 14px;
        font-size: clamp(26px, 8vw, 32px);
        line-height: 1.16;
        overflow-wrap: anywhere;
    }

    body.single-video .post_content .left_content h2,
    body.single-videos .post_content .left_content h2 {
        margin: 24px 0 13px;
        font-size: clamp(23px, 7vw, 28px);
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    body.single-video .post_content .left_content h3,
    body.single-videos .post_content .left_content h3 {
        margin: 22px 0 12px;
        font-size: clamp(20px, 6vw, 24px);
        line-height: 1.24;
        overflow-wrap: anywhere;
    }

    body.single-video .post_content .left_content > *:first-child,
    body.single-videos .post_content .left_content > *:first-child {
        margin-top: 0;
    }

    body.single-video .post_content .left_content figure,
    body.single-video .post_content .left_content img,
    body.single-video .post_content .left_content video,
    body.single-video .post_content .left_content iframe,
    body.single-video .post_content .left_content embed,
    body.single-video .post_content .left_content object,
    body.single-videos .post_content .left_content figure,
    body.single-videos .post_content .left_content img,
    body.single-videos .post_content .left_content video,
    body.single-videos .post_content .left_content iframe,
    body.single-videos .post_content .left_content embed,
    body.single-videos .post_content .left_content object {
        max-width: 100% !important;
        box-sizing: border-box;
    }

    body.single-video .post_content .left_content img,
    body.single-video .post_content .left_content video,
    body.single-videos .post_content .left_content img,
    body.single-videos .post_content .left_content video {
        width: 100% !important;
        height: auto !important;
    }

    body.single-video .post_content .left_content iframe,
    body.single-videos .post_content .left_content iframe {
        width: 100% !important;
    }

    body.single-video .post_content .left_content iframe[src*="youtube"],
    body.single-video .post_content .left_content iframe[src*="youtu.be"],
    body.single-video .post_content .left_content iframe[src*="vimeo"],
    body.single-videos .post_content .left_content iframe[src*="youtube"],
    body.single-videos .post_content .left_content iframe[src*="youtu.be"],
    body.single-videos .post_content .left_content iframe[src*="vimeo"] {
        height: auto !important;
        aspect-ratio: 16 / 9;
    }

    body.single-video .single_video_parts_mobile_join_promo {
        display: block;
        width: calc(100% - 32px);
        margin: 24px auto 0;
    }

    body.single-video .single_video_parts_mobile_join_promo .sidebar_join_promo {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    body.single-video .single_video_parts,
    body.single-videos .single_video_parts {
        margin: 24px 0 32px;
        padding: 0;
    }

    body.single-video .single_video_parts > .wrapper,
    body.single-videos .single_video_parts > .wrapper {
        padding-bottom: 32px;
    }

    body.single-video .single_video_parts_grid,
    body.single-videos .single_video_parts_grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body.single-video .single_video_part_card,
    body.single-videos .single_video_part_card {
        padding: 10px;
        border-radius: 7px;
    }

    body.single-video .single_video_part_media,
    body.single-videos .single_video_part_media {
        aspect-ratio: 16 / 9;
        border-radius: 5px;
    }

    body.single-video .single_video_part_media .video_card_play,
    body.single-videos .single_video_part_media .video_card_play {
        width: 56px;
    }

    body.single-video .single_video_part_media .video_card_play::before,
    body.single-videos .single_video_part_media .video_card_play::before {
        border-top-width: 19px;
        border-bottom-width: 19px;
        border-left-width: 32px;
    }

    body.single-video .single_video_part_title,
    body.single-videos .single_video_part_title {
        margin-top: 12px;
        font-size: 18px;
        line-height: 1.25;
    }

    body.single-video .home_sidebar_grid.single_video_grid,
    body.single-videos .home_sidebar_grid.single_video_grid {
        top: 0 !important;
        margin: 30px 0 48px;
        overflow: hidden;
    }

    body.single-video .single_video_grid .side_caro_content,
    body.single-videos .single_video_grid .side_caro_content {
        width: 100% !important;
        max-width: 100%;
    }

    body.single-video .single_video_grid .video_caro,
    body.single-videos .single_video_grid .video_caro {
        margin: 0;
    }

    body.single-video .single_video_grid .video_caro .carousel-next,
    body.single-videos .single_video_grid .video_caro .carousel-next {
        right: var(--ai-carousel-next-inset) !important;
    }

    body.single-video .single_video_grid .video_caro .carousel-prev,
    body.single-videos .single_video_grid .video_caro .carousel-prev {
        right: var(--ai-carousel-prev-inset) !important;
    }

    body.single-video .video_modal,
    body.single-videos .video_modal {
        padding: 16px;
    }

    body.single-video .video_modal_inner,
    body.single-videos .video_modal_inner {
        width: calc(100vw - 32px);
    }

    body.single-video .video_modal_close,
    body.single-videos .video_modal_close {
        min-width: 38px;
        min-height: 38px;
        padding: 5px 10px;
    }
}


.single_video_mobile_details {
    display: none;
}

/* Mobile single-video metadata and secondary play action */
@media only screen and (max-width: 820px) {
    body.single-video .single_video_mobile_details {
        display: block;
        padding: 28px 18px 34px;
        color: #FFF;
        background: linear-gradient(205deg, #76170f 0%, #ae211b 100%);
    }

    body.single-video .single_video_mobile_meta {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    body.single-video .single_video_mobile_meta span {
        color: #FFF;
        font-size: 16px;
        line-height: 22px;
    }

    body.single-video .single_video_mobile_meta .single_video_mobile_author {
        color: #FFD645;
        font-weight: 700;
    }

    body.single-video .single_video_mobile_details > p {
        max-width: 100%;
        margin: 42px 0 0;
        color: #FFF;
        font-size: 16px;
        line-height: 26px;
        overflow-wrap: anywhere;
    }

    body.single-video .single_video_mobile_play {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        min-width: 95px;
        min-height: 38px;
        margin-top: 24px;
        padding: 9px 16px;
        border: 0;
        border-radius: 6px;
        color: #000;
        background: #FFD645;
        font-size: 15px;
        line-height: 20px;
        text-transform: uppercase;
        cursor: pointer;
    }

    body.single-video .single_video_mobile_play:hover,
    body.single-video .single_video_mobile_play:focus-visible {
        background: #ffe16d;
    }
}


/* Mobile Big Join footer promotion */
@media only screen and (max-width: 820px) {
    .big_join {
        min-height: 0;
        padding: 15px 0 24px;
        overflow: hidden;
        border-bottom: 1px solid #FFD645;
    }

    .big_join > img,
    .big_join > .responsive_theme_picture {
        width: 100%;
        top: 0;
        bottom: 0;
        height: 100%;
    }

    .big_join > img,
    .big_join > .responsive_theme_picture > img {
        object-fit: cover;
        object-position: 75% 50%;
    }

    .big_join .wrapper {
        width: 100%;
        max-width: calc(100% - 32px);
    }

    .big_join .wrapper > div,
    .big_join .join_text_footer {
        width: 100%;
        max-width: 100%;
    }

    .big_join .big_join_image {
        display: block;
        width: auto;
        max-width: 76%;
        height: auto;
        margin: 0 0 20px;
    }

    .big_join .join_text_footer > p {
        max-width: 100%;
        margin: 0 0 12px;
        color: #FFF;
        font-size: 14px;
        line-height: 26px;
    }

    .big_join ul {
        width: min(100%, 300px);
        margin: 8px 0 0;
        padding: 0;
    }

    .big_join ul li {
        min-height: 27px;
        padding-left: 22px;
        color: #FFF;
        font-size: 14px;
        font-weight: 600;
        line-height: 27px;
    }

    .big_join li::before {
        top: 13px;
        width: 12px;
        height: 12px;
        border-radius: 4px;
    }

    .big_join .price_link {
        position: static;
        width: 100%;
        margin-top: 18px;
        text-align: left;
    }

    .big_join .price_link > div {
        margin: 0 0 14px;
        color: #FFD645;
        font-size: clamp(28px, 8vw, 34px);
        line-height: 1.1;
        text-align: left;
        white-space: nowrap;
    }

    .big_join .price_link > div span {
        color: #FFD645;
        font-size: 10px;
        line-height: 1;
        text-transform: none;
    }

    .big_join .price_link a.join_button {
        display: inline-block;
        margin: 12px 0 18px 20px;
        padding: 9px 14px;
        border-radius: 5px;
        font-size: 18px;
        line-height: 20px;
    }

    .big_join .price_link .join_button > span {
        width: 40px;
        height: 33px;
        top: -14px;
        left: -20px;
    }
}


/* Mobile category and tag archives */
@media only screen and (max-width: 820px) {
    .category .small_banner.category_page,
    .tag .small_banner.tag_page {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        border-bottom: 1px solid #FFD645;
    }

    .category .small_banner.category_page::after,
    .tag .small_banner.tag_page::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 36%, rgba(0, 0, 0, 0.78) 100%);
        pointer-events: none;
    }

    .category .small_banner.category_page > img,
    .tag .small_banner.tag_page > img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .category .small_banner.category_page .wrapper,
    .tag .small_banner.tag_page .wrapper,
    .category .small_banner.category_page .wrapper > div,
    .tag .small_banner.tag_page .wrapper > div {
        position: static;
        display: block;
        width: 100%;
        max-width: 100%;
        height: 100%;
        padding: 0;
    }

    .category .small_banner.category_page .text,
    .tag .small_banner.tag_page .text {
        position: absolute;
        right: 16px;
        bottom: 20px;
        left: 16px;
        z-index: 4;
        max-width: none;
    }

    .category .small_banner.category_page .text > div,
    .category .small_banner.category_page .text > div > span,
    .tag .small_banner.tag_page .text > div,
    .tag .small_banner.tag_page .text > div > span {
        font-size: clamp(29px, 8.5vw, 38px);
        line-height: 1;
        -webkit-text-stroke-width: 1px;
    }

    .category .small_banner.category_page h1,
    .tag .small_banner.tag_page h1 {
        margin: 10px 0 0;
        color: #FFF;
        font-size: clamp(19px, 5.4vw, 24px);
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .category .small_banner.category_page .category_banner_description,
    .tag .small_banner.tag_page .tag_banner_description {
        display: -webkit-box;
        max-width: 100%;
        max-height: 66px;
        margin: 10px 0 0;
        overflow: hidden;
        color: #FFF;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .category .small_banner.category_page .category_banner_description p,
    .tag .small_banner.tag_page .tag_banner_description p {
        margin: 0;
        color: #FFF;
        font-size: 14px;
        line-height: 22px;
    }

    .category .small_banner.category_page .wrapper .image,
    .tag .small_banner.tag_page .wrapper .image {
        display: none;
    }

    .category .category_article_archive,
    .tag .podcast_archive {
        margin: 34px 0 52px;
        overflow: hidden;
    }

    .category .category_article_archive > .wrapper,
    .tag .podcast_archive > .wrapper {
        right: 0;
        width: 100%;
        max-width: calc(100% - 32px);
    }

    .category .category_article_archive > .wrapper > div,
    .tag .podcast_archive > .wrapper > div,
    .category .category_article_grid_wrap,
    .tag .tag_podcast_grid {
        display: block;
        width: 100%;
    }

    .category .category_article_grid_wrap .side_text,
    .tag .tag_podcast_grid .side_text {
        display: block;
        width: 100%;
        padding-right: 0;
        margin: 0 0 18px;
        font-size: clamp(30px, 9.5vw, 42px);
        line-height: 1;
        writing-mode: initial;
        transform: none;
        left: 0;
    }

    .category .category_article_grid_wrap .side_caro_content,
    .tag .tag_podcast_grid .side_caro_content {
        width: 100%;
        min-width: 0;
    }

    .category .category_article_grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        width: 100%;
    }

    .category .category_article_grid .category_article_item,
    .category .category_article_grid .category_article_item > a {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .category .category_article_grid .category_article_item > a {
        height: auto;
        min-height: 500px;
        padding: 14px;
        border-radius: 7px;
    }

    .category .category_article_grid .image {
        height: auto;
        aspect-ratio: 16 / 9;
        border-radius: 6px;
    }

    .category .category_article_grid h2 {
        height: auto;
        min-height: 48px;
        margin: 16px 0 12px;
        font-size: 20px;
        line-height: 24px;
        -webkit-line-clamp: 2;
    }

    .category .category_article_grid .post_snippet {
        -webkit-line-clamp: 4;
        font-size: 14px;
        line-height: 21px;
    }

    .category .category_article_archive .search_load_more {
        margin-top: 26px;
        padding: 10px 18px;
        border-radius: 5px;
        font-size: 18px;
        line-height: 22px;
    }

    .tag .tag_podcast_grid .side_caro_content {
        width: calc(100vw - 16px);
        max-width: none;
    }

    .tag .podcast_archive .podcast_grid {
        display: flex;
        grid-template-columns: none;
        gap: 16px;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 0 4px;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .tag .podcast_archive .podcast_grid::-webkit-scrollbar {
        display: none;
    }

    .tag .podcast_archive .podcast_grid .podcast_card {
        flex: 0 0 min(66.6667%, 250px);
        width: auto;
        max-width: none;
        min-width: 0;
        height: 430px;
        padding: 12px;
        border-radius: 7px;
        scroll-snap-align: start;
    }

    .tag .podcast_archive .podcast_grid .podcast_card .image {
        flex: 0 0 auto;
        width: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 6px;
    }

    .tag .podcast_archive .podcast_grid .podcast_card h3 {
        display: -webkit-box;
        height: 40px;
        margin: 14px 0 10px;
        overflow: hidden;
        font-size: 18px;
        line-height: 20px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .tag .podcast_archive .podcast_grid .podcast_card .post_snippet {
        display: -webkit-box;
        height: 100px;
        overflow: hidden;
        font-size: 14px;
        line-height: 20px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 5;
    }
}


@media only screen and (max-width: 820px) {
    .big_join {
        background: #000;
    }
}


/* Keep mobile Article carousel rails inside both page gutters */
@media only screen and (max-width: 820px) {
    .page-template-TEMPLATE-articles .article_caro .side_caro_content {
        width: 100% !important;
        max-width: 100%;
        padding-right: 16px;
    }

    .page-template-TEMPLATE-articles .article_caro .carousel-track-container {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .page-template-TEMPLATE-articles .article_caro .carousel-next {
        right: var(--ai-carousel-next-inset) !important;
    }
}


/* Match lower Articles-page carousels to the top mobile carousel */
@media only screen and (max-width: 820px) {
    .page-template-TEMPLATE-articles .article_caro.first > .wrapper,
    .page-template-TEMPLATE-articles .home_sidebar_grid > .wrapper {
        right: 0 !important;
        width: calc(100% - 32px) !important;
        max-width: calc(100% - 32px) !important;
        margin-right: auto;
        margin-left: auto;
    }

    .page-template-TEMPLATE-articles .home_sidebar_grid > .wrapper > div,
    .page-template-TEMPLATE-articles .home_sidebar_grid > .wrapper > div > div,
    .page-template-TEMPLATE-articles .home_sidebar_grid .article_caro,
    .page-template-TEMPLATE-articles .home_sidebar_grid .side_caro_grid {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-right: 0;
        margin-left: 0;
    }

    .page-template-TEMPLATE-articles .home_sidebar_grid .article_caro .side_caro_content {
        width: 100% !important;
        max-width: 100%;
        padding-right: 0;
    }
}


/* Keep mobile menu controls the same size in every state */
@media only screen and (max-width: 999px) {
    #menu > span.menu_open,
    #menu > span.menu_close,
    #menu > span.search_close {
        flex: 0 0 auto;
        width: clamp(58px, 16vw, 70px) !important;
        height: auto !important;
        aspect-ratio: 116 / 75;
        top: 0;
        margin: 0;
        overflow: hidden;
        transform: none;
    }

    #menu > span.menu_open img,
    #menu > span.menu_close img,
    #menu > span.search_close img {
        display: block;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain;
    }
}


/* Mobile Article and Video carousel thumbnails */
@media only screen and (max-width: 820px) {
    .article_caro .carousel-item > a > .image,
    .video_caro .carousel-item > a > .video_card_image {
        flex: 0 0 auto;
        width: 100%;
        height: auto !important;
        aspect-ratio: 16 / 9;
        overflow: hidden;
    }

    .article_caro .carousel-item > a > .image > img,
    .video_caro .carousel-item > a > .video_card_image > img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}


/* Mobile information pages */
@media only screen and (max-width:820px){
:is(.page-template-TEMPLATE-about-ai,.page-template-TEMPLATE-faqs) .post_content{margin:0 0 48px!important;padding-top:28px}
:is(.page-template-TEMPLATE-about-ai,.page-template-TEMPLATE-faqs) .post_content>.wrapper,
.page-template-TEMPLATE-join-ai .join_now>.wrapper,
.page-template-TEMPLATE-contact-ai .contact_aipro>.wrapper{width:calc(100% - 32px);max-width:calc(100% - 32px);margin-right:auto;margin-left:auto}
:is(.page-template-TEMPLATE-about-ai,.page-template-TEMPLATE-faqs) .post_content>.wrapper>div{display:block}
:is(.page-template-TEMPLATE-about-ai,.page-template-TEMPLATE-faqs) .post_content .left_content{width:100%;max-width:100%;padding:22px 18px;border-radius:7px;overflow:hidden}
:is(.page-template-TEMPLATE-about-ai,.page-template-TEMPLATE-faqs) .left_content :is(p,li,blockquote){margin:0 0 18px;font-size:16px;line-height:26px;letter-spacing:0;text-align:left!important;overflow-wrap:anywhere}
:is(.page-template-TEMPLATE-about-ai,.page-template-TEMPLATE-faqs) .left_content h1{margin:0 0 18px;font-size:31px;line-height:1.15}
:is(.page-template-TEMPLATE-about-ai,.page-template-TEMPLATE-faqs) .left_content h2{margin:28px 0 14px;font-size:27px;line-height:1.18}
:is(.page-template-TEMPLATE-about-ai,.page-template-TEMPLATE-faqs) .left_content h3{margin:26px 0 12px;font-size:23px;line-height:1.2}
:is(.page-template-TEMPLATE-about-ai,.page-template-TEMPLATE-faqs) .left_content h4{margin:22px 0 12px;font-size:20px;line-height:1.25}
:is(.page-template-TEMPLATE-about-ai,.page-template-TEMPLATE-faqs) .left_content>*:first-child{margin-top:0}
:is(.page-template-TEMPLATE-about-ai,.page-template-TEMPLATE-faqs) .left_content :is(ul,ol){margin:0 0 22px;padding-left:22px}
:is(.page-template-TEMPLATE-about-ai,.page-template-TEMPLATE-faqs) .left_content :is(img,figure,iframe,video){max-width:100%!important}
:is(.page-template-TEMPLATE-about-ai,.page-template-TEMPLATE-faqs) .left_content :is(iframe,video){width:100%;height:auto;aspect-ratio:16/9}
:is(.page-template-TEMPLATE-about-ai,.page-template-TEMPLATE-faqs) .left_content table{display:block;width:100%;max-width:100%;overflow-x:auto}

body.page-template-TEMPLATE-advertise .post_content.footer_page_content .left_content > h1{font-size:31px;line-height:1.15}
body.page-template-TEMPLATE-advertise .post_content.footer_page_content .left_content > h2{font-size:27px;line-height:1.18}
body.page-template-TEMPLATE-advertise .post_content.footer_page_content .left_content > h3{font-size:23px;line-height:1.2}
body.page-template-TEMPLATE-advertise .post_content.footer_page_content .left_content > h4{font-size:20px;line-height:1.25}
body.page-template-TEMPLATE-advertise .post_content.footer_page_content .left_content > p,
body.page-template-TEMPLATE-advertise .post_content.footer_page_content .left_content li{font-size:16px;line-height:26px}

.page-template-TEMPLATE-join-ai .join_now{padding:42px 0 58px}
.page-template-TEMPLATE-join-ai .join_now_intro{margin-bottom:34px}
.page-template-TEMPLATE-join-ai :is(.join_now_intro,.join_registration_intro) h2{margin-bottom:16px;font-size:31px;line-height:1.15}
.page-template-TEMPLATE-join-ai :is(.join_now_intro,.join_registration_intro) p{font-size:16px;line-height:26px;text-align:left;overflow-wrap:anywhere}
.page-template-TEMPLATE-join-ai .join_plan_toggle{grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,280px);margin:0 auto 28px}
.page-template-TEMPLATE-join-ai .join_plan_toggle button{height:46px;font-size:15px;line-height:46px}
.page-template-TEMPLATE-join-ai .join_plan_cards{grid-template-columns:minmax(0,1fr);gap:24px;width:100%}
.page-template-TEMPLATE-join-ai .join_plan_card{width:100%;min-width:0;min-height:0;padding:26px 18px 28px;border-radius:7px;overflow:hidden}
.page-template-TEMPLATE-join-ai .join_plan_card_logo{height:68px;margin-bottom:18px}
.page-template-TEMPLATE-join-ai .join_plan_card_logo img{max-width:min(170px,80%);max-height:68px}
.page-template-TEMPLATE-join-ai .join_feature_list{min-height:0}
.page-template-TEMPLATE-join-ai .join_feature_list li{min-height:27px;padding:3px 0 3px 25px;font-size:15px;line-height:21px;overflow-wrap:anywhere}
.page-template-TEMPLATE-join-ai .join_feature_list li:before{top:14px;width:12px;height:12px;border-radius:3px}
.page-template-TEMPLATE-join-ai .join_plan_price{margin:30px 0 20px}
.page-template-TEMPLATE-join-ai .join_plan_price>span{font-size:clamp(43px,13vw,58px)}
.page-template-TEMPLATE-join-ai .join_plan_price small{display:inline-block;margin-top:6px;font-size:13px;line-height:18px}
.page-template-TEMPLATE-join-ai .join_plan_notes li{padding:3px 0 3px 27px;font-size:14px;line-height:22px;overflow-wrap:anywhere}
.page-template-TEMPLATE-join-ai .join_plan_active_tag{position:static;display:table;margin:0 auto 16px;font-size:14px;line-height:30px;min-height:30px}
.page-template-TEMPLATE-join-ai .join_plan_action{width:100%;min-height:44px;margin-top:24px;font-size:16px;line-height:44px}
.page-template-TEMPLATE-join-ai .join_registration{margin-top:42px;padding-top:32px}
.page-template-TEMPLATE-join-ai .join_registration_intro{margin-bottom:32px}
.page-template-TEMPLATE-join-ai .join_registration_grid{gap:30px}
.page-template-TEMPLATE-join-ai .join_registration_grid h3{margin-bottom:16px;font-size:22px;line-height:1.2}
.page-template-TEMPLATE-join-ai .join_registration_instructions ol{padding-left:22px}
.page-template-TEMPLATE-join-ai .join_registration_instructions li{margin-bottom:12px;padding-left:4px;font-size:15px;line-height:24px;overflow-wrap:anywhere}
.page-template-TEMPLATE-join-ai .join_registration_form .gform_wrapper.gravity-theme .gform_fields,
.page-template-TEMPLATE-join-ai .join_registration_form .gform_fields,
.page-template-TEMPLATE-join-ai .join_registration_form .ginput_container_password{grid-template-columns:minmax(0,1fr);gap:18px}
.join_registration_form .ginput_container_password,
.join_registration_form .ginput_complex.ginput_container_password.gform-grid-row{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:18px!important;width:100%!important;max-width:100%!important}
.join_registration_form .ginput_container_password>span,
.join_registration_form .ginput_container_password .ginput_left,
.join_registration_form .ginput_container_password .ginput_right,
.join_registration_form .ginput_container_password .gform-grid-col{grid-column:1/-1!important;width:100%!important;max-width:100%!important;flex:0 0 100%!important;padding:0!important;margin:0!important}
.join_registration_form .password_input_container,
.join_registration_form input[type="password"]{width:100%!important;max-width:100%!important}
.page-template-TEMPLATE-join-ai .join_registration_form input[type="text"],
.page-template-TEMPLATE-join-ai .join_registration_form input[type="email"],
.page-template-TEMPLATE-join-ai .join_registration_form input[type="password"]{height:38px;min-height:38px;font-size:16px!important;line-height:26px!important}
.page-template-TEMPLATE-join-ai .join_registration_form .gform_footer,
.page-template-TEMPLATE-join-ai .join_registration_form .gform_page_footer{margin-top:16px!important}
.page-template-TEMPLATE-join-ai .join_registration_form .gform_button,
.page-template-TEMPLATE-join-ai .join_registration_form input[type="submit"]{width:auto;max-width:100%;height:44px;font-size:16px!important;line-height:44px!important}

.page-template-TEMPLATE-contact-ai .contact_aipro{padding:38px 0 48px}
.page-template-TEMPLATE-contact-ai .contact_aipro_grid{grid-template-columns:minmax(0,1fr);gap:28px}
.page-template-TEMPLATE-contact-ai .contact_aipro_content h2{margin-bottom:16px;font-size:31px;line-height:1.15}
.page-template-TEMPLATE-contact-ai .contact_aipro_content p{margin:0 0 18px;font-size:16px;line-height:26px;overflow-wrap:anywhere}
.page-template-TEMPLATE-contact-ai .contact_aipro_form_space{width:100%;min-width:0}
}

@media only screen and (max-width:820px){
    .video_archive_banner .fixed_text .post_snippet{display:none!important}
}

@media only screen and (min-width:821px){
    body.single-video .video_banner_play img,
    body.single-videos .video_banner_play img{display:none}
}

/* Timeline tag search-style sliders */
@media only screen and (max-width: 820px) {
    .search_results_archive.timeline_tag_archive {
        margin-top: 24px;
    }

    .timeline_tag_archive .search_results_section,
    .timeline_tag_archive .search_results_section:first-child {
        padding-top: 32px;
    }

    .timeline_tag_archive .search_slider_prev {
        display: none;
    }

    .timeline_tag_archive .search_slider_next {
        top: 32px;
        right: 0;
        width: clamp(36px, 10vw, 44px);
    }

    .timeline_tag_archive .search_article_grid .search_result_item {
        flex: 0 0 min(88%, 353px);
    }

    .timeline_tag_archive .search_podcast_grid .podcast_card {
        flex: 0 0 min(66.6667%, 250px);
    }
}

/* Timeline tag banner */
@media only screen and (max-width: 820px) {
    .tag .small_banner.timeline_tag_page .text {
        bottom: clamp(18px, 6vw, 34px);
    }

    .tag .small_banner.timeline_tag_page h1.timeline_banner_title {
        margin: 0;
        font-size: clamp(40px, 13vw, 76px);
        line-height: 0.95;
        white-space: normal;
        overflow-wrap: normal;
    }

    .tag .small_banner.timeline_tag_page h1.timeline_banner_title span {
        font-size: inherit;
        line-height: inherit;
        -webkit-text-stroke-width: 1px;
    }

    .tag .small_banner.timeline_tag_page p.timeline_tag_description {
        display: block;
        max-width: min(100%, 520px);
        max-height: none;
        margin: 18px 0 0;
        overflow: visible;
        color: #FFF;
        font-size: clamp(14px, 3.6vw, 17px);
        line-height: 1.65;
    }
}


/* 404 page responsive layout */
@media only screen and (max-width: 820px) {
    .not_found_hero {
        min-height: 560px;
        align-items: flex-end;
    }

    .not_found_hero_image {
        object-position: 60% center;
    }

    .not_found_hero_overlay {
        background: linear-gradient(0deg, rgba(17, 5, 4, 0.98) 0%, rgba(94, 18, 8, 0.82) 62%, rgba(17, 5, 4, 0.45) 100%);
    }

    .not_found_hero .wrapper {
        width: calc(100% - 32px);
    }

    .not_found_hero_content {
        max-width: 680px;
        padding: 145px 0 58px;
    }

    .not_found_code {
        font-size: 24px;
    }

    .not_found_hero h1 {
        margin-bottom: 18px;
        font-size: clamp(42px, 12vw, 68px);
        line-height: 1.05;
        -webkit-text-stroke-width: 1px;
    }

    .not_found_hero_content > p {
        margin-bottom: 26px;
        font-size: 16px;
        line-height: 26px;
    }

    .not_found_actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .not_found_search {
        width: 100%;
    }

    .not_found_home {
        width: auto;
    }

    .not_found_carousels {
        padding: 0 0 44px;
    }

    .not_found_carousel_section {
        padding: 50px 0;
    }

    .not_found_carousel_section .wrapper {
        max-width: calc(100% - 32px);
    }

    .not_found_carousel_section .carousel {
        padding-top: 0;
    }
}

@media only screen and (max-width: 480px) {
    .not_found_hero {
        min-height: 610px;
    }

    .not_found_search {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .not_found_search input,
    .not_found_search button {
        width: 100%;
        border: 1px solid #FFD645;
        border-radius: 5px;
    }

    .not_found_search button {
        height: 46px;
        line-height: 46px;
    }

    .not_found_home {
        width: 100%;
        height: 46px;
        line-height: 46px;
    }

    .not_found_carousel_section .wrapper {
        max-width: calc(100% - 24px);
    }
}



/* Mobile single-content sharing below metadata */
@media only screen and (max-width: 820px) {
    .single_banner .single_banner_share,
    .single_video_mobile_details .single_banner_share {
        gap: 15px;
        width: 100%;
        margin-top: 18px;
    }

    .single_banner_share__icons {
        gap: 9px;
    }

    .single_banner_share__icons a,
    .single_banner_share__icons button {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
    }

    .single_banner_share__icons img {
        width: 28px;
        height: 28px;
    }

    .single_banner .single_banner_share__download {
        flex-basis: 100%;
        width: max-content;
        min-height: 30px;
        font-size: 15px;
        line-height: 20px;
    }

    .single_banner_share__download img {
        width: 30px;
        height: 30px;
    }

    .single-podcasts .single_banner.single_podcast .single_banner_share {
        margin-top: 14px;
    }

    body.single-video .single_video_banner .single_banner_share {
        display: none;
    }

    body.single-video .single_video_mobile_details .single_banner_share {
        display: flex;
    }
}


/* Standalone login page */
@media only screen and (max-width: 820px) {
    .small_banner.login_mobile_banner {
        display: block;
    }

    .login_mobile_banner > img {
        object-position: 50% 50%;
    }

    .login_mobile_banner .big_title {
        color: #FFF;
    }

    .login_page_stage {
        min-height: 0;
        padding: 48px 16px 56px;
        background: #050505;
    }

    .login_page .login_page_content {
        width: min(100%, 430px);
        padding: 34px 24px;
    }

    .login_page .login_title {
        margin: 20px 0 24px;
        font-size: 23px;
    }

    .login_page_notice {
        margin-bottom: 22px;
    }
}

@media only screen and (max-width: 420px) {
    .login_page_stage {
        padding-top: 40px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .login_page .login_page_content {
        padding: 30px 20px;
    }
}


/* Member dashboard */
@media only screen and (max-width: 820px) {
    .mobile_menu_utility .mobile_menu_account {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        gap: 7px;
        padding: 0;
        color: #FFF;
        font-size: clamp(20px, 6vw, 25px);
        line-height: 1;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .mobile_menu_account > span {
        display: block;
        flex: 0 0 20px;
        width: 20px;
        height: 25px;
        background: url("../assets/login_icon.png") center / contain no-repeat;
    }

    .member_dashboard_header {
        display: flex;
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 0;
        align-items: flex-end;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        background:
            linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(94, 18, 8, 0.68) 55%, rgba(0, 0, 0, 0.78) 100%),
            url("../assets/site-images/account 2.png") center / cover no-repeat;
    }

    .member_dashboard_header .wrapper {
        padding-bottom: 24px;
    }


    .member_dashboard_header .wrapper,
    .member_dashboard_body > .wrapper {
        width: calc(100% - 32px);
        max-width: calc(100% - 32px);
    }

    .member_dashboard_heading {
        width: 100%;
        max-width: none;
    }

    .member_dashboard_heading h1 {
        font-size: 42px;
    }

    .account_header_meta {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 22px;
    }

    .member_dashboard_body {
        padding: 42px 0 0;
    }

    .page-template-TEMPLATE-account .account_mobile_join_promo {
        display: block;
        width: 100%;
        margin: 0 0 32px;
    }

    .page-template-TEMPLATE-account .account_mobile_join_promo .sidebar_join_promo {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .page-template-TEMPLATE-account .account_billing_join_only {
        display: none;
    }

    .member_dashboard_body_paid {
        padding-bottom: 64px;
    }

    .account_summary {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        margin-bottom: 32px;
    }

    .account_summary > div {
        padding: 0;
    }

    .account_summary span {
        margin-bottom: 3px;
        font-size: 12px;
        line-height: 17px;
    }

    .account_summary strong {
        font-size: 17px;
        line-height: 22px;
    }

    .account_forms_grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .account_panel {
        padding: 26px 20px;
    }

    .account_panel_heading h2 {
        font-size: 26px;
    }

    .account_details_layout_paid {
        grid-template-columns: minmax(0, 1fr);
        gap: 42px;
    }

    .account_details_layout_paid .account_member_details,
    .account_details_layout_paid .account_billing {
        display: block;
    }

    .account_details_layout_paid .account_forms_grid {
        grid-template-rows: none;
        align-items: start;
    }

    .account_details_layout_paid .account_billing_stack {
        display: flex;
    }

    .account_details_layout_paid .account_panel,
    .account_details_layout_paid .account_billing_panel {
        height: auto;
    }

    .account_section_heading h2 {
        font-size: 32px;
    }

    .account_billing {
        margin-top: 42px;
    }

    .account_details_layout_paid .account_billing {
        margin-top: 0;
    }

    .account_billing_panel {
        padding: 24px 20px;
    }

    .account_billing_provider {
        align-items: flex-start;
        gap: 14px;
    }

    .account_billing_provider_identity {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .account_billing_details {
        grid-template-columns: minmax(0, 1fr);
        column-gap: 0;
    }

    .account_billing_actions {
        align-items: stretch;
        flex-direction: column;
    }

    .account_billing_actions form {
        width: 100%;
    }

    .account_billing_button {
        width: 100%;
    }

    .account_upgrade {
        margin-top: 58px;
        padding: 48px 0 58px;
    }

    .account_upgrade_heading {
        margin-bottom: 30px;
    }

    .account_upgrade_heading h2 {
        font-size: 36px;
    }

    .page-template-TEMPLATE-account .join_plan_toggle {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: min(100%, 280px);
        margin: 0 auto 28px;
    }

    .page-template-TEMPLATE-account .join_plan_toggle button {
        height: 46px;
        font-size: 15px;
        line-height: 46px;
    }

    .page-template-TEMPLATE-account .join_plan_cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        width: 100%;
    }

    .page-template-TEMPLATE-account .join_plan_card {
        width: 100%;
        min-width: 0;
        min-height: 0;
        padding: 26px 18px 28px;
        overflow: hidden;
        border-radius: 7px;
    }

    .page-template-TEMPLATE-account .join_plan_card_logo {
        height: 68px;
        margin-bottom: 18px;
    }

    .page-template-TEMPLATE-account .join_feature_list {
        min-height: 0;
    }

    .page-template-TEMPLATE-account .join_feature_list li {
        min-height: 27px;
        padding: 3px 0 3px 25px;
        font-size: 15px;
        line-height: 21px;
        overflow-wrap: anywhere;
    }

    .page-template-TEMPLATE-account .join_plan_price {
        margin: 30px 0 20px;
    }

    .page-template-TEMPLATE-account .join_plan_price > span {
        font-size: clamp(43px, 13vw, 58px);
    }

    .page-template-TEMPLATE-account .join_plan_action {
        width: 100%;
        min-height: 44px;
        margin-top: 24px;
        font-size: 16px;
        line-height: 44px;
    }

}

@media only screen and (max-width: 480px) {
    .account_field_grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .account_submit {
        width: 100%;
    }
}


/* Uniform mobile carousel rails, controls, and hero copy */
@media only screen and (max-width: 820px) {
    .article_caro .side_caro_content,
    .podcast_caro .side_caro_content,
    .video_caro .side_caro_content {
        width: calc(100vw - 16px) !important;
        max-width: none !important;
    }

    .article_caro .carousel,
    .podcast_caro .carousel,
    .video_caro .carousel {
        width: 100% !important;
        max-width: none !important;
    }

    .article_caro .carousel-track-container,
    .video_caro .carousel-track-container {
        flex: 0 0 calc(100% - 16px);
        width: calc(100% - 16px) !important;
        max-width: none !important;
    }

    .podcast_caro .carousel-track-container {
        flex: 0 0 100%;
        width: 100% !important;
        max-width: none !important;
    }

    .article_caro .carousel-track,
    body .podcast_caro .carousel-track,
    .video_caro .carousel-track {
        gap: 0 !important;
        width: calc(100% + 20px) !important;
        margin-left: -10px !important;
    }

    .article_caro .carousel-item,
    .video_caro .carousel-item {
        flex: 0 0 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        padding: 0 10px !important;
    }

    body .podcast_caro .carousel-item,
    body .podcast_caro.first .latest_podcast_carousel .carousel-item {
        flex: 0 0 66.6667% !important;
        max-width: none !important;
        min-width: 0 !important;
        padding: 0 10px !important;
    }

    .article_caro .carousel-next,
    .podcast_caro .carousel-next,
    .video_caro .carousel-next {
        right: var(--ai-carousel-next-inset) !important;
    }

    .article_caro .carousel-prev,
    .podcast_caro .carousel-prev,
    .video_caro .carousel-prev {
        right: var(--ai-carousel-prev-inset) !important;
    }

    body.home .big_banner .fixed_text > .post_snippet,
    body.page-template-TEMPLATE-articles .big_banner .fixed_text > .post_snippet {
        display: none !important;
    }
}


/* Mobile swipe surfaces for every card carousel and archive strip */
@media only screen and (max-width: 820px) {
    .carousel-track-container {
        touch-action: pan-y pinch-zoom;
        -webkit-user-select: none;
        user-select: none;
    }

    .carousel-track-container img {
        -webkit-user-drag: none;
        user-drag: none;
    }

    .carousel.is-mobile-swiping .carousel-track {
        cursor: grabbing;
    }

    .search_results_archive .search_article_grid,
    .search_results_archive .search_podcast_grid,
    .tag .podcast_archive .podcast_grid,
    body.category .category_article_grid,
    body.tax-video_category .video_article_grid {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 0;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        touch-action: pan-x pan-y pinch-zoom;
        -webkit-overflow-scrolling: touch;
    }

    .search_results_archive .search_article_grid::-webkit-scrollbar,
    .search_results_archive .search_podcast_grid::-webkit-scrollbar,
    .tag .podcast_archive .podcast_grid::-webkit-scrollbar,
    body.category .category_article_grid::-webkit-scrollbar,
    body.tax-video_category .video_article_grid::-webkit-scrollbar {
        display: none;
    }

    .search_results_archive .search_result_item,
    body.category .category_article_grid .category_article_item,
    body.tax-video_category .video_article_grid .video_article_item {
        flex: 0 0 min(88%, 353px);
        width: auto !important;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .search_results_archive .search_podcast_grid .podcast_card,
    .tag .podcast_archive .podcast_grid .podcast_card {
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    body.category .category_article_grid_wrap .side_caro_content,
    body.tax-video_category .category_article_grid_wrap .side_caro_content {
        width: calc(100vw - 16px);
        max-width: none;
    }

    body.category .category_article_grid .search_result_hidden,
    body.tax-video_category .video_article_grid .search_result_hidden {
        display: flex !important;
    }

    body.category .category_article_archive .search_load_more,
    body.tax-video_category .video_category_archive .search_load_more {
        display: none;
    }
}

/* Mobile single-podcast play control and revealed progress bar */
@media only screen and (max-width: 820px) {
    .single-podcasts .single_banner.single_podcast .image {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .single-podcasts .single_banner.single_podcast .podcast_banner_play {
        top: calc(var(--single-podcast-hero-height) - 16px);
        right: 16px;
        bottom: auto;
        left: auto;
        width: clamp(42px, 12vw, 48px);
        max-width: 48px;
        transform: translateY(-100%);
    }

    .single-podcasts .single_banner.single_podcast .podcast_banner_play:hover {
        transform: translateY(-100%) scale(1.04);
    }

    .single-podcasts .single_podcast .single_podcast_overview {
        order: 2;
        box-sizing: border-box;
        padding: 18px 15px 20px;
    }

    .single-podcasts .single_podcast .anfield-podcast-audio {
        position: relative;
        order: 1;
        display: none;
        width: 100%;
        height: 38px;
        margin: 0;
        overflow: hidden;
        border-top: 1px solid #FFD645;
        border-bottom: 1px solid #FFD645;
        border-radius: 0;
        background: #000;
    }

    .single-podcasts .single_podcast .anfield-podcast-audio.is-active {
        display: flex;
    }

    .single-podcasts .single_podcast .anfield-podcast-audio__track {
        display: block;
        height: 36px;
        background: #000;
    }

    .single-podcasts .single_podcast .anfield-podcast-audio__button {
        flex: 0 0 42px;
        width: 42px;
        height: 36px;
        color: #FFF;
        background: #000;
    }

    .single-podcasts .single_podcast .anfield-podcast-audio__button:hover,
    .single-podcasts .single_podcast .anfield-podcast-audio__button:focus-visible {
        background: #111;
    }

    .single-podcasts .single_podcast .anfield-podcast-audio__button::after,
    .single-podcasts .single_podcast .anfield-podcast-audio.is-playing .anfield-podcast-audio__button::after {
        content: none !important;
    }

    .single-podcasts .single_podcast .anfield-podcast-audio.is-active .anfield-podcast-audio__play {
        display: block;
    }

    .single-podcasts .single_podcast .anfield-podcast-audio.is-active .anfield-podcast-audio__pause,
    .single-podcasts .single_podcast .anfield-podcast-audio.is-active.is-playing .anfield-podcast-audio__play {
        display: none;
    }

    .single-podcasts .single_podcast .anfield-podcast-audio.is-active.is-playing .anfield-podcast-audio__pause {
        display: flex;
    }

    .single-podcasts .single_podcast .anfield-podcast-audio__time {
        height: 36px;
        line-height: 36px;
    }
}

/* Match every Articles archive carousel to the homepage mobile width */
@media only screen and (max-width: 820px) {
    body.page-template-TEMPLATE-articles .article_caro .side_caro_content,
    body.page-template-TEMPLATE-articles .home_sidebar_grid .article_caro .side_caro_content {
        width: calc(100vw - 16px) !important;
        max-width: none !important;
        padding-right: 0 !important;
    }

    body.page-template-TEMPLATE-articles .article_caro .carousel {
        width: 100% !important;
        max-width: none !important;
    }

    body.page-template-TEMPLATE-articles .article_caro .carousel-track-container {
        flex: 0 0 calc(100% - 16px);
        width: calc(100% - 16px) !important;
        max-width: none !important;
    }
}

/* Keep logout off the mobile menu; account page remains the logout location */
@media only screen and (max-width: 820px) {
    .menu_grid .left a.menu_logout {
        display: none !important;
    }
}

/* Keep inline emojis small inside full-width mobile article media */
@media only screen and (max-width: 820px) {
    .single-post .post_content .left_content img.emoji,
    .single-post .post_content .left_content img.wp-smiley {
        display: inline !important;
        width: 1em !important;
        height: 1em !important;
        max-width: 1em !important;
        margin: 0 0.07em !important;
        padding: 0 !important;
        border: 0 !important;
        background: none !important;
        box-shadow: none !important;
        vertical-align: -0.1em !important;
    }
}


/* Match paid-member homepage gutters and remove mobile carousel dividers */
@media only screen and (max-width: 820px) {
    body.home .home_sidebar_grid.hide_right_sidebar > .wrapper {
        max-width: calc(100% - 32px) !important;
    }

    .article_caro.first::after,
    .podcast_caro.first::after,
    .home_sidebar_grid .podcast_caro::after,
    .home_sidebar_grid .article_caro:not(.last)::after,
    .archive_grid .podcast_series_list::after {
        content: none !important;
        display: none !important;
    }

    .home_sidebar_grid .podcast_caro,
    .home_sidebar_grid .article_caro:not(.last),
    .archive_grid .podcast_series_list {
        margin-bottom: 48px !important;
        padding-bottom: 0 !important;
        border-bottom: 0 !important;
    }

    .podcast_caro.first {
        padding-bottom: 0 !important;
    }
}


/* Align logged-out desktop carousel controls with the final visible card */
@media only screen and (min-width: 821px) {
    .home_sidebar_grid:not(.hide_right_sidebar) .carousel-next {
        right: 0 !important;
    }

    .home_sidebar_grid:not(.hide_right_sidebar) .carousel-prev {
        right: 70px !important;
    }
}


/* Align the desktop Podcast Series label with the first series tile */
@media only screen and (min-width: 821px) {
    .post-type-archive-podcasts .podcast_series_list .side_text.top_moved {
        top: 64px;
    }
}


/* Let active Podcast Series filters show every assigned mobile tile */
@media only screen and (max-width: 820px) {
    body.post-type-archive-podcasts .archive_grid .podcast_series_list.is-filtered .series_list > a,
    body.post-type-archive-podcasts .archive_grid .podcast_series_list.is-filtered .series_list > a:nth-child(n+10) {
        display: block !important;
    }

    body.post-type-archive-podcasts .archive_grid .podcast_series_list.is-filtered .series_list > a[hidden],
    body.post-type-archive-podcasts .archive_grid .podcast_series_list.is-filtered .series_list > a:nth-child(n+10)[hidden] {
        display: none !important;
    }
}

/* Keep mobile Load More buttons compact with inline arrows */
@media only screen and (max-width: 820px) {
    .podcast_series_load_more,
    .search_load_more,
    .category .category_article_archive .search_load_more {
        width: fit-content;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 8px 13px;
        border-radius: 7px;
        font-size: 16px;
        line-height: 20px;
    }

    .podcast_series_load_more::after,
    .search_load_more::after {
        font-size: 0.96em;
        line-height: 1;
    }
}


/* Timeline year mobile carousel widths */
@media only screen and (max-width: 820px) {
    .timeline_tag_archive .search_article_grid {
        gap: 0 !important;
        width: calc(100% + 20px);
        max-width: none;
        margin-left: -10px;
    }

    .timeline_tag_archive .search_article_grid .search_result_item {
        box-sizing: border-box;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: none;
        padding: 0 10px;
        justify-content: flex-start;
    }

    .timeline_tag_archive .search_article_grid .search_result_item > a {
        width: 100%;
        max-width: none;
    }

    .timeline_tag_archive .search_article_grid h2 {
        display: block;
        height: auto;
        margin: 20px 0;
        overflow: visible;
        font-size: 24px;
        line-height: normal;
        -webkit-line-clamp: initial;
    }

    .timeline_tag_archive .search_article_grid .post_snippet {
        line-height: 24px;
    }

    .timeline_tag_archive .search_results_section_podcasts .side_caro_content {
        width: calc(100% + 16px);
        max-width: none;
    }

    .timeline_tag_archive .search_podcast_grid {
        width: 100%;
        max-width: 100%;
    }
}


/* Contact AI page responsive */
@media only screen and (max-width: 1200px) {
    .contact_aipro .wrapper {
        width: min(1560px, calc(100% - 40px));
        max-width: calc(100% - 40px);
    }

    .contact_aipro_form .gform_wrapper.gravity-theme form {
        gap: 32px 34px;
    }
}

@media only screen and (max-width: 1000px) {
    .contact_aipro {
        padding: 72px 0 82px;
    }

    .contact_aipro_grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .contact_aipro_content,
    .contact_aipro_content p {
        max-width: 560px;
    }

    .contact_aipro_form {
        padding-top: 28px;
    }
}

@media only screen and (max-width: 700px) {
    .contact_aipro {
        padding: 46px 0 58px;
    }

    .contact_aipro .wrapper {
        width: calc(100% - 32px);
        max-width: calc(100% - 32px);
    }

    .contact_aipro_content h2 {
        margin-bottom: 22px;
        font-size: clamp(30px, 9.5vw, 40px);
    }

    .contact_aipro_content p {
        margin-bottom: 22px;
        font-size: 14px;
        line-height: 25px;
    }

    .contact_aipro_form .gform_wrapper.gravity-theme form {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .contact_aipro_form .gform_wrapper.gravity-theme .gform_fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 27px;
    }

    .contact_aipro_form .gform_wrapper.gravity-theme #field_2_1,
    .contact_aipro_form .gform_wrapper.gravity-theme #field_2_3,
    .contact_aipro_form .gform_wrapper.gravity-theme #field_2_5 {
        grid-column: auto;
        grid-row: auto;
    }

    .contact_aipro_form .gform_wrapper.gravity-theme .gform_footer,
    .contact_aipro_form .gform_wrapper.gravity-theme .gform_page_footer {
        justify-content: flex-start;
    }
}

/* Mixed article, video and podcast carousel */
@media only screen and (min-width: 821px) and (max-width: 1800px) {
    .account_history_carousel {
        --account-history-edge: 60px;
    }

    .account_history_controls {
        right: 40px;
    }
}

@media only screen and (min-width: 821px) and (max-width: 1200px) {
    .account_history_carousel {
        margin-top: 72px;
        padding-top: 78px;
        padding-bottom: 64px;
    }

    .account_history_layout {
        grid-template-columns: 62px minmax(0, 1fr);
        column-gap: 16px;
    }

    .account_history_title {
        font-size: 62px;
    }

    .account_history_track {
        gap: 28px;
    }
}

@media only screen and (max-width: 820px) {
    .page-template-TEMPLATE-account .member_dashboard_body_paid {
        padding-bottom: 0;
    }

    .account_history_carousel {
        --account-history-edge: 16px;
        margin-top: 56px;
        padding: 72px 0 56px 16px;
    }

    .account_history_layout {
        display: block;
    }

    .account_history_title {
        margin: 0 120px 22px 0;
        writing-mode: initial;
        transform: none;
        font-size: 42px;
        -webkit-text-stroke-width: 1px;
    }

    .account_history_controls {
        top: 22px;
        right: 16px;
        gap: 14px;
    }

    .account_history_prev,
    .account_history_next {
        width: 42px;
        height: 27px;
    }

    .account_history_track {
        gap: 16px;
        padding-right: 16px;
    }

    .account_history_item {
        flex-basis: min(88vw, 353px);
        width: min(88vw, 353px);
    }

    .account_history_item_podcast {
        flex-basis: min(68vw, 250px);
        width: min(68vw, 250px);
    }

    .account_history_item_podcast .account_history_image {
        height: auto;
        flex-basis: auto;
        aspect-ratio: 1 / 1;
    }

    .account_history_card {
        height: 520px;
    }

    .account_history_item_podcast .account_history_card {
        height: 500px;
    }
}

/* Mobile Join Pro sizing for single articles and article/video carousels. */
@media only screen and (max-width: 820px) {
    .article_caro .carousel_join_promo_item {
        justify-content: stretch;
    }

    .article_caro .carousel_join_promo_item .sidebar_join_promo {
        width: 100%;
        max-width: none;
    }

    .single-post .single_article_mobile_join_promo .sidebar_join_promo_logo,
    body.single-video .single_video_parts_mobile_join_promo .sidebar_join_promo_logo,
    body.single-podcasts .single_podcast_mobile_join_promo .sidebar_join_promo_logo,
    .page-template-TEMPLATE-account .account_mobile_join_promo .sidebar_join_promo_logo,
    .article_caro .carousel_join_promo_item .sidebar_join_promo_logo {
        width: min(70%, 170px);
    }

    .single-post .single_article_mobile_join_promo .sidebar_join_promo_title,
    body.single-video .single_video_parts_mobile_join_promo .sidebar_join_promo_title,
    body.single-podcasts .single_podcast_mobile_join_promo .sidebar_join_promo_title,
    .page-template-TEMPLATE-account .account_mobile_join_promo .sidebar_join_promo_title,
    .article_caro .carousel_join_promo_item .sidebar_join_promo_title {
        font-size: clamp(42px, 12vw, 54px);
    }

    .single-post .single_article_mobile_join_promo .sidebar_join_promo_price,
    body.single-video .single_video_parts_mobile_join_promo .sidebar_join_promo_price,
    body.single-podcasts .single_podcast_mobile_join_promo .sidebar_join_promo_price,
    .page-template-TEMPLATE-account .account_mobile_join_promo .sidebar_join_promo_price,
    .article_caro .carousel_join_promo_item .sidebar_join_promo_price {
        font-size: clamp(23px, 6.8vw, 30px);
    }

    .single-post .single_article_mobile_join_promo .sidebar_join_promo_button,
    body.single-video .single_video_parts_mobile_join_promo .sidebar_join_promo_button,
    body.single-podcasts .single_podcast_mobile_join_promo .sidebar_join_promo_button,
    .page-template-TEMPLATE-account .account_mobile_join_promo .sidebar_join_promo_button,
    .article_caro .carousel_join_promo_item .sidebar_join_promo_button {
        font-size: 26px;
        line-height: 26px;
    }
}

/* Mobile podcast Join Pro card fills its existing two-thirds slide. */
@media only screen and (max-width: 820px) {
    body .podcast_caro .carousel_join_promo_item .sidebar_join_promo {
        width: 100%;
        max-width: none;
    }
}

/* Mobile three-plan swipe carousel. */
@media only screen and (max-width: 820px) {
    .join_plan_tabs .join_plan_toggle {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        max-width: 370px;
        margin: 0 auto 28px;
    }

    .join_plan_tabs .join_plan_tab_free {
        display: block;
    }

    .join_plan_tabs .join_plan_toggle button {
        min-width: 0;
    }

    .join_plan_tabs .join_plan_cards {
        display: flex;
        grid-template-columns: none;
        align-items: stretch;
        justify-content: flex-start;
        gap: 16px;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0 0 4px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        overscroll-behavior-inline: contain;
        touch-action: pan-x pan-y pinch-zoom;
        -webkit-overflow-scrolling: touch;
    }

    .join_plan_tabs .join_plan_cards::-webkit-scrollbar {
        display: none;
    }

    .join_plan_tabs .join_plan_cards > .join_plan_card {
        box-sizing: border-box;
        display: block;
        flex: 0 0 100%;
        width: 100% !important;
        max-width: none;
        min-width: 100% !important;
        margin: 0;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}

/* Redesigned 16:9 mobile Podcast hero with content below. */
@media only screen and (max-width: 820px) {
    body.ai-admin-mobile-podcast-preview.single-podcasts .single_banner.single_podcast {
        --single-podcast-hero-height: 56.25vw;
        background: #60140f;
    }

    body.ai-admin-mobile-podcast-preview.single-podcasts .single_banner.single_podcast .text {
        position: static;
        display: block;
        background: #60140f;
    }

    body.ai-admin-mobile-podcast-preview.single-podcasts .single_banner.single_podcast .text > div {
        position: relative;
        inset: auto;
        display: block;
        width: 100%;
        height: auto;
        padding: 22px 15px 18px;
        background: linear-gradient(180deg, #711912 0%, #60140f 100%);
    }

    body.ai-admin-mobile-podcast-preview.single-podcasts .single_banner.single_podcast .single_article_meta {
        display: flex;
        margin-top: 12px;
    }

    body.ai-admin-mobile-podcast-preview.single-podcasts .single_banner.single_podcast .single_banner_share {
        display: flex;
        margin-top: 16px;
    }

    body.ai-admin-mobile-podcast-preview.single-podcasts .single_banner.single_podcast .image {
        background: #60140f;
    }

    body.ai-admin-mobile-podcast-preview.single-podcasts .single_banner.single_podcast .image > img.square_podcast_featured {
        height: var(--single-podcast-hero-height);
        object-position: 50% 50%;
    }

    body.ai-admin-mobile-podcast-preview.single-podcasts .single_podcast .single_podcast_overview {
        margin: 0;
        border-top: 1px solid rgba(255, 214, 69, 0.22);
        padding: 18px 15px 22px;
        background: #7b1d16;
    }
}

/* Redesigned Podcast layout: separate header, clean hero, inline play. */
@media only screen and (max-width: 820px) {
    body.ai-admin-mobile-podcast-preview.single-podcasts #header,
    body.admin-bar.ai-admin-mobile-podcast-preview.single-podcasts #header {
        position: relative;
        top: 0;
        box-sizing: border-box;
        padding: 12px 0 10px;
        background: #60140f;
    }

    body.ai-admin-mobile-podcast-preview.single-podcasts .single_banner.single_podcast .grady_top,
    body.ai-admin-mobile-podcast-preview.single-podcasts .single_banner.single_podcast .image .grady,
    body.ai-admin-mobile-podcast-preview.single-podcasts .single_banner.single_podcast::after {
        display: none;
    }

    body.ai-admin-mobile-podcast-preview.single-podcasts .single_banner.single_podcast .image > img.square_podcast_featured {
        box-shadow: none;
        filter: none;
    }

    body.ai-admin-mobile-podcast-preview.single-podcasts .single_banner.single_podcast .single_banner_share {
        align-items: center;
        flex-wrap: nowrap;
        gap: 12px;
    }

    body.ai-admin-mobile-podcast-preview.single-podcasts .single_banner.single_podcast .single_banner_share__icons {
        flex: 1 1 auto;
    }

    body.ai-admin-mobile-podcast-preview.single-podcasts .single_banner.single_podcast .podcast_banner_play.podcast_banner_play_inline {
        position: relative;
        inset: auto;
        flex: 0 0 44px;
        width: 44px;
        max-width: 44px;
        height: 48px;
        margin: 0 0 0 auto;
        aspect-ratio: auto;
        transform: none;
    }

    body.ai-admin-mobile-podcast-preview.single-podcasts .single_banner.single_podcast .podcast_banner_play.podcast_banner_play_inline:hover {
        transform: scale(1.04);
    }

    body.ai-admin-mobile-podcast-preview.single-podcasts .single_banner.single_podcast .podcast_banner_play.podcast_banner_play_inline::before {
        filter: none;
    }
}

/* Redesigned mobile Article and standalone Video headers. */
@media only screen and (max-width: 820px) {
    body.ai-admin-mobile-content-preview.single-post #header,
    body.admin-bar.ai-admin-mobile-content-preview.single-post #header,
    body.ai-admin-mobile-content-preview.single-video:not(.single-podcasts) #header,
    body.admin-bar.ai-admin-mobile-content-preview.single-video:not(.single-podcasts) #header {
        position: relative;
        top: 0;
        box-sizing: border-box;
        padding: 12px 0 10px;
        background: #60140f;
    }

    body.ai-admin-mobile-content-preview.single-post .single_banner {
        --single-mobile-image-height: 56.25vw;
        background: #60140f;
    }

    body.ai-admin-mobile-content-preview.single-post .single_banner .grady_top,
    body.ai-admin-mobile-content-preview.single-post .single_banner::after {
        display: none;
    }

    body.ai-admin-mobile-content-preview.single-post .single_banner .image img {
        object-position: 50% 50%;
        box-shadow: none;
        filter: none;
    }

    body.ai-admin-mobile-content-preview.single-post .single_banner .text > div {
        position: relative;
        inset: auto;
        display: block;
        width: 100%;
        height: auto;
        padding: 22px 16px 20px;
        background: linear-gradient(180deg, #711912 0%, #60140f 100%);
    }

    body.ai-admin-mobile-content-preview.single-post .single_banner h1 {
        position: static;
        display: block;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
    }

    body.ai-admin-mobile-content-preview.single-post .single_banner .single_article_meta {
        display: flex;
        margin-top: 12px;
    }

    body.ai-admin-mobile-content-preview.single-post .single_banner .single_banner_share {
        display: flex;
        margin-top: 16px;
    }

    body.ai-admin-mobile-content-preview.single-video:not(.single-podcasts) .single_video_banner {
        --single-mobile-video-hero-height: 56.25vw;
        display: block;
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        margin: 0;
        padding-top: var(--single-mobile-video-hero-height);
        aspect-ratio: auto;
        overflow: visible;
        border-bottom: 0;
        background: #60140f;
    }

    body.ai-admin-mobile-content-preview.single-video:not(.single-podcasts) .single_video_banner .grady_top,
    body.ai-admin-mobile-content-preview.single-video:not(.single-podcasts) .single_video_banner::after,
    body.ai-admin-mobile-content-preview.single-video:not(.single-podcasts) .single_video_banner .video_banner_media::after {
        display: none;
    }

    body.ai-admin-mobile-content-preview.single-video:not(.single-podcasts) .single_video_banner .video_banner_media {
        position: absolute;
        inset: 0 0 auto;
        width: 100%;
        height: var(--single-mobile-video-hero-height);
        background: #000;
    }

    body.ai-admin-mobile-content-preview.single-video:not(.single-podcasts) .single_video_banner .video_banner_media > img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 50% 50%;
        box-shadow: none;
        filter: none;
    }

    body.ai-admin-mobile-content-preview.single-video:not(.single-podcasts) .single_video_banner .text,
    body.ai-admin-mobile-content-preview.single-video:not(.single-podcasts) .single_video_banner .text > div {
        position: static;
    }

    body.ai-admin-mobile-content-preview.single-video:not(.single-podcasts) .single_video_banner .text > div {
        display: block;
        width: 100%;
        height: auto;
        padding: 22px 16px 18px;
        background: linear-gradient(180deg, #711912 0%, #60140f 100%);
        transform: none;
    }

    body.ai-admin-mobile-content-preview.single-video:not(.single-podcasts) .single_video_banner h1 {
        position: static;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
    }

    body.ai-admin-mobile-content-preview.single-video:not(.single-podcasts) .single_video_banner .single_article_meta {
        display: flex;
        margin-top: 12px;
    }

    body.ai-admin-mobile-content-preview.single-video:not(.single-podcasts) .single_video_banner .single_banner_share {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 12px;
        margin-top: 16px;
    }

    body.ai-admin-mobile-content-preview.single-video:not(.single-podcasts) .single_video_banner .single_banner_share__icons {
        flex: 1 1 auto;
    }

    body.ai-admin-mobile-content-preview.single-video:not(.single-podcasts) .single_video_banner .video_banner_play.video_banner_play_inline {
        position: relative;
        inset: auto;
        flex: 0 0 44px;
        width: 44px;
        max-width: 44px;
        height: 48px;
        margin: 0 0 0 auto;
        aspect-ratio: auto;
        transform: none;
    }

    body.ai-admin-mobile-content-preview.single-video:not(.single-podcasts) .single_video_banner .video_banner_play.video_banner_play_inline img {
        display: block;
    }

    body.ai-admin-mobile-content-preview.single-video:not(.single-podcasts) .single_video_banner .video_banner_play.video_banner_play_inline:hover {
        transform: scale(1.04);
    }

    body.ai-admin-mobile-content-preview.single-video:not(.single-podcasts) .single_video_mobile_details {
        padding: 18px 16px 22px;
        background: #7b1d16;
    }

    body.ai-admin-mobile-content-preview.single-video:not(.single-podcasts) .single_video_mobile_details .single_video_mobile_meta,
    body.ai-admin-mobile-content-preview.single-video:not(.single-podcasts) .single_video_mobile_details .single_banner_share,
    body.ai-admin-mobile-content-preview.single-video:not(.single-podcasts) .single_video_mobile_details .single_video_mobile_play {
        display: none;
    }

    body.ai-admin-mobile-podcast-preview.single-podcasts .single_banner.single_podcast .single_podcast_overview > .post_snippet,
    body.ai-admin-mobile-content-preview.single-video:not(.single-podcasts) .single_video_mobile_details > p {
        display: block !important;
        max-height: none !important;
        overflow: visible;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        text-overflow: clip;
    }

    body.ai-admin-mobile-content-preview.single-video:not(.single-podcasts) .single_video_mobile_details > p {
        margin: 0;
        line-height: 26px;
    }
}

/* Redesigned mobile header spacing and menu-overlay isolation. */
@media only screen and (max-width: 820px) {
    body.ai-admin-mobile-content-preview #header {
        padding: 12px 0 10px;
    }

    body.ai-admin-mobile-content-preview #header .wrapper > div {
        align-items: center;
    }

    body.ai-admin-mobile-content-preview #header #logo {
        flex: 0 0 clamp(56px, 16vw, 72px);
        width: clamp(56px, 16vw, 72px);
    }

    body.ai-admin-mobile-content-preview #menu {
        align-self: center;
        align-items: center;
        padding-top: 0;
    }

    body.ai-admin-mobile-content-preview #menu > .menu_open {
        top: 0;
        width: clamp(58px, 16vw, 70px);
        height: 44px;
    }

    body.ai-admin-mobile-content-preview.ai-mobile-overlay-open #header {
        background: transparent;
    }
}

/* Match archive heroes to the redesigned 16:9 mobile single-content layout. */
@media only screen and (max-width: 820px) {
    :is(
        body.home,
        body.articles-archive,
        body.page-template-TEMPLATE-articles,
        body.post-type-archive-podcasts,
        body.post-type-archive-video,
        body.post-type-archive-videos
    ) #header {
        position: relative;
        top: 0;
        box-sizing: border-box;
        padding: 12px 0 10px;
        background: #60140f;
    }

    .big_banner.mobile_archive_hero {
        --mobile-archive-hero-height: 56.25vw;
        display: block;
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        margin: 0;
        padding-top: var(--mobile-archive-hero-height);
        aspect-ratio: auto;
        overflow: visible;
        border-bottom: 1px solid var(--ai-section-divider, #FFD645);
        background: #60140f;
    }

    .big_banner.mobile_archive_hero > img {
        position: absolute;
        inset: 0 0 auto;
        width: 100%;
        height: var(--mobile-archive-hero-height);
        object-fit: cover;
        object-position: 50% 50%;
        box-shadow: none;
        filter: none;
    }

    .big_banner.mobile_archive_hero > .grady_top,
    .big_banner.mobile_archive_hero > .grady {
        display: none;
    }

    .big_banner.mobile_archive_hero .fixed_text,
    .archive .big_banner.mobile_archive_hero .fixed_text {
        position: relative;
        inset: auto;
        box-sizing: border-box;
        display: block;
        width: 100%;
        max-width: none;
        padding: 22px 16px 20px;
        background: linear-gradient(180deg, #711912 0%, #60140f 100%);
        transform: none;
    }

    .big_banner.mobile_archive_hero .fixed_text .big_title {
        margin: 0;
    }

    .big_banner.mobile_archive_hero .fixed_text h1 {
        margin-top: 10px;
    }

    body .big_banner.mobile_archive_hero .fixed_text > .post_snippet {
        display: block !important;
        max-width: none;
        margin-top: 12px;
    }

    .big_banner.mobile_archive_hero .fixed_text > a {
        margin-top: 16px;
    }

    .post-type-archive-podcasts .big_banner.archive_page.mobile_archive_hero .podcast_banner_snippet {
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 14px;
        align-items: start;
        margin: 16px 0 0;
    }

    .post-type-archive-podcasts .big_banner.archive_page.mobile_archive_hero .podcast_banner_thumb {
        width: 88px;
        height: 88px;
    }

    .post-type-archive-podcasts .big_banner.archive_page.mobile_archive_hero .podcast_banner_snippet .post_snippet {
        display: block;
        max-width: none;
        max-height: none;
        margin: 0;
        overflow: visible;
    }
}


/* Homepage/archive 16:9 heroes and responsive top-slider transition (2026-09-24). */
@media only screen and (min-width: 821px) {
    :is(
        body.home,
        body.articles-archive,
        body.page-template-TEMPLATE-articles,
        body.post-type-archive-podcasts,
        body.post-type-archive-video,
        body.post-type-archive-videos
    ) .big_banner.mobile_archive_hero {
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        aspect-ratio: 16 / 9;
        overflow: hidden;
    }

    :is(
        body.home,
        body.articles-archive,
        body.page-template-TEMPLATE-articles,
        body.post-type-archive-podcasts,
        body.post-type-archive-video,
        body.post-type-archive-videos
    ) .big_banner.mobile_archive_hero > img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Keep the first card rail fully below the hero at every desktop width. */
@media only screen and (min-width: 821px) {
    body.home .article_caro.first,
    body.articles-archive .article_caro.first,
    body.page-template-TEMPLATE-articles .article_caro.first,
    body.post-type-archive-podcasts .podcast_caro.first,
    body.post-type-archive-video .video_top_all_way,
    body.post-type-archive-videos .video_top_all_way {
        top: 0 !important;
        margin-top: 0;
        padding-top: clamp(64px, 5vw, 90px);
    }

    body.home .home_sidebar_grid,
    body.articles-archive .home_sidebar_grid,
    body.page-template-TEMPLATE-articles .home_sidebar_grid,
    body.post-type-archive-video .video_archive_sections,
    body.post-type-archive-videos .video_archive_sections {
        top: 0 !important;
        margin-top: calc(var(--ai-section-divider-pad) + var(--ai-section-divider-gap));
        margin-bottom: 40px;
    }

    body.post-type-archive-podcasts .archive_grid {
        top: 0 !important;
        margin-top: var(--ai-section-divider-gap);
        margin-bottom: 40px;
    }
}


/* Temporarily hide homepage/archive hero snippets on desktop (2026-09-24). */
@media only screen and (min-width: 821px) {
    :is(
        body.home,
        body.articles-archive,
        body.page-template-TEMPLATE-articles,
        body.post-type-archive-podcasts,
        body.post-type-archive-video,
        body.post-type-archive-videos
    ) .big_banner.mobile_archive_hero .fixed_text > .post_snippet,
    body.post-type-archive-podcasts .big_banner.mobile_archive_hero .podcast_banner_snippet {
        display: none !important;
    }
}


/* Match homepage and archive desktop hero title sizing and CTA spacing (2026-09-24). */
@media only screen and (min-width: 821px) {
    :is(
        body.home,
        body.articles-archive,
        body.page-template-TEMPLATE-articles,
        body.post-type-archive-podcasts,
        body.post-type-archive-video,
        body.post-type-archive-videos
    ) .big_banner.mobile_archive_hero .fixed_text h1 {
        margin: 24px 0 0;
        font-size: 30px;
        line-height: 42px;
    }

    :is(
        body.home,
        body.articles-archive,
        body.page-template-TEMPLATE-articles,
        body.post-type-archive-podcasts,
        body.post-type-archive-video,
        body.post-type-archive-videos
    ) .big_banner.mobile_archive_hero .fixed_text > a {
        margin-top: 24px;
    }
}


/* Darken the desktop text side of the banner; keep .grady_top unchanged. */
@media only screen and (min-width: 821px) {
    :is(
        body.home,
        body.articles-archive,
        body.page-template-TEMPLATE-articles,
        body.post-type-archive-podcasts,
        body.post-type-archive-video,
        body.post-type-archive-videos
    ) .big_banner.mobile_archive_hero > .grady {
        left: 0;
        top: 0;
        width: 72%;
        height: 100%;
        border-radius: 0;
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.68) 0%,
            rgba(0, 0, 0, 0.60) 48%,
            rgba(0, 0, 0, 0.30) 76%,
            rgba(0, 0, 0, 0) 100%
        );
        transform: none;
    }
}


/* Complete the mobile navigation switch at 999px for signed-in users too. */
@media only screen and (min-width: 821px) and (max-width: 999px) {
    .mobile_menu_utility .mobile_menu_account {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        gap: 7px;
        padding: 0;
        color: #FFF;
        font-family: "Anton", sans-serif !important;
        font-size: 25px;
        line-height: 1;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .mobile_menu_account > span {
        display: block;
        flex: 0 0 20px;
        width: 20px;
        height: 25px;
        background: url("../assets/login_icon.png") center / contain no-repeat;
    }

    .menu_grid .left a.menu_logout {
        display: none !important;
    }
}


/* Restore the original full-banner gradient on mobile information pages. */
@media only screen and (max-width: 820px) {
    .small_banner:is(.contact_page_banner, .about_page_banner, .history_page_banner, .join_page_banner, .footer_page_banner) > .grady {
        display: block;
    }
    .small_banner:is(.contact_page_banner, .about_page_banner, .history_page_banner, .join_page_banner, .footer_page_banner) .fixed_text::before {
        display: none;
    }
}


/* Add bottom contrast to mobile square page banners without changing desktop artwork. */
@media only screen and (max-width: 820px) {
    .small_banner > .grady {
        background:
            linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.58) 30%, rgba(0, 0, 0, 0.16) 58%, rgba(0, 0, 0, 0) 78%),
            linear-gradient(90deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0) 100%);
    }
}


/* Homepage desktop hero: confine the fade to the copy without changing its layout. */
@media only screen and (min-width: 821px) {
    body.home .big_banner.mobile_archive_hero > .grady {
        display: none;
    }
    body.home .big_banner.mobile_archive_hero .fixed_text::before {
        content: "";
        position: absolute;
        inset: -28px -68px -28px -36px;
        z-index: -1;
        border-radius: 10px;
        background: linear-gradient(90deg, rgba(3, 4, 8, 0.72) 0%, rgba(3, 4, 8, 0.60) 72%, rgba(3, 4, 8, 0.42) 100%);
        pointer-events: none;
    }
}


/* Articles and Videos desktop heroes: rounded copy fade without changing layout. */
@media only screen and (min-width: 821px) {
    :is(
        body.articles-archive,
        body.page-template-TEMPLATE-articles,
        body.post-type-archive-video,
        body.post-type-archive-videos
    ) .big_banner.mobile_archive_hero > .grady {
        display: none;
    }
    :is(
        body.articles-archive,
        body.page-template-TEMPLATE-articles,
        body.post-type-archive-video,
        body.post-type-archive-videos
    ) .big_banner.mobile_archive_hero .fixed_text::before {
        content: "";
        position: absolute;
        inset: -28px -36px;
        z-index: -1;
        border-radius: 10px;
        background: linear-gradient(90deg, rgba(3, 4, 8, 0.72) 0%, rgba(3, 4, 8, 0.60) 72%, rgba(3, 4, 8, 0.42) 100%);
        pointer-events: none;
    }
}


/* Podcasts desktop hero: rounded copy fade without changing layout. */
@media only screen and (min-width: 821px) {
    body.post-type-archive-podcasts .big_banner.mobile_archive_hero > .grady {
        display: none;
    }
    body.post-type-archive-podcasts .big_banner.mobile_archive_hero .fixed_text::before {
        content: "";
        position: absolute;
        inset: -28px -36px;
        z-index: -1;
        border-radius: 10px;
        background: linear-gradient(90deg, rgba(3, 4, 8, 0.72) 0%, rgba(3, 4, 8, 0.60) 72%, rgba(3, 4, 8, 0.42) 100%);
        pointer-events: none;
    }
}


/* Keep the existing full and bottom gradient on mobile Search Results. */
@media only screen and (max-width: 820px) {
    .small_banner.search_page > .grady {
        display: block;
    }
    .small_banner.search_page .text::before {
        display: none;
    }
}


/* Keep the JOIN AI:PRO CTA compact inside mobile podcast sliders. */
@media only screen and (max-width: 820px) {
    body .podcast_caro .carousel_join_promo_item a.sidebar_join_promo_button {
        display: inline-block;
        align-self: center;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        padding: 8px 15px;
    }
}


/* Mobile layout for the three chronological View All pages. */
@media only screen and (max-width: 820px) {
    .small_banner:is(.category_page, .tag_page) {
        border-bottom: 1px solid #FFD645;
    }

    .small_banner:is(.category_page, .tag_page) .wrapper,
    .small_banner:is(.category_page, .tag_page) .wrapper > div {
        position: static;
        display: block;
        width: 100%;
        max-width: 100%;
        height: 100%;
        padding: 0;
    }

    .small_banner:is(.category_page, .tag_page) .text {
        position: absolute;
        right: 16px;
        bottom: clamp(20px, 6vw, 30px);
        left: 16px;
        z-index: 4;
        max-width: none;
    }

    .small_banner:is(.category_page, .tag_page) .text > div,
    .small_banner:is(.category_page, .tag_page) .text > div > span,
    .small_banner:is(.category_page, .tag_page) .all_listing_banner_title,
    .small_banner:is(.category_page, .tag_page) .all_listing_banner_title > span {
        font-size: clamp(30px, 9.5vw, 42px);
        line-height: 0.95;
        -webkit-text-stroke-width: 1px;
    }

    .all_articles_archive,
    .all_videos_archive,
    .all_podcasts_archive {
        margin: 34px 0 52px;
        overflow: hidden;
    }

    .all_articles_archive > .wrapper,
    .all_videos_archive > .wrapper,
    .all_podcasts_archive > .wrapper {
        right: 0;
        width: 100%;
        max-width: calc(100% - 32px);
    }

    .all_articles_archive > .wrapper > div,
    .all_videos_archive > .wrapper > div,
    .all_podcasts_archive > .wrapper > div,
    .all_articles_archive .category_article_grid_wrap,
    .all_videos_archive .category_article_grid_wrap,
    .all_podcasts_archive .category_article_grid_wrap {
        display: block;
        width: 100%;
    }

    .all_articles_archive .category_article_grid_wrap .side_text,
    .all_videos_archive .category_article_grid_wrap .side_text,
    .all_podcasts_archive .category_article_grid_wrap .side_text {
        display: block;
        width: 100%;
        padding-right: 0;
        margin: 0 0 18px;
        font-size: clamp(30px, 9.5vw, 42px);
        line-height: 1;
        writing-mode: initial;
        transform: none;
        left: 0;
    }

    .all_articles_archive .side_caro_content,
    .all_videos_archive .side_caro_content,
    .all_podcasts_archive .side_caro_content {
        width: 100%;
        min-width: 0;
    }

    .all_articles_archive .search_article_grid,
    .all_videos_archive .search_article_grid,
    .all_podcasts_archive .search_podcast_grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px 20px;
        justify-content: stretch;
        width: 100%;
    }

    .all_articles_archive .search_result_item,
    .all_videos_archive .search_result_item,
    .all_articles_archive .search_result_item > a,
    .all_videos_archive .search_result_item > a,
    .all_podcasts_archive .podcast_card {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .all_articles_archive .search_result_item > a,
    .all_videos_archive .search_result_item > a {
        height: auto;
        min-height: 500px;
        padding: 14px;
        border-radius: 7px;
    }

    .all_articles_archive .search_article_grid .image,
    .all_videos_archive .search_article_grid .image {
        height: auto;
        aspect-ratio: 16 / 9;
        border-radius: 6px;
    }

    .all_articles_archive .search_article_grid h2,
    .all_videos_archive .search_article_grid h2 {
        display: -webkit-box;
        height: auto;
        min-height: 48px;
        margin: 16px 0 12px;
        overflow: hidden;
        font-size: 20px;
        line-height: 24px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .all_articles_archive .search_article_grid .post_snippet,
    .all_videos_archive .search_article_grid .post_snippet {
        font-size: 14px;
        line-height: 21px;
        -webkit-line-clamp: 4;
    }

    .all_podcasts_archive .podcast_card {
        height: auto;
        min-height: 500px;
        padding: 14px;
        border-radius: 7px;
    }

    .all_podcasts_archive .podcast_card .image {
        border-radius: 6px;
    }

    .all_podcasts_archive .podcast_card h3 {
        display: -webkit-box;
        height: 40px;
        margin: 14px 0 10px;
        overflow: hidden;
        font-size: 18px;
        line-height: 20px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .all_podcasts_archive .podcast_card .post_snippet {
        display: -webkit-box;
        height: 100px;
        overflow: hidden;
        font-size: 14px;
        line-height: 20px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 5;
    }

    .all_articles_archive .search_load_more,
    .all_videos_archive .search_load_more,
    .all_podcasts_archive .search_load_more {
        margin-top: 26px;
    }
}

@media only screen and (max-width: 560px) {
    .all_articles_archive .search_article_grid,
    .all_videos_archive .search_article_grid,
    .all_podcasts_archive .search_podcast_grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}


/* Keep category/tag/View All banner copy centred and clear of the mobile header. */
@media only screen and (max-width: 820px) {
    .small_banner:is(.category_page, .tag_page) .text {
        top: 50%;
        bottom: auto;
        transform: translateY(calc(-50% + 18px));
    }
}
/* Responsive homepage mixed-content hero carousel (2026-10-06). */
@media only screen and (max-width: 820px) {
    .homepage_hero .homepage_hero_media {
        height: var(--mobile-archive-hero-height);
    }

    .homepage_hero .homepage_hero_media_item img {
        object-position: 68% 50%;
    }

    .homepage_hero .homepage_hero_copy {
        position: relative;
        inset: auto;
        z-index: 2;
        display: grid;
        pointer-events: none;
    }

    .homepage_hero .homepage_hero_text {
        grid-area: 1 / 1;
    }

    body.home .homepage_hero > .homepage_hero_next {
        top: calc(var(--mobile-archive-hero-height) / 2) !important;
        right: 4vw !important;
        width: 48px;
        height: 48px;
        padding: 10px;
    }
}
/* Match the mobile homepage red to the header (2026-10-06). */
@media only screen and (max-width: 820px) {
    body.home {
        background: #60140f;
    }

    body.home .homepage_hero > .homepage_hero_next:hover,
    body.home .homepage_hero > .homepage_hero_next:focus-visible {
        background: #60140f;
    }
}
/* Live homepage header and notification bar layout (2026-10-06). */
body.home.ai-homepage-live #header,
body.admin-bar.home.ai-homepage-live #header {
    position: relative;
    top: 0;
    box-sizing: border-box;
    width: 100%;
    background: #60140f;
}

body.home.ai-homepage-live #header .wrapper > div {
    align-items: center;
}

body.home.ai-homepage-live #menu {
    align-items: center;
}

body.home.ai-homepage-live .big_menu {
    background: #60140f;
}

@media only screen and (min-width: 821px) {
    body.home.ai-homepage-live #header {
        padding: 12px 0;
    }

    body.home.ai-homepage-live #header #logo {
        width: clamp(110px, 8vw, 140px);
    }

    body.home.ai-homepage-live #menu > a,
    body.home.ai-homepage-live #menu > .open_search,
    body.home.ai-homepage-live #menu > .ai_admin_articles_menu {
        transform: none;
    }
}

/* Live homepage: keep the header/search overlay visually continuous and compact. */
@media only screen and (min-width: 1000px) {
    body.home.ai-homepage-live #menu > .menu_open,
    body.home.ai-homepage-live #menu > .menu_close,
    body.home.ai-homepage-live #menu > .search_close {
        top: 0;
    }

    body.home.ai-homepage-live .search_popup_content {
        height: 400px;
        background: #60140f;
    }

    body.home.ai-homepage-live .search_popup_back {
        top: 400px;
    }
}

@media only screen and (max-width: 820px) {
    .ai_live_bar {
        margin: -12px 0 10px;
        min-height: 34px;
        padding: 5px 12px;
        gap: 7px;
        font-size: 13px;
        line-height: 20px;
    }

    body.ai-site-live:not(.home) #header > .wrapper {
        margin-top: 0;
    }
}

/* Move the desktop navigation as one row so Live on/off cannot desynchronise it. */
@media only screen and (min-width: 1000px) {
    body:not(.home) #header #menu {
        transform: translateY(14px);
    }

    body:not(.home) #header #menu > a,
    body:not(.home) #header #menu > .open_search,
    body:not(.home) #header #menu > .ai_admin_articles_menu {
        transform: none;
    }

    body:not(.home) #header #menu > .menu_open,
    body:not(.home) #header #menu > .menu_close,
    body:not(.home) #header #menu > .search_close {
        top: 0;
    }
}

/* Compact homepage live announcement on mobile. */
@media only screen and (max-width: 820px) {
    .homepage_live_banner {
        min-height: 36px;
        padding: 6px 12px;
        gap: 7px;
        font-size: 13px;
        line-height: 22px;
    }

    .homepage_live_banner_dot {
        width: 8px;
        height: 8px;
        flex-basis: 8px;
    }

    body.home.ai-homepage-live .homepage_live_hero {
        margin-bottom: 24px;
    }
}
/* Give the mobile homepage hero heading clear side padding. */
@media only screen and (max-width: 820px) {
    body.home .homepage_hero .homepage_hero_text {
        padding-right: 24px;
        padding-left: 24px;
    }

    body.home .homepage_hero .homepage_hero_text .big_title {
        font-size: clamp(24px, 8.2vw, 40px);
    }
}

@media only screen and (max-width: 380px) {
    body.home .homepage_hero .homepage_hero_text {
        padding-right: 20px;
        padding-left: 20px;
    }

    body.home .homepage_hero .homepage_hero_text .big_title {
        font-size: clamp(23px, 7.8vw, 30px);
    }
}
/* Article-only banner image alignment. */
body.home .homepage_hero .homepage_hero_media_item[data-content-type="post"] > img,
body:is(.articles-archive, .page-template-TEMPLATE-articles) .big_banner.mobile_archive_hero > img,
body.single-post .single_banner .image > img {
    object-position: 50% 0 !important;
}
/* Article-card-only thumbnail alignment. */
.article_caro:not(.video_caro) .image > img,
.search_article_grid:not(.search_video_grid):not(.video_article_grid) .image > img,
.sidebar_latest_article_card .image > img {
    object-position: 50% 0 !important;
}
/* Never overlap the live homepage player with the first Articles rail. */
body.home.ai-homepage-live .article_caro.first.article_top_all_way {
    top: 0 !important;
    margin-top: 0 !important;
    transform: none !important;
    clear: both;
}

/* Podcast archive headings and arrows share a single, reserved toolbar row. */
@media only screen and (min-width: 821px) {
    body.post-type-archive-podcasts {
        --podcast-archive-label-gutter: 0px;
        --podcast-archive-heading-height: 48px;
        --podcast-archive-heading-gap: 24px;
    }

    body.post-type-archive-podcasts .podcast_caro .side_caro_grid,
    body.post-type-archive-podcasts .podcast_series_list .side_caro_grid {
        position: relative;
        box-sizing: border-box;
        grid-template-columns: minmax(0, 1fr);
        column-gap: 0;
        padding-left: var(--podcast-archive-label-gutter);
    }

    body.post-type-archive-podcasts .podcast_caro .side_caro_grid > .side_text,
    body.post-type-archive-podcasts .podcast_series_list .side_caro_grid > .side_text {
        grid-column: 1;
        grid-row: 1;
        align-self: start;
        justify-self: start;
        width: auto;
        margin: 0;
        padding: 0;
        left: 0;
        bottom: auto;
        top: 0;
        height: var(--podcast-archive-heading-height);
        display: flex;
        align-items: center;
        z-index: 2;
        writing-mode: horizontal-tb;
        transform: none;
        font-size: clamp(40px, 2.85vw, 48px);
        line-height: 1;
        white-space: nowrap;
    }

    body.post-type-archive-podcasts .podcast_caro .side_caro_content,
    body.post-type-archive-podcasts .podcast_series_list .podcast_series_content {
        grid-column: 1;
        grid-row: 1;
    }

    body.post-type-archive-podcasts .podcast_caro.first {
        padding-top: 32px;
    }

    body.post-type-archive-podcasts .podcast_caro .carousel {
        padding-top: calc(var(--podcast-archive-heading-height) + var(--podcast-archive-heading-gap));
    }

    body.post-type-archive-podcasts .podcast_caro .carousel .carousel-prev,
    body.post-type-archive-podcasts .podcast_caro .carousel .carousel-next {
        top: 0 !important;
        height: var(--podcast-archive-heading-height);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        line-height: 0;
        transform: none;
    }

    body.post-type-archive-podcasts .podcast_caro .carousel-prev img,
    body.post-type-archive-podcasts .podcast_caro .carousel-next img {
        display: block;
        width: 100%;
        height: auto;
    }


    body.post-type-archive-podcasts .podcast_series_list .side_caro_grid > .side_text.top_moved {
        top: 0 !important;
    }

    body.post-type-archive-podcasts .home_sidebar_grid.archive_grid {
        margin-top: 32px;
    }

    body.post-type-archive-podcasts .archive_grid .podcast_caro {
        margin-bottom: 32px;
    }
}

/* Archive dividers follow the actual card widths, including premium overflow. */
body.post-type-archive-podcasts .podcast_caro {
    border-bottom-color: transparent !important;
}

body.post-type-archive-podcasts .podcast_caro::after {
    display: none !important;
}

/* Match Podcasts: no divider between the Videos Latest rail and Shows. */
body:is(.post-type-archive-video, .post-type-archive-videos) .video_top_all_way::after {
    display: none !important;
}

@media only screen and (min-width: 821px) {
    body.post-type-archive-podcasts .archive_grid .podcast_caro .side_caro_content {
        position: relative;
    }

    body.post-type-archive-podcasts .archive_grid .podcast_caro .side_caro_content::after,
    body.post-type-archive-podcasts .archive_grid .podcast_caro:first-child .side_caro_content::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: calc(var(--ai-section-divider-pad) * -1);
        height: 1px;
        background: var(--ai-section-divider);
        pointer-events: none;
    }

    /* The Latest divider shares the following rows' width, not the sidebar's. */
    body.post-type-archive-podcasts .archive_grid .podcast_caro:first-child .side_caro_content::before {
        top: -32px;
        bottom: auto;
    }
}

/* Podcast archive only: align every rail to the banner panel's 10vw inset. */
@media only screen and (min-width: 821px) {
    body.post-type-archive-podcasts .podcast_caro.first > .wrapper,
    body.post-type-archive-podcasts .home_sidebar_grid.archive_grid > .wrapper {
        width: 86%;
        max-width: none;
        margin-left: 10%;
        margin-right: 4%;
        right: auto;
    }

    body.post-type-archive-podcasts .podcast_caro .side_caro_content,
    body.post-type-archive-podcasts .podcast_caro .carousel,
    body.post-type-archive-podcasts .podcast_caro .carousel-track-container {
        width: 100% !important;
        min-width: 0;
        max-width: none;
    }

    body.post-type-archive-podcasts .podcast_caro.all_way .side_caro_content {
        width: 90vw !important;
    }

    body.post-type-archive-podcasts .podcast_caro .carousel-track {
        width: 100% !important;
        margin-left: 0 !important;
        gap: 24px !important;
    }

    body.post-type-archive-podcasts .podcast_caro .carousel .carousel-item {
        flex: 0 0 250px !important;
        width: 250px !important;
        max-width: 250px !important;
        min-width: 0 !important;
        padding: 0 !important;
    }

    body.post-type-archive-podcasts .archive_grid:not(.hide_right_sidebar) .podcast_caro:not(.all_way) .carousel .carousel-item {
        flex-basis: 250px !important;
        width: 250px !important;
        max-width: 250px !important;
    }

    body.post-type-archive-podcasts .archive_grid:not(.hide_right_sidebar) .podcast_caro:not(.all_way) .carousel-track {
        gap: 38px !important;
    }

    /* Keep four original-size cards rather than stretching the rail. */
    body.post-type-archive-podcasts .archive_grid:not(.hide_right_sidebar) > .wrapper > div > div:first-child {
        min-width: 0;
        max-width: 1114px;
        width: 100%;
    }

    body.post-type-archive-podcasts .podcast_caro .carousel-item > a,
    body.post-type-archive-podcasts .podcast_caro.first .latest_podcast_carousel .carousel-item > a,
    body.post-type-archive-podcasts .podcast_caro .carousel_join_promo_item .sidebar_join_promo {
        box-sizing: border-box;
        width: 100%;
        min-width: 0 !important;
        max-width: 100%;
    }

    body.post-type-archive-podcasts .podcast_caro .carousel .carousel-next {
        right: 0 !important;
    }

    body.post-type-archive-podcasts .podcast_caro .carousel .carousel-prev {
        right: 70px !important;
    }

    body.post-type-archive-podcasts .podcast_caro.all_way .carousel .carousel-next {
        right: 4vw !important;
    }

    body.post-type-archive-podcasts .podcast_caro.all_way .carousel .carousel-prev {
        right: calc(4vw + 70px) !important;
    }
}

@media only screen and (min-width: 1201px) {
    body.post-type-archive-podcasts .archive_grid:not(.hide_right_sidebar) > .wrapper > div {
        grid-template-columns: minmax(0, 1fr) clamp(250px, 20vw, 353px);
        gap: clamp(24px, 2vw, 38px);
        width: 100%;
        max-width: calc(1114px + clamp(250px, 20vw, 353px) + clamp(24px, 2vw, 38px));
    }

    /* Keep the Videos content/sidebar region the same width as Podcasts. */
    body:is(.post-type-archive-video, .post-type-archive-videos) .video_archive_sections:not(.hide_right_sidebar) > .wrapper > div {
        grid-template-columns: minmax(0, 1fr) clamp(250px, 20vw, 353px);
        gap: clamp(24px, 2vw, 38px);
        width: 100%;
        max-width: calc(1114px + clamp(250px, 20vw, 353px) + clamp(24px, 2vw, 38px));
    }

    body:is(.post-type-archive-video, .post-type-archive-videos) .video_archive_sections:not(.hide_right_sidebar) > .wrapper > div > div:first-child {
        width: 100%;
        min-width: 0;
        max-width: 1114px;
    }
}



/* Articles and Videos: horizontal headings with one shared toolbar and compact section spacing. */
@media only screen and (min-width: 821px) {
    body:is(.articles-archive, .page-template-TEMPLATE-articles, .post-type-archive-video, .post-type-archive-videos) .article_caro .side_caro_grid {
        display: grid;
        position: relative;
        grid-template-columns: minmax(0, 1fr);
        gap: 24px 0;
        padding: 0;
    }

    body:is(.articles-archive, .page-template-TEMPLATE-articles, .post-type-archive-video, .post-type-archive-videos) .article_caro .side_caro_grid > .side_text {
        grid-area: 1 / 1;
        position: relative;
        inset: auto;
        align-self: start;
        justify-self: start;
        box-sizing: border-box;
        width: calc(100% - 140px);
        min-height: 48px;
        height: auto;
        margin: 0 !important;
        padding: 0;
        display: flex;
        align-items: center;
        writing-mode: horizontal-tb;
        transform: none;
        font-size: clamp(40px, 2.85vw, 48px);
        line-height: 1;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    body:is(.articles-archive, .page-template-TEMPLATE-articles, .post-type-archive-video, .post-type-archive-videos) .article_caro .side_caro_content {
        grid-area: 2 / 1;
        width: 100% !important;
        min-width: 0;
    }

    body:is(.articles-archive, .page-template-TEMPLATE-articles, .post-type-archive-video, .post-type-archive-videos) .article_caro .carousel {
        position: relative;
        width: 100% !important;
        min-width: 0;
        margin-top: 0;
        padding-top: 0;
    }

    body:is(.articles-archive, .page-template-TEMPLATE-articles, .post-type-archive-video, .post-type-archive-videos) .article_caro .carousel .carousel-prev,
    body:is(.articles-archive, .page-template-TEMPLATE-articles, .post-type-archive-video, .post-type-archive-videos) .article_caro .carousel .carousel-next {
        top: -72px !important;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
        border: 0;
        line-height: 0;
        transform: none;
    }

    body:is(.articles-archive, .page-template-TEMPLATE-articles, .post-type-archive-video, .post-type-archive-videos) .article_caro .carousel .carousel-next {
        right: 0 !important;
    }

    body:is(.articles-archive, .page-template-TEMPLATE-articles, .post-type-archive-video, .post-type-archive-videos) .article_caro .carousel .carousel-prev {
        right: 70px !important;
    }

    body:is(.articles-archive, .page-template-TEMPLATE-articles, .post-type-archive-video, .post-type-archive-videos) .article_caro .carousel-prev img,
    body:is(.articles-archive, .page-template-TEMPLATE-articles, .post-type-archive-video, .post-type-archive-videos) .article_caro .carousel-next img {
        display: block;
        width: 100%;
        height: auto;
    }

    body:is(.articles-archive, .page-template-TEMPLATE-articles, .post-type-archive-video, .post-type-archive-videos) .article_caro.first {
        top: 0 !important;
        margin-top: 0;
        padding-top: 32px;
        padding-bottom: 40px;
    }

    body:is(.articles-archive, .page-template-TEMPLATE-articles, .post-type-archive-video, .post-type-archive-videos) .article_caro.first::after {
        bottom: 0;
    }

    body:is(.articles-archive, .page-template-TEMPLATE-articles, .post-type-archive-video, .post-type-archive-videos) .home_sidebar_grid {
        top: 0 !important;
        margin-top: 32px;
    }

    body:is(.articles-archive, .page-template-TEMPLATE-articles, .post-type-archive-video, .post-type-archive-videos) .home_sidebar_grid .article_caro:not(.last) {
        padding-bottom: 40px;
        margin-bottom: 32px;
    }

    /* Share the Podcast archive inset; only all_way rails reach the viewport edge. */
    body:is(.articles-archive, .page-template-TEMPLATE-articles, .post-type-archive-video, .post-type-archive-videos) .article_caro.first > .wrapper,
    body:is(.articles-archive, .page-template-TEMPLATE-articles, .post-type-archive-video, .post-type-archive-videos) .home_sidebar_grid > .wrapper {
        width: 86%;
        max-width: none;
        margin-left: 10%;
        margin-right: 4%;
        right: auto;
    }

    body:is(.articles-archive, .page-template-TEMPLATE-articles, .post-type-archive-video, .post-type-archive-videos) .article_caro.all_way .side_caro_content {
        width: 90vw !important;
    }

    body:is(.articles-archive, .page-template-TEMPLATE-articles, .post-type-archive-video, .post-type-archive-videos) .article_caro .carousel-track-container {
        width: 100% !important;
        min-width: 0;
        max-width: none;
    }

    body:is(.articles-archive, .page-template-TEMPLATE-articles, .post-type-archive-video, .post-type-archive-videos) .article_caro.all_way .carousel .carousel-next {
        right: 4vw !important;
    }

    body:is(.articles-archive, .page-template-TEMPLATE-articles, .post-type-archive-video, .post-type-archive-videos) .article_caro.all_way .carousel .carousel-prev {
        right: calc(4vw + 70px) !important;
    }

    body:is(.articles-archive, .page-template-TEMPLATE-articles, .post-type-archive-video, .post-type-archive-videos) .home_sidebar_grid > .wrapper > div {
        align-items: start;
    }

    body:is(.articles-archive, .page-template-TEMPLATE-articles, .post-type-archive-video, .post-type-archive-videos) .home_sidebar_grid > .wrapper > div > div:first-child {
        min-width: 0;
    }

    body:is(.articles-archive, .page-template-TEMPLATE-articles, .post-type-archive-video, .post-type-archive-videos) .article_caro.first::after {
        left: 10%;
        right: 4%;
        width: auto;
        transform: none;
    }

    body:is(.articles-archive, .page-template-TEMPLATE-articles, .post-type-archive-video, .post-type-archive-videos) .home_sidebar_grid.hide_right_sidebar .article_caro:not(.last)::after {
        width: 90vw;
    }
}

/* Homepage: shared horizontal carousel titles and membership-aware edge overflow. */
@media only screen and (min-width: 821px) {
    body.home :is(.article_caro, .podcast_caro) .side_caro_grid {
        display: grid;
        position: relative;
        grid-template-columns: minmax(0, 1fr);
        gap: 24px 0;
        padding: 0;
    }

    body.home :is(.article_caro, .podcast_caro) .side_caro_grid > .side_text {
        grid-area: 1 / 1;
        position: relative;
        inset: auto;
        align-self: start;
        justify-self: start;
        box-sizing: border-box;
        width: calc(100% - 140px);
        min-height: 48px;
        height: auto;
        margin: 0 !important;
        padding: 0;
        display: flex;
        align-items: center;
        writing-mode: horizontal-tb;
        transform: none;
        font-size: clamp(40px, 2.85vw, 48px);
        line-height: 1;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    body.home :is(.article_caro, .podcast_caro) .side_caro_content {
        grid-area: 2 / 1;
        width: 100% !important;
        min-width: 0;
    }

    body.home :is(.article_caro, .podcast_caro) .carousel {
        position: relative;
        width: 100% !important;
        min-width: 0;
        margin-top: 0;
        padding-top: 0;
    }

    body.home :is(.article_caro, .podcast_caro) .carousel .carousel-prev,
    body.home :is(.article_caro, .podcast_caro) .carousel .carousel-next {
        top: -72px !important;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
        border: 0;
        line-height: 0;
        transform: none;
    }

    body.home :is(.article_caro, .podcast_caro) .carousel .carousel-next {
        right: 0 !important;
    }

    body.home :is(.article_caro, .podcast_caro) .carousel .carousel-prev {
        right: 70px !important;
    }

    body.home :is(.article_caro, .podcast_caro) .carousel-prev img,
    body.home :is(.article_caro, .podcast_caro) .carousel-next img {
        display: block;
        width: 100%;
        height: auto;
    }

    body.home :is(.article_caro, .podcast_caro).first {
        top: 0 !important;
        margin-top: 0;
        padding-top: 32px;
        padding-bottom: 40px;
    }

    body.home :is(.article_caro, .podcast_caro).first::after {
        bottom: 0;
    }

    body.home .home_sidebar_grid {
        top: 0 !important;
        margin-top: 32px;
    }

    body.home .home_sidebar_grid :is(.article_caro, .podcast_caro):not(.last) {
        padding-bottom: 40px;
        margin-bottom: 32px;
    }

    /* Share the Podcast archive inset; only all_way rails reach the viewport edge. */
    body.home :is(.article_caro, .podcast_caro).first > .wrapper,
    body.home .home_sidebar_grid > .wrapper {
        width: 86%;
        max-width: none;
        margin-left: 10%;
        margin-right: 4%;
        right: auto;
    }

    body.home :is(.article_caro, .podcast_caro).all_way .side_caro_content {
        width: 90vw !important;
    }

    body.home :is(.article_caro, .podcast_caro) .carousel-track-container {
        width: 100% !important;
        min-width: 0;
        max-width: none;
    }

    body.home :is(.article_caro, .podcast_caro).all_way .carousel .carousel-next {
        right: 4vw !important;
    }

    body.home :is(.article_caro, .podcast_caro).all_way .carousel .carousel-prev {
        right: calc(4vw + 70px) !important;
    }

    body.home .home_sidebar_grid > .wrapper > div {
        align-items: start;
    }

    body.home .home_sidebar_grid > .wrapper > div > div:first-child {
        min-width: 0;
    }

    body.home :is(.article_caro, .podcast_caro).first::after {
        left: 10%;
        right: 4%;
        width: auto;
        transform: none;
    }

    body.home .home_sidebar_grid.hide_right_sidebar :is(.article_caro, .podcast_caro):not(.last)::after {
        width: 90vw;
    }

    body.home .home_sidebar_grid :is(.article_caro, .podcast_caro).last {
        margin-top: 0;
    }
}


/* Search results: horizontal section titles and responsive podcast rows. */
@media only screen and (min-width: 821px) {
    body.search .search_results_archive .search_results_section.side_caro_grid {
        display: grid;
        position: relative;
        grid-template-columns: minmax(0, 1fr);
        gap: 24px 0;
    }

    body.search .search_results_archive .search_results_section > .side_text {
        grid-area: 1 / 1;
        position: relative;
        inset: auto;
        align-self: start;
        width: 100%;
        min-height: 48px;
        margin: 0;
        padding: 0 64px 0 0;
        writing-mode: horizontal-tb;
        transform: none;
        font-size: clamp(40px, 2.85vw, 48px);
        line-height: 1;
    }

    body.search .search_results_archive .search_results_section > .side_caro_content {
        grid-area: 2 / 1;
        width: 100%;
        min-width: 0;
        max-width: none;
    }
}

@media only screen and (min-width: 821px) and (max-width: 1200px) {
    body.search .search_results_archive.hide_right_sidebar .search_slider_next {
        top: 0;
        right: 0;
        height: 48px;
    }
}

@media only screen and (min-width: 1201px) {
    body.search .search_results_archive.hide_right_sidebar .search_podcast_grid {
        grid-template-columns: repeat(4, minmax(0, 250px));
        gap: 24px;
    }
}

@media only screen and (min-width: 1401px) {
    body.search .search_results_archive.hide_right_sidebar .search_podcast_grid {
        grid-template-columns: repeat(5, minmax(0, 250px));
    }
}

@media only screen and (min-width: 1600px) {
    body.search .search_results_archive.hide_right_sidebar .search_podcast_grid {
        grid-template-columns: repeat(6, minmax(0, 250px));
    }
}


/* Single Podcast/Video Latest rails: match the homepage horizontal carousel layout. */
@media only screen and (min-width: 821px) {
    body:is(.single-podcasts, .single-video, .single-videos) .home_sidebar_grid:is(.single_podcast_grid, .single_video_grid) {
        top: 0 !important;
        margin-top: 32px;
    }

    body:is(.single-podcasts, .single-video, .single-videos) .home_sidebar_grid:is(.single_podcast_grid, .single_video_grid) > .wrapper {
        width: 86%;
        max-width: none;
        margin-left: 10%;
        margin-right: 4%;
        right: auto;
    }

    body:is(.single-podcasts, .single-video, .single-videos) .home_sidebar_grid:is(.single_podcast_grid, .single_video_grid) :is(.article_caro, .podcast_caro) .side_caro_grid {
        display: grid;
        position: relative;
        grid-template-columns: minmax(0, 1fr);
        gap: 24px 0;
        padding: 0;
    }

    body:is(.single-podcasts, .single-video, .single-videos) .home_sidebar_grid:is(.single_podcast_grid, .single_video_grid) :is(.article_caro, .podcast_caro) .side_caro_grid > .side_text {
        grid-area: 1 / 1;
        position: relative;
        inset: auto;
        align-self: start;
        justify-self: start;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        width: calc(100% - 140px);
        min-height: 48px;
        height: auto;
        margin: 0 !important;
        padding: 0;
        writing-mode: horizontal-tb;
        transform: none;
        font-size: clamp(40px, 2.85vw, 48px);
        line-height: 1;
        white-space: normal;
    }

    body:is(.single-podcasts, .single-video, .single-videos) .home_sidebar_grid:is(.single_podcast_grid, .single_video_grid) :is(.article_caro, .podcast_caro) .side_caro_content {
        grid-area: 2 / 1;
        width: 100% !important;
        min-width: 0;
    }

    body:is(.single-podcasts, .single-video, .single-videos) .home_sidebar_grid:is(.single_podcast_grid, .single_video_grid) :is(.article_caro, .podcast_caro) .carousel {
        position: relative;
        width: 100% !important;
        min-width: 0;
        margin-top: 0;
        padding-top: 0;
    }

    body:is(.single-podcasts, .single-video, .single-videos) .home_sidebar_grid:is(.single_podcast_grid, .single_video_grid) :is(.article_caro, .podcast_caro) .carousel .carousel-prev,
    body:is(.single-podcasts, .single-video, .single-videos) .home_sidebar_grid:is(.single_podcast_grid, .single_video_grid) :is(.article_caro, .podcast_caro) .carousel .carousel-next {
        top: -72px !important;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
        border: 0;
        line-height: 0;
        transform: none;
    }

    body:is(.single-podcasts, .single-video, .single-videos) .home_sidebar_grid:is(.single_podcast_grid, .single_video_grid) :is(.article_caro, .podcast_caro) .carousel .carousel-next {
        right: 0 !important;
    }

    body:is(.single-podcasts, .single-video, .single-videos) .home_sidebar_grid:is(.single_podcast_grid, .single_video_grid) :is(.article_caro, .podcast_caro) .carousel .carousel-prev {
        right: 70px !important;
    }

    body:is(.single-podcasts, .single-video, .single-videos) .home_sidebar_grid:is(.single_podcast_grid, .single_video_grid) :is(.article_caro, .podcast_caro) .carousel-prev img,
    body:is(.single-podcasts, .single-video, .single-videos) .home_sidebar_grid:is(.single_podcast_grid, .single_video_grid) :is(.article_caro, .podcast_caro) .carousel-next img {
        display: block;
        width: 100%;
        height: auto;
    }

    body:is(.single-podcasts, .single-video, .single-videos) .home_sidebar_grid:is(.single_podcast_grid, .single_video_grid) > .wrapper > div {
        align-items: start;
    }

    body:is(.single-podcasts, .single-video, .single-videos) .home_sidebar_grid:is(.single_podcast_grid, .single_video_grid) > .wrapper > div > div:first-child {
        min-width: 0;
    }

    body:is(.single-podcasts, .single-video, .single-videos) .home_sidebar_grid:is(.single_podcast_grid, .single_video_grid) :is(.article_caro, .podcast_caro) .carousel-track-container {
        width: 100% !important;
        min-width: 0;
        max-width: none;
    }

    body:is(.single-podcasts, .single-video, .single-videos) .home_sidebar_grid:is(.single_podcast_grid, .single_video_grid).hide_right_sidebar :is(.article_caro, .podcast_caro).all_way .side_caro_content {
        width: 90vw !important;
    }

    body:is(.single-podcasts, .single-video, .single-videos) .home_sidebar_grid:is(.single_podcast_grid, .single_video_grid).hide_right_sidebar :is(.article_caro, .podcast_caro).all_way .carousel .carousel-next {
        right: 4vw !important;
    }

    body:is(.single-podcasts, .single-video, .single-videos) .home_sidebar_grid:is(.single_podcast_grid, .single_video_grid).hide_right_sidebar :is(.article_caro, .podcast_caro).all_way .carousel .carousel-prev {
        right: calc(4vw + 70px) !important;
    }
}

/* Single Article Related rail: match the homepage horizontal carousel layout. */
@media only screen and (min-width: 821px) {
    body.single-post .related_articles_caro .side_caro_grid {
        display: grid;
        position: relative;
        grid-template-columns: minmax(0, 1fr);
        gap: 24px 0;
        padding: 0;
    }

    body.single-post .related_articles_caro .side_caro_grid > .side_text {
        grid-area: 1 / 1;
        position: relative;
        inset: auto;
        align-self: start;
        justify-self: start;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        width: calc(100% - 140px);
        min-height: 48px;
        height: auto;
        margin: 0 !important;
        padding: 0;
        writing-mode: horizontal-tb;
        transform: none;
        font-size: clamp(40px, 2.85vw, 48px);
        line-height: 1;
        white-space: normal;
    }

    body.single-post .related_articles_caro .side_text_fill {
        color: transparent;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 2px #fff;
    }

    body.single-post .related_articles_caro .side_caro_content {
        grid-area: 2 / 1;
        width: 100% !important;
        min-width: 0;
    }

    body.single-post .related_articles_caro .related_articles_carousel {
        position: relative;
        width: 100% !important;
        min-width: 0;
        margin-top: 0;
        padding-top: 0;
    }

    body.single-post .related_articles_caro .related_articles_carousel .carousel-prev,
    body.single-post .related_articles_caro .related_articles_carousel .carousel-next {
        top: -72px !important;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
        border: 0;
        line-height: 0;
        transform: none;
    }

    body.single-post .related_articles_caro .related_articles_carousel .carousel-next {
        right: 0 !important;
    }

    body.single-post .related_articles_caro .related_articles_carousel .carousel-prev {
        right: 70px !important;
    }

    body.single-post .related_articles_caro .related_articles_carousel .carousel-prev img,
    body.single-post .related_articles_caro .related_articles_carousel .carousel-next img {
        display: block;
        width: 100%;
        height: auto;
    }

    body.single-post .related_articles_caro .related_articles_carousel .carousel-track-container {
        width: 100% !important;
        min-width: 0;
        max-width: none;
    }
}

/* Term title and description treatment for podcast/video taxonomy banners. */
@media only screen and (max-width: 820px) {
    .small_banner:is(.podcast_category_page, .video_category_page, .article_category_page) h1.taxonomy_banner_title,
    .small_banner:is(.podcast_category_page, .video_category_page, .article_category_page) h1.taxonomy_banner_title > span {
        margin: 0;
        font-size: clamp(30px, 9.5vw, 42px) !important;
        line-height: 1.15 !important;
        overflow-wrap: normal;
        word-break: normal;
        -webkit-text-stroke-width: 1px;
    }

    .small_banner:is(.podcast_category_page, .video_category_page) .text > .category_banner_description,
    .small_banner:is(.podcast_category_page, .video_category_page) .text > .tag_banner_description {
        display: block !important;
        max-width: min(100%, 330px) !important;
        max-height: none !important;
        margin-top: 12px;
        overflow: visible !important;
        font-size: clamp(14px, 4vw, 16px) !important;
        line-height: 1.65 !important;
        -webkit-box-orient: initial;
        -webkit-line-clamp: unset !important;
    }

    .small_banner:is(.podcast_category_page, .video_category_page) .text > .category_banner_description *,
    .small_banner:is(.podcast_category_page, .video_category_page) .text > .tag_banner_description * {
        color: inherit;
        font-family: "Archivo", sans-serif !important;
        font-size: inherit !important;
        line-height: inherit !important;
        letter-spacing: normal !important;
        text-transform: none !important;
        -webkit-text-stroke: 0 !important;
    }

    /* Match the mobile information-page heroes: keep the term copy at the
       bottom of the image instead of vertically centring the whole block. */
    .small_banner:is(.podcast_category_page, .video_category_page, .article_category_page) .text {
        top: auto;
        bottom: clamp(16px, 5vw, 28px);
        transform: none;
    }
}

/* Podcast/video taxonomy listings use the standard horizontal section heading. */
.podcast-category-tag-layout .tag_podcast_grid,
body.tax-video_category .video_category_archive .category_article_grid_wrap,
body.category .article_category_archive .category_article_grid_wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px 0;
}

.podcast-category-tag-layout .tag_podcast_grid > .side_text,
body.tax-video_category .video_category_archive .category_article_grid_wrap > .side_text,
body.category .article_category_archive .category_article_grid_wrap > .side_text {
    grid-area: 1 / 1;
    position: relative;
    inset: auto;
    align-self: start;
    justify-self: start;
    width: 100%;
    min-height: 48px;
    margin: 0 !important;
    padding: 0;
    writing-mode: horizontal-tb;
    transform: none;
    font-size: clamp(40px, 2.85vw, 48px);
    line-height: 1;
    white-space: normal;
    overflow-wrap: anywhere;
}

.podcast-category-tag-layout .tag_podcast_grid > .side_caro_content,
body.tax-video_category .video_category_archive .category_article_grid_wrap > .side_caro_content,
body.category .article_category_archive .category_article_grid_wrap > .side_caro_content {
    grid-area: 2 / 1;
    width: 100% !important;
    min-width: 0;
}

@media only screen and (max-width: 820px) {
    .podcast-category-tag-layout .tag_podcast_grid,
    body.tax-video_category .video_category_archive .category_article_grid_wrap,
    body.category .article_category_archive .category_article_grid_wrap {
        gap: 18px 0;
    }

    .podcast-category-tag-layout .tag_podcast_grid > .side_text,
    body.tax-video_category .video_category_archive .category_article_grid_wrap > .side_text,
    body.category .article_category_archive .category_article_grid_wrap > .side_text {
        min-height: 0;
        font-size: clamp(30px, 9.5vw, 42px);
    }
}

/* Align the first Shows tile with the horizontal Shows heading at every width. */
body:is(.post-type-archive-podcasts, .post-type-archive-video) .podcast_series_list .series_list {
    box-sizing: border-box;
    padding-right: 0;
    padding-left: 0;
}

/* Podcast/video category grids share one centred empty state. */
.taxonomy_category_no_results {
    grid-column: 1 / -1;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 220px;
    margin: 0;
    padding: 60px 20px;
    text-align: center;
}

@media only screen and (max-width: 820px) {
    .taxonomy_category_no_results {
        min-height: 160px;
        padding: 40px 16px;
    }
}

/* Taxonomy podcast lists stay fully swipeable on mobile; Load More is desktop-only. */
@media only screen and (max-width: 820px) {
    body.podcast-category-tag-layout .podcast_archive .podcast_grid .search_result_hidden {
        display: flex !important;
    }

    body.podcast-category-tag-layout .podcast_archive .search_load_more {
        display: none;
    }
}

/* Mobile-only long taxonomy descriptions and modal. */
.taxonomy_description_read_more,
.taxonomy_description_modal {
    display: none;
}

.taxonomy_description_modal[hidden] {
    display: none !important;
}

@media only screen and (max-width: 820px) {
    .small_banner:is(.podcast_category_page, .video_category_page) .text > .taxonomy_banner_description_long {
        display: -webkit-box !important;
        max-height: 6.6em !important;
        overflow: hidden !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4 !important;
    }

    .taxonomy_description_read_more {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-top: 10px;
        padding: 7px 13px;
        border: 0;
        border-radius: 7px;
        color: #FFF;
        background: #C52C27;
        font-size: 14px;
        line-height: 1;
        text-transform: uppercase;
        cursor: pointer;
    }

    .taxonomy_description_read_more:hover,
    .taxonomy_description_read_more:focus-visible {
        background: #000;
    }

    body.taxonomy_description_modal_open {
        overflow: hidden;
    }

    .taxonomy_description_modal:not([hidden]) {
        position: fixed;
        inset: 0;
        z-index: 100000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 16px;
    }

    .taxonomy_description_modal_backdrop {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        padding: 0;
        border: 0;
        background: rgba(0, 0, 0, 0.78);
    }

    .taxonomy_description_modal_inner {
        position: relative;
        z-index: 1;
        box-sizing: border-box;
        width: min(100%, 520px);
        max-height: calc(100vh - 32px);
        padding: 26px 20px 22px;
        overflow-y: auto;
        border: 2px solid #FFD645;
        border-radius: 10px;
        color: #000;
        background: #FFF;
    }

    .taxonomy_description_modal_close {
        position: absolute;
        top: 10px;
        right: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        color: #FFF;
        background: #C52C27;
        cursor: pointer;
    }

    .taxonomy_description_modal_close::before,
    .taxonomy_description_modal_close::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 15px;
        height: 2px;
        border-radius: 2px;
        background: #FFF;
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .taxonomy_description_modal_close::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .taxonomy_description_modal_close:hover,
    .taxonomy_description_modal_close:focus-visible {
        background: #000;
    }

    .taxonomy_description_modal_inner h2 {
        margin: 0 42px 16px 0;
        color: #000;
        font-size: clamp(28px, 8vw, 38px);
        line-height: 1;
        text-transform: uppercase;
    }

    .taxonomy_description_modal_content,
    .taxonomy_description_modal_content * {
        color: #000;
        font-family: "Archivo", sans-serif !important;
        font-size: 16px !important;
        line-height: 1.6 !important;
        text-transform: none !important;
        -webkit-text-stroke: 0 !important;
    }

    .taxonomy_description_modal_content p {
        margin: 0;
    }

    .podcast-category-tag-layout .tag_podcast_grid > .side_text,
    body.tax-video_category .video_category_archive .category_article_grid_wrap > .side_text,
    body.category .article_category_archive .category_article_grid_wrap > .side_text {
        line-height: 1.15 !important;
    }
}

/* Desktop podcast/video taxonomy descriptions use the same Read More modal. */
@media only screen and (min-width: 821px) {
    .small_banner:is(.podcast_category_page, .video_category_page) .text > .taxonomy_banner_description_long {
        display: -webkit-box !important;
        max-height: 7.15em !important;
        overflow: hidden !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4 !important;
    }

    .taxonomy_description_read_more {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-top: 12px;
        padding: 8px 15px;
        border: 0;
        border-radius: 7px;
        color: #FFF;
        background: #C52C27;
        font-size: 15px;
        line-height: 1;
        text-transform: uppercase;
        cursor: pointer;
    }

    .taxonomy_description_read_more:hover,
    .taxonomy_description_read_more:focus-visible {
        background: #000;
    }

    body.taxonomy_description_modal_open {
        overflow: hidden;
    }

    .taxonomy_description_modal:not([hidden]) {
        position: fixed;
        inset: 0;
        z-index: 100000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 32px;
    }

    .taxonomy_description_modal_backdrop {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        padding: 0;
        border: 0;
        background: rgba(0, 0, 0, 0.78);
    }

    .taxonomy_description_modal_inner {
        position: relative;
        z-index: 1;
        box-sizing: border-box;
        width: min(100%, 640px);
        max-height: calc(100vh - 64px);
        padding: 32px 28px 28px;
        overflow-y: auto;
        border: 2px solid #FFD645;
        border-radius: 10px;
        color: #000;
        background: #FFF;
    }

    .taxonomy_description_modal_close {
        position: absolute;
        top: 12px;
        right: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        color: #FFF;
        background: #C52C27;
        cursor: pointer;
    }

    .taxonomy_description_modal_close::before,
    .taxonomy_description_modal_close::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 16px;
        height: 2px;
        border-radius: 2px;
        background: #FFF;
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .taxonomy_description_modal_close::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .taxonomy_description_modal_close:hover,
    .taxonomy_description_modal_close:focus-visible {
        background: #000;
    }

    .taxonomy_description_modal_inner h2 {
        margin: 0 48px 18px 0;
        color: #000;
        font-size: 38px;
        line-height: 1;
        text-transform: uppercase;
    }

    .taxonomy_description_modal_content,
    .taxonomy_description_modal_content * {
        color: #000;
        font-family: "Archivo", sans-serif !important;
        font-size: 16px !important;
        line-height: 1.6 !important;
        text-transform: none !important;
        -webkit-text-stroke: 0 !important;
    }

    .taxonomy_description_modal_content p {
        margin: 0;
    }
}

/* Mobile footer/info pages: allow the white body panel to fill the viewport. */
@media only screen and (max-width: 820px) {
    body:is(
        .page-template-TEMPLATE-about-ai,
        .page-template-TEMPLATE-advertise,
        .page-template-TEMPLATE-faqs,
        .page-template-TEMPLATE-mailing-list,
        .page-template-TEMPLATE-plain-text
    ) .post_content.footer_page_content > .wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0;
        margin-left: 0;
    }

    body:is(
        .page-template-TEMPLATE-about-ai,
        .page-template-TEMPLATE-advertise,
        .page-template-TEMPLATE-faqs,
        .page-template-TEMPLATE-mailing-list,
        .page-template-TEMPLATE-plain-text
    ) .post_content.footer_page_content > .wrapper > div {
        display: block;
    }

    body:is(
        .page-template-TEMPLATE-about-ai,
        .page-template-TEMPLATE-advertise,
        .page-template-TEMPLATE-faqs,
        .page-template-TEMPLATE-mailing-list,
        .page-template-TEMPLATE-plain-text
    ) .post_content.footer_page_content .left_content {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        padding-right: 18px;
        padding-left: 18px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }
}

/* Mobile footer/info pages: remove red spacing above and below the white panel. */
@media only screen and (max-width: 820px) {
    body:is(
        .page-template-TEMPLATE-about-ai,
        .page-template-TEMPLATE-advertise,
        .page-template-TEMPLATE-faqs,
        .page-template-TEMPLATE-mailing-list,
        .page-template-TEMPLATE-plain-text
    ) .post_content.footer_page_content {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* Mobile Big Join: improve text contrast while retaining the background image. */
@media only screen and (max-width: 820px) {
    .big_join::before {
        content: "";
        position: absolute;
        z-index: 1;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.74) 0%,
            rgba(0, 0, 0, 0.48) 58%,
            rgba(0, 0, 0, 0.16) 100%
        );
    }
}

/* Timeline seasons use responsive grids with Load More, never horizontal rails. */
@media only screen and (max-width: 1200px) {
    .timeline_season_archive .timeline_season_grid,
    .timeline_season_archive.hide_right_sidebar .timeline_season_grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
        width: 100%;
        max-width: none;
        margin-left: 0;
        padding: 0;
        overflow: visible;
        scroll-snap-type: none;
        touch-action: auto;
    }

    .timeline_season_archive .timeline_podcast_grid,
    .timeline_season_archive.hide_right_sidebar .timeline_podcast_grid {
        grid-template-columns: repeat(3, minmax(0, 250px));
    }

    .timeline_season_archive .timeline_season_grid > .search_result_item,
    .timeline_season_archive .timeline_season_grid > .podcast_card {
        flex: none;
        width: 100% !important;
        max-width: none;
    }

    .timeline_season_archive .search_result_hidden {
        display: none !important;
    }

    .timeline_season_archive .search_load_more {
        display: table !important;
    }
}

@media only screen and (max-width: 1000px) {
    .timeline_season_archive .timeline_season_grid,
    .timeline_season_archive.hide_right_sidebar .timeline_season_grid,
    .timeline_season_archive .timeline_podcast_grid,
    .timeline_season_archive.hide_right_sidebar .timeline_podcast_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 20px;
    }
}

@media only screen and (max-width: 560px) {
    .timeline_season_archive .timeline_season_grid,
    .timeline_season_archive.hide_right_sidebar .timeline_season_grid,
    .timeline_season_archive .timeline_podcast_grid,
    .timeline_season_archive.hide_right_sidebar .timeline_podcast_grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Tablet/mobile sidebars: retain only NewsNow and advertising. */
@media only screen and (max-width: 1200px) {
    .right_sidebar {
        display: flex !important;
        width: 100%;
        max-width: 353px;
        margin: 48px auto 0 !important;
    }

    .right_sidebar > :not(.newsnow):not(.sidebar_ad_slots) {
        display: none !important;
    }

    .right_sidebar .newsnow {
        display: block;
        margin: 0 auto 24px;
    }

    .right_sidebar .sidebar_ad_slots {
        display: grid;
        width: 100%;
        max-width: 353px;
        margin: 0 auto !important;
    }

    .hide_right_sidebar .right_sidebar {
        display: none !important;
    }
}
