/**
 * Styles for blogs/blog-post-v2.php.
 */


/***DESKTOP*******/
.grid-container {
    max-width: 1450px;
}

.site-content {
    display: flex;
    flex-direction: column;
}

/****LLASTEST POST SECTION */

.latest-posts {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

}

.latest-posts-text-div {
    margin-right: -20px;
}

.latest-posts-text-div p {
    max-width: 210px;
}

.latest-posts ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    align-items: center;
    text-decoration: none;
    gap: 29px;
    margin-bottom: 0;
    margin-left: 0;

}

.latest-posts ul li {
    display: block !important;
}

.latest-posts-main {
    margin: 30px 0 !important;
    padding: 0 5%;
}


.image-container {
    position: relative;
    display: inline-block;
}

.image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* z-index: 1;*/
}

.image-container a {
    display: block;
}

body .latest-posts .latest-posts-text-div h2 {
    white-space: nowrap;
    color: #565656 !important;
    letter-spacing: 0.48px !important;
    max-width: 250px;
    white-space: pre-wrap;
}

.latest-posts p {
    color: #565656 !important
}

.latest-posts .image-container .image-text {
    position: absolute;
    top: 10px;
    left: 38%;
    transform: translateX(-35%);
    color: #fff;
    padding: 5px 5px;
    border-radius: 5px;
    font-size: 23px;
    width: 100%;
    z-index: 2;
}

.latest-posts .image-container {
    position: relative;
    max-width: 300px !important;
    max-height: 380px !important;
    height: 100% !important;
    width: 100% !important;
    overflow: hidden;

}

.latest-posts .image-container img {
    height: 380px;
    object-fit: cover;
    transition: 0.3s;
}



/**  TRENDING TOPICS **/


.clickable-post {
    overflow: hidden;
}

.image-container {
    position: relative;
}

.post-info-container {
    position: absolute;
    bottom: 32%;
    left: 0;
    width: 100%;
    height: auto;
    background-color: transparent;
    transition: transform 0.3s ease-out;
    transform: translateY(100%);
    padding: 12px 15px;
    background: transparent linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(67, 67, 67, 0) 100%) 0% 0%;
}

.image-container:hover .post-info-container {
    transform: translateY(32%);
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.post-categories,
.post-title {
    display: block;
    margin: 0 auto;
    padding: 0 10px;
    width: fit-content;
}

.post-category-title {
    margin-bottom: 0 !important;
}

.post-title {
    min-height: 70px;
}

.post-categories a {
    text-align: center;
    letter-spacing: 3.75px;
    color: #FFFFFF;
    text-transform: uppercase;
    font-size: 15px;

}

.post-title .title {
    text-align: center;
    color: #FFFFFF;
    text-transform: capitalize;
    margin-top: 5px;
    max-height: 70px;
    overflow: hidden;
    font-size: 25px !important;
}

body .post-info-container p.post-excerpt {
    display: none;
    color: #fff !important;
    text-align: center;
    margin-top: 100px;
    margin-bottom: 15px;
    max-height: 92px;
    overflow: hidden;
}

.read-more-btn {
    display: none !important;
    padding: 10px 20px;
    background-color: transparent;
    color: #fff !important;
    text-align: center;
    text-transform: uppercase;
    border: 1px solid #fff;
    text-decoration: none;
    border-radius: 8px;
    letter-spacing: 4.5px;

    max-width: 200px;
    margin: 0 auto;
}

.image-container:hover .post-excerpt,
.image-container:hover .read-more-btn {
    display: block !important;
}


/****END******/


.post-thumbnail,
.entry-header {
    display: none
}

.main_section_split_blog h4 {
    margin-top: 40px;
    margin-bottom: 25px;

    color: #565656 !important;
}

.main_section_split_blog h2 {

    color: #565656 !important;
}

html body .main_section_split_blog p {

    font-size: 18px !important;
    letter-spacing: 0.48px !important;
    line-height: 23px !important;
    color: #565656 !important;
}


.author-info {
    margin-top: 20px;
    color: #565656;
}

.author-info p {
    margin-bottom: 5px !important
}

.post-publish-date {
    margin-bottom: -10px !important;
}

.social-share-links a {
    width: 30px;
    display: block;
}

.social-share-links {
    display: flex;
    align-content: center;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.social-share-links-h6 {
    margin: 0 auto;
    display: inline-block;
    font-size: 21px;
    width: 100%;
}


/****EMD******/

/***TABLET*** */

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

    .latest-posts li {
        flex-basis: 37%;
        max-width: 34%;
    }

    .latest-posts ul {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 15px !important;
    }

    .latest-posts-text-div {
        margin-right: 0 !important;
        width: fit-content;
    }

    .latest-posts-text-div {
        text-align: center;
        padding: 13px;

    }

    .latest-posts .image-container {
        height: 100% !important;
        width: 100% !important;

    }

    .latest-posts li {
        flex-basis: inherit !important;
        max-width: inherit !important;
    }

    .latest-posts ul {
        display: grid !important;
        flex-wrap: wrap !important;
        gap: 15px !important;
        grid-template-columns: 50% 50%;
        align-items: center;
        justify-items: center;
        align-content: center;
        justify-content: center;
        max-width: 615px;
        margin: 0 auto;
    }

    .latest-posts {
        display: inherit !important;
        flex-direction: inherit !important;
        align-content: inherit !important;
        justify-content: inherit !important;
        align-items: inherit !important;
        flex-wrap: inherit !important;
    }

    .custom-blog-category-text {
        top: 6%;
    }

}

/*****END****/





/****MOBILE******/
@media screen and (max-width: 991px) {

    .mobile-blog-section-inner_reverse {
        display: flex;

    }

    body .vc_col-sm-6 {
        width: 100% !important;
    }

    .social-share-links-h6 {
        text-align: center;
    }

    .post-categories {
        justify-content: center;
    }

    .social-share-links {
        justify-content: center;
    }

    .mobile-blog-section-inner {
        margin: 70px 0 !important;
        gap: 29px;
        flex-direction: column;
        align-content: center;
        text-align: center;
        padding: 0 3% !important;
        color: #565656 !important;
    }

    html body .control_font_bsk p {
        font-size: 17px !important
    }

    .mobile-blog-section-inner .vc_column_container {
        width: 100%
    }

    body .mobile-blog-section-inner-first {
        margin-top: 30px !important
    }

    .mobile-blog-section-inner:last-child {
        margin-bottom: 0 !important
    }

    html body.post-template-blog-post-v2 .main_section_split_blog p {

        font-size: 17px !important;
        letter-spacing: 0.48px !important;
        line-height: 23px !important;
        color: #565656 !important;
    }

    .post-publish-date {
        margin-bottom: 0px !important;
        font-size: 13px;
        text-align: center;
    }

    .publish_date_main {
        margin-top: -20px !important
    }

    .post-template-blog-post-v2 .entry-content {
        margin-top: 0;
    }

    .hide_row_blog {
        display: none !important;
    }

    html body .vc_hidden-xs {
        display: none !important;
    }


    .mobile_main_content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .mobile_main_content figure.wpb_wrapper.vc_figure,
    .mobile_main_content figure.wpb_wrapper.vc_figure .vc_single_image-wrapper.vc_box_border_grey {
        width: 100%;
    }

    .mobile_main_content figure.wpb_wrapper.vc_figure img {
        width: 100%;
        object-fit: cover;
        height: 100%;
        max-height: 350px;
    }

}

@media screen and (max-width: 767px) {
    .image-container::before {
        height: 98.5% !important;
    }

    .latest-posts-text-div h2 {
        white-space: break-spaces
    }

    .one-container .site-content {
        padding: 8px !important;
    }

    .post-title .title {
        font-size: 20px !important;
    }

}



@media screen and (max-width: 590px) {
    /**** LATEST POSTS ******/

    .latest-posts .image-container img,
    .latest-posts .image-container {
        max-height: 269px !important;
    }

    .latest-posts .image-container .image-text {
        font-size: 19px;
        line-height: 20px;

    }

    .post-info-container {
        bottom: 42%;
    }

    .image-container:hover .post-info-container {
        transform: translateY(42%);
    }

    body .post-info-container p.post-excerpt {
        font-size: 15px !important;
        max-height: 73px;
        overflow: hidden;
        margin-top: 25px;
    }

    .post-info-container .read-more-btn {
        font-size: 14px !important;
        padding: 5px 15px;
        max-width: 185px;
    }

    /**** END ******/

    .social-share-links a {
        width: 25px;
        display: block;
    }

    .social-share-links {
        gap: 15px;

    }
}

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

    .latest-posts .image-container img,
    .latest-posts .image-container {
        max-height: 210px;
    }

    .post-title .title {
        max-height: 49px;
        overflow: hidden;
    }

}

