/* :root {
    --font-space-grotesk: "Space Grotesk", sans-serif;
    --font-inter: "Inter", sans-serif;
    --light-blue: #34CAE7;
    --dark-blue: #051129;
    --gray: #A6B3BA;
    --white: #fff;
    --black: #000;
    --transition: all 400ms ease-in-out;
} */
#all-posts-with-filter-home,
.all-posts-with-filter.banner_blur {
    padding-top: 60px;
}
.all-posts-with-filter{
    margin-bottom: 60px;
}
.all-posts-with-filter .section_title:not(:last-child){
    margin-bottom: 40px;
}
.all-posts-with-filter .section_title h2{
    margin-bottom: 0;
    font-weight: 700;
    font-size: 28px;
    line-height: normal;
    letter-spacing: 0%;
    text-align: center;
}

.all-posts-with-filter .section_title h2 span{
    color: var(--light-blue);
}


.filter-select-mobile {
    display: none;
}


.filter-links-desktop{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: -10px;
    padding-bottom: 40px;
}
.post_filter_wrap a{
    display: flex;
    justify-content: center;
    background-color: rgba(166, 179, 186, 0.15);
    border: 1px solid rgba(166, 179, 186, 0.15);
    font-family: var(--font-inter);
    font-weight: 600;
    font-size: 16px;
    line-height: normal;
    letter-spacing: 0px;
    text-align: center;
    text-transform: capitalize;
    margin: 0 5px 10px;
    border-radius: 100px;
    padding: 10px 15px;
    color: var(--white);
}
.post_filter_wrap a.active,
.post_filter_wrap a:hover{
    background-color: var(--light-blue);
    border: 1px solid var(--light-blue);
    color: var(--dark-blue);
}

.all_posts_grid{
    margin: 0 -11px -22px;
    display: flex;
    flex-wrap: wrap;
}
.all_posts_grid .all_posts_item{
    display: flex;
    flex-direction: column;
    width: calc(33.33% - 22px);
    margin: 0 11px 22px;
}
.all_posts_item .post_img{
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    height: 194px;
    display: flex;
    flex-shrink: 0;
}
.all_posts_item .post_img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.all_posts_item .post_content{
    padding: 15px;
    display: flex;
    flex-direction: column;
    background-color: rgba(166, 179, 186, 0.15);
    border-color: rgba(166, 179, 186, 0.2);
    border-style: solid;
    border-width: 0 1px 1px;
    border-radius: 0 0 20px 20px;
    height: 100%;
}
.all_posts_item .post_content .title{
    text-decoration: none;
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: 16px;
    line-height: normal;
    letter-spacing: 0.5px;
    color: var(--white);
    margin-bottom: 10px;
}
.all_posts_item .post_content .title:hover{
    color: var(--light-blue);
}
.all_posts_item .post_content .date{
    color: var(--gray);
    font-family: var(--font-inter);
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 12px;
    line-height: normal;
    letter-spacing: 0px;
    text-align: center;

}
.all_posts_item .post_content .date::before{
    transition: var(--transition);
    background-image: url(../../assets/images/icon_calendar.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    display: inline-block;
    position: relative;
    top: 0;
    margin-right: 5px;
    width: 20px;
    height: 20px;
}
.all_posts_item .post_content .cta_wrap {
    margin-top: auto;
    padding-top: 30px;
}

.all_posts_item .post_content .cta_wrap > a {
    text-decoration: none;
}

.post_btn_wrap{
    text-align: center;
    /* margin-top: 40px; */
    display: flex;
    justify-content: center;
}
.post_btn_wrap a{
     margin-top: 40px;
    font-family: var(--font-inter);
    font-weight: 600;
    font-size: 16px;
    line-height: normal;
    letter-spacing: 0px;
    text-align: center;
    text-transform: capitalize;
    color: var(--white);
    background-color: rgba(166, 179, 186, 0.15);
    border: 1px solid rgba(166, 179, 186, 0.15);
    padding: 11px 20px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    max-width: max-content;
    justify-content: center;
}
.single_post_content .post_btn_wrap a{
    text-decoration: none !important;
}
.post_btn_wrap a:hover{
    background-color: rgba(166, 179, 186, 0.3);
    border: 1px solid rgba(166, 179, 186, 0.3);
}
.post_btn_wrap a::after {
    transition: var(--transition);
    background-image: url(../../assets/images/icon_right_chevron.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    display: inline-block;
    position: relative;
    top: 0;
    margin-left: 5px;
    width: 14px;
    height: 14px;
}
@media only screen and (max-width: 991px) {
    .all_posts_grid .all_posts_item {
        width: calc(50% - 22px);
    }
}
@media only screen and (max-width: 767px) {
    #all-posts-with-filter-home,
    .all-posts-with-filter.banner_blur {
        margin-bottom: 40px;
    }
    #all-posts-with-filter-home, 
    .all-posts-with-filter.banner_blur {
        padding-top: 40px;
    }
    .all_posts_grid {
        margin: 0;
    }
    .all_posts_grid .all_posts_item {
        width: 100%;
        margin: 0 0 22px;
    }
    .all_posts_grid .all_posts_item:last-child{
        margin-bottom: 0;
    }
    .all_posts_item .post_content .cta_wrap {
        padding-top: 20px;
    }
    .all_posts_item .post_img {
        border-radius: 10px 10px 0 0;
        height: auto;
        aspect-ratio: 16 / 9;
    }
    .all_posts_item .post_content {
        border-radius: 0 0 10px 10px;
    }

    .filter-links-desktop {
        display: none;
    }
    .filter-select-mobile {
        display: block;
        margin-bottom: 20px;
    }
    #mobile-category-filter {
        width: 100%;
        padding: 12px 44px 12px 24px;
        background-color: rgb(166 179 186 / .15);
        border: 1px solid rgb(166 179 186 / .15);
        color: #fff;
        font-size: 14px;
        line-height: normal;
        letter-spacing: 0;
        text-transform: capitalize;
        border-radius: 150px;
        appearance: none;
        font-weight: 600;
        outline: none;
        box-shadow: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12.146' height='6.973' viewBox='0 0 12.146 6.973'%3E%3Cpath d='M1.2 4.8L6.014 9.6L10.8 4.8' transform='translate(0.073 -3.527)' fill='none' stroke='%23FFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: calc(100% - 20px) 50%;
    }
    #mobile-category-filter option {
        background-color: var(--dark-blue);
    }
}