.overlay-item {
    position: relative;
    overflow: hidden;
}

.overlay-item .wp-block-image img {
    transition: transform 0.5s;
}

.overlay-item:hover .wp-block-image img {
    transform: scale(1.2);
}

.listing-overlay-content {
    max-height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 3%;
    z-index: 5;
}

.overlay-item .wp-block-image {
    margin: 0;
    position: relative;
}

.overlay-item .wp-block-image:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}