@media screen and (max-width: 423px) {
    .post-info-container .read-more-btn {
        font-size: 12px !important;
        letter-spacing: 2.5px;
        padding: 5px;
    }
}

@media screen and (max-width: 390px) {
    .image-container img {
        min-width: 250px;
    }
}

/********END */


/******* BLOG MAIN VERSION *******/

.entry-content {
    margin: 0 !important;
}

html .one-container .site-content {
    padding: 0 !important;
}

#blog-template {
    padding: 40px 20px 0;
}

#blog-template .wp-block-group__inner-container {
    max-width: 1400px;
    padding: 0;
}

#blog-template .wp-block-columns {
    gap: 60px;
    margin-bottom: 0;
}

#blog-template .blog-mob-img {
    display: none;
    margin-bottom: 35px;
}

#blog-template .blog-mob-img figure {
    width: 100%;
}

#blog-template .blog-mob-img img {
    width: 100%;
    object-fit: cover;
    height: 100%;
    max-height: 350px;
}

#blog-template .wp-block-column img {
    width: 100%;
}

#blog-template h2 {
    font-size: 35px;
    line-height: 1.0;
    letter-spacing: 1px;
    color: #565656;
    margin-bottom: 15px;
    font-weight: 600;
}

#blog-template .blog-sec-title {
    color: #565656;
    font-size: 25px;
    line-height: 1.0;
    letter-spacing: 1px;
    font-weight: 600;
}

button.hp-banner-btn_white {
    background-color: #FFA222;
    border-radius: 10px;
    min-width: 325px;
    margin-bottom: 15px;
}

p a {
    color: #FFA222;
}

@media screen and (max-width: 992px) {
    #blog-template .desk-img-wrapper {
        display: none;
    }

    #blog-template .blog-mob-img {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    #blog-template {
        padding: 0 20px;
    }

    #blog-template h2 {
        font-size: 25px;
    }

    #blog-template .blog-sec-title {
        font-size: 20px;
    }
}

/******* END BLOG MAIN VERSION *******/





/******* BLOG OLD VERSION *******/



#blog-template.old-blog .wp-block-columns {
    gap: 40px;
}

@media screen and (max-width: 992px) {
    #blog-template.old-blog .wp-block-columns {
        flex-direction: column;
    }

    #blog-template.old-blog .wp-block-column figure img {
        width: 100%;
        object-fit: cover;
        height: 100%;
        max-height: 350px;
    }
}


/******* END BLOG OLD VERSION *******/