.hube-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hube-slides {
    position: relative;
    width: 100%;
}

.hube-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--hube-transition, 800ms) ease-in-out;
    pointer-events: none;
}

.hube-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

.hube-slide picture,
.hube-slide a.hube-slide-link {
    display: block;
    width: 100%;
    height: auto;
}

.hube-slide img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

.hube-slide-link {
    text-decoration: none;
    color: inherit;
}

.hube-nav {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20%;
    min-width: 60px;
    max-width: 160px;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    opacity: 0;
    transition: opacity 200ms ease-in-out;
    z-index: 5;
    display: flex;
    align-items: center;
    color: #fff;
    outline: none;
}

.hube-nav-prev {
    left: 0;
    justify-content: flex-start;
    padding-left: 24px;
}

.hube-nav-next {
    right: 0;
    justify-content: flex-end;
    padding-right: 24px;
}

.hube-slider:hover .hube-nav,
.hube-nav:focus-visible {
    opacity: 1;
}

.hube-arrow {
    font-size: 56px;
    line-height: 1;
    font-family: Georgia, 'Times New Roman', serif;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
    user-select: none;
    transition: transform 150ms ease-in-out;
}

.hube-nav:hover .hube-arrow {
    transform: scale(1.15);
}

@media (max-width: 768px) {
    .hube-nav {
        min-width: 44px;
        padding-left: 12px;
        padding-right: 12px;
    }
    .hube-arrow {
        font-size: 40px;
    }
}
