/* V6.2 — media only; no conversion scripts changed */
.km62-figure{margin:0;max-width:100%;min-width:0;text-align:left;position:relative}
.km62-figure img{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;object-position:center;border-radius:16px}
.km62-figure figcaption{font:500 11px/1.5 Poppins,Arial,sans-serif;color:#53617e;margin:7px 0 0;text-align:left}
.km62-hero-photo{margin:0 0 19px!important}.km62-hero-photo img{aspect-ratio:16/10}
.km62-wide{width:min(850px,calc(100% - 36px));margin:28px auto 46px!important}.km62-wide img{max-height:450px;object-position:center 42%}
.km62-brand{max-width:440px;margin:34px auto 0!important}.km62-brand img{aspect-ratio:4/5;object-fit:contain}.km62-brand figcaption{color:inherit}
.km62-article{margin:25px 0!important;max-width:840px}.km62-article img{aspect-ratio:16/9}
.km62-story-photo{isolation:isolate;color:#fff!important;position:relative;overflow:hidden}
.km62-story-photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2;transition:transform .25s ease}
.km62-story-photo:hover>img{transform:scale(1.03)}
.km62-story-photo .km62-card-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,20,47,.79),rgba(10,20,47,.08) 38%,rgba(10,20,47,.88) 100%);z-index:-1}
.km62-story-photo .km47-story-bottom{padding-bottom:12px}.km62-card-credit{position:absolute;bottom:7px;left:26px;font-size:10px;font-weight:500;color:white;z-index:2;line-height:1.1}
.km62-pending{display:none!important;max-width:100%;min-width:0;overflow-wrap:anywhere}
.km62-preview-anchor{display:block;height:0;overflow:hidden;position:absolute;top:0;left:0}
body:has(#km62-media-preview:target) .km62-pending{display:block!important;margin:24px auto;padding:24px;min-height:190px;max-width:850px;width:calc(100% - 8px);box-sizing:border-box;border:2px dashed #8da6ed;border-radius:16px;background:#f0f4ff;color:#1B2C63;text-align:left;font:400 14px/1.55 Poppins,Arial,sans-serif}
.km62-pending strong{display:block;color:#3452D2;font-size:18px}.km62-pending p{margin:10px 0!important;font-size:13px!important}.km62-pending summary{cursor:pointer;font-weight:700;color:#3452D2}
.km62-sticker{display:inline-block!important;width:1.12em!important;height:1.12em!important;vertical-align:-.12em;object-fit:contain;max-width:none!important}
@media(max-width:550px){.km62-figure img{border-radius:11px}.km62-wide{margin:22px auto 32px!important}.km62-card-credit{left:16px}.km62-hero-photo{margin-bottom:14px!important}.km62-brand{max-width:290px}.km62-pending{padding:15px!important}}
@media(prefers-reduced-motion:reduce){.km62-story-photo>img{transition:none}.km62-story-photo:hover>img{transform:none}}

/* V7.1 — direction artistique : image liée au texte, format adapté, pas de légende de fabrication. */
.km62-figure img{border-radius:16px;object-position:center;display:block}
.km62-figure.km71-compact{margin:0 0 6px!important;max-width:100%;width:100%}
.km62-figure.km71-compact img{width:100%;height:auto;aspect-ratio:3/2;max-height:230px;object-fit:cover}
.km62-figure.km71-focus-top img{aspect-ratio:4/3;object-position:center 34%}
.km71-media-pair{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,.8fr);gap:clamp(24px,5vw,72px);align-items:center}
.km71-media-pair>.k51-list{max-width:none;min-width:0}
.km62-figure.km71-pair-photo{width:100%;max-width:340px;margin:0 auto!important;align-self:center}
.km62-figure.km71-portrait img{aspect-ratio:4/5;height:auto;object-fit:cover;object-position:center 45%;max-height:none}
.km62-figure.km71-article{max-width:680px;margin:24px 0!important}
.km62-figure.km71-article img{aspect-ratio:3/2;height:auto;max-height:340px;object-fit:cover}
body.km47-home .km47-story-grid{gap:clamp(14px,1.6vw,24px);align-items:stretch}
body.km47-home .km47-story.km71-story{display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;justify-content:flex-start!important;align-items:stretch!important;padding:0!important;gap:0;overflow:hidden;color:#1B2C63!important;border:1px solid #DCE5FA;border-radius:18px;background:#E8EFFF;box-shadow:none}
body.km47-home .km47-story-site.km71-story{background:#F2F5FF}
body.km47-home .km47-story-time.km71-story{background:#D6E2FF}
.km71-card-media{display:block;position:relative;overflow:hidden;width:100%;aspect-ratio:4/3;background:#DDE7FF;flex:none}
.km71-card-media>img{display:block;position:static!important;inset:auto!important;width:100%;height:100%;object-fit:cover;object-position:center 35%;border-radius:0!important;transition:transform .25s ease}
.km47-story-site .km71-card-media{padding:12px;background:#DCE7FF;box-sizing:border-box}
.km47-story-site .km71-card-media>img{object-fit:contain;object-position:center}
.km71-card-body{display:flex;flex-direction:column;gap:12px;flex:1;padding:clamp(17px,2vw,27px);min-width:0;justify-content:space-between}
body.km47-home .km71-story .km47-story-overline{display:block;width:auto!important;margin:0!important;color:#3452D2!important;line-height:1.4;font-size:11px}
body.km47-home .km71-story .km47-story-bottom{display:flex;align-self:auto!important;max-width:none!important;margin:0!important;padding:0!important;color:#1B2C63!important}
body.km47-home .km71-story .km47-story-bottom strong{font-size:clamp(19px,1.8vw,25px);line-height:1.25;letter-spacing:-.035em;color:inherit!important}
body.km47-home .km71-story .km47-story-arrow{flex:none;width:32px;height:32px;font-size:18px}
.km71-story:hover .km71-card-media>img{transform:scale(1.02)}
@media(max-width:800px){.km71-media-pair{grid-template-columns:1fr;gap:24px}.km62-figure.km71-pair-photo{max-width:300px}.km62-figure.km71-compact img{max-height:200px}}
@media(max-width:700px){body.km47-home .km47-story-grid{grid-template-columns:1fr!important;gap:12px}body.km47-home .km47-story.km71-story{display:grid!important;grid-template-columns:minmax(0,38%) minmax(0,1fr);grid-column:auto!important;min-height:142px;align-items:stretch!important}.km71-card-media{aspect-ratio:auto;height:100%;min-height:142px}.km71-card-body{padding:16px;gap:8px}body.km47-home .km71-story .km47-story-overline{font-size:9px!important}body.km47-home .km71-story .km47-story-bottom strong{font-size:17px!important}.km47-story-site .km71-card-media{padding:7px}.km62-figure.km71-article img{max-height:240px}}
@media(prefers-reduced-motion:reduce){.km71-card-media>img{transition:none!important}.km71-story:hover .km71-card-media>img{transform:none}}

/* Les titres des trois cartes démarrent à la même hauteur. */
.km71-card-body{justify-content:flex-start}
body.km47-home .km71-story .km47-story-bottom{flex:1;align-items:flex-start}
body.km47-home .km71-story .km47-story-arrow{align-self:flex-end}
