.posts-item {
    max-width: 100%;
    height: 100%;
    background: #fff;
    gap: 0;
    border: 0.1rem solid rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    transition: 0.3s ease-out;
}

.posts-item__image {
    border-radius: 1rem;
    aspect-ratio: 400/195;
    overflow: hidden;
}

.posts-item__image .no-image {
    filter: grayscale(1) brightness(0);
}

.posts-item__image img {
    transition: scale 0.3s ease-out;
}

.posts-item__content {
    width: 100%;
    gap: 1.5rem;
    padding: 3rem;
    flex: 1;
}

.post-cats,
.posts-item__tags {
    color: var(--color-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.posts-item__title {
    font-weight: 700;
}

.posts-item__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
    padding-top: 4rem;
    margin-top: auto;
}

.posts-item__date {
    color: var(--color-dark);
}

.posts-item .icon svg > * {
    transition: 0.3s;
}

.posts-item .icon circle {
    fill: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .posts-item:hover {
        box-shadow: inset 0 0 0 0.1rem rgba(0, 0, 0, 0.2), 0 0 3rem rgba(0, 0, 0, 0.08);
    }

    .posts-item:hover .posts-item__image img {
        scale: 1.05;
    }

    .posts-item:hover .icon path {
        stroke: #fff;
    }

    .posts-item:hover .icon circle {
        stroke: var(--color-dark);
        fill: var(--color-dark);
    }
}

@media (hover: none) {
    .posts-item:active .posts-item__image img {
        scale: 1.05;
    }

    .posts-item:hover {
        box-shadow: inset 0 0 0 0.1rem rgba(0, 0, 0, 0.2);
    }

    .posts-item:hover .icon path {
        stroke: #fff;
    }

    .posts-item:hover .icon circle {
        stroke: var(--color-dark);
        fill: var(--color-dark);
    }
}


@media screen and (max-width: 575.9px) {
    .posts-item__image {
        aspect-ratio: 335/195;
    }

    .posts-item__date {
        font-size: 1rem;
    }
}