/* One proportional image policy; fixed cards letterbox instead of cutting edges. */
html body img { max-width:100%; object-fit:contain !important; object-position:center !important; }
html body .article-hero-image,
html body .article-content img,
html body .article-gallery img,
html body .social-post-image { display:block; width:100%; height:auto !important; max-height:none; }
img[data-full] { background-color:rgba(122,35,64,.025); }
img[data-full][role="button"] { cursor:zoom-in; }
@media(min-width: 981px) {
  html body .family-home-v3 .home-v3-visual { grid-column:1; }
  html body .family-home-v3 .home-v3-welcome-copy { grid-column:2; direction:rtl; }
  html body .family-home-v3 .home-v3-event-spotlight { grid-column:2; }
  html body .family-home-v3 .home-v3-welcome::before { left:53.2%; }
  html body .family-home-v3 .home-v3-welcome::after { left:calc(53.2% - 4px); }
}
html body .home-v3-visual img,html body .photo-card img,html body .memory-card img { transform:none !important; }
html body .article-gallery a:hover img,
html body .identity-figure-card:hover img,
html body .youth-profile-card:hover .personality-photo img { transform:none !important; }
.family-image-viewer { padding:0; width:min(96vw,1400px); max-width:96vw; height:94dvh; max-height:94dvh; border:0; border-radius:16px; background:#171116; color:#fff; }
.family-image-viewer::backdrop { background:rgba(15,9,12,.86); }
.family-image-viewer header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 16px; height:64px; }
.family-image-viewer button { color:inherit; background:#3b2932; border:1px solid #9c7f8c; border-radius:10px; min-width:44px; min-height:44px; padding:6px 12px; }
.family-image-viewer button:focus-visible { outline:3px solid #e3c985; outline-offset:3px; }
.family-image-stage { height:calc(100% - 64px); overflow:auto; display:grid; place-items:center; direction:ltr; }
.family-image-stage img { width:100%; height:100%; max-width:none; object-fit:contain; background:none; }
.family-image-stage.is-zoomed { display:block; }
.family-image-stage.is-zoomed img { width:200%; height:200%; max-width:none; }
@media(prefers-reduced-motion:reduce) { .family-image-viewer * { scroll-behavior:auto; } }
