.ii-hero-slider {
    position: relative;
    width: 100%;
    height: 78vh;
    min-height: 480px;
    max-height: 800px;
    background: #0c0a09;
    overflow: hidden;
    user-select: none;
}

.ii-hero-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 700ms ease-in-out;
}

.ii-hero-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ii-hero-slide-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ii-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.20) 55%,
            rgba(0, 0, 0, 0.30)
        );
}

.ii-hero-content {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 0 1rem 2.5rem;
    text-align: center;
    pointer-events: none;
}

.ii-hero-title-wrap {
    max-width: 64rem;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 4rem;
}

.ii-hero-title {
    margin: 0;
    color: #fff;
    font-size: clamp(1.5rem, 4vw, 3.75rem);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    text-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
}

.ii-hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 30;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
    transition: all 200ms ease;
    padding: 0;
}

.ii-hero-arrow:hover {
    background: #292524;
    transform: translateY(-50%) scale(1.1);
}

.ii-hero-arrow .dashicons {
    width: 22px;
    height: 22px;
    font-size: 22px;
    line-height: 22px;
}

.ii-hero-gallery-control .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
    line-height: 18px;
}

.ii-hero-play-toggle .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
    line-height: 16px;
}

.ii-hero-arrow-left {
    left: 1.5rem;
}

.ii-hero-arrow-right {
    right: 8rem;
}

.ii-hero-gallery {
    position: absolute;
    right: 1rem;
    top: 50%;
    z-index: 30;
    transform: translateY(-50%);
    width: 100px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.ii-hero-gallery-control {
    width: 100%;
    padding: 0.25rem 0;
    border: 0;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.10);
    color: #d6d3d1;
    cursor: pointer;
}

.ii-hero-gallery-control:hover {
    background: #292524;
    color: #fff;
}

.ii-hero-gallery-label {
    width: 100%;
    padding: 0.125rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    color: #d6d3d1;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-align: center;
    text-transform: uppercase;
}

.ii-hero-gallery-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    max-height: 58vh;
    overflow: hidden;
}

.ii-hero-thumbnail {
    position: relative;
    width: 80px;
    height: 48px;
    flex: 0 0 auto;
    padding: 0;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.20);
    border-radius: 0.75rem;
    background: transparent;
    opacity: 0.60;
    cursor: pointer;
    transition: all 300ms ease;
}

.ii-hero-thumbnail:hover {
    opacity: 1;
    border-color: #fff;
}

.ii-hero-thumbnail.is-active {
    border-color: #fff;
    opacity: 1;
    transform: scale(1.05);
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.35),
        0 0 0 2px rgba(255, 255, 255, 0.40);
}

.ii-hero-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.ii-hero-thumbnail:hover img {
    transform: scale(1.1);
}

.ii-hero-status {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    background: rgba(0, 0, 0, 0.50);
    color: #fff;
    backdrop-filter: blur(12px);
}

.ii-hero-play-toggle {
    padding: 0.25rem;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    color: #eab308;
    cursor: pointer;
}

.ii-hero-counter {
    color: #e7e5e4;
    font-family: monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.ii-hero-mobile-thumbnails {
    display: none;
}

@media (max-width: 1023px) {

    .ii-hero-gallery {
        display: none;
    }

    .ii-hero-arrow-right {
        right: 1.5rem;
    }

    .ii-hero-mobile-thumbnails {
        position: absolute;
        left: 50%;
        bottom: 0.75rem;
        z-index: 30;
        display: flex;
        gap: 0.375rem;
        width: 92vw;
        max-width: 92vw;
        padding: 0.375rem 0.75rem;
        overflow-x: auto;
        transform: translateX(-50%);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 1rem;
        background: rgba(0, 0, 0, 0.60);
        backdrop-filter: blur(12px);
        scrollbar-width: none;
    }

    .ii-hero-mobile-thumbnails::-webkit-scrollbar {
        display: none;
    }

    .ii-hero-mobile-thumbnail {
        width: 40px;
        height: 32px;
        flex: 0 0 auto;
        padding: 0;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.20);
        border-radius: 0.5rem;
        background: transparent;
        opacity: 0.50;
    }

    .ii-hero-mobile-thumbnail.is-active {
        border-color: #eab308;
        opacity: 1;
        transform: scale(1.05);
    }

    .ii-hero-mobile-thumbnail img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }
}

@media (max-width: 640px) {

    .ii-hero-slider {
        min-height: 480px;
    }

    .ii-hero-content {
        padding-bottom: 3.5rem;
    }

    .ii-hero-arrow {
        width: 44px;
        height: 44px;
    }

    .ii-hero-arrow-left {
        left: 0.75rem;
    }

    .ii-hero-arrow-right {
        right: 0.75rem;
    }

    .ii-hero-status {
        top: 1rem;
        left: 1rem;
    }
}