.litb-vertical-slideshow,
.wp-block-litb-vertical-slideshow {
    background: #000;
    display: block;
    line-height: 0;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    max-width: none !important;
    overflow: hidden;
    scroll-margin-top: 0;
    width: 100vw;
}

.litb-vertical-slideshow > div {
    line-height: 0;
    margin: 0 !important;
    padding: 0 !important;
}

.litb-vertical-slideshow__slide {
    background: #000;
    display: block;
    height: 100vh !important;
    line-height: 0;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    min-height: 100vh !important;
    padding: 0 !important;
}

.litb-vertical-slideshow__slide + .litb-vertical-slideshow__slide {
    margin-top: 0 !important;
}

.litb-vertical-slideshow__slide > div:first-child {
    aspect-ratio: auto !important;
    height: 100% !important;
    inset: 0 !important;
    line-height: 0;
    margin: 0 !important;
    overflow: hidden;
    padding: 0 !important;
    position: absolute !important;
    width: 100% !important;
}

.litb-vertical-slideshow__slide img {
    display: block !important;
    height: 100% !important;
    margin: 0 !important;
    max-width: none !important;
    object-fit: cover !important;
    padding: 0 !important;
    vertical-align: top !important;
    width: 100% !important;
}

@media (max-width: 767px) {
    .litb-vertical-slideshow__slide {
        height: 66.6667vw !important;
        min-height: 0 !important;
    }

    .litb-vertical-slideshow__caption {
        padding: 1rem !important;
    }

    .litb-vertical-slideshow__caption > div {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .litb-vertical-slideshow__caption .backdrop-blur-md {
        border-radius: 0.75rem;
        padding: 1.25rem !important;
    }
}

.litb-vertical-slideshow__caption {
    line-height: 1.5;
    transition: opacity 180ms linear, transform 180ms linear;
}

.litb-vertical-slideshow__dot {
    appearance: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
}

.litb-vertical-slideshow__nav--fallback-hidden {
    display: none !important;
}

.litb-visual-rail {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    position: fixed;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
}

.litb-visual-rail__dot,
.litb-visual-rail__arrow {
    appearance: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: block;
    height: 1.75rem;
    padding: 0;
    width: 1.75rem;
}

.litb-visual-rail__mark,
.litb-visual-rail__arrow {
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.24), 0 4px 6px -4px rgba(0, 0, 0, 0.24);
    color: rgba(0, 0, 0, 0.72);
    display: flex;
    font-size: 0.6875rem;
    font-weight: 700;
    height: 1.75rem;
    justify-content: center;
    line-height: 1;
    min-width: 1.75rem;
    padding: 0 0.25rem;
    transition: background-color 300ms ease, box-shadow 300ms ease, color 300ms ease;
    width: 1.75rem;
}

.litb-visual-rail__arrow {
    font-size: 0.875rem;
    padding: 0;
}

.litb-visual-rail__dot:hover .litb-visual-rail__mark,
.litb-visual-rail__arrow:hover:not(:disabled) {
    background-color: #fff;
}

.litb-visual-rail__dot[aria-current="true"] .litb-visual-rail__mark {
    color: #000;
}

.litb-visual-rail__arrow:disabled {
    cursor: default;
    opacity: 0.35;
}

@media (min-width: 768px) {
    .litb-visual-rail {
        right: 2rem;
    }
}

.litb-vertical-slideshow-editor__slide-panel {
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    margin-bottom: 16px;
    padding: 12px;
}

.litb-vertical-slideshow-editor__slide-heading {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    margin-bottom: 12px;
}

.litb-vertical-slideshow-editor__drag-handle {
    color: #56677c;
    cursor: grab;
    font-weight: 700;
    letter-spacing: 2px;
}

.litb-vertical-slideshow-editor__slide-actions {
    align-items: center;
    display: flex;
    gap: 2px;
}

.litb-vertical-slideshow-editor__media {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.litb-vertical-slideshow-editor__thumb {
    aspect-ratio: 3 / 2;
    border-radius: 4px;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.litb-vertical-slideshow-editor__add-button {
    margin-top: 8px;
    width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    .litb-vertical-slideshow__caption,
    .litb-vertical-slideshow__dot,
    .litb-vertical-slideshow__dot-mark,
    .litb-visual-rail__mark {
        transition: none !important;
    }
}
