.object1ve-carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 14px 0;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
    color: #fff;
    box-sizing: border-box;
}

.object1ve-carousel *,
.object1ve-carousel *::before,
.object1ve-carousel *::after {
    box-sizing: border-box;
}

.object1ve-carousel__stage,
.object1ve-carousel__slides,
.object1ve-carousel__slide,
.object1ve-carousel__thumbs-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.object1ve-carousel__stage,
.object1ve-carousel__slides,
.object1ve-carousel__slide {
    position: relative;
    background: #000;
}

.object1ve-carousel__slides {
    min-height: 320px;
}

.object1ve-carousel__slide {
    display: none;
    aspect-ratio: 16 / 10;
}

.object1ve-carousel__slide.is-active {
    display: block;
    margin: 1.5rem 0;
}

.object1ve-carousel__slide img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.object1ve-carousel__nav,
.object1ve-carousel__thumb-nav,
.object1ve-carousel__expand,
.object1ve-carousel__lightbox-close {
    border: 0;
    cursor: pointer;
}

.object1ve-carousel__nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 20px;
    transform: translateY(-50%);
}

.object1ve-carousel__nav:hover,
.object1ve-carousel__thumb-nav:hover,
.object1ve-carousel__expand:hover,
.object1ve-carousel__lightbox-close:hover {
    background: #002F6C;
}

.object1ve-carousel__nav--prev {
    left: 12px;
}

.object1ve-carousel__nav--next {
    right: 12px;
}

.object1ve-carousel__expand {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 8px;
    background: #002F6C;
    color: #fff;
    font-size: 18px;
}

.object1ve-carousel__expand span {
    height: 18px;
}

.object1ve-carousel__thumbs-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 1rem 0;
    overflow: hidden;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.object1ve-carousel__thumbs {
    display: flex;
    flex: 1 1 auto;
    gap: 4px;
    width: auto;
    max-width: calc(100% - 72px);
    min-width: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}

.object1ve-carousel__thumbs::-webkit-scrollbar {
    display: none;
}

.object1ve-carousel__thumb {
    position: relative;
    flex: 0 0 116px;
    width: 116px;
    height: 88px;
    padding: 0;
    border: 0;
    background: transparent;
    opacity: 0.55;
    cursor: pointer;
}

.object1ve-carousel__thumb::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: transparent;
}

.object1ve-carousel__thumb.is-active {
    opacity: 1;
}

.object1ve-carousel__thumb.is-active::after {
    background: #002F6C;
}

.object1ve-carousel__thumb img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 82px !important;
    object-fit: cover;
}

.object1ve-carousel__thumb-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    min-width: 36px;
    height: 36px;
    margin:  5px;
    border-radius: 0;
    background: #002F6C;
    color: #fff;
    font-size: 18px;
}

.object1ve-carousel__thumb-nav span {
    height: 16px;
}

.object1ve-carousel__lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.94);
}

.object1ve-carousel__lightbox[hidden] {
    display: none;
}

.object1ve-carousel__lightbox-image {
    display: block;
    width: auto;
    height: auto;
    max-width: min(1200px, 95vw);
    max-height: 90vh;
}

.object1ve-carousel__lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    transform: translateY(-1px);
}

@media (max-width: 782px) {
    .object1ve-carousel__nav {
        width: 38px;
        height: 38px;
    }

    .object1ve-carousel__thumb {
        flex-basis: 92px;
        width: 92px;
        height: 72px;
    }

    .object1ve-carousel__thumb img {
        height: 72px;
    }

    .object1ve-carousel__thumbs {
        max-width: calc(100% - 60px);
    }

    .object1ve-carousel__thumb-nav {
        flex-basis: 30px;
        width: 30px;
        min-width: 30px;
        height: 30px;
    }
}