.hero {
    position: relative;
    overflow: hidden;
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slides {
    z-index: 0;
}

.hero-slide {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 800ms ease, visibility 800ms ease;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-copy,
.hero-arrow {
    position: relative;
    z-index: 2;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(0, 0, 0, .38);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    z-index: 4;
    display: grid;
    place-items: center;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
    background: rgba(0, 0, 0, .62);
}

.hero-prev { left: 18px; }
.hero-next { right: 18px; }

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 9px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    min-width: 12px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: transparent;
    opacity: .8;
    cursor: pointer;
}

.hero-dot.active {
    background: #fff;
    opacity: 1;
}

.hero-arrow:focus-visible,
.hero-dot:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.mtb-standalone-slider {
    position: relative;
    height: var(--mtb-slider-height, 455px);
    min-height: 260px;
    overflow: hidden;
    background: #111;
}

.mtb-standalone-slides,
.mtb-standalone-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.mtb-standalone-slide {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 800ms ease, visibility 800ms ease;
}

.mtb-standalone-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.mtb-standalone-prev,
.mtb-standalone-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .45);
    color: #fff;
    cursor: pointer;
    font-size: 34px;
    line-height: 1;
}

.mtb-standalone-prev { left: 18px; }
.mtb-standalone-next { right: 18px; }

.mtb-standalone-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 9px;
}

.mtb-standalone-dots button {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.mtb-standalone-dots button.active {
    background: #fff;
}

@media (max-width: 700px) {
    .hero-arrow,
    .mtb-standalone-prev,
    .mtb-standalone-next {
        width: 42px;
        height: 42px;
        font-size: 30px;
    }

    .hero-prev,
    .mtb-standalone-prev { left: 10px; }

    .hero-next,
    .mtb-standalone-next { right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .mtb-standalone-slide {
        transition: none;
    }
}
