.elementor-6526 .elementor-element.elementor-element-d44cbaa{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;}.elementor-6526 .elementor-element.elementor-element-1db5c28{width:var( --container-widget-width, 86.014% );max-width:86.014%;--container-widget-width:86.014%;--container-widget-flex-grow:0;}.elementor-6526 .elementor-element.elementor-element-1db5c28.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-6526 .elementor-element.elementor-element-1db5c28 .gallery-item{padding:0 24px 24px 0;}.elementor-6526 .elementor-element.elementor-element-1db5c28 .gallery{margin:0 -24px -24px 0;}.elementor-6526 .elementor-element.elementor-element-1db5c28 .gallery-item .gallery-caption{text-align:center;}@media(min-width:768px){.elementor-6526 .elementor-element.elementor-element-d44cbaa{--content-width:1000%;}}/* Start custom CSS for image-gallery, class: .elementor-element-1db5c28 *//* Press Clippings Gallery Layout */
.press-clippings-gallery .gallery {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Gallery item */
.press-clippings-gallery .gallery-item {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

/* Uniform image dimensions */
.press-clippings-gallery .gallery-item img {
    width: 100% !important;
    height: 380px !important;
    object-fit: contain !important;
    display: block;
}

/* Tablet */
@media (max-width: 1024px) {
    .press-clippings-gallery .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .press-clippings-gallery .gallery {
        grid-template-columns: 1fr !important;
    }
}



/* =================================
   JAISON'S ACADEMY - PHOTO GALLERY
================================= */

/* Gallery Grid */
.modern-school-gallery .gallery {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 25px !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Gallery Card */
.modern-school-gallery .gallery-item {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
    overflow: hidden;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
}

/* Image */
.modern-school-gallery .gallery-item img {
    display: block;
    width: 100% !important;
    height: 240px !important;
    object-fit: cover !important;
    transition: transform 0.4s ease;
}

/* Hover */
.modern-school-gallery .gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.13);
}

.modern-school-gallery .gallery-item:hover img {
    transform: scale(1.05);
}

/* Captions */
.modern-school-gallery .gallery-caption {
    padding: 14px;
    color: #252438;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
}

/* Tablet */
@media (max-width: 1024px) {
    .modern-school-gallery .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .modern-school-gallery .gallery {
        grid-template-columns: 1fr !important;
    }

    .modern-school-gallery .gallery-item img {
        height: 230px !important;
    }
}/* End custom CSS */