.elementor-1542 .elementor-element.elementor-element-5f63c4b{--display:flex;--min-height:0px;--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;}.elementor-1542 .elementor-element.elementor-element-2698680e{--display:flex;}.elementor-1542 .elementor-element.elementor-element-322cf7af{width:var( --container-widget-width, 100.485% );max-width:100.485%;--container-widget-width:100.485%;--container-widget-flex-grow:0;}.elementor-1542 .elementor-element.elementor-element-322cf7af.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-1542 .elementor-element.elementor-element-322cf7af img{border-radius:20px 20px 20px 20px;}.elementor-1542 .elementor-element.elementor-element-5fa6f1c4{--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;}.elementor-1542 .elementor-element.elementor-element-52050cdd{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );letter-spacing:var( --e-global-typography-text-letter-spacing );}.elementor-1542 .elementor-element.elementor-element-190fe553{--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;}.elementor-1542 .elementor-element.elementor-element-ee8e759{width:var( --container-widget-width, 50% );max-width:50%;--container-widget-width:50%;--container-widget-flex-grow:0;}.elementor-1542 .elementor-element.elementor-element-ee8e759.elementor-element{--align-self:flex-end;}.elementor-1542 .elementor-element.elementor-element-ee8e759 > .elementor-widget-container{border-radius:20px 20px 20px 20px;}.elementor-1542 .elementor-element.elementor-element-562a680c{--display:flex;}.elementor-1542 .elementor-element.elementor-element-2e287493 > .elementor-widget-container{padding:50px 0px 0px 0px;}@media(min-width:768px){.elementor-1542 .elementor-element.elementor-element-5f63c4b{--content-width:100%;}.elementor-1542 .elementor-element.elementor-element-2698680e{--width:100%;}.elementor-1542 .elementor-element.elementor-element-5fa6f1c4{--width:100%;}}@media(max-width:1024px){.elementor-1542 .elementor-element.elementor-element-5f63c4b{--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;}.elementor-1542 .elementor-element.elementor-element-52050cdd{font-size:var( --e-global-typography-text-font-size );letter-spacing:var( --e-global-typography-text-letter-spacing );}}@media(max-width:767px){.elementor-1542 .elementor-element.elementor-element-52050cdd{font-size:var( --e-global-typography-text-font-size );letter-spacing:var( --e-global-typography-text-letter-spacing );}}/* Start custom CSS for shortcode, class: .elementor-element-2e287493 *//**
 * ACF Gallery Shortcode Styles
 * Responsive gallery styles with Flexbox (Elementor Compatible)
 */

.acf-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
    max-width: 100%;
    width: 100%;
    position: relative;
    z-index: auto; /* Let Elementor handle stacking */
    contain: layout style paint;
    box-sizing: border-box;
}

/* Flexbox-based column layouts for Elementor compatibility */
.acf-gallery-columns-1 .acf-gallery-item {
    flex: 1 1 100%;
    max-width: 100%;
}

.acf-gallery-columns-2 .acf-gallery-item {
    flex: 1 1 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
}

.acf-gallery-columns-3 .acf-gallery-item {
    flex: 1 1 calc(33.333% - 0.67rem);
    max-width: calc(33.333% - 0.67rem);
}

.acf-gallery-columns-4 .acf-gallery-item {
    flex: 1 1 calc(25% - 0.75rem);
    max-width: calc(25% - 0.75rem);
}

.acf-gallery-columns-5 .acf-gallery-item {
    flex: 1 1 calc(20% - 0.8rem);
    max-width: calc(20% - 0.8rem);
}

.acf-gallery-columns-6 .acf-gallery-item {
    flex: 1 1 calc(16.666% - 0.83rem);
    max-width: calc(16.666% - 0.83rem);
}

/* Elementor container compatibility */
.elementor-widget-container .acf-gallery,
.elementor-container .acf-gallery {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .acf-gallery {
        gap: 0.75rem;
        margin: 1rem 0;
    }

    .acf-gallery-columns-3 .acf-gallery-item,
    .acf-gallery-columns-4 .acf-gallery-item,
    .acf-gallery-columns-5 .acf-gallery-item,
    .acf-gallery-columns-6 .acf-gallery-item {
        flex: 1 1 calc(50% - 0.375rem);
        max-width: calc(50% - 0.375rem);
    }
}

@media (max-width: 480px) {
    .acf-gallery {
        gap: 0.5rem;
        margin: 0.75rem 0;
        padding: 0;
    }

    .acf-gallery-columns-2 .acf-gallery-item,
    .acf-gallery-columns-3 .acf-gallery-item,
    .acf-gallery-columns-4 .acf-gallery-item,
    .acf-gallery-columns-5 .acf-gallery-item,
    .acf-gallery-columns-6 .acf-gallery-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Gallery item styles */
.acf-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px; /* uniform border-radius here */
    background: #fff;
    transition: opacity 0.2s ease;
    box-sizing: border-box;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}

