.clinic-gallery{display:grid;grid-template-columns:repeat(12,1fr);grid-auto-rows:220px;gap:16px}
.clinic-gallery figure{margin:0;position:relative;overflow:hidden;border-radius:22px;background:#dce5df}
.clinic-gallery figure:nth-child(1){grid-column:span 5;grid-row:span 2}
.clinic-gallery figure:nth-child(2){grid-column:span 4}
.clinic-gallery figure:nth-child(3){grid-column:span 3}
.clinic-gallery figure:nth-child(4){grid-column:span 3}
.clinic-gallery figure:nth-child(5){grid-column:span 4}
.clinic-gallery img{width:100%;height:100%;object-fit:cover}
.clinic-gallery figcaption{position:absolute;left:14px;bottom:14px;background:rgba(18,59,69,.9);color:#fff;border-radius:999px;padding:7px 12px;font-size:.76rem;font-weight:800;letter-spacing:.04em}
@media(max-width:800px){.clinic-gallery{grid-template-columns:repeat(2,1fr);grid-auto-rows:260px}.clinic-gallery figure,.clinic-gallery figure:nth-child(n){grid-column:span 1;grid-row:span 1}.clinic-gallery figure:first-child{grid-column:1/-1}}
@media(max-width:520px){.clinic-gallery{grid-template-columns:1fr;grid-auto-rows:340px}.clinic-gallery figure,.clinic-gallery figure:nth-child(n){grid-column:1;grid-row:auto}}
