/* Référence pour l’aperçu EMIR seulement.
   Ajouter swiss-project-emir au body et swiss-project-cover--emir à la figure.
   Inclure le clipPath documenté dans audit-visuels.md dans la copie de page.
   URL de fond prévue pour le serveur local dont HTML/ est la racine. */
body.swiss-project-emir .swiss-project-cover--emir {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #111214;
}
body.swiss-project-emir .swiss-project-cover--emir > img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
  mask-image: none;
}
body.swiss-project-emir .swiss-emir-cover__masks {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
@media (min-width: 768px) {
  body.swiss-project-emir .swiss-project-cover--emir {
    height: min(90vh, 96rem);
    background-image: url("/img/swiss/hero-emir-stone-wide.png");
    background-size: 100% 100%;
    background-position: center top;
    background-repeat: no-repeat;
  }
  body.swiss-project-emir .swiss-project-cover--emir > img {
    flex: none;
    width: auto;
    height: 100%;
    aspect-ratio: 2 / 3;
    clip-path: url(#swiss-emir-project-phone-mask);
  }
}

/* Galerie supplémentaire, limitée à l’aperçu EMIR. */
body.swiss-project-emir .emir-dashboard { margin: 0; }
body.swiss-project-emir .emir-dashboard > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 50%;
}
body.swiss-project-emir .emir-dashboard figcaption {
  margin: 1.6rem 6rem 0;
  font: normal 600 1.4rem/1.6 var(--_font-accent);
  color: var(--t-medium);
}
body.swiss-project-emir .emir-tools-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 50%;
}
@media (max-width: 767px) {
  body.swiss-project-emir .emir-dashboard > img { aspect-ratio: 1; }
  body.swiss-project-emir .emir-dashboard figcaption { margin-inline: 3rem; }
}
