@media (max-width: 640px) {
    #scooter_gallery .fl-row-content-wrap {
        padding-top: 48px;
        padding-bottom: 48px;
    }
}

#scooter_gallery .pp-photo-gallery {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 16px;
}

#scooter_gallery .pp-photo-gallery::before,
#scooter_gallery .pp-photo-gallery::after {
    display: none;
}

#scooter_gallery .pp-photo-gallery
.pp-photo-gallery-item {
    margin: 0px;
    -webkit-box-flex: calc(33.33% - 16px);
        -ms-flex: calc(33.33% - 16px);
            flex: calc(33.33% - 16px);
    position: relative;
    aspect-ratio: 4 / 3;
    isolation: isolate;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--separator-color);
    position: relative;
}

@media (max-width: 992px) {
    #scooter_gallery .pp-photo-gallery
    .pp-photo-gallery-item {
        -webkit-box-flex: calc(50% - 16px);
        -ms-flex: calc(50% - 16px);
        flex: calc(50% - 16px);
    }
}

@media (max-width: 640px) {
    #scooter_gallery .pp-photo-gallery
    .pp-photo-gallery-item {
        -webkit-box-flex: 100%;
        -ms-flex: 100%;
        flex: 100%;
    }
}

#scooter_gallery .pp-photo-gallery
.pp-photo-gallery-item
.pp-photo-gallery-content a {
    position: relative;
    z-index: 1;
}

#scooter_gallery .pp-photo-gallery
.pp-photo-gallery-item
.pp-photo-gallery-content a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(55%, transparent), to(rgba(14, 17, 14, 0.85)));
    background: linear-gradient(180deg, transparent 55%, rgba(14, 17, 14, 0.85) 100%);
    z-index: 1;
    -webkit-transition: opacity var(--transition-base);
    transition: opacity var(--transition-base);
}

#scooter_gallery .pp-photo-gallery
.pp-photo-gallery-item
.pp-photo-gallery-content a::after {
    content: attr(data-description);
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 9;
    font-family: var(--primary-font);
    font-size: 16px;
    font-weight: 500;
    color: var(--title-color);
}

#scooter_gallery .pp-photo-gallery
.pp-photo-gallery-item .pp-photo-gallery-content,
#scooter_gallery .pp-photo-gallery
.pp-photo-gallery-item .pp-photo-gallery-content a,
#scooter_gallery .pp-photo-gallery
.pp-photo-gallery-item .pp-photo-gallery-content img{
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}