.ems-gallery{min-width:0;width:100%;max-width:650px;justify-self:center}
.ems-gallery .ems-card-figure img{width:100%;height:270px;object-fit:contain;max-width:100%}
.ems-gallery .ems-card-figure figcaption{margin:0 0 20px}
.ems-context-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ems-context-photos figure{margin:0;min-width:0;background:#f5f5ee;border:1px solid #bdc8ad;border-radius:8px;overflow:hidden}
.ems-context-photos a{display:block;background:#f5f5ee;transition:opacity .2s}
.ems-context-photos a:hover{opacity:.88}
.ems-context-photos img{display:block;width:100%;height:auto;aspect-ratio:1824/1374;object-fit:contain}
.ems-context-photos figcaption{font-size:11px;color:#526158;padding:10px 12px;line-height:1.4}
.ems-context-photos a:focus-visible{outline-offset:-4px}
@media(max-width:760px){.ems-gallery .ems-card-figure img{height:230px}.ems-context-photos{gap:10px}.ems-context-photos figcaption{padding:8px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.ems-context-photos a{transition:none}}

/* Alignement galerie */
.manufacturing.ems-wide{padding-left:0;padding-right:0}.ems-card{box-shadow:none}.ems-card-body{grid-template-columns:minmax(280px,.85fr) minmax(0,1.65fr)}.ems-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:none;align-items:end}.ems-context-photos{display:contents}.ems-gallery .ems-card-figure{min-width:0}.ems-gallery .ems-card-figure img{height:auto;aspect-ratio:2048/1543;object-fit:contain}.ems-gallery .ems-card-figure figcaption{margin:0;padding:10px 8px;font-size:11px;line-height:1.4}.ems-context-photos img{aspect-ratio:2048/1543}@media(max-width:1050px){.ems-card-body{grid-template-columns:1fr}.ems-gallery{margin-top:16px}}@media(max-width:600px){.ems-gallery{grid-template-columns:1fr;max-width:380px}.ems-gallery .ems-card-figure img{height:230px;aspect-ratio:auto}}
