/* Editorial photo treatment for selected Baby Memories photographs. */
.hero-visual .photo-frame{overflow:hidden;background:#e8f0ef}
.hero-visual .photo-frame img{display:block;width:100%;height:100%;min-height:340px;object-fit:cover;object-position:center}
.photo-gallery{max-width:var(--container);margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.photo-gallery figure{margin:0;min-height:250px;overflow:hidden;border-radius:var(--radius);background:#e8f0ef;box-shadow:var(--shadow)}
.photo-gallery img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.photo-gallery figure:first-child{grid-column:span 2;min-height:390px}
.photo-gallery figure:hover img{transform:scale(1.025)}
@media (max-width:760px){.hero-visual .photo-frame img{min-height:280px}.photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.photo-gallery figure,.photo-gallery figure:first-child{grid-column:auto;min-height:220px}.photo-gallery figure:first-child{grid-column:span 2;min-height:300px}}
@media(max-width:460px){.photo-gallery{grid-template-columns:1fr}.photo-gallery figure,.photo-gallery figure:first-child{grid-column:auto;min-height:280px}.photo-gallery figure:first-child{min-height:320px}}
/* Prominent profile portrait on the About Irena page; overrides the generic hero image minimum. */
.hero--irena .hero-visual{width:380px;justify-self:center}
.hero--irena .hero-visual .photo-frame,.hero--irena .hero-visual .photo-frame img{width:380px;height:476px;min-height:0}
.hero--irena .hero-visual .photo-frame img{aspect-ratio:auto;object-fit:cover}
@media(max-width:760px){.hero--irena .hero-visual{margin:0 auto}.hero--irena .hero-visual .photo-frame,.hero--irena .hero-visual .photo-frame img{width:340px;height:424px}}
/* Baby & Neugeborene: große, abwechselnde Reihen nach Bildformat. */
.photo-gallery--by-orientation{display:grid;grid-template-columns:minmax(0,1fr);gap:1.15rem}
.photo-gallery--by-orientation .photo-gallery-row{display:flex;min-width:0;justify-content:center;gap:1rem}
.photo-gallery--by-orientation .photo-card,.photo-gallery--by-orientation .photo-card:first-child{grid-column:auto;min-height:0;margin:0;flex:0 0 auto}
.photo-gallery--by-orientation .photo-gallery-row--portrait .photo-card{width:min(16.2vw,195px,calc((100% - 4rem)/5));aspect-ratio:2/3}
.photo-gallery--by-orientation .photo-gallery-row--landscape .photo-card{width:min(30.7vw,360px,calc((100% - 2rem)/3));aspect-ratio:3/2}
.photo-gallery--by-orientation .photo-card img{width:100%;height:100%;object-fit:cover}
@media (max-width:760px){.photo-gallery--by-orientation{gap:.8rem}.photo-gallery--by-orientation .photo-gallery-row{flex-wrap:wrap;gap:.75rem}.photo-gallery--by-orientation .photo-gallery-row--portrait .photo-card{width:clamp(130px,20vw,155px)}.photo-gallery--by-orientation .photo-gallery-row--landscape .photo-card{width:clamp(205px,30vw,245px)}}
@media(max-width:460px){.photo-gallery--by-orientation{gap:.65rem}.photo-gallery--by-orientation .photo-gallery-row{gap:.65rem}.photo-gallery--by-orientation .photo-gallery-row--portrait .photo-card{width:calc((100% - .65rem)/2)}.photo-gallery--by-orientation .photo-gallery-row--landscape .photo-card{width:100%}}
