.case-photo,.once-project-photo{margin:0 0 22px;background:#fff;border:1px solid #eaf1ff;border-radius:12px;overflow:hidden;position:relative;isolation:isolate}
.case-photo img,.once-project-photo img{display:block;width:100%;height:clamp(210px,28vw,360px);object-fit:cover;object-position:center 55%;max-width:100%;transition:filter .2s ease}
.case-photo figcaption,.once-project-photo figcaption{position:static;background:#fff;color:#2457e6;font:12px/1.5 Arial,sans-serif;padding:10px 14px;opacity:1;overflow-wrap:break-word}
.case-photo--card{border:0;border-radius:8px;margin-bottom:18px}.case-photo--card img{height:180px}.case-photo--card figcaption{padding:8px 0;font-size:11px}
.once-project-photo{max-width:1160px;margin:24px auto;padding:0}.once-project-photo img{height:300px}
.proj-photo{display:block;width:100%;height:190px;object-fit:cover;border-radius:8px;margin-bottom:22px;max-width:100%}
@media(max-width:760px){.case-photo img{height:230px}.case-photo--card img{height:200px}.once-project-photo{margin:16px}.once-project-photo img{height:210px}.case-photo figcaption,.once-project-photo figcaption{font-size:11px}.proj-photo{height:180px}}
@media(prefers-reduced-motion:reduce){.case-photo img,.once-project-photo img{transition:none}}
@media print{.case-photo,.once-project-photo{display:none}.proj-photo{height:100px}}

