
#posts-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.post-item {
    flex-basis: calc(100% / 4); 
}

.post-item:first-child {
    flex-basis: calc(100% / 2.3) !important; 
}

.post-item:last-child {
    flex-basis: calc(100% / 2.3) !important; 
}

.filter-btn, #load-popular-posts {
    cursor: pointer;
    background-color: #FF690066;
    font-family: "Roboto", Sans-serif;
    font-weight: 400;
    text-decoration: none;
    border-radius: 3px;
    color: #fff;
    display: inline-block;
    font-size: 15px;
    line-height: 1;
    padding: 12px 24px;
    text-align: center;
    transition: all .3s;
    border: none;
    border-radius: 99px 99px 99px 99px;
}
.filter-btn:hover {
    background-color: #FF6900; 
}
#load-popular-posts:hover {
    background-color: #FF6900; 
}
.filter-btn.active {
    background-color: #FF6900; 
}

#load-popular-posts.active {
    background-color: #FF6900;
}

.post-item {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    padding: 0px 0px 10px 0px;
    background-color: #B0B0AF24;
}

.post-item a {
    display: block;
    text-decoration: none;
}

.post-item a:hover {
    text-decoration: none!important;
}

.post-item .post-thumbnail a {
    height: 188px;
}

.post-thumbnail {
    display: block;
    max-height: none;
    max-width: none;
    transition: filter .3s;
    width: 100%; 
    height: auto; 
    position: relative;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    border-top-right-radius: 22px;
    border-top-left-radius: 22px;
    transition: 0.3s;
}

.post-thumbnail img:hover {
    filter: brightness(0.8);
}

.elementor-post__thumbnail img:hover{
    filter: brightness(0.8);
}

.post-title, .post-excerpt, .post-date, .read-more, .post-meta{
    padding: 0 13px
}

.post-date {
    color: #504D4A;
    font-family: "Sora", Sans-serif;
    font-size: 11px;
    font-weight: 400;
    padding-top: 13px;
}

.post-title h3 {
    color: #504D4A;
    font-family: "Sora", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.post-excerpt {
    color: #504D4A;
    font-family: "Sora", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.read-more {
    margin-top: auto; 

}
.read-more a {
    color: #00365F;    
    text-decoration: none;
    font-family: "Sora", Sans-serif;
    font-size: 16px;
    font-weight: 400;
}

@media(max-width: 767px) {
    .post-item {
        display: flex !important;
        height: 450px;
        margin-right: 15px;   
        flex-basis: unset!important;
     }
     .slick-track {
        display: block;
    }
    .filter-btn, #load-popular-posts { 
        margin-left: 10px;
        font-size: 13px;
        padding: 10px 0;
    }
    .post-title{
        width: 100%;
    }
}