.acf-gallery-item:hover {
    opacity: 0.9;
}

/* Images with border-radius 20px */
.acf-gallery-item img {
    width: 100%;
    height: 300px; /* desktop height */
    display: block;
    max-width: 100%;
    box-sizing: border-box;
    vertical-align: top;
    object-fit: cover;
    border-radius: 20px;
}

/* Responsive image heights */
@media (max-width: 768px) {
    .acf-gallery-item img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .acf-gallery-item {
        margin-bottom: 0.5rem;
    }

    .acf-gallery-item img {
        height: 200px;
        border-radius: 20px; /* keep radius consistent */
    }
}

/* Link styles */
.acf-gallery-item a {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.acf-gallery-item a:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

/* Caption styles */
.acf-gallery-caption {
    padding: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.3;
    color: #777;
    background: #fff;
    position: relative;
}

.acf-gallery-caption p {
    margin: 0;
}

@media (max-width: 480px) {
    .acf-gallery-caption {
        padding: 0.4rem;
        font-size: 0.8rem;
    }
}

/* Lightbox enhancements */
.acf-gallery-lightbox .acf-gallery-item {
    cursor: pointer;
}

.acf-gallery-lightbox .acf-gallery-item::before {
    content: '⤢';
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 4px 6px;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 2;
    line-height: 1;
}

.acf-gallery-lightbox .acf-gallery-item:hover::before {
    opacity: 1;
}

@media (max-width: 480px) {
    .acf-gallery-lightbox .acf-gallery-item::before {
        font-size: 1rem;
        top: 6px;
        right: 6px;
        padding: 3px 5px;
    }
}

/* Masonry alternative layout */
.acf-gallery.masonry {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 600px;
    align-content: flex-start;
}

.acf-gallery.masonry .acf-gallery-item {
    width: calc(33.333% - 1rem);
    margin-bottom: 1rem;
    break-inside: avoid;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .acf-gallery.masonry {
        height: 500px;
    }

    .acf-gallery.masonry .acf-gallery-item {
        width: calc(50% - 0.5rem);
    }
}

@media (max-width: 480px) {
    .acf-gallery.masonry {
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .acf-gallery.masonry .acf-gallery-item {
        width: 100%;
        flex: 1 1 100%;
    }
}

/* Full-width gallery */
.acf-gallery.full-width {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0 2rem;
}

@media (max-width: 480px) {
    .acf-gallery.full-width {
        padding: 0 1rem;
    }
}

/* Minimal styling option */
.acf-gallery.minimal {
    gap: 0.5rem;
}

.acf-gallery.minimal .acf-gallery-item {
    border-radius: 0;
}

.acf-gallery.minimal .acf-gallery-item:hover {
    opacity: 1;
}

/* Square aspect ratio option */
.acf-gallery.square .acf-gallery-item {
    aspect-ratio: 1;
}

.acf-gallery.square .acf-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Mobile square adjustments */
@media (max-width: 480px) {
    .acf-gallery.square .acf-gallery-item img {
        max-height: 200px;
    }
}

/* Loading states */
.acf-gallery-item img[loading="lazy"] {
    background: #f0f0f0;
    min-height: 200px;
}

@media (max-width: 480px) {
    .acf-gallery-item img[loading="lazy"] {
        min-height: 150px;
    }
}

/* Lightbox2 Customizations */
.lightbox .lb-image {
    border-radius: 20px !important; /* match gallery style */
}

/* Elementor-specific fixes */
.elementor-section .acf-gallery,
.elementor-container .acf-gallery,
.elementor-widget .acf-gallery {
    position: relative;
    z-index: 1;
    max-width: 100%;
    overflow: hidden;
    isolation: isolate;
}

.elementor-column .acf-gallery {
    width: 100%;
    max-width: 100%;
}

.elementor-widget-container > .acf-gallery {
    margin: 0;
}

.e-flex .acf-gallery,
.e-con .acf-gallery {
    flex-shrink: 0;
    width: 100%;
}

/* Print styles */
@media print {
    .acf-gallery {
        display: flex;
        flex-wrap: wrap;
        break-inside: avoid;
    }

    .acf-gallery-item {
        break-inside: avoid;
        margin-bottom: 1rem;
        flex: 1 1 calc(50% - 0.5rem);
        border-radius: 20px;
    }

    .acf-gallery-item::before {
        display: none !important;
    }
}/* End custom CSS */