/* Reviewed photo framing, publication 1 December 2026. */
.hero .ph{background:var(--sand)}
.hero .ph>img{object-fit:contain;object-position:center top}
.fh .ph{background:var(--sand)}
.fh .ph img{object-fit:contain;object-position:center!important}
.jt img[data-photo]{height:auto;aspect-ratio:3/2;object-fit:cover;object-position:center!important}
.mh .pz img[data-photo]{object-position:center!important}
.jt img[src*="proprete-2.webp"]{object-position:50% 27%!important}
.jt img[src*="proprete.webp"]{object-position:50% 0%!important}
.jt img[src*="agence.webp"]{object-position:50% 25%!important}
.jt img[src*="services.webp"]{object-position:50% 30%!important}
.tile.pic{display:flex;flex-direction:column;background:var(--sand);overflow:hidden}
.tile.pic::after{display:none}
.tile.pic h3{position:relative;inset:auto;order:1;padding:16px 18px;margin:0;color:var(--navy);font-size:24px;-webkit-text-stroke:0}
.tile.pic>img{position:relative;inset:auto;order:2;width:100%;height:230px;object-fit:cover;object-position:50% 27%!important;flex:1;min-height:190px}
.tile.pic p{position:relative;inset:auto;order:3;margin:0;padding:16px;border-radius:0;background:var(--sand)}
.tile.s img[data-photo]{max-width:100%;height:100%;object-fit:contain;object-position:center}
.gr .pic img[data-photo]{object-fit:contain;background:var(--sand);object-position:center!important}
@media(max-width:820px){.hero .ph>img{height:auto;min-height:0;object-fit:contain}.hero .ph .find{position:relative;inset:auto;margin:0;padding:18px;border-radius:0;background:var(--sand)}.fh .ph img{height:auto;max-height:none;object-fit:contain}.tile.pic>img{height:240px;min-height:240px}.jt img[src*="proprete-2.webp"]{object-position:50% 27%!important}}

/* Keep captions outside photos and preserve faces in compact tiles. */
.tile.pic{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:310px}
.tile.pic>img{height:100%;min-height:0;object-fit:contain;background:var(--sand)}
.tile.s{display:grid;grid-template-rows:auto minmax(0,1fr);padding:0;gap:0;overflow:hidden}
.tile.s .t{padding:22px 24px}
.tile.s .dome{display:none}
.tile.s .cut[data-photo]{position:relative;inset:auto;width:100%;height:100%;min-height:0;max-width:100%;object-fit:contain;background:var(--sand)}
.mh .pz img[data-photo]{object-fit:contain;background:var(--sand)}
@media(max-width:820px){.hero .ph .find{width:100%;margin:0}.tile.pic{min-height:420px;grid-template-rows:auto 240px auto}.tile.s{min-height:360px;grid-template-rows:auto 210px}}

.tile.pic>img{object-fit:cover;object-position:50% 40%!important}
