h4 a {
    position: absolute;
    margin-left: -23px;
}

.card:not(.filter) {
    width: 240px;
    transition: box-shadow .15s ease-in-out;
}

.card:not(.filter) .card-img {
    border-radius: 0;
}

.card:not(.filter) .card-img img {
    image-rendering: smooth;
    -webkit-transition: -webkit-filter .3s;
    -o-transition: filter .3s;
    transition: filter .3s, -webkit-filter .3s;
    -o-object-fit: cover;
       object-fit: cover;
    max-height: 150px;
}

.card:not(.filter) .card-img img.no-fit {
    -o-object-fit: none;
       object-fit: none;
}

.card:not(.filter) .card-img > a > img:hover {
    -webkit-filter: grayscale(100%);
            filter: grayscale(100%);
}
