.elementor-24281 .elementor-element.elementor-element-2a2caca{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:60px;--padding-bottom:60px;--padding-left:0px;--padding-right:0px;}.elementor-24281 .elementor-element.elementor-element-2a2caca:not(.elementor-motion-effects-element-type-background), .elementor-24281 .elementor-element.elementor-element-2a2caca > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-accent );}.elementor-24281 .elementor-element.elementor-element-e2933e1{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 10px) 0px;text-align:center;}.elementor-24281 .elementor-element.elementor-element-e2933e1 .elementor-heading-title{font-size:30px;color:var( --e-global-color-secondary );}.elementor-24281 .elementor-element.elementor-element-e1d0a3d .gallery-item img{border-style:none;border-radius:25px 25px 25px 25px;}.elementor-24281 .elementor-element.elementor-element-e1d0a3d .gallery-item .gallery-caption{text-align:center;font-size:0px;}@media(max-width:767px){.elementor-24281 .elementor-element.elementor-element-2a2caca{--padding-top:40px;--padding-bottom:40px;--padding-left:10px;--padding-right:10px;}}/* Start custom CSS for container, class: .elementor-element-2a2caca *//* =========================================
   TERA TERA PHOTO GALLERY
   CSS ID: KCustomCSS
   ========================================= */


/* DESKTOP GALLERY */
#KCustomCSS .elementor-image-gallery .gallery {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* RESET WORDPRESS / ELEMENTOR GALLERY ITEMS */
#KCustomCSS .elementor-image-gallery .gallery .gallery-item {
    float: none !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}


/* DESKTOP / TABLET IMAGE BOX */
#KCustomCSS .elementor-image-gallery .gallery .gallery-icon {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    aspect-ratio: 4 / 3;
    overflow: hidden !important;
    border-radius: 8px;
    background: #f5f5f5;
}


/* LIGHTBOX LINK */
#KCustomCSS .elementor-image-gallery .gallery .gallery-icon > a {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}


/* DESKTOP / TABLET IMAGE */
#KCustomCSS .elementor-image-gallery .gallery .gallery-icon img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center center !important;
}


/* =========================================
   TABLET
   768px - 1024px
   ========================================= */

@media only screen and (min-width: 768px) and (max-width: 1024px) {

    #KCustomCSS .elementor-image-gallery .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

}


/* =========================================
   MOBILE
   767px AND BELOW

   Important:
   Do NOT force 4:3 ratio on mobile.
   Show the complete original photograph.
   ========================================= */

@media only screen and (max-width: 767px) {

    #KCustomCSS .elementor-image-gallery .gallery {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;
    }


    #KCustomCSS .elementor-image-gallery .gallery .gallery-item {
        float: none !important;
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;
    }


    /* Remove desktop fixed aspect ratio */
    #KCustomCSS .elementor-image-gallery .gallery .gallery-icon {
        position: relative !important;

        width: 100% !important;
        height: auto !important;

        aspect-ratio: auto !important;

        overflow: hidden !important;
        border-radius: 8px;
    }


    /* Reset absolute desktop link */
    #KCustomCSS .elementor-image-gallery .gallery .gallery-icon > a {
        position: relative !important;

        inset: auto !important;

        display: block !important;

        width: 100% !important;
        height: auto !important;
    }


    /* Show entire image on phones */
    #KCustomCSS .elementor-image-gallery .gallery .gallery-icon img {
        display: block !important;

        width: 100% !important;
        height: auto !important;

        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        object-fit: contain !important;
        object-position: center center !important;
    }

}/* End custom CSS */