.w-gallery .w-gallery-item.lorentz-wordpress-gallery-cover-item {
    background-clip: content-box;
    background-origin: content-box;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    position: relative;
}

.w-gallery .w-gallery-item.lorentz-wordpress-gallery-cover-item .w-gallery-item-img {
    height: 100%;
    inset: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    visibility: hidden;
    width: 100%;
}
