.entry-description .lgx-item img {
    cursor: zoom-in;
}

body:has(.lh-lightbox[open]) {
    overflow: hidden;
}

.lh-lightbox {
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.lh-lightbox::backdrop {
    background: rgba(12, 12, 14, 0.92);
}

.lh-lightbox__stage {
    display: flex;
    width: 100%;
    height: 100%;
    overflow: auto;
    overscroll-behavior: contain;
}

.lh-lightbox__stage img {
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: zoom-in;
    user-select: none;
}

.lh-lightbox__stage img.is-zoomed {
    max-width: none;
    max-height: none;
    cursor: grab;
}

.lh-lightbox__bar {
    position: fixed;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
}

.lh-lightbox button {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: rgba(12, 12, 14, 0.65);
    color: #fff;
    font-size: 24px;
    line-height: 1;
}

.lh-lightbox button:hover,
.lh-lightbox button:focus-visible {
    background: rgba(12, 12, 14, 0.85);
}

.lh-lightbox button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 5px rgba(12, 12, 14, 0.9);
}

.lh-lightbox button:disabled {
    opacity: 0.4;
}

.lh-lightbox__nav {
    position: fixed;
    top: 50%;
    margin-top: -22px;
    font-size: 32px;
}

.lh-lightbox__nav--prev {
    left: 12px;
}

.lh-lightbox__nav--next {
    right: 12px;
}

.lh-lightbox.is-single .lh-lightbox__nav {
    display: none;
}
