/* Keep a static fallback even before the gallery and its saved content arrive. */
#main :is(.artist,.detail-hero,.company-band,.ehpad-opening,.care-band){--page-tilt:-1.5deg}
#main [data-photo-direction="right"]{--page-tilt:1.5deg}
#main .artist .artist-visual>.portrait,#main .artist .artist-visual .gallery-stage,
#main .artist[data-artist-tilt] .artist-visual>.portrait,#main .artist[data-artist-tilt] .artist-visual .gallery-stage{transform:rotate(var(--artist-tilt,var(--page-tilt)));rotate:none;transform-origin:center}
#main .artist .artist-bio>*,#main .artist[data-artist-tilt] .artist-bio>*{transform:rotate(var(--artist-tilt,var(--page-tilt)));rotate:none;transform-origin:left top;max-width:calc(100% - 16px);margin-inline-start:8px}
#main .detail-hero>img,#main .detail-hero>img.landscape-les-nous,#main .detail-hero>.care-photo,#main .detail-hero .gallery-stage,
#main .company-band>img,#main .ehpad-opening .care-photo,#main .ehpad-opening .gallery-stage,#main .care-band>.care-band-photo,#main:has(>.hero.hero-opening) .care-band>.care-band-photo{transform:rotate(var(--page-tilt));rotate:none;transform-origin:center}
#main .detail-hero>.detail-heading>*,#main .company-band>.prose>*,#main .ehpad-opening .ehpad-opening-copy>*,#main .care-band>div>*{transform:rotate(var(--page-tilt));rotate:none;transform-origin:left top;max-width:calc(100% - 16px)}
@media(max-width:760px){
 #main .artist .artist-bio>*,#main .detail-hero>.detail-heading>*,#main .company-band>.prose>*,#main .ehpad-opening .ehpad-opening-copy>*,#main .care-band>div>*{max-width:calc(100% - 24px)}
}
