/* AKA — règles d'affichage validées. Aucune déformation. */
.stage { padding:0 !important; overflow:hidden; }
.stage .slide { width:100%; height:100%; }
.stage .slide img { display:block; object-fit:contain !important; max-width:none !important; max-height:none !important; transform:none; }
/* Paysage desktop : largeur prioritaire, sur toute la largeur de l'écran. */
.stage .slide[data-format="landscape"] img { width:100vw !important; height:auto !important; }
/* Portrait desktop : hauteur prioritaire, largeur automatique. */
.stage .slide[data-format="portrait"] img { width:auto !important; height:100dvh !important; }
@media(max-width:700px) {
  .stage .slide[data-format="portrait"][data-mobile-mode="width"] img { width:100vw !important; height:auto !important; transform:none !important; }
  .stage .slide[data-format="portrait"][data-mobile-mode="height"] img { width:auto !important; height:100dvh !important; transform:none !important; margin-inline:auto !important; }
  .stage .slide[data-format="landscape"][data-mobile-mode="width"] img { width:100vw !important; height:auto !important; transform:none !important; }
  /* Rotation antihoraire : largeur de l'image avant rotation = hauteur de l'écran après rotation. */
  .stage .slide[data-format="landscape"][data-mobile-mode="rotate"] img { width:100dvh !important; height:auto !important; transform:rotate(-90deg) !important; transform-origin:center center; }
}
.aka-empty .stage:after{content:"Galerie d’accueil vide — ajoutez vos images dans le back-office local";position:absolute;left:15%;right:15%;top:45%;text-align:center;font:14px Helvetica;z-index:3;pointer-events:none;background:white;padding:12px;}
