/* Diapositives CMS : légende courte, photo entière, disposition indépendante du rang. */
.hero-rail#dots{grid-template-columns:repeat(var(--slide-count,3),minmax(0,1fr))}
.hero-rail .dot span{min-width:0}.hero-rail .dot strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cms-feature .hero-media img{object-fit:contain!important;object-position:center!important}
.cms-feature .hero-copy h1{font-size:clamp(2rem,3.1vw,3.4rem);overflow-wrap:break-word}
.cms-feature #slide-text{font-size:1rem;line-height:1.7}
.cms-feature #slide-caption{font-size:.72rem;max-width:600px;line-height:1.5}
@media(min-width:901px){.cms-feature .hero-media{left:41%;right:2%;top:32px;bottom:150px}.cms-feature .hero-copy{max-width:38%}.cms-feature .hero-inner{min-height:610px;justify-content:center;padding-top:38px;padding-bottom:35px}.cms-feature .hero-bottom{margin-top:10px}.cms-feature .hero-copy{padding-block:15px}.cms-feature .hero-actions{margin:24px 0 20px}}
@media(max-width:900px){.hero.cms-feature .hero-media{position:relative;inset:auto;aspect-ratio:16/9;width:100%;height:auto;margin:0;border-radius:0;z-index:0}.hero.cms-feature .hero-shade{display:none}.hero.cms-feature .hero-inner{position:relative;min-height:0;margin-top:0;padding-top:26px;padding-bottom:24px;z-index:1;background:#261b19}.hero.cms-feature .hero-copy{max-width:none;width:100%;padding:0}.hero.cms-feature .hero-bottom{margin:0;flex-wrap:wrap;gap:14px}.hero.cms-feature .hero-actions{margin:22px 0}.hero-rail#dots{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.hero-rail .dot img{display:none}.hero-rail .dot strong{font-size:.8rem}}

/* L'ancienne photo ne doit pas rester visible derrière les bandes de la nouvelle. */
.hero-media #slide-outgoing{display:none}

/* V43 : cadre commun aux deux premières diapositives. */
.hero-rail .dot.active i{animation-duration:7.5s}
.hero.audience-feature .hero-media img{object-fit:cover!important;object-position:center!important}
@media(min-width:901px){
body .hero.audience-feature .hero-media{left:41%;right:2%;top:35px;bottom:auto;height:auto;aspect-ratio:3/2}
body .hero.audience-feature .hero-inner{min-height:clamp(610px,45vw,820px);padding-top:38px;padding-bottom:35px;justify-content:center}
body .hero.audience-feature .hero-copy{max-width:37%;padding-block:15px}
body .hero.audience-feature .hero-bottom{margin-top:10px}
body .hero.audience-feature .hero-actions{margin:24px 0 20px}
}
@media(max-width:900px){
body .hero.audience-feature .hero-media{position:relative;inset:auto;aspect-ratio:3/2;width:100%;height:auto;margin:0;border-radius:0;z-index:0}
body .hero.audience-feature .hero-inner{position:relative;min-height:0;margin-top:0;padding:26px 24px 24px;z-index:1;background:#261b19}
body .hero.audience-feature .hero-copy{max-width:none;width:100%;padding:0}
body .hero.audience-feature .hero-bottom{margin:0;flex-wrap:wrap;gap:14px}
}
