/* VÉO v849 — photographie bord à bord sur toute la largeur de l'écran.
   Ne change que le visuel du haut des fiches projets publiques. */
html body.veo-template-d .project-new-hero {
  overflow-x:clip!important;
}
html body.veo-template-d .project-new-grid.veo-d-layout {
  overflow:visible!important;
}
/* Décrocher uniquement la photo du conteneur de 1180 px. 
   Le calcul centre la largeur du viewport malgré les marges et paddings du conteneur. */
html body.veo-template-d .project-new-grid .project-new-visual {
  display:block!important;
  width:100vw!important;
  min-width:100vw!important;
  max-width:none!important;
  flex:0 0 auto!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  padding:0!important;
  left:auto!important;
  right:auto!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
html body.veo-template-d .project-new-grid .project-new-image,
html body.veo-template-d .project-new-grid .project-new-image img,
html body.veo-template-d .project-new-grid .project-new-image .project-fallback-image {
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  border:0!important;
  border-radius:0!important;
  object-fit:cover!important;
}
/* Adaptation : mêmes bords sur téléphone et tablette, sans défilement horizontal. */
@media(max-width:820px){
  html body.veo-template-d .project-new-grid .project-new-visual{
    width:100vw!important;
    min-width:100vw!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;
    border-radius:0!important;
  }
}