.post-body-container img {
    cursor: zoom-in;
    transition: opacity 0.2s ease;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.post-body-container img:hover {
    opacity: 0.88;
}

#lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    padding: 20px;
}

#lightbox-overlay.active {
    display: flex;
}

#lightbox-img {
    max-width: 92vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 48px rgba(0,0,0,0.6);
    animation: lb-in 0.2s ease;
}

#lightbox-close {
    position: fixed;
    top: 18px;
    right: 24px;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
    background: none;
    border: none;
    padding: 4px 10px;
    transition: opacity 0.15s;
    z-index: 10000;
}

#lightbox-close:hover {
    opacity: 1;
}

@keyframes lb-in {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}