/**
 * Stylesheet for Movable Background Gallery Block
 *
 * @package MovableBackgroundGalleryBlock
 */

.mvbgdglrybck-block {
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.mvbgdglrybck-bg-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.mvbgdglrybck-bg-layer {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background-size: cover;
    background-position: center;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.mvbgdglrybck-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
}

.mvbgdglrybck-gallery-wrapper {
    position: relative;
    z-index: 2;
    padding: 60px 40px;
}

.mvbgdglrybck-gallery {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 20px;
}

.mvbgdglrybck-gallery img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
}