
.last-posts__items {
    display: flex;
    column-gap: 30px;
    flex-wrap: wrap;
}

.last-posts__item {
    flex-basis: calc((100% - 60px) / 3);
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
}

.last-posts__item-image img {
    border-radius: 12px;
    width: 100%;
    height: calc(260px + (342 - 260) * ((100vw - 992px) / (1440 - 992)));
    object-fit: cover;
}

.last-posts__item-heading {
    margin-top: 1rem;
    color: #4a6671;
    transition: all 0.3s ease;
}

.last-posts__item-heading:hover {
    color: rgb(242, 84, 91);
}

.last-posts a:hover {
    text-decoration: none;
}

.last-posts__item-text {
    font-size: .9rem;
    margin-top: 1rem;
    margin-bottom: 1rem !important;
    flex-grow: 1;
}

@media screen and (min-width: 1440px) {
    .last-posts__item-image img {
        height: 342px;
    }
}

@media screen and (max-width: 991.98px) {
    .last-posts__item-image img {
        height: 100%;
        max-height: 500px;
        min-height: 285px;
    }

    .last-posts__items {
        gap: 0;
        flex-direction: column;
    }

    .last-posts__item {
        flex-basis: 100%;
    }

}