.posts-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 40px ;
    row-gap: 45px;

}


.post-block{
    width: 100%;
}

.post-inner{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.post-image-inner{
    width: 100%;
    height: 350px;
    position: relative;
}

.post-block:hover .post-image-open-post{
    background: black;
}

.post-image__img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.post-image-open-post{
    position: absolute;
    right: 24px;
    top: 24px;
    padding: 15px;
    aspect-ratio: 1/1;
    background-color: white;
    transition: background-color 0.3s ease;

}

.post-block  path{
    fill: black; 
    transition: fill 0.3s ease;
}


.post-block:hover  path{
    fill: white; 

}

.post-content-title{
    color: #000;
    font-family: "AktivGrotesk-Regular";
    font-size: 21px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; 
}


.post-content-excerept{
    margin-top: 8px;
    font-family: "AktivGrotesk-Regular";
    color: rgba(0, 0, 0, 0.50);
    text-overflow: ellipsis;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;

}

.post-content-publication{
    margin-top: 24px;
    color: #000;
    font-family: "AktivGrotesk-Regular";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}


@media (max-width:1150px) {
    .posts-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
}


@media (max-width:800px) {

    .post-image-inner {
        height: 280px;
    }
}

@media (max-width:650px) {

    .posts-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
    .post-image-inner {
        height: 320px;
    }
}

@media (max-width:400px) {

   
    .post-image-inner {
        height: 300px;
    }
}