.huge-it-simple-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 1rem auto;
    overflow: hidden;
    background: #111;
}

.huge-it-simple-slider__viewport {
    position: relative;
    height: min(56.25vw, 350px);
}

.huge-it-simple-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s ease;
}

.huge-it-simple-slider__slide.is-active {
    opacity: 1;
    visibility: visible;
}

.huge-it-simple-slider__slide img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}

.huge-it-simple-slider__caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: .8rem 1rem 1.7rem;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, .75));
}

.huge-it-simple-slider__caption strong,
.huge-it-simple-slider__caption span {
    display: block;
}

.huge-it-simple-slider__button {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, .5);
    cursor: pointer;
    transform: translateY(-50%);
}

.huge-it-simple-slider__button:hover,
.huge-it-simple-slider__button:focus-visible {
    background: rgba(0, 0, 0, .8);
}

.huge-it-simple-slider__button.is-prev { left: .75rem; }
.huge-it-simple-slider__button.is-next { right: .75rem; }

.huge-it-simple-slider__dots {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: .5rem;
    left: 0;
    display: flex;
    justify-content: center;
    gap: .4rem;
}

.huge-it-simple-slider__dot {
    width: .65rem;
    height: .65rem;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.huge-it-simple-slider__dot.is-active { background: #fff; }

@media (prefers-reduced-motion: reduce) {
    .huge-it-simple-slider__slide { transition: none; }
}
