.vlm-advanced-lightbox-wqb9alvencm0 .vlm-lightbox-trigger {
    cursor: zoom-in;
}

.vlm-lightbox-dialog {
    background: transparent;
    border: 0;
    color: #fff;
    height: 100%;
    margin: 0;
    max-height: none;
    max-width: none;
    padding: 0;
    width: 100%;
}

.vlm-lightbox-dialog::backdrop {
    background: rgba(0, 0, 0, 0.5);
}

.vlm-lightbox-shell {
    background: transparent;
    box-sizing: border-box;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: 100%;
    overflow: hidden;
    width: 100%;
}

.vlm-lightbox-toolbar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
    padding: 0.75rem;
}

.vlm-lightbox-button {
    align-items: center;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 0.2rem;
    color: #111;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 700;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.55rem 0.8rem;
}

.vlm-lightbox-button:hover,
.vlm-lightbox-button:focus-visible {
    background: #f2f2f2;
    border-color: #f7bd22;
    outline: 0;
}

.vlm-lightbox-button[aria-pressed="true"] {
    background: #f7bd22;
}

.vlm-lightbox-stage {
    align-items: stretch;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 0;
}

.vlm-lightbox-previous,
.vlm-lightbox-next {
    align-self: center;
    font-size: 1.5rem;
    margin: 0.5rem;
    min-width: 3rem;
    padding-inline: 0.5rem;
}

.vlm-lightbox-viewport {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
}

.vlm-lightbox-image {
    display: block;
    height: auto;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.vlm-lightbox-viewport.is-zoomed {
    align-items: flex-start;
    justify-content: flex-start;
}

.vlm-lightbox-viewport.is-zoomed .vlm-lightbox-image {
    cursor: zoom-out;
    flex: 0 0 auto;
    max-height: none;
    max-width: none;
}

.vlm-lightbox-metadata {
    background: rgba(0, 0, 0, 0.76);
    padding: 0.75rem 1rem 1rem;
    text-align: center;
}

.vlm-lightbox-position,
.vlm-lightbox-title,
.vlm-lightbox-description {
    margin: 0;
}

.vlm-lightbox-title {
    color: inherit;
    font-size: 1.15rem;
    padding-top: 0.25rem;
}

.vlm-lightbox-description {
    padding-top: 0.35rem;
    white-space: pre-line;
}

.vlm-lightbox-status {
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.vlm-lightbox-dialog:not(.vlm-reduced-motion) .vlm-lightbox-image {
    transition: opacity 160ms ease;
}

@media (max-width: 600px) {
    .vlm-lightbox-toolbar {
        justify-content: center;
        padding: 0.5rem;
    }

    .vlm-lightbox-button {
        min-height: 2.6rem;
        padding: 0.45rem 0.6rem;
    }

    .vlm-lightbox-stage {
        grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
    }

    .vlm-lightbox-previous,
    .vlm-lightbox-next {
        margin: 0.15rem;
        min-width: 2.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vlm-lightbox-image {
        transition: none;
    }
}
