﻿
.blog-subtitle {
    font-weight: 400;
    font-size: 16px;
    color: #757575;
    margin-top: 12px;
}

.blog-info {
    font-size: 14px;
    font-weight: 500;
    color: #121212;
}

.blog-sm-title {
    font-size: 18px;
    color: #03382A;
    font-weight: 600;
}

    .blog-sm-title a {
        color: #03382A !important;
    }

.blog-bg-gradient, .blog-bg-gradient2 {
    width: 100% !important;
    background: linear-gradient(170deg, #E4EFEB, #E4EFEB00) !important;
}

/*hero*/
.blog-hero-section {
    padding-top: 192px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 30px;
    padding-bottom: 40px;
}

    .blog-hero-section .blog-back-button {
        color: #03382A;
        font-size: 16px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

        .blog-hero-section .blog-back-button img {
            width: 25px;
            height: 25px;
        }

    .blog-hero-section .blog-info-container {
        max-width: 520px;
    }

    .blog-hero-section .blog-banner {
        width: 100%;
        height: 325px;
        border-radius: 12px;
        margin: 0 10px;
    }

        .blog-hero-section .blog-banner img {
            width: 100%;
            height: 100%;
            border-radius: 12px;
            object-fit: cover;
            object-position: center;
        }

/*post content*/
.blog-post-content {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 20px;
    padding: 30px 10px;
    position: relative;
}

    .blog-post-content aside.blog-socials {
        position: -webkit-sticky;
        position: sticky;
        top: 30px;
        align-self: flex-start;
    }

        .blog-post-content aside.blog-socials h5 {
            font-size: 16px;
            font-weight: 700;
            color: #08A177;
        }

        .blog-post-content aside.blog-socials .blog-socials-list {
            padding-left: 0;
        }

            .blog-post-content aside.blog-socials .blog-socials-list li {
                padding-bottom: 10px;
            }

    .blog-post-content main.blog-post {
        width: 70%;
    }

/*Similar post*/
.blog-similar-post {
    width: 100%;
    background: #E6F6F1;
    padding: 100px 20px;
}

    .blog-similar-post h2 {
        margin-bottom: 50px;
    }

.blog-posts {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 35px;
    padding: 30px 10px;
}

.blog-post-card {
    min-width: 250px;
    width: 300px;
}

.blog-post-img {
    width: 100%;
    height: 233px;
    border-radius: 8px;
    margin-bottom: 1.5rem !important
}

    .blog-post-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 8px;
    }

/*Main Blog Page*/
.blog-recent-post, .blog-featured-post, .blog-all-posts {
    padding: 70px 20px;
}

.mb-30 {
    margin-bottom: 50px;
}

.blog-grid {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    /*justify-content: center;*/
    gap: 30px;
    /*flex-wrap: wrap;*/
}
/*.blog-grid .item-3{
    grid-area: 2 / 2 / 2 / 2;
    background: #70f0a7;
}*/

.blog-post-card-horizontal {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
    height: 216px;

}
.blog-post-card-horizontal .blog-content{
    max-width: 595px;
}

.blog-grid .blog-post-card {
    min-width: auto;
    width: inherit;
}

.blog-post-card-horizontal .blog-post-img {
    min-width: 250px;
    max-width: 536px;
    height: 100%;
    margin-bottom: 0 !important;
}

    .blog-post-card-horizontal .blog-post-img img {
        min-width: 250px;
        max-width: 536px;
    }

.blog-bg-gradient2 {
    background: linear-gradient(360deg, #FFE1D1, #ffffff 60%) !important;
}


/*All Posts*/
.blog-all-posts {
    background: #06211A;
    width: 100%;
}

    .blog-all-posts h2, .blog-all-posts .blog-sm-title, .blog-all-posts .blog-sm-title a {
        color: #FFFFFF !important;
    }

    .blog-all-posts p {
        color: #B2E2D5;
    }
.blog-all-posts .blog-posts{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-flow: row;
}

.blog-all-posts .blog-posts .blog-post-card{
    width:auto !important;
    min-width: auto;
}



@media screen and (max-width: 1200px) {
    .blog-post-card {
        width: auto;
        min-width: auto;
    }
    .blog-grid{
        flex-direction: column;
    }
}
@media screen and (max-width: 769px) {

    .blog-all-posts .blog-posts {
        display: grid;
        grid-template-columns: auto auto;
        grid-auto-flow: row;
    }
}
@media screen and (max-width: 545px) {

    .blog-all-posts .blog-posts {
        display: grid;
        grid-template-columns: auto;
        grid-auto-flow: row;
    }
}

@media screen and (max-width: 375px) {
    .blog-grid .blog-post-card {
        width: auto;
        min-width: auto;
    }
}
/*@media screen and (max-width: 280px) {

    .blog-all-posts .blog-post-card {
        min-width: 250px;
    }
}*/


/*Pagination*/
.pagination{
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 2px solid #fff;
    margin-top: 10px;
   
}
.pagination .page-nav{
    color: #fff;
}
.pagination .page-numbers{
    color: #fff;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 7px;
}
.pagination .page-numbers .page-num{
    min-width: 30px ;
    height: 30px;
    text-align: center;
    border-radius: 5px;
}
.active-page-number {
    background: #F9F5FF;
    color: #08A177;
}
