.blog-page-content {
    background: #fff;
}

.blog-hero-section {
    padding-top: 100px;
    background: #F8F8F8;
}

.blog-main-title {
    font-size: 80px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 24px;
}

.blog-main-subtitle {
    font-size: 40px;
    color: #666;
    max-width: 900px;
    line-height: 1.5;
}
.highlighted-txt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 64px;
    background: #F8F8F8;
    border-radius: 22px;
    margin: 25px 0;
    font-weight: 600;
}


    /* Categories section override */
.blog-categories-section .section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
}

.category-card {
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    white-space: nowrap;

    .category-card-link{
        font-family: Gilroy,sans-serif;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        color: #000;
        text-decoration: none;
        padding: 10px 15px;
        font-weight: bold;
    }
    a svg {
        fill: black;
    }

    &:hover,
    &.active{
        background: black;

        a{
            color: white;

            svg {
                fill: white;
            }
        }

    }
}

.list-category{
    display: flex;
    /*flex-wrap: wrap;*/
    justify-content: center;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding:10px;
}



.category-card-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.75) 100%);
}

.category-card-title {
    font-size: 16px;
    bottom: 24px;
    font-width: 600;
}

/* Blog Posts section override */
.blog-posts-section {
    padding: 80px 0 !important;
}

.blog-posts-section .section-title {
    font-size: 36px;
    font-weight: 700;
}

/* Card design refine for Figma 1-312 */
.blog-card {
    background: #FFFFFF !important;
    border-radius: 24px !important;
    padding: 10px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 1px 1px 5px #ccc;

    &:hover {
        .card-title a{
            color:  #D9B673;
        }

        svg{
            fill: #D9B673!important;
        }
    }
}

.blog-card-image-link {
    /*height: 260px;*/
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.blog-card .card-body {
    padding: 5px 15px !important;
}

.blog-category {
    color: #333333;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.blog-card .card-title {
    font-size: 24px;
    margin-top: 10px;

    a{
        color: black;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

}

.blog-card .card-text {
    font-size: 17px;
    margin-bottom: 15px;
    color: black;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-read-more {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: black;
    border-radius: 50%;
    svg{
        fill: white;
    }

}

.nav-arrow[disabled]{
    background-color: #BCBCBC;
    border-color: #BCBCBC;
}

.blog-card-mini{

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;

    .blog-card-img{
        object-fit: cover;
        max-width: 100%;
        height: 100%;
    }
    .blog-card-image-link{
        width: 40%;
        height: 179px;
    }
    .card-body{
        width: 60%;
        padding: 0!important;
    }


    .card-text {
        font-size: 16px;
        margin-bottom: 10px;
        color: black;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

}
.pagination{
    justify-content: end;
}
.pagination .nav-links {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}
.pagination .page-numbers:hover {
    background-color: #dab982;
    color: #fff;
}
.pagination .page-numbers.current {
    background-color: #dab982;
    cursor: default;
}
.pagination .page-numbers.dots {
    background-color: transparent;
    color: #000;
}

.pagination svg{
    fill: white;
}

    /* WYSIWYG & Block Styles */
.text-primary-accent,
.is-style-green-accent {
    color: #2D9165 !important;
}

.is-style-with-bottom-line {
    border-bottom: 2px solid #2D9165;
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: inline-block;
}

.brand-quote {
    padding: 30px;
    background: #F1F8F5;
    border-left: 6px solid #2D9165;
    font-style: italic;
    border-radius: 0 15px 15px 0;
    margin: 30px 0;
}


.author-name a{
    font-family: 'Gilroy', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 24px;
    line-height: 30px;
    text-align: center;
    color: #333333;
}
.author-bio{
    font-family: 'Gilroy', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #333333;


}
.author-avatar img{
    width: 64px;
    height: 64px;
    outline: 1px solid #D9B673;
    outline-offset: 2px;


}

.related-title{
    font-style: normal;
    font-weight: 800;
    font-size: 48px;
    line-height: 60px;
    text-align: center;
    color: #333333;


}

.top-posts-title{
    font-style: normal;
    font-weight: 800;
    font-size: 48px;
    line-height: 60px;
    color: #333333;

}


.post-header{
    height: 100vh;
    max-height: 900px;
    background-repeat: no-repeat;
    background-size: cover;
    *{
        color: #FFFFFF;
    }
}

.post-header .post-title{

    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 800;
    font-size: 80px;
    line-height: 100px;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;

}

.blog-section.blog-banner{
    img{
        max-height: 400px;
        object-fit: cover;
    }
}


.blog-section-content p,
.blog-section-content ul,
.blog-section-content ol,
.blog-table td,
.blog-table th
{
    font-size: 16px;
}
img.blog-card-img.wp-post-image {
    width: 100%;
    height: auto;
}
