.gallery.style2 > .inner {
    -webkit-overflow-scrolling: touch;
}
@media (hover: none) and (pointer: coarse) {
    .gallery.style2 > .inner {
        scroll-snap-type: x mandatory;
    }
    .gallery.style2 article {
        scroll-snap-align: start;
    }
}
.gallery.style2 > .forward,
.gallery.style2 > .backward {
    opacity: 0.45;
}
.gallery.style2 article {
    display: flex;
    flex-direction: column;
    background-color: #141414;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.gallery.style2 article .image {
    overflow: hidden;
    flex-shrink: 0;
}
.gallery.style2 article .image img {
    transition: transform 0.25s ease;
    -webkit-user-drag: none;
}
.gallery.style2 article:hover .image img {
    transform: scale(1.03);
}
.gallery.style2 article .caption {
    position: static;
    opacity: 1;
    pointer-events: auto;
    height: auto;
    flex: 1;
    justify-content: flex-start;
    background-color: transparent;
    padding: 1.25rem 1.25rem 1.5rem;
    text-align: center;
}
.gallery.style2 article .caption p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.85);
}
.gallery.style2 article .caption .actions {
    margin-top: auto;
    margin-bottom: 0;
}
