.swiper {
    width: 100%;
    margin: 0;
    padding: 10px 0 10px 0;
}

.swiper .swiper-wrapper{
    height: auto;
    width: 100%;
    padding: 20px;
}

.swiper .swiper-wrapper .swiper-slide{
    padding: 0 10px 0 10px;
    margin-right: 0 !important;
}

.blog-item{
    width: 100%;
    height: 420px;
    margin: 0;
    padding: 15px;
    background-color: #fff;
    box-shadow: 3px 3px 4px rgba(0, 0, 0, .1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
}

.blog-item img{
    width: 100%;
    height: 180px;
    margin: 0;
    padding: 0;
}

.blog-item p{
    height: 84px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
    color: #000;
}

.blog-item h3{
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: #2E69B5;
}

.blog-item button{
    width: 100%;
    height: 40px;
    background: #2E69B5;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 600;
}

/*****GRID *************/

.blog-post-grid-container{
    width: 100%;
    margin: 0;
    padding: 0;
}

.grid-inner-harness{
    display: grid;
    margin: 0;
    padding: 0;
    gap: 15px;
    grid-template-columns: repeat(4, calc(25% - 11.25px));
}

.grid-inner-harness .blog-item p{
    height: 73px !important;
}

@media(max-width: 1440px){
    .grid-inner-harness{
        display: grid;
        margin: 0;
        padding: 15px;
        gap: 15px;
        grid-template-columns: repeat(3, calc(33.3% - 10px));
       
    }

    .grid-inner-harness .blog-item{
        height: 480px !important;
    }
}

@media(max-width: 940px){
    .grid-inner-harness{
        display: grid;
        margin: 0;
        padding: 0;
        gap: 15px;
        grid-template-columns: repeat(2, calc(50% - 7.5px));
    }

    .grid-inner-harness .blog-item{
        height: 480px !important;
    }
}

@media(max-width: 560px){
    .grid-inner-harness{
        display: grid;
        margin: 0;
        padding: 0;
        gap: 15px;
        grid-template-columns: 100%;
    }

    .grid-inner-harness .blog-item{
        height: 480px !important;
    }
}