.t888-industrial-hero {
    --t888-hero-accent: #1d90fd;
    --t888-hero-image-ratio: 1920 / 860;
    position: relative;
    width: 100vw;
    max-width: 100vw;
    height: auto !important;
    aspect-ratio: var(--t888-hero-image-ratio);
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    background: #151515;
    isolation: isolate;
}

.t888-industrial-hero__slides,
.t888-industrial-hero__slide,
.t888-industrial-hero__picture {
    position: absolute;
    inset: 0;
}

.t888-industrial-hero__slides {
    touch-action: pan-y;
}

.t888-industrial-hero__slide {
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    will-change: opacity;
}

.t888-industrial-hero__slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.t888-industrial-hero__picture {
    display: block;
    overflow: hidden;
}

.t888-industrial-hero__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.t888-industrial-hero__arrows {
    position: absolute;
    z-index: 5;
    top: 50%;
    right: max(20px, calc((100vw - 1200px) / 2));
    display: flex;
    flex-direction: row;
    gap: 10px;
    transform: translateY(-50%);
    justify-content: space-between;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1662px;
    padding: 0 30px;
}

.t888-industrial-hero__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 1px solid var(--t888-hero-accent);
    border-radius: 0;
    background: var(--t888-hero-accent);
    color: #fff;
    cursor: pointer;
    transition: background-color 0.25s ease, opacity 0.25s ease;
}

.t888-industrial-hero__next {
    background: color-mix(in srgb, var(--t888-hero-accent) 55%, transparent);
}
.t888-industrial-hero__prev {
    background: color-mix(in srgb, var(--t888-hero-accent) 55%, transparent);
}

.t888-industrial-hero__arrow:hover,
.t888-industrial-hero__arrow:focus-visible {
    background: var(--t888-hero-accent);
    color: #fff;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.t888-industrial-hero__arrow[aria-disabled="true"] {
    cursor: wait;
    pointer-events: none;
}

.t888-industrial-hero__arrow svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.t888-industrial-hero__empty {
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    padding: 18px 24px;
    background: #fff;
    color: #222;
    transform: translate(-50%, -50%);
}

@media (max-width: 1024px) {
    .t888-industrial-hero__arrows {
        right: 16px;
    }
}

@media (max-width: 767px) {
    .t888-industrial-hero__arrows {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .t888-industrial-hero *,
    .t888-industrial-hero *::before,
    .t888-industrial-hero *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
