a[data-agrandir] { display:block; cursor:zoom-in; min-width:0; }
.about-hero > a[data-agrandir] { max-width:540px; }
.home-contact-finale > .contact-photo { grid-row:span 2; grid-column:1; align-self:center; justify-self:stretch; }
.contact-photo img { display:block; width:100%; height:auto; }
@media(max-width:650px) { .home-contact-finale > .contact-photo { grid-row:auto; } }
.photo-viewing { overflow:hidden; }
.photo-viewer { position:fixed; inset:0; margin:auto; border:1px solid #53616a; background:#151e23; color:#fff; padding:0; width:min(94vw,1100px); max-width:94vw; max-height:92vh; max-height:92dvh; }
.photo-viewer::backdrop { background:rgba(10,15,18,.8); }
.photo-viewer figure { margin:0; padding:0 14px 14px; }
.photo-viewer figure img { display:block; width:100%; height:min(69vh,760px); height:min(69dvh,760px); object-fit:contain; }
.photo-viewer figcaption { padding-top:10px; text-align:center; font-size:14px; }
.viewer-tools { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:8px 14px; }
.viewer-tools button { background:transparent; color:inherit; border:0; cursor:pointer; font:inherit; min-height:44px; min-width:44px; }
.viewer-tools button:focus-visible { outline:2px solid white; }
.viewer-tools .viewer-prev,.viewer-tools .viewer-next { font-size:24px; }
