/* Keep the gallery inside the width assigned by Elementor containers. */
.elementor-widget-wad_gallery{min-width:0;max-width:100%;}
.elementor-widget-wad_gallery>.elementor-widget-container{width:100%;max-width:100%;min-width:0;}
.elementor-widget-wad_gallery .wad-gallery,.elementor-widget-wad_gallery .wad-gallery-toolbar,.elementor-widget-wad_gallery .wad-gallery-grid,.elementor-widget-wad_gallery .wad-gallery-pagination{min-width:0;max-width:100%;box-sizing:border-box;}
.wad-gallery,.wad-gallery *,.wad-gallery *:before,.wad-gallery *:after{box-sizing:border-box;}
.wad-gallery{--wad-gallery-columns:3;--wad-gallery-fit:cover;position:relative;width:100%;max-width:100%;min-width:0;overflow:visible;}
.wad-gallery-toolbar{display:flex;min-width:0;max-width:100%;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:20px}
.wad-gallery-filters{display:flex;min-width:0;max-width:100%;flex-wrap:wrap;gap:8px}.wad-gallery-filter-button,.wad-gallery-load-more,.wad-gallery-page{appearance:none;border:1px solid #d9dde5;background:#fff;color:#1f2937;padding:9px 15px;border-radius:6px;cursor:pointer;transition:background-color .22s ease,color .22s ease,border-color .22s ease,transform .22s ease,box-shadow .22s ease}.wad-gallery-filter-button:hover,.wad-gallery-filter-button:focus-visible,.wad-gallery-filter-button.is-active,.wad-gallery-page.is-active{background:#111827;color:#fff;border-color:#111827}.wad-gallery-filter-button:focus-visible,.wad-gallery-load-more:focus-visible,.wad-gallery-page:focus-visible,.wad-gallery-item button:focus-visible,.wad-gallery-lightbox button:focus-visible,.wad-gallery-lightbox a:focus-visible{outline:3px solid rgba(37,99,235,.4);outline-offset:2px}.wad-gallery-filter-select,.wad-gallery-search{min-height:42px;padding:8px 12px;border:1px solid #d9dde5;border-radius:6px;background:#fff;color:#111827}.wad-gallery-search{min-width:220px;max-width:100%}
.wad-gallery-grid{display:grid;width:100%;min-width:0;max-width:100%;grid-template-columns:repeat(var(--wad-gallery-columns),minmax(0,1fr));gap:16px;align-items:start}.wad-gallery-layout-masonry .wad-gallery-grid{display:block;column-count:var(--wad-gallery-columns);column-gap:16px}.wad-gallery-layout-masonry .wad-gallery-item{display:inline-block;width:100%;margin:0 0 16px;break-inside:avoid}.wad-gallery-layout-justified .wad-gallery-grid{display:flex;flex-wrap:wrap}.wad-gallery-layout-justified .wad-gallery-item{flex:1 1 260px}.wad-gallery-layout-carousel .wad-gallery-grid{display:flex;width:100%;min-width:0;max-width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:8px}.wad-gallery-layout-carousel .wad-gallery-item{flex:0 0 calc((100% - 32px)/var(--wad-gallery-columns));scroll-snap-align:start}.wad-gallery-layout-mosaic .wad-gallery-item:nth-child(5n+1){grid-column:span 2;grid-row:span 2}.wad-gallery-item{position:relative;min-width:0;background:#fff;overflow:hidden;transition:opacity .28s ease,transform .28s ease,filter .28s ease}.wad-gallery-item[hidden]{display:none}.wad-gallery-media{position:relative;overflow:hidden;background:#eef1f5;border-radius:inherit}.wad-gallery-media img,.wad-gallery-overlay{border-radius:inherit}.wad-gallery-media img{display:block;width:100%;height:100%;object-fit:var(--wad-gallery-fit);transition:transform .35s ease,opacity .35s ease,filter .35s ease}.wad-gallery-ratio-1-1 .wad-gallery-media{aspect-ratio:1/1}.wad-gallery-ratio-4-3 .wad-gallery-media{aspect-ratio:4/3}.wad-gallery-ratio-3-2 .wad-gallery-media{aspect-ratio:3/2}.wad-gallery-ratio-16-9 .wad-gallery-media{aspect-ratio:16/9}.wad-gallery-ratio-2-3 .wad-gallery-media{aspect-ratio:2/3}.wad-gallery-ratio-auto .wad-gallery-media img{height:auto}.wad-gallery-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(17,24,39,.42);opacity:0;transition:opacity .3s ease,transform .3s ease}.wad-gallery-overlay button{width:46px;height:46px;border-radius:50%;border:0;background:#fff;color:#111827;font-size:25px;line-height:1;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.2)}.wad-gallery-item:hover .wad-gallery-overlay,.wad-gallery-item:focus-within .wad-gallery-overlay{opacity:1}.wad-gallery-hover-zoom .wad-gallery-item:hover img{transform:scale(1.08)}.wad-gallery-hover-fade .wad-gallery-item:hover img{opacity:.72}.wad-gallery-hover-slide .wad-gallery-item:hover img{transform:translateY(-8px)}.wad-gallery-hover-rotate .wad-gallery-item:hover img{transform:scale(1.06) rotate(2deg)}.wad-gallery-hover-blur .wad-gallery-item:hover img{filter:blur(3px)}.wad-gallery-hover-grayscale .wad-gallery-media img{filter:grayscale(1)}.wad-gallery-hover-grayscale .wad-gallery-item:hover img{filter:grayscale(0)}.wad-gallery-hover-caption .wad-gallery-content{transform:translateY(8px);opacity:.7;transition:.3s}.wad-gallery-hover-caption .wad-gallery-item:hover .wad-gallery-content{transform:none;opacity:1}.wad-gallery-hover-icon .wad-gallery-overlay button{transform:scale(.5) rotate(-15deg);opacity:0;transition:.3s}.wad-gallery-hover-icon .wad-gallery-item:hover .wad-gallery-overlay button{transform:none;opacity:1}.wad-gallery-content{padding:14px}.wad-gallery-title{font-size:18px;min-width:0;overflow-wrap:anywhere;line-height:1.3;margin:0 0 6px}.wad-gallery-title a{color:inherit}.wad-gallery-caption,.wad-gallery-description{font-size:14px;min-width:0;overflow-wrap:anywhere;line-height:1.55}.wad-gallery-description{margin-top:5px}.wad-gallery-count{position:absolute;right:10px;bottom:10px;padding:5px 9px;border-radius:999px;background:rgba(0,0,0,.72);color:#fff;font-size:12px}.wad-gallery-pagination{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:22px}.wad-gallery-empty{text-align:center;padding:32px;border:1px dashed #ccd2da;border-radius:8px}.wad-gallery-item.is-filtering{opacity:0;transform:scale(.96)}
.wad-gallery-lightbox{position:fixed;inset:0;z-index:999999;display:grid;grid-template-columns:70px minmax(0,1fr) 70px;align-items:center;background:rgba(0,0,0,.92);color:#fff;padding:28px;overflow:hidden}.wad-gallery-lightbox[hidden]{display:none}.wad-gallery-lightbox-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;max-height:calc(100vh - 56px)}.wad-gallery-lightbox-stage img{display:block;max-width:100%;max-height:calc(100vh - 150px);object-fit:contain;transition:transform .25s ease;transform-origin:center}.wad-gallery-lightbox-stage img.is-zoomed{transform:scale(1.7);cursor:zoom-out}.wad-gallery-lightbox-meta{max-width:900px;text-align:center;padding:12px}.wad-gallery-lightbox-meta h3{color:inherit;margin:0 0 5px}.wad-gallery-lightbox-meta p{margin:0;opacity:.8}.wad-gallery-lightbox button,.wad-gallery-lightbox-tools a{display:inline-flex;align-items:center;justify-content:center;border:0;color:#fff;background:rgba(255,255,255,.12);text-decoration:none;cursor:pointer}.wad-gallery-lightbox-prev,.wad-gallery-lightbox-next{width:54px;height:54px;border-radius:50%;font-size:42px}.wad-gallery-lightbox-close{position:absolute;right:18px;top:18px;width:44px;height:44px;border-radius:50%;font-size:30px}.wad-gallery-lightbox-tools{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);display:flex;gap:8px}.wad-gallery-lightbox-tools button,.wad-gallery-lightbox-tools a{width:42px;height:42px;border-radius:50%;font-size:20px}.wad-gallery-open-album,.wad-gallery-open-lightbox{font-family:Arial,sans-serif}.wad-gallery[data-wad-gallery] .wad-gallery-item{animation:wadGalleryIn .35s both}@keyframes wadGalleryIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:1024px){.wad-hide-tablet{display:none}.wad-gallery-layout-mosaic .wad-gallery-item:nth-child(5n+1){grid-column:span 1;grid-row:span 1}.wad-gallery-lightbox{grid-template-columns:55px minmax(0,1fr) 55px;padding:18px}.wad-gallery-lightbox-prev,.wad-gallery-lightbox-next{width:44px;height:44px;font-size:34px}}
@media(min-width:1025px){.wad-hide-desktop{display:none}}
@media(max-width:767px){.wad-hide-mobile{display:none}.wad-gallery-toolbar{align-items:stretch}.wad-gallery-search,.wad-gallery-filter-select{width:100%;min-width:0}.wad-gallery-filters{width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:5px}.wad-gallery-filter-button{white-space:nowrap}.wad-gallery-layout-carousel .wad-gallery-item{flex-basis:85%}.wad-gallery-lightbox{grid-template-columns:42px minmax(0,1fr) 42px;padding:12px}.wad-gallery-lightbox-prev,.wad-gallery-lightbox-next{width:38px;height:38px;font-size:30px}.wad-gallery-lightbox-close{right:8px;top:8px}.wad-gallery-lightbox-stage img{max-height:calc(100vh - 180px)}}
@media(prefers-reduced-motion:reduce){.wad-gallery *,.wad-gallery *:before,.wad-gallery *:after{animation:none;transition:none;scroll-behavior:auto}}
[dir="rtl"] .wad-gallery-count{right:auto;left:10px}
