/* Image Display & Zoom Styles */
.post-content img {
    max-width: 100%;
    max-height: 600px;
    width: auto;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

@media (max-width: 768px) {
    .post-content img {
        max-height: 400px;
        margin: 15px auto;
    }
}

/* Lightbox / Zoom Overlay */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: zoom-out;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1);
}

.lightbox-overlay.active img {
    transform: scale(1);
}