/* BGC Single Blog Template Styles */

body.page-template-bgc-single-blog,
body.post-template-bgc-single-blog {
    background-color: #FFF !important;
}

.ast-container {
    max-width: 1400px !important;
}

.bgc-single-blog-template {
    max-width: 1400px;
    margin: 0 auto;
    background-color: #FFF;
    font-family: 'Poppins', sans-serif;
}

.bgc-single-blog-template .blog-template-top-meta {
    margin-top: 50px !important;
    margin-bottom: 20px;
    padding: 0 20px;
}

.bgc-single-blog-template .blog-breadcrumbs {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 15px;
}

.bgc-single-blog-template .blog-breadcrumbs a {
    color: #999;
    text-decoration: none;
}

.bgc-single-blog-template .blog-breadcrumbs a:hover {
    color: #f7941d;
}

.bgc-single-blog-template .blog-template-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.bgc-single-blog-template .blog-template-header {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.bgc-single-blog-template .blog-category-pill {
    white-space: nowrap;
}

.bgc-single-blog-template .blog-category-pill a {
    display: inline-block;
    padding: 6px 20px;
    border: 1.5px solid #fbd8bc;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: #f7941d;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bgc-single-blog-template .blog-category-pill a:hover {
    background-color: #f7941d;
    color: #FFF;
    border-color: #f7941d;
}

.bgc-single-blog-template h1.entry-title {
    font-family: 'Darker Grotesque', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: #333;
}

.bgc-single-blog-template .blog-template-content {
    flex: 1;
    margin-top: 0;
    margin-bottom: 50px !important;
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
    color: #444;
}

.bgc-single-blog-template .blog-template-featured-image {
    margin-bottom: 60px;
    padding: 0 20px;
}

.bgc-single-blog-template .blog-template-featured-image img {
    border-radius: 12px;
}

.bgc-single-blog-template .blog-content-wrapper {
    display: flex;
    gap: 40px;
    padding: 0 20px;
    align-items: center;
    width: 100%;
}

.bgc-single-blog-template .blog-author-card {
    flex: 0 0 250px;
}

.bgc-single-blog-template .author-card-inner {
    background-color: transparent;
    background-image: linear-gradient(180deg, #FFF0E4 0%, #E86900 100%);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.bgc-single-blog-template .author-avatar {
    margin: 0 auto 15px;
    width: 60px;
    height: 60px;
    background: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bgc-single-blog-template .author-avatar i {
    font-size: 32px;
    color: #E86900;
    width: 32px;
    height: 32px;
}

.bgc-single-blog-template .author-name {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 5px;
    color: #E86900;
}

.bgc-single-blog-template .author-role {
    font-size: 0.8rem;
    color: #333;
    margin: 0 0 20px;
    font-weight: 500;
}

.bgc-single-blog-template .author-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.bgc-single-blog-template .author-socials a {
    color: #FFF;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.bgc-single-blog-template .author-socials a:hover {
    transform: translateY(-3px);
}

.bgc-single-blog-template .author-socials i {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Ensure headings inside content follow rules if needed */
.bgc-single-blog-template .blog-template-content h1,
.bgc-single-blog-template .blog-template-content h2,
.bgc-single-blog-template .blog-template-content h3 {
    font-family: 'Poppins', sans-serif;

    /* User specified main headings as Darker Grotesque, others Poppins */
}

@media (max-width: 768px) {
    .bgc-single-blog-template .blog-template-top-meta {
        margin-top: 30px !important;
        padding: 0 15px;
    }

    .bgc-single-blog-template .blog-template-header-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .bgc-single-blog-template h1.entry-title {
        font-size: 1.8rem;
    }

    .bgc-single-blog-template .blog-content-wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
    }

    .bgc-single-blog-template .blog-author-card {
        flex: none;
        width: 100%;
        /* max-width: 200px; */
        margin: 0 auto;
    }

    .bgc-single-blog-template .blog-template-content {
        margin-top: 0;
        padding: 0;
    }

    .bgc-single-blog-template .blog-template-featured-image {
        margin-bottom: 30px;
        padding: 0 15px;
    }
}