/* RobSprenger Fotoportfolio 1.2 — scoped masonry */
.rs-gallery{width:100%;max-width:100%;font-family:inherit}.rs-gallery *{box-sizing:border-box}
.rs-gallery .rs-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 26px}
.rs-gallery .rs-filter{appearance:none;border:1px solid #e5e7eb;border-radius:100px;background:#fff;color:#333;padding:9px 17px;font:inherit;font-size:13px;line-height:1.4;cursor:pointer;transition:background .2s,color .2s}
.rs-gallery .rs-filter:hover,.rs-gallery .rs-filter.is-active{background:#202020;color:#fff;border-color:#202020}
.rs-gallery .rs-grid{display:block;columns:var(--rs-cols,3);column-gap:18px;width:100%}
.rs-gallery .rs-photo{position:relative;display:block!important;break-inside:avoid;page-break-inside:avoid;width:100%;height:auto!important;min-height:0!important;aspect-ratio:auto!important;margin:0 0 18px!important;padding:0!important;border:0!important;border-radius:7px!important;background:transparent!important;overflow:hidden;cursor:zoom-in;line-height:0;box-shadow:none!important;transform:none!important;text-align:left}
.rs-gallery .rs-photo[hidden]{display:none!important}
.rs-gallery .rs-photo img{display:block!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;transition:transform .35s ease}
.rs-gallery .rs-photo:hover img{transform:scale(1.025)}
.rs-gallery .rs-photo-title{position:absolute;bottom:0;left:0;right:0;padding:35px 14px 14px;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.64));font-size:13px;line-height:1.4;opacity:0;transition:opacity .2s;pointer-events:none}
.rs-gallery .rs-photo:hover .rs-photo-title,.rs-gallery .rs-photo:focus-visible .rs-photo-title{opacity:1}
.rs-gallery .rs-lightbox[hidden]{display:none!important}.rs-gallery .rs-lightbox{position:fixed;inset:0;z-index:999999;background:rgba(9,10,14,.96);display:flex;align-items:center;justify-content:center;padding:55px 65px 45px}
.rs-gallery .rs-lightbox figure{margin:0;max-width:100%;max-height:100%;display:flex;flex-direction:column;align-items:center;gap:12px}
.rs-gallery .rs-lightbox figure img{display:block;max-width:100%;max-height:calc(100vh - 135px);width:auto;height:auto;object-fit:contain}
.rs-gallery .rs-lightbox figcaption{color:#eee;font-size:13px;line-height:1.4;text-align:center}
.rs-gallery .rs-lightbox button{position:absolute;border:0;background:transparent;color:#fff;cursor:pointer;font-size:26px;padding:15px;line-height:1;box-shadow:none}
.rs-gallery .rs-close{top:8px;right:16px;font-size:38px!important}.rs-gallery .rs-prev{left:10px;top:50%;transform:translateY(-50%)}.rs-gallery .rs-next{right:10px;top:50%;transform:translateY(-50%)}
@media(max-width:900px){.rs-gallery .rs-grid{columns:2;column-gap:12px}.rs-gallery .rs-photo{margin-bottom:12px!important}}
@media(max-width:540px){.rs-gallery .rs-grid{columns:1}.rs-gallery .rs-lightbox{padding:55px 35px}.rs-gallery .rs-prev{left:0}.rs-gallery .rs-next{right:0}.rs-gallery .rs-filter{font-size:12px;padding:8px 12px}}
@media(hover:none){.rs-gallery .rs-photo-title{opacity:1}}

/* v1.2.1: Breek button hover decorations must not escape gallery cards. */
.rs-gallery .rs-grid .rs-photo::before,
.rs-gallery .rs-grid .rs-photo::after,
.rs-gallery .rs-grid .rs-photo img::before,
.rs-gallery .rs-grid .rs-photo img::after{content:none!important;display:none!important;visibility:hidden!important;box-shadow:none!important}
.rs-gallery .rs-grid .rs-photo,
.rs-gallery .rs-grid .rs-photo:hover,
.rs-gallery .rs-grid .rs-photo:focus{background-image:none!important;outline-offset:2px;filter:none!important;clip-path:inset(0 round 7px);isolation:isolate}
.rs-gallery .rs-grid .rs-photo img{position:relative!important;inset:auto!important;filter:none!important;opacity:1!important}
