/* 
 * blog_resource.css
 * Description: Blog or Post style
 * Author: Dev
 * Created: 2025
 * Version: 1.0
 * Note: only load on blog or post pages
 */

.kbh_featured_posts .podcast-title a,
.kbh_resources_blog .post-title a {
    font-family: 'Trend Sans One';
    text-transform: uppercase;
    color: #b73093;
}

.kbh_featured_posts .podcast-title a:hover,
.kbh_resources_blog .post-title a:hover {
    text-decoration: unset;
}

.kbh_resources_blog .blog-listing-title {
    text-transform: lowercase !important;
    color: #5a5b5d !important;
    text-align: center;
    padding: 84px 0 0;
    margin: 0;
}

.kbh_featured_posts .blog-listing-title {
    text-align: center;
    padding-top: 50px;
    color: #5a5b5d !important;
}

.kbh_resources_blog .row {
    margin: 0;
}

.kbh_resources_blog .tab-content>.row,
.kbh_resources_blog .article {
    padding: 76px 0 90px !important;
}

.kbh_resources_blog .posts-container .kbh_flex {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
    padding-bottom: 50px;
    gap: 44px 30px;
}

.kbh_resources_blog .posts-container .post {
    border-radius: 0;
    width: 31%;
    margin: 0;
}

#primary.kbh_resources_blog {
    scroll-margin-top: 140px;
}

.kbh_resources_blog .post-thumb__img {
    padding-bottom: clamp(206px, 17.1vw, 206px);
}

.kbh_resources_blog .post-category,
.kbh_resources_blog .post-category+span {
    color: #888888;
    letter-spacing: 0.2px;
    margin-bottom: 0;
    font-style: normal;
}

.kbh_resources_blog .posts-container .post-thumb,
.kbh_resources_blog .posts-container .post-content {
    width: 100%;
}

.kbh_resources_blog .posts-container,
.kbh_resources_blog .posts-container .post-thumb {
    padding: 0;
}

.kbh_resources_blog .posts-container .post-content {
    padding: 18px 25px 35px;
}

.kbh_resources_blog .post-title {
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding-top: 15px;
}

.kbh_resources_blog .pagination {
    justify-content: center !important;
    gap: 18px;
}

.kbh_resources_blog .pagination-newer,
.kbh_resources_blog .pagination-older {
    background: url(/wp-content/themes/kinderberry-hill-conversion/assets/img/2025/pink-anchor.png) center / contain no-repeat;
    width: 30px;
}

.kbh_resources_blog .pagination-newer {
    transform: rotate(180deg);
}

.kbh_resources_blog .pagination-older {}

.kbh_resources_blog .pagination a {
    color: transparent;
    width: 30px;
}

.kbh_general_tab .tab.active,
.kbh_general_tab .tab2.active {
    display: block;
}

.kbh_general_tab .tab-content {
    display: none;
}

.kbh_general_tab .tab-content.active {
    display: block;
}

.kbh_resources_blog .kbh_general_tab {
    background: url(/wp-content/themes/kinderberry-hill-conversion/assets/img/2025/Layer-4298-copy-2.webp) top center / contain no-repeat;
    background-size: 100% 230px !important;
}

.kbh_general_tab .tab-content.active {
    font-size: 20px;
    color: #fff;
}

.kbh_general_tab .tabs {
    padding: 60px 0 23px;
    flex-direction: row;
    flex-wrap: wrap;
    display: flex;
    gap: 45px;
}

.kbh_general_tab .tab,
.kbh_general_tab .tab a,
.kbh_general_tab .tab2,
.kbh_general_tab .tab2 a {
    border-bottom: 4px solid transparent;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 17px;
    color: #fff;
}

.kbh_general_tab .tab.active,
.kbh_general_tab .tab2.active {
    border-color: #b73093;
}

.kbh_resources_blog .kbh_blog_resourse_sidebar {
    height: 104px;
}

.kbh_resources_blog .sidebar-top {
    flex-direction: row;
    margin-bottom: 50px;
    flex-wrap: nowrap;
    gap: 19px 35px;
    display: flex;
    width: 100%;
}

.kbh_resources_blog .subscribe-container {
    max-width: 100%;
    width: 100%;
    padding: 0;
}

.kbh_resources_blog .sidebar-top>* {
    width: 33%;
}

.kbh_resources_blog .sidebar-top div#news_events_taxonomies-2 {
    justify-content: space-between;
    gap: 19px 35px;
    display: flex;
    width: 100%;
}

.kbh_resources_blog .sidebar-top div#news_events_taxonomies-2>div {
    width: 33.3%;
}

.kbh_resources_blog .widget form {
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    padding: 0 !important;
}

