.photo-thumbnail{display:block;border:0;background:transparent;padding:0;cursor:zoom-in;width:100%;color:inherit}.photo-thumbnail:focus-visible,.photo-carousel:focus-visible{outline:3px solid #e57815;outline-offset:5px}
.erisel-photo-gallery.photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:1rem}.erisel-photo-gallery.photo-grid figure{margin:0}.erisel-photo-gallery.photo-grid img{width:100%;height:220px;object-fit:contain}
figure.compact-photo{max-width:420px!important;margin:1.5rem auto!important}figure.compact-photo img{width:100%!important;height:auto!important;max-height:280px!important;object-fit:contain!important}
.photo-panel.rise-real-panel .photo-thumbnail img{max-height:360px;object-fit:contain}
.erisel-photo-gallery.photo-carousel{display:block;max-width:760px;margin:2rem auto 1rem}.photo-carousel figure{margin:0!important}.photo-carousel [hidden]{display:none!important}.photo-carousel img{width:100%!important;height:clamp(260px,50vw,480px)!important;max-height:480px!important;object-fit:contain!important}
.photo-carousel-controls{display:flex;gap:1.5rem;align-items:center;justify-content:center;margin:1rem auto 2rem}.photo-carousel-controls button{border:1px solid var(--navy);background:var(--navy);color:white;border-radius:50%;width:46px;height:46px;font-size:1.3rem;cursor:pointer}.photo-carousel-controls span{min-width:4rem;text-align:center;font-weight:700}
.photo-viewer-open{overflow:hidden}.photo-viewer{width:min(1200px,96vw);max-width:96vw;height:min(900px,94dvh);max-height:94dvh;padding:3.5rem 1rem 1rem;border:0;border-radius:8px;background:#08152a;color:white}.photo-viewer::backdrop{background:rgba(0,0,0,.88)}.photo-viewer-stage{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:.5rem;align-items:center;height:calc(100% - 4rem)}.photo-viewer-stage img{width:100%;height:100%;min-height:0;object-fit:contain}.photo-viewer button{border:0;background:#ffffff24;color:white;width:44px;height:44px;border-radius:50%;font-size:2rem;cursor:pointer}.photo-viewer .photo-close{position:absolute;top:.6rem;right:.8rem}.photo-caption{text-align:center;font-size:.9rem;margin:1rem auto;max-width:850px}.photo-viewer button:focus-visible{outline:3px solid #ffca31;outline-offset:2px}
@media(max-width:650px){.photo-viewer{padding:3.5rem .4rem 1rem}.photo-viewer-stage{grid-template-columns:36px minmax(0,1fr) 36px;gap:.2rem}.photo-viewer button{width:34px;height:40px}.erisel-photo-gallery.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.erisel-photo-gallery.photo-grid img{height:160px}.photo-caption{font-size:.8rem}}
