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

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

.object1ve-carousel__stage {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    background: #000;
}

.object1ve-carousel__slides {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 320px;
}

.object1ve-carousel__slide {
    display: none;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    aspect-ratio: 16 / 10;
    background: #000;
}

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

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

/* .object1ve-carousel__caption {
    position: absolute;
    font-weight: bold !important;
    left: 20px;
    right: 70px;
    bottom: -21.5px;
    z-index: 3;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    height: 39px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
} */

.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%;
    transform: translateY(-50%);
    z-index: 4;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.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;
    right: 14px;
    top: 14px;
    z-index: 4;
    padding: 10px;
    border-radius: 8px;
    background: #002F6C;
    color: #fff;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

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

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

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

.object1ve-carousel__thumb::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 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 {
    flex: 0 0 36px;
    width: 36px;
    min-width: 36px;
    height: 36px;
    border-radius: 0;
    background: #002F6C;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 5px;
}

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

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

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

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

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

.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);
}

.object1ve-carousel-editor {
    background: #000;
    color: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.object1ve-carousel-editor__empty {
    padding: 24px;
    text-align: center;
}

.object1ve-carousel-editor__stage {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #000;
    display: flex;
}

.object1ve-carousel-editor__main-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.object1ve-carousel-editor__counter {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 2;
    background: #002F6C;
    color: #fff;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.object1ve-carousel-editor__thumbs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 4px 0 0;
    background: #000;
}

.object1ve-carousel-editor__thumb {
    flex: 0 0 100px;
    height: 72px;
    opacity: 0.55;
    position: relative;
}

.object1ve-carousel-editor__thumb.is-active {
    opacity: 1;
}

.object1ve-carousel-editor__thumb.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: #002F6C;
}

.object1ve-carousel-editor__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 782px) {
    .object1ve-carousel__thumb {
        flex-basis: 92px;
        width: 92px;
        height: 72px;
    }

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

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

    /* .object1ve-carousel__caption {
        left: 14px;
        right: 52px;
        bottom: 14px;
        font-size: 13px;
    } */

    .object1ve-carousel__nav {
        width: 38px;
        height: 38px;
    }

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