.reference-photo{display:block;width:100%;padding:0;border:0;background:none;text-align:inherit;cursor:zoom-in}
.reference-card .work-gallery-content{pointer-events:none}
.reference-card .reference-location{color:#fff;font-size:14px;margin:6px 0 0}
.reference-no-photo{aspect-ratio:1 / 1.09;background:#444}
.reference-photo:focus-visible{outline:3px solid #fff;outline-offset:-4px}
.work-gallery .wow{visibility:visible!important}
.reference-lightbox{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:65px 65px 30px;background:transparent;border:0;color:#fff}.reference-lightbox[open]{display:flex;align-items:center;justify-content:center}.reference-lightbox::backdrop{background:rgba(0,0,0,.92)}.reference-lightbox figure{margin:0;max-width:1200px;width:100%;text-align:center;pointer-events:none}.reference-lightbox img{max-width:100%;max-height:calc(100dvh - 170px);object-fit:contain;pointer-events:auto}.reference-lightbox figcaption{margin-top:16px;line-height:1.5}.reference-lightbox button{position:fixed;width:44px;height:44px;border:1px solid #777;border-radius:50%;background:#151515;color:white;display:grid;place-items:center;font-size:30px;line-height:1;cursor:pointer}.reference-close{top:15px;right:15px}.reference-prev{left:10px;top:calc(50% - 22px)}.reference-next{right:10px;top:calc(50% - 22px)}.reference-lightbox button:focus-visible{outline:3px solid white;outline-offset:3px}

@media(max-width:575px){.reference-lightbox{padding:65px 10px 80px}.reference-lightbox img{max-height:calc(100dvh - 220px)}.reference-prev,.reference-next{top:auto;bottom:15px}.reference-prev{left:calc(50% - 58px)}.reference-next{right:calc(50% - 58px)}}

.reference-photo img{height:auto}
