/* Lightbox Styles */
.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

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

.lightbox-image {
    max-width: 99%;
    max-height: 99%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 2px solid #fff;
    cursor: default;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    text-shadow: 0 0 5px #000;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #ccc;
}

/* Add pointer cursor to images that can be opened */
.wp-block-image img,
.entry-content img {
    cursor: zoom-in;
}
