.clinic-gallery{margin-top:38px}.gallery-heading{max-width:720px;margin-bottom:28px}.gallery-heading p{font-size:18px;margin:15px 0 0}.clinic-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.clinic-photo{margin:0;border:1px solid #dde5ef;border-radius:18px;overflow:hidden;background:#fff}.gallery-link{display:block;position:relative;background:var(--pale);overflow:hidden}.gallery-link img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;transition:transform .25s}.gallery-link:hover img{transform:scale(1.035)}.photo-zoom{position:absolute;right:12px;bottom:12px;background:#10369cee;color:white;border-radius:20px;padding:5px 12px;font-size:13px;font-weight:bold}.clinic-photo figcaption{padding:14px 18px;color:var(--blue);font-weight:bold;line-height:1.4}.gallery-note{font-size:13px;color:#536579;margin:24px 0 0}.gallery-dialog{border:0;border-radius:16px;background:#091b3a;color:white;padding:0;width:min(1120px,calc(100% - 28px));max-height:calc(100dvh - 28px);overflow:auto;box-shadow:0 20px 70px #0006}.gallery-dialog::backdrop{background:#061327e8}.gallery-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 18px}.gallery-dialog-header p{margin:0}.gallery-close,.gallery-prev,.gallery-next{font:inherit;cursor:pointer;border:1px solid #ffffff66;background:#ffffff12;color:white;border-radius:10px;min-width:44px;min-height:44px;padding:8px 15px}.gallery-close:hover,.gallery-prev:hover,.gallery-next:hover{background:#ffffff30}.gallery-large{display:block;width:100%;height:min(65dvh,760px);object-fit:contain;background:#07152b}.gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px}.gallery-counter{font-size:14px;white-space:nowrap}.gallery-caption{font-size:16px;font-weight:bold}.gallery-dialog button:focus-visible{outline:3px solid #fff;outline-offset:2px}@media(max-width:850px){.clinic-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}@media(max-width:540px){.clinic-photo-grid{grid-template-columns:1fr;gap:20px}.gallery-page{padding-top:35px;padding-bottom:45px}.gallery-controls{padding:12px;gap:8px}.gallery-prev,.gallery-next{font-size:14px;padding:8px 10px}.gallery-large{height:58dvh}.gallery-dialog-header{padding:12px}.gallery-heading p{font-size:16px}}

.gallery-dialog-header{justify-content:flex-end}
