/* La hauteur maximale correspond au précédent cadre portrait 4:5. */
.hero.hero-featured-adaptive {
    grid-template-columns: minmax(0, calc((min(100vw, 1200px) - 128px) * .525)) minmax(0, 1fr);
    padding-right: var(--page-padding);
}
.home-featured-slot {
    --featured-max-height: calc((min(100vw, 1200px) - 128px) * .475 * 1.25);
    position: relative;
    height: var(--featured-max-height);
    min-width: 0;
}
#home-featured {
    position: absolute;
    left: 0;
    top: 50%;
    width: 80%;
    height: 100%;
    aspect-ratio: auto;
    background: transparent;
    box-shadow: none;
    transform: translateY(-50%);
    transition: none;
    overflow: visible;
}
#home-featured.home-featured-ready { cursor: zoom-in; }
#home-featured:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
#home-featured .home-featured-photo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border-radius: var(--radius-large, 24px);
    clip-path: inset(0 round var(--radius-large, 24px));
    max-width: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
    transform-origin: left center;
}
@media (max-width: 900px) and (min-width: 641px) {
    .hero.hero-featured-adaptive { gap: 36px; }
}
@media (max-width: 640px) {
    .hero.hero-featured-adaptive { grid-template-columns: 1fr; }
    .home-featured-slot { height: 420px; }
    #home-featured { left: 0; transform: translateY(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    #home-featured { transition: none; }
}
