.widget-image-widget .figure-img.img-fluid {
    height: 260px;
    width: 100%;
}

.ImageGalleriesPic {
    cursor: pointer;
}

.media-inner-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

div[id^="grid-gallery-"] img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s ease;
}

    div[id^="grid-gallery-"] img:hover {
        transform: scale(1.02);
    }

#main-div img {
    max-width: 100%;
}

.media-item {
    text-align: center;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: row;
}

.lightbox-content img {
    max-height: 90vh;
    max-width: 90vw;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.lightbox-content i {
    font-size: 5rem;
    cursor: pointer;
}

.lightbox-content a {
    display: block;
    margin-top: 10px;
    color: #fff;
    word-break: break-word;
    text-decoration: underline;
}
