.landing-post-gallery {
    max-width: 760px;
    margin: 16px 0 0;
}

.landing-post-gallery__track {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    list-style: none;
    margin: 0;
    padding: 0;
    border-radius: 8px;
}

.landing-post-gallery__track > li {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
    background: #f5f5f5;
}

.landing-post-gallery__track a {
    display: block;
}

.landing-post-gallery__track img {
    display: block;
    width: 100%;
    height: clamp(180px, 55vw, 480px);
    object-fit: contain;
}

.landing-post-gallery__track > li:only-child img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 480px;
    margin-inline: auto;
}

.landing-post-gallery__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.landing-post-gallery__nav[hidden] {
    display: none;
}

.landing-post-gallery__nav button {
    width: 44px;
    height: 44px;
    border: 1px solid #ccc;
    border-radius: 8px;
    color: inherit;
    background: #fff;
    font-size: 26px;
    line-height: 1;
}

.landing-post-gallery__nav button:disabled {
    opacity: .4;
}

@media (prefers-reduced-motion: no-preference) {
    .landing-post-gallery__track {
        scroll-behavior: smooth;
    }
}
