.gallery-layout .gallery-item figcaption{position:absolute;bottom:20px;left:20px;width:calc(100% - 40px);color:#fff;opacity:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gallery-layout .gallery-item:hover figcaption{opacity:1}.gallery-layout.bootstrap{display:flex;flex-wrap:wrap}.gallery-layout.bootstrap .gallery-item{margin:0}.gallery-layout.masonry{column-count:var(--column-xs, 1);column-gap:1rem}.gallery-layout.masonry .gallery-item{break-inside:avoid;margin-bottom:1rem}@media (min-width:576px){.gallery-layout.masonry{column-count:var(--column-sm, var(--column-xs, 1))}}@media (min-width:768px){.gallery-layout.masonry{column-count:var(--column-md, var(--column-sm, 2))}}@media (min-width:992px){.gallery-layout.masonry{column-count:var(--column-lg, var(--column-md, 3))}}@media (min-width:1200px){.gallery-layout.masonry{column-count:var(--column-xl, var(--column-lg, 4))}}@media (min-width:1400px){.gallery-layout.masonry{column-count:var(--column-xxl, var(--column-xl, 4))}}.gallery-layout.justified{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:.75rem;align-items:flex-start}.gallery-layout.justified .gallery-item{flex:0 0 auto;margin:0;max-width:100%}.gallery-layout.justified .gallery-item img{width:100%;height:220px;max-width:100%;object-fit:cover;display:block}@media (max-width:991.98px){.gallery-layout.justified .gallery-item img{height:180px}}@media (max-width:575.98px){.gallery-layout.justified .gallery-item img{width:100%!important;height:150px!important}.gallery-layout.justified .gallery-item{flex:1 1 auto}}.gallery-layout.metro{display:grid!important;grid-template-columns:repeat(4,1fr);grid-auto-rows:200px;gap:15px;grid-auto-flow:dense}.gallery-layout.metro .gallery-item{grid-column:span 1;grid-row:span 1;margin:0}.gallery-layout.metro .gallery-item img{width:100%;height:100%;object-fit:cover}@media (min-width:992px){.gallery-layout.metro .gallery-item:nth-of-type(10n+10),.gallery-layout.metro .gallery-item:nth-of-type(6n+1){grid-column:span 2;grid-row:span 2}}@media (min-width:576px) and (max-width:991px){.gallery-layout.metro{grid-template-columns:repeat(2,1fr);grid-auto-rows:250px}.gallery-layout.metro .gallery-item{grid-column:span 1;grid-row:span 1}.gallery-layout.metro .gallery-item:nth-of-type(10n+10),.gallery-layout.metro .gallery-item:nth-of-type(6n+1){grid-column:span 2;grid-row:span 2}}@media (max-width:575px){.gallery-layout.metro{grid-template-columns:repeat(2,1fr);grid-auto-rows:150px}.gallery-layout.metro .gallery-item{grid-column:span 1;grid-row:span 1}.gallery-layout.metro .gallery-item:nth-of-type(10n+10),.gallery-layout.metro .gallery-item:nth-of-type(6n+1){grid-column:span 2;grid-row:span 2}}.horizontal-slider{position:relative}.horizontal-slider-viewport{overflow:visible}.horizontal-slider .slider-nav-btn{display:none}.horizontal-slider.is-active .horizontal-slider-viewport{overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scrollbar-width:none}.horizontal-slider.is-active .horizontal-slider-viewport::-webkit-scrollbar{display:none}.horizontal-slider.is-active .gallery-layout.slide{scroll-snap-type:x mandatory;padding-bottom:.25rem}.horizontal-slider.is-active .gallery-layout.slide .gallery-item{scroll-snap-align:start;margin-bottom:0}.horizontal-slider.is-active .slider-nav-btn{display:inline-flex;position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;z-index:3;transition:background .2s ease,opacity .2s ease}.horizontal-slider.is-active .slider-nav-btn:disabled{opacity:.35;cursor:not-allowed}.horizontal-slider.is-active .slider-prev-btn{left:-14px}.horizontal-slider.is-active .slider-next-btn{right:-14px}@media (max-width:575.98px){.horizontal-slider.is-active .slider-prev-btn{left:8px}.horizontal-slider.is-active .slider-next-btn{right:8px}}.gallery-item,.gallery-item .gallery-link{position:relative;overflow:hidden}.gallery-item .gallery-link{display:block;height:100%}.gallery-item .gallery-link::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.7)0,rgba(0,0,0,.12) 45%,transparent 80%);opacity:0;transition:opacity .28s ease;pointer-events:none}.gallery-item img{width:100%;height:auto;object-fit:cover;transition:transform .35s ease,filter .35s ease,box-shadow .35s ease,opacity .35s ease;will-change:transform}.gallery-item:hover img{transform:scale(1.045);filter:saturate(1.06) contrast(1.04);box-shadow:0 .65rem 1.35rem rgba(0,0,0,.2)}.gallery-item:hover .gallery-link::after{opacity:1}.fon-gallery-widget .gallery-modal .modal-dialog{width:min(1200px,calc(100vw - 3rem));max-width:min(1200px,calc(100vw - 3rem));height:calc(100vh - 3rem);margin:1.5rem auto}.fon-gallery-widget .gallery-modal .modal-content{height:100%;border:0;border-radius:.75rem}.fon-gallery-widget .gallery-modal .modal-header{flex:0 0 auto;padding-bottom:.6rem}.fon-gallery-widget .gallery-modal .modal-body{flex:1 1 auto;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:1.25rem 3.25rem}.fon-gallery-widget .gallery-modal .gallery-modal-image{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}.fon-gallery-widget .gallery-modal .modal-nav-btn{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.fon-gallery-widget .gallery-modal .prev-btn{left:1rem}.fon-gallery-widget .gallery-modal .next-btn{right:1rem}@media (max-width:575.98px){.fon-gallery-widget .gallery-modal .modal-dialog{width:calc(100vw - 1.25rem);max-width:calc(100vw - 1.25rem);height:calc(100vh - 1.25rem);margin:.625rem auto}.fon-gallery-widget .gallery-modal .modal-body{padding:.75rem 2.65rem}}