body .home-project-card__image > img,
body .vc-card__image > img,
body .se-project-image > img,
body .sl-example > a > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

body .se-project-image,
body .sl-example > a {
    overflow: hidden;
}

body .sl-example > a {
    position: relative;
    min-height: 240px;
}

body .sl-example > a > img {
    position: absolute;
    inset: 0;
    max-height: none;
}

@media (max-width: 767px) {
    body .sl-example > a {
        aspect-ratio: 640 / 420;
        min-height: 0;
    }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    body .nq-intro {
        transition: translate 220ms ease-out;
    }

    body .nq-intro__photo {
        overflow: hidden;
    }

    body .nq-intro__photo > figcaption {
        position: relative;
        z-index: 1;
    }

    body .nq-intro__photo > img {
        transition: scale 220ms ease-out;
    }

    body .nq-intro:hover {
        translate: 0 -3px;
    }

    body .nq-intro:hover .nq-intro__photo > img {
        scale: 1.035;
    }
}