.kbh_resources_blog .widget .input-group input,
.kbh_resources_blog .widget select {
    background: #ffffff00;
    /* border-radius: 4px; */
    line-height: 30px;
    color: #5a5b5d;
    font-weight: 600;
    font-size: 18px;
    padding: 12px;
    width: 100%;
    border: 0;
}

.kbh_resources_blog input.btn.btn-search {
    background: #d3d3d3 url("/wp-content/uploads/2023/05/search-icon.png") center / 28px no-repeat;
    border-radius: 0 !important;
    width: 50px !important;
    margin-right: 3px;
    height: 46px;
}

.kbh_resources_blog .widget select {
    padding-right: 55px !important;
    position: relative;
}

.kbh_resources_blog .widget__taxonomies-search,
.kbh_resources_blog .widget_categories {
    background: #fff;
    position: relative;
    border-radius: 4px;
    z-index: 0;
}

.kbh_resources_blog .widget__taxonomies-search:before,
.kbh_resources_blog .widget_categories:before {
    background: #d3d3d3 url(/wp-content/themes/kinderberry-hill-conversion/assets/img/2025/unnamed-file-1.png) center / 22px no-repeat;
    position: absolute;
    border-radius: 3px;
    height: 48px;
    content: "";
    width: 50px;
    right: 4px;
    z-index: 0;
    top: 3px;
}

.kbh_featured_posts .kbh_podcast-card_slider {
    box-shadow: 0 0 26px 5px rgba(0, 0, 0, 0.2);
    background: #ffffff;
    margin: 60px 0 75px;
}

.kbh_featured_posts .podcast-card {
    align-items: flex-start;
    background: #fff;
    overflow: hidden;
    display: flex;
}

.kbh_featured_posts .podcast-image {
    flex: 1 1 50%;
}

.kbh_featured_posts .podcast-image img {
    /* width: 480px; */
    height: 436px;
    width: 100%;
    /* height: 420px; */
    object-fit: cover;
    display: block;
}

.kbh_featured_posts .podcast-content {
    flex: 1 1 50%;
    padding: 45px;
}

.kbh_featured_posts .podcast-category {
    text-decoration: none;
    display: inline-block;
    margin-bottom: 13px;
    color: #333333;
    font-weight: 600;
}

.kbh_featured_posts .podcast-title {
    margin-bottom: 18px;
    font-weight: bold;
    color: #b73093;
    font-size: 22px;
}

.kbh_featured_posts .squiggle {
    padding-bottom: 20px;
}

.kbh_featured_posts .podcast-content p {
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    font-weight: 600;
    overflow: hidden;
}

.kbh_featured_posts .squiggle img {
    object-position: left;
    object-fit: contain;
    height: 18px;
    width: 100%;
}

.kbh_featured_posts .slick-dots li button {
    background: none;
    color: #b73093;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
}

.kbh_featured_posts .slick-dots li.slick-active button {
    color: #5a5b5d;
}

.kbh_featured_posts .slick-dots li.slick-active button:before {
    opacity: 0;
}

.kbh_featured_posts .slick-arrow {
    border-radius: 50%;
    color: #fff;
    width: 35px;
    height: 35px;
    z-index: 1;
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: 0;
    transform: unset;
}

