.elementor-264216 .elementor-element.elementor-element-4249c2b0{--display:flex;}.elementor-264216 .elementor-element.elementor-element-3d6bafc{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:flex-start;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-264216 .elementor-element.elementor-element-3921e42{--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;--align-items:flex-start;--margin-top:100px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-264216 .elementor-element.elementor-element-446f749{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-c078be8 */.custom-mosaic-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-auto-rows: 150px;
    gap: 10px;
}

.custom-mosaic-gallery a {
    position: relative;
    display: block;
    overflow: hidden;
    border: 2px solid #ccc;
    transition: transform 0.2s, filter 0.2s;
}

.custom-mosaic-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s, filter 0.2s;
}

.custom-mosaic-gallery img:hover {
    transform: scale(1.05);
    filter: brightness(0.9);
}

/* Example of specific items spanning more columns or rows */
.custom-mosaic-gallery a:nth-child(3) {
    grid-column: span 3;
    grid-row: span 2;
}

.custom-mosaic-gallery a:nth-child(5) {
    grid-column: span 2;
    grid-row: span 1;
}

.custom-mosaic-gallery a:nth-child(7) {
    grid-column: span 2;
    grid-row: span 3;
}

.custom-mosaic-gallery a:nth-child(9) {
    grid-column: span 4;
    grid-row: span 2;
}

/* Style for the popup overlay */
#image-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Style for the popup content */
#image-popup-content {
    position: relative;
    max-width: 90%;
    max-height: 80%;
    text-align: center;
    color: white;
}

#popup-image {
    max-width: 100%;
    max-height: 70vh;
    margin-bottom: 10px;
}

#popup-caption {
    font-size: 16px;
}

/* Style for the close button */
#image-popup-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}/* End custom CSS */