/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

body.post-template-default.single.single-post {
    background: #ffffff;
    font-family: "GoogleSans-Bold";
}

body.post-template-default.single.single-post .site.grid-container.container {
    max-width: 1200px;
    margin: auto;

}
body.blog {
    background: #ffffff;
}
body.blog .site.grid-container.container {
    max-width: 1440px;
    width: 100%;
    margin: auto;
    background: #ffffff;
    padding: 0 30px;
}
body.blog .site.grid-container.container .site-main {
    margin-top: 0;
}
body.blog .site.grid-container.container .site-main .blogsBannerContainer {
    max-width: 1366px;
    width: 100%;
    height: 400px;
    background: #020609 url(https://pocialdigital.com/wp-content/uploads/2025/11/blogbannerbackground.png) no-repeat center center /cover;
    border-radius: 30px;
    padding: 126px 50px;
    text-align: center;
    margin: auto;
}
body.blog .site.grid-container.container .site-main .blogsBannerContainer .bannerHeading1{
    font-size: 58px;
    font-family: "GoogleSans";
    color: #ffffff;
    margin-bottom: 20px;
}
body.blog .site.grid-container.container .site-main .blogsBannerContainer .bannerHeading2{
    font-size: 58px;
    font-family: "GoogleSans-MediumItalic";
    background: linear-gradient(to right, #3289A5, #43BAA4);
    -webkit-background-clip: text;
    /* For WebKit browsers */
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* For WebKit browsers */
    color: transparent;
}
body.blog .site.grid-container.container .site-main .allBlogsSectionContainer{
    max-width: 1200px;
    width: 100%;
    margin: 50px auto;
}
body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .section-title{
    font-size: 58px;
    font-family: "GoogleSans";
    color: #151515;
}
body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .section-title span{
    font-family: "GoogleSans-MediumItalic";
    background: linear-gradient(to right, #3289A5, #43BAA4);
    -webkit-background-clip: text;
    /* For WebKit browsers */
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* For WebKit browsers */
    color: transparent;
}
/* --- FEATURED ARTICLES GRID CONTAINER --- */
body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .featured-articles-grid {
    display: grid;
    /* Define 4 equal columns. This gives us flexible control for spanning items. */
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px; 
    margin-bottom: 60px;
}

/* --- TARGET THE FIRST ARTICLE (THE LARGE FEATURED POST) --- */
/* Target the first article using :nth-child(1) */
body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .featured-articles-grid article:nth-child(1) {
    /* Make the first article span 2 columns and 2 rows */
    grid-column: span 2; 
    grid-row: span 2;
}

/* --- TARGET THE REMAINING ARTICLES (THE SMALLER SIDE POSTS) --- */
/* Target the second article */
body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .featured-articles-grid article:nth-child(2) {
    /* Make the second article span 2 columns, aligning it next to the first */
    grid-column: span 2;
}
body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .featured-articles-grid article:nth-child(3) {
    /* Make the second article span 2 columns, aligning it next to the first */
    grid-column: span 2;
}

body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .featured-articles-grid article .inside-article {
    padding: 0;
}
/* --- GENERAL IMAGE AND CONTENT STYLING --- */

/* 1. Ensure the image wrapper covers its space */
body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .featured-articles-grid .post-image-wrap {
    width: 100%;
    /* Use padding-bottom for aspect ratio on the smaller posts. */
    /* padding-bottom: 60%;  */
    position: relative;
    /* overflow: hidden; */
    /* height: 0; */
    margin-bottom: 17px;
}

/* 2. For the first (large) post, we want a taller image */
body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .featured-articles-grid article:nth-child(1) .post-image-wrap {
    /* Give the large post a height proportional to its row span */
    /*padding-bottom: 250px;*/ /* Makes it taller, fitting two rows of content */
}
body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .featured-articles-grid article:nth-child(2) .post-image-wrap {
    /* Give the large post a height proportional to its row span */
    /*padding-bottom: 250px;*/ /* Makes it taller, fitting two rows of content */
    /*padding-right: 140px;*/
}
body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .featured-articles-grid article:nth-child(3) .post-image-wrap {
    /* Give the large post a height proportional to its row span */
    /*padding-bottom: 250px;*/ /* Makes it taller, fitting two rows of content */
    /*padding-right: 193px;*/
}

/* 3. Style the background image link (as you used in your HTML) */
body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .featured-articles-grid .post-image-wrap a {
    display: block;
    width: 250px;
    height: 250px;
    /* position: absolute;
    top: 0;
    left: 0; */
    border-radius: 15px; /* Assuming rounded corners */
}

body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .featured-articles-grid article:nth-child(1) .inside-article .post-image-wrap a {
    width: 100%;
}
body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .featured-articles-grid article:nth-child(2) .inside-article, .featured-articles-grid article:nth-child(3) .inside-article{
    display: flex;
    flex-direction: row;
    gap: 30px;
}

body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .featured-articles-grid article .post-content-wrap .entry-title a {
    font-size: 26px;
    font-family: "GoogleSans";
    color: #151515;
    margin-bottom: 15px;
    display: block;
}

body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .featured-articles-grid article .post-content-wrap .entry-summary {
    font-size: 18px;
    font-family: "GoogleSans";
    color: #5d5d5d;
    margin-top: 0;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .featured-articles-grid article .post-content-wrap .entry-summary .read-more-link {
    font-size: 18px;
    font-family: "GoogleSans";
    color: #151515;
    margin-top: 0;
    margin-bottom: 15px;
    padding: 13px 60px 13px 23px;
    border: 1px solid #c8c8c8;
    border-radius: 90px;
    text-decoration: none;
    margin-top: 15px;
    position: relative;
}
body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .featured-articles-grid article .post-content-wrap .entry-summary .read-more-link::after {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: url(https://pocialdigital.com/wp-content/uploads/2025/10/linkblackarrow.svg) no-repeat center center /cover;
}

body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .latest-blogs-grid{
    display: flex;
    gap: 46px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}
body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .latest-blogs-grid article{
    width: 33%;
    max-width: 368px;
}
body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .latest-blogs-grid article .inside-article{
    padding: 0;
}
body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .latest-blogs-grid article .inside-article .post-image-wrap a{
    width: 100%;
    height: 263px;
    display: block;
    border-radius: 15px;
    margin-bottom: 15px;
}
body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .latest-blogs-grid article .inside-article .post-content-wrap .entry-header .entry-title a{
    font-family: "GoogleSans";
    font-size: 26px;
    color: #151515;
    margin-bottom: 15px;
    display: block;
    line-height: normal;
}
body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .latest-blogs-grid article .inside-article .post-content-wrap .entry-summary {
    font-family: "GoogleSans";
    font-size: 18px;
    color: #5d5d5d;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    margin-top: 0;
    align-items: flex-start;
}
body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .latest-blogs-grid article .inside-article .post-content-wrap .entry-summary .read-more-link {
    font-size: 18px;
    font-family: "GoogleSans";
    color: #151515;
    margin-top: 0;
    margin-bottom: 15px;
    padding: 13px 60px 13px 23px;
    border: 1px solid #c8c8c8;
    border-radius: 90px;
    text-decoration: none;
    margin-top: 15px;
    position: relative;
}
body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .latest-blogs-grid article .inside-article .post-content-wrap .entry-summary .read-more-link::after {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: url(https://pocialdigital.com/wp-content/uploads/2025/10/linkblackarrow.svg) no-repeat center center /cover;
}



/* --- MOBILE RESPONSIVENESS (REQUIRED FOR GRID SPANNING) --- */
@media (max-width: 1024px) {
    body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .featured-articles-grid {
        /* Collapse to a single column on small screens */
        grid-template-columns: 1fr; 
    }
    /* Remove all column and row spans on mobile */
    body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .featured-articles-grid article {
        grid-column: auto !important;
        grid-row: auto !important;
    }
    /* Reset the tall image for the first post on mobile */
    body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .featured-articles-grid article:nth-child(1) .post-image-wrap {
        padding-bottom: 0; 
    }
    body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .featured-articles-grid .post-image-wrap{
        width: auto;
    }
    body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .featured-articles-grid article:nth-child(2) .inside-article, .featured-articles-grid article:nth-child(3) .inside-article{
        flex-direction: column;
        gap: 0px;
    }
    body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .featured-articles-grid .post-image-wrap a {
        width: 100%;
    }
}

/* --- MOBILE RESPONSIVENESS (REQUIRED FOR GRID SPANNING) --- */
@media (max-width: 1024px) {
    body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .latest-blogs-grid{
        justify-content: space-between;
    }
    body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .latest-blogs-grid article {
        width: 47%;
        max-width: none;
    }
}
@media (max-width: 823px) {
    body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .latest-blogs-grid {
        gap: 40px;
    }
}
@media (max-width: 768px) {
    body.blog .site.grid-container.container .site-main .blogsBannerContainer .bannerHeading1, body.blog .site.grid-container.container .site-main .blogsBannerContainer .bannerHeading2 {
        font-size: 44px;
    }
    body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .section-title {
        font-size: 44px
    }
}
@media (max-width: 712px) {
    body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .latest-blogs-grid {
        gap: 30px;
    }
}
@media (max-width: 600px) {
    body.blog .site.grid-container.container .site-main .blogsBannerContainer .bannerHeading1, body.blog .site.grid-container.container .site-main .blogsBannerContainer .bannerHeading2 {
        font-size: 40px;
    }
    body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .section-title {
        font-size: 40px;
    }
    body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .latest-blogs-grid {
        flex-direction: column;
    }
    body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .latest-blogs-grid article {
        width: 100%;
        max-width: none;
    }
    body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .featured-articles-grid article .post-content-wrap .entry-title a, body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .latest-blogs-grid article .inside-article .post-content-wrap .entry-header .entry-title a { font-size: 18px; margin-bottom: 5px; }
    body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .featured-articles-grid article .post-content-wrap .entry-summary, body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .latest-blogs-grid article .inside-article .post-content-wrap .entry-summary { font-size: 16px; }
    body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .featured-articles-grid article .post-content-wrap .entry-summary .read-more-link, body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .latest-blogs-grid article .inside-article .post-content-wrap .entry-summary .read-more-link { font-size: 16px; }
    body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .featured-articles-grid article .post-content-wrap .entry-summary .read-more-link::after, body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .latest-blogs-grid article .inside-article .post-content-wrap .entry-summary .read-more-link::after { width: 13px; height: 13px; }
}
@media (max-width: 533px) {
    body.blog .site.grid-container.container .site-main .blogsBannerContainer {
        height: 300px;
        padding-top: 100px;
        padding-bottom: 100px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    body.blog .site.grid-container.container .site-main .blogsBannerContainer .bannerHeading1, body.blog .site.grid-container.container .site-main .blogsBannerContainer .bannerHeading2 {
        font-size: 30px;
        margin-bottom: 0px;
    }
    body.blog .site.grid-container.container .site-main .allBlogsSectionContainer .section-title {
        font-size: 30px;
    }
}
@media (max-width: 480px) {
    body.blog .site.grid-container.container .site-main .blogsBannerContainer .bannerHeading1, body.blog .site.grid-container.container .site-main .blogsBannerContainer .bannerHeading2 {
        font-size: 28px;
        margin-bottom: 0px;
    }
    body.blog .site.grid-container.container {
        padding: 0 15px;
    }
}
@media (max-width: 400px) {
    body.blog .site.grid-container.container .site-main .blogsBannerContainer .bannerHeading1, body.blog .site.grid-container.container .site-main .blogsBannerContainer .bannerHeading2 {
        font-size: 25px;
    }
}
@media (max-width: 360px) {
    body.blog .site.grid-container.container .site-main .blogsBannerContainer .bannerHeading1, body.blog .site.grid-container.container .site-main .blogsBannerContainer .bannerHeading2 {
        font-size: 21px;
    }
}
@media (max-width: 340px) {
    body.blog .site.grid-container.container .site-main .blogsBannerContainer {
        height: 200px;
        padding: 20px;
    }
}


.pocial-blog-post .post-featured-image-container {
    height: 462px;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.pocial-blog-post .post-featured-image-container .post-title-container {
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 30px 20px;
}

.pocial-blog-post .post-featured-image-container .post-title-container .post-title {
    color: white;
    font-size: 27px;
    font-family: "GoogleSans-Bold";
    margin-bottom: 10px;
}

.pocial-blog-post .post-title {
    color: #000000;
    font-size: 27px;
    font-family: "GoogleSans-Bold";
    margin-bottom: 10px;
}

.pocial-blog-post .post-meta-date {
    color: #000000;
    font-size: 14px;
    font-family: "GoogleSans";
    margin-bottom: 10px;
}

.pocial-blog-post .post-featured-image-container .post-title-container .post-meta-date {
    color: #ffffff;
    font-size: 14px;
    font-family: "GoogleSans";
    margin-bottom: 0;
}

.pocial-blog-post .post-content-container {
    font-family: "GoogleSans";
}

.pocial-blog-post .post-content-container .wp-block-heading {
    font-family: "GoogleSans-Bold";
    font-size: 27px;
    color: #1b1b1f;
    margin-bottom: 20px;
}

.pocial-blog-post .post-content-container p {
    font-size: 18px;
    margin-bottom: 30px;
}

.pocial-blog-post .entry-meta {
    display: none;
}

body.post-template-default.single.single-post .site.grid-container.container .site-content {
    flex-wrap: wrap;
}

body.post-template-default.single.single-post .site.grid-container.container .site-content .sidebar .widget_a2a_share_save_widget {
    background: #020609 url(https://pocialdigital.com/wp-content/uploads/2025/11/singlepostsiderbarshare2anybackground.png) no-repeat center center /cover;
    color: #ffffff;
    padding: 18px 20px;
    border-radius: 10px;
}

body.post-template-default.single.single-post .site.grid-container.container .site-content .sidebar .widget_a2a_share_save_widget .widget-title {
    margin-bottom: 10px;
    font-size: 16px;
    font-family: "GoogleSans-Bold";
}

body.post-template-default.single.single-post .site.grid-container.container .site-content .sidebar .widget_a2a_share_save_widget .addtoany_share_save {
    display: none;
}

body.post-template-default.single.single-post .site.grid-container.container .site-content .sidebar .widget_recent_entries {
    padding: 0;
}

body.post-template-default.single.single-post .site.grid-container.container .site-content .sidebar .widget_recent_entries .widget-title {
    font-size: 20px;
    font-family: "GoogleSans-Bold";
    margin-bottom: 20px;
}

body.post-template-default.single.single-post .site.grid-container.container .site-content .sidebar .widget_recent_entries ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.post-template-default.single.single-post .site.grid-container.container .site-content .sidebar .widget_recent_entries ul li {
    display: block;
    margin-bottom: 10px;
}

body.post-template-default.single.single-post .site.grid-container.container .site-content .sidebar .widget_recent_entries ul li a {
    font-size: 16px;
    padding: 10px 0 10px 20px;
    font-family: "GoogleSans";
    text-decoration: none;
    color: #151515;
    display: block;
}

body.post-template-default.single.single-post .site.grid-container.container .site-content .sidebar .widget_recent_entries ul li a:hover {
    color: #3188A3;
    font-family: "GoogleSans-Bold";
    border-left: 3px solid #3188A3;
    padding: 10px 0 10px 17px;
}


.site-content .relatedPostsCustomContainer .headline {
    margin-top: 50px;
    font-size: 58px;
    font-family: "GoogleSans";
    font-weight: normal;
    color: #151515 !important;
}

.site-content .relatedPostsCustomContainer .headline span {
    font-family: "GoogleSans-MediumItalic";
    background: linear-gradient(to right, #3289A5, #43BAA4);
    -webkit-background-clip: text;
    /* For WebKit browsers */
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* For WebKit browsers */
    color: transparent;
}

.site-content .relatedPostsCustomContainer .related-post {}

.site-content .relatedPostsCustomContainer .related-post .post-list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.site-content .relatedPostsCustomContainer .related-post .post-list .item{
    margin: 0;
}
.site-content .relatedPostsCustomContainer .related-post .post-list .item .thumb.post_thumb{
    margin: 0;
}
.site-content .relatedPostsCustomContainer .related-post .post-list .item .thumb.post_thumb a{
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eeeeee;
    height: 260px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}
.site-content .relatedPostsCustomContainer .related-post .post-list .item .thumb.post_thumb a img{
    display: block;
    width: auto;
}
.site-content .relatedPostsCustomContainer .related-post .post-list .item .post_title{
    font-size: 26px;
    color: #151515;
}
.site-content .relatedPostsCustomContainer .related-post .post-list .item .post_excerpt{
    font-size: 18px;
    color: #5d5d5d;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.site-content .relatedPostsCustomContainer .related-post .post-list .item .post_excerpt .read-more{
    border: 1px solid #c8c8c8;
    border-radius: 90px;
    background: #ffffff;
    font-size: 18px;
    color: #151515;
    padding: 13px 63px 13px 23px;
    text-decoration: none;
    margin: 20px 0;
    position: relative;
}
.site-content .relatedPostsCustomContainer .related-post .post-list .item .post_excerpt .read-more:after{
    content:"";
    background: url(https://pocialdigital.com/wp-content/uploads/2025/10/linkblackarrow.svg) no-repeat center center /cover;
    position: absolute;
    right: 25px;
    top: 50%;
    width: 15px;
    height: 15px;
    transform: translateY(-50%);
}

.pocial-blog-post .entry-content .post-content-container .addtoany_content_bottom{
    display: none;
}
.pocial-blog-post .entry-content .post-content-container .addtoany_shortcode {
    background: #020609 url(https://pocialdigital.com/wp-content/uploads/2025/11/singlepostsiderbarshare2anypostbottombackground.png) no-repeat center center /cover;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-radius: 10px;
    padding: 20px 24px;
    position: relative;
}
.pocial-blog-post .entry-content .post-content-container .addtoany_shortcode:before {
    content: "Like what you see? Share with a friend.";
    position: absolute;
    left: 23px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-family: "GoogleSans-Medium";
    font-size: 16px;
}
.pocial-blog-post .entry-content .post-content-container .addtoany_shortcode .addtoany_list {
    line-height: normal !important;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.pocial-blog-post .entry-content .post-content-container .addtoany_shortcode .addtoany_share_save {
    display: none;
}


@media (max-width: 550px) {
    .pocial-blog-post .entry-content .post-content-container .addtoany_shortcode {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 50px;
    }
    .pocial-blog-post .entry-content .post-content-container .addtoany_shortcode:before {
        top: 20px;
        transform: translateY(0);
    }6+
}

@media (max-width: 400px) {
    .pocial-blog-post .entry-content .post-content-container .addtoany_shortcode {
        padding-top: 80px;
    }
    .pocial-blog-post .entry-content .post-content-container .addtoany_shortcode:before {
        top: 20px;
        transform: translateY(0);
    }
}
@media (max-width: 360px) {
    .site-content .relatedPostsCustomContainer .headline {
        font-size: 35px;
    }
}
@media (max-width: 768px) {
    body.post-template-default.single.single-post .site.grid-container.container .site-content {
        /* flex-direction: column; */
        margin: 0 20px;
    }
}
