/* Les photos restent entières, y compris les vues portrait des boîtiers. */
.field-photos{margin-block:36px}
.home-photos{margin-block:0;padding-top:48px;padding-bottom:48px}
.home-photos>h2{max-width:850px;font-size:clamp(1.65rem,3vw,2.2rem);line-height:1.2;margin-bottom:28px}
.home-photos .photo-gallery{align-items:stretch}
.home-photos .photo-gallery figure{display:flex;flex-direction:column}
.home-photos .photo-gallery img{height:340px;max-height:none;object-fit:contain;background:#edf1ef}
.home-photos .photo-gallery figcaption{flex:1}
.home-photos>p{margin:24px 0 0}
@media(max-width:800px){.home-photos .photo-gallery img{height:280px}}
@media(max-width:580px){.home-photos{padding-top:32px;padding-bottom:32px}.home-photos .photo-gallery img{height:auto;max-height:420px}.home-photos>h2{margin-bottom:22px}}
.page-photo figcaption{margin-top:14px;font-size:1rem;line-height:1.6;color:#40564b}
.photo-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.photo-gallery--single{grid-template-columns:minmax(0,1fr)}
.photo-gallery>figure:last-child:nth-child(odd){grid-column:1/-1}
.photo-gallery figure{margin:0;min-width:0;border:1px solid #d6e1e5;border-radius:12px;overflow:hidden;background:#fff}
.photo-gallery img{display:block;width:100%;height:auto;max-height:560px;object-fit:contain;background:#f3f6f5}
.photo-gallery figcaption{padding:18px;font-size:1rem;line-height:1.6;color:#40564b}
@media(max-width:580px){.photo-gallery{grid-template-columns:minmax(0,1fr);gap:20px}.photo-gallery figcaption{padding:16px}}
