.via-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
	margin-bottom: 20px;
}

.via-slider-list {
    display: grid;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.via-slider-list > li {
    grid-area: 1 / 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 1s ease, visibility 0s linear 1s;
}

.via-slider-list > li.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 1s ease;
}

.via-slider-list > li > p {
    margin: 0;
    color: #999;
    font-size: small;
    line-height: 1.5;
    text-align: right;
}

.via-slider-list img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

.via-slider-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 44px;
    height: 56px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #fff;
    background: rgba(0, 0, 0, 0.1);
    font: 700 30px/1 Arial, sans-serif;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.2s ease;
}

.via-slider-arrow:hover,
.via-slider-arrow:focus-visible {
    background: rgba(0, 0, 0, 0.7);
}

.via-slider-arrow:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
}

.via-slider-prev {
    left: 0;
}

.via-slider-next {
    right: 0;
}

@media (prefers-reduced-motion: reduce) {
    .via-slider-list > li,
    .via-slider-list > li.is-active {
        transition: none;
    }
}
