.rst-content img:not(.inline-icon) {
    cursor: zoom-in;
}

.image-lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, .85);
}

.image-lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: var(--radius-m, 6px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .5);
    cursor: default;
}

.image-lightbox-close {
    position: absolute;
    top: 16px;
    right: 24px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 10px;
}

.image-lightbox-close:hover {
    color: rgba(255, 255, 255, .7);
}
