/* Real photography. Gallery uses directly loaded JPEGs with an explicit image layer. */
.hero-visual > picture > img { object-position:72% center; filter:none; }
.about-photo > picture > img { object-position:68% center; }
.gallery-item[data-gallery="child"] > img { object-position:72% center; }
.gallery-item[data-gallery="mother"] > img { object-position:center 16%; }
.gallery-item[data-gallery="together"] > img { object-position:center; }
.photo-credits { margin-top:30px; color:var(--muted); font-size:12px; line-height:1.8; }
.photo-credits summary { display:list-item; width:fit-content; max-width:100%; min-height:44px; padding:10px 0; cursor:pointer; color:var(--pink); }
.photo-credits p { max-width:860px; padding-bottom:24px; }
.photo-credits a { color:var(--pink); text-decoration:underline; text-underline-offset:3px; }
.image-credit { max-width:calc(100% - 40px); text-align:right; }
@media (max-width:767px) {
 .hero-visual > picture > img { object-position:72% center; }
 .about-photo > picture > img { object-position:62% center; }
 .gallery-item[data-gallery="child"] > img { object-position:68% center; }
 .photo-credits { margin-top:20px; }
}

/* Do not rely on a cached picture-wrapper rule for visible gallery photos. */
.gallery-item { display:block; isolation:isolate; }
.gallery-item > img { display:block; position:absolute; inset:0; width:100%; height:100%; max-width:none; object-fit:cover; z-index:0; }
.gallery-item > div { z-index:1; }

/* Editorial guides each have their own scene and a stable photo area. */
.story-card > img { display:block; min-width:0; width:100%; height:240px; object-fit:cover; border-radius:16px; }
.story-card[data-story="voice"] > img { object-position:60% center; }
.story-card[data-story="devices"] > img { object-position:center 58%; }
@supports (aspect-ratio:1.5) {
 .story-card > img { height:auto; aspect-ratio:1.5; }
}
@media (max-width:767px) {
 @supports (aspect-ratio:1.55) { .story-card > img { aspect-ratio:1.55; } }
}