.kbh_featured_posts .slick-arrow.slick-next {
    background: #b73093 url(/wp-content/themes/kinderberry-hill-conversion/assets/img/2025/copy-2.png) 13px center / 13px 16px no-repeat;
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.kbh_featured_posts .slick-arrow.slick-prev {
    background: #b73093 url(/wp-content/themes/kinderberry-hill-conversion/assets/img/2025/copy-3.png) 10px center / 12px 16px no-repeat;
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.kbh_featured_posts .slick-dots {
    width: fit-content;
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.kbh_featured_posts .slider-nav {
    display: grid;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 115px;
    left: calc(50% + 46px);
    padding-right: 50px;
    gap: 15px;
}

.kbh_resources_blog .pagination .chevron-left,
.kbh_resources_blog .pagination .chevron-right,
.kbh_resources_blog .post-excerpt,
.kbh_resources_blog .subscribe-form,
.kbh_resources_blog .subscribe-image,
.kbh_resources_blog .widget-title,
.kbh_resources_blog label.screen-reader-text,
.kbh_resources_blog #taxonomies-6 select.taxonomy-dropdown,
.kbh_resources_blog .blog-listing-subtext {
    display: none;
}

@media screen and (min-width: 1200px) {
    .kbh_featured_posts .container {
        width: 1020px;
    }

    .kbh_general_tab .container {
        width: 1050px;
    }
}

@media screen and (min-width: 992px) {
    .kbh_featured_posts .kbh_image-wrapper {
        mask: url(/wp-content/themes/kinderberry-hill-conversion/assets/svg/scallop_right.svg);
        mask-size: 100%;
        -webkit-mask-position: left top;
        -webkit-mask: url(/wp-content/themes/kinderberry-hill-conversion/assets/svg/scallop_right.svg);
        -webkit-mask-size: 100%;
        -webkit-mask-position: left top;
    }
}

@media only screen and (max-width: 1199px) {
    .kbh_featured_posts .slider-nav {
        bottom: 29px;
    }

    .kbh_featured_posts .podcast-title {
        font-size: 19px;
    }

    .kbh_general_tab .tabs {
        padding: 30px 0 13px;
    }

    .kbh_general_tab .tab,
    .kbh_general_tab .tab2 {
        border-bottom: 3px solid transparent;
        font-size: 15px;
        line-height: 20px;
    }

    .kbh_resources_blog .tab-content>.row,
    .kbh_resources_blog .article {
        padding: 40px 0 50px !important;
    }

    .kbh_resources_blog .blog-listing-title {
        padding: 64px 0 0;
    }

    .kbh_featured_posts .kbh_podcast-card_slider {
        margin: 50px 0 55px;
    }
}

@media only screen and (max-width: 991px) {
    .kbh_featured_posts .podcast-card {
        flex-wrap: wrap;
    }

    .kbh_featured_posts .podcast-image,
    .kbh_featured_posts .podcast-content {
        flex: 1 1 100%;
    }

    .kbh_featured_posts .kbh_podcast-card_slider {
        margin: 25px 0 35px;
    }

    .kbh_resources_blog .blog-listing-title {
        padding: 24px 20px 0;
        font-size: 27px !important;
    }

    .kbh_resources_blog .kbh_general_tab .tabs {
        gap: 22px;
    }

    .kbh_featured_posts .slider-nav {
        left: 53px;
        bottom: 43px;
        transform: unset;
    }

    .kbh_featured_posts .podcast-content {
        padding: 28px 35px 95px;
    }

    .kbh_resources_blog .posts-container .post {
        width: 47%;
    }

    .kbh_resources_blog .posts-container .kbh_flex {
        gap: 37px 24px;
    }

}

@media only screen and (max-width: 900px) and (min-width: 768px) {
    .kbh_resources_blog .kbh_general_tab .tabs {
        padding: 15px 0 9px;
    }

    .kbh_resources_blog .tab-content>.row,
    .kbh_resources_blog .article {
        padding: 25px 0 60px !important;
    }

    .kbh_resources_blog .sidebar-top {
        gap: 15px 15px;
    }
}

@media only screen and (max-width: 767px) {
    .kbh_resources_blog .container {
        padding: 0;
    }

    .kbh_featured_posts .col-lg-12 {
        padding: 0;
    }

    .kbh_resources_blog .kbh_blog_resourse_sidebar {
        height: 232px;
    }

    .kbh_resources_blog .sidebar-top {
        flex-wrap: wrap;
    }

    .kbh_resources_blog .sidebar-top>* {
        width: 100%;
    }

    .kbh_featured_posts .podcast-content {
        padding: 22px 15px 95px;
    }

    .kbh_featured_posts .slider-nav {
        left: 15px;
    }

    .kbh_resources_blog .pagination-form,
    .kbh_resources_blog .pagination span {
        display: inline-block;
    }

    .kbh_resources_blog .kbh_general_tab .tabs {
        padding: 50px 0 26px;
        gap: 26px;
    }

    .kbh_resources_blog .kbh_general_tab {
        background: url(/wp-content/themes/kinderberry-hill-conversion/assets/img/2025/Layer-4298-copy-2.png) top center / 100% 365px no-repeat !important;
    }

    .kbh_resources_blog .tab-content>.row,
    .kbh_resources_blog .article {
        padding: 90px 15px 65px !important;
    }

    .kbh_resources_blog .sidebar-top div#news_events_taxonomies-2 {
        flex-wrap: wrap;
    }

    .kbh_resources_blog .sidebar-top div#news_events_taxonomies-2>div {
        width: 100%;
    }

}

@media only screen and (max-width: 600px) {
    .kbh_resources_blog .posts-container .post {
        width: 100%;
    }

    .kbh_resources_blog .post-thumb__img {
        padding-bottom: 55vw;
    }
}

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

    .kbh_resources_blog .pagination-form,
    .kbh_resources_blog .pagination-input {
        max-width: unset !important;
        display: inline-block;
        flex-basis: unset;
        margin: 0;
    }

    .kbh_resources_blog .pagination-newer,
    .kbh_resources_blog .pagination-older {
        width: 30px;
        flex-basis: unset;
    }

}