.latest-posts__row {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
    align-items: top;
    justify-content: space-between;
}
.lastes-post__media{
    position: relative;
    height: 100%;
}
.latest-posts__info{
    padding : 0px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}
.latest-posts_wrap{
    position: absolute;
    bottom: 10px;
    z-index: 9999;
    width: 100%;
}
.lastes-post__media::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: #000;
    height: 100%;
    width: 100%;
    z-index: 1;
    opacity: .4;
    border-radius: 20px;
}

.lastes-post__media:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 4px solid transparent;
    border-radius: 15px;
    background: linear-gradient( to top right , #298D06, #FFE500) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: 999;
}

.lastes-post__media {
    transition: all 0.4s;
}
.lastes-post__media:hover .latest-posts__post__btn{
    background-image: linear-gradient(195deg, #FFE500 0%, #298D06 100%);
    transition: all 0.3s;
}
.lastes-post__media img{
    border-radius: 20px !important;
    width: 100%;
    height: 100% !important;
}
.latest-posts__post__title{
    color: #F1F1F1;
    font-family: jost;
    font-size: 23px !important;
    font-weight: 600;
}
.latest-posts__post__btn {
   background: #F1F1F1;
   border-radius: 100px;
   padding: 15px;
   display: grid;
   place-items:center;
   transition: all 0.4s;
}
.latest_no_post_message{
    color: rgba(1, 1, 1, 0.623);
    text-align: center;
    font-family: Gilroy;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px; /* 100% */
    letter-spacing: 1px;
}
/* Hover effict */
article.latest-posts__post:hover {
    transform: translateY(-10px);
}
article.latest-posts__post {
    transition: 0.5s;
}

@media only screen and (min-width: 333px) {
    .portfolio_post_category{
        gap: 10px;
    }
    
}

@media only screen and (min-width: 768px) {
    .latest-posts__row{
        grid-template-columns: repeat(2, 1fr);
   
    }
   
    .latest-posts__post__title{
        font-size: 30px;
    }
}

@media only screen and (min-width: 992px) {
    .latest-posts__row{
        grid-template-columns: repeat(3, 1fr);
   
    }
}