.arrow-container {
  text-align: center;
  /* Centre le texte et la flèche */
  margin-top: 1rem;
  /* Espacement au-dessus de la flèche */
}

.arrow {
  width: 60%;
  /* Longueur de la flèche */
  height: .2rem;
  /* Épaisseur de la flèche */
  background-color: black;
  /* Couleur de la flèche */
  position: relative;
  /* Positionnement relatif pour le pseudo-élément */
  display: inline-block;
  /* Utilisé pour centrer correctement */
}

.arrow:after {
  content: '';
  position: absolute;
  top: -.55rem;
  /* Ajustement vertical pour le triangle */
  right: -1rem;
  /* Ajustement horizontal pour le triangle */
  border-width: .65rem;
  /* Taille de la pointe de la flèche */
  border-style: solid;
  /* Type de bord */
  border-color: transparent transparent transparent black;
  /* Couleurs du triangle */
}

/*========================================================================================================*/

/* Fix pour l'alignement horizontal des images/vidéos */

.imgContainer {
  display: flex;
  flex-direction: column;
  min-height: 5px;
  max-height: auto;
  /* Crucial : aligne le haut des conteneurs */
  text-align: center;
  margin: 0 10px;
}

.imgContainer img,
.imgContainer video {
  display: block !important;
  height: auto !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  margin-bottom: auto !important;
}

.imgContainer p {
  /* Hauteur minimale fixe pour éviter le décalage */
  display: flex;
  flex-direction: column;
  min-height: 3em;
  /* Assez pour 2 lignes */
  margin-top: auto;
  margin-bottom: 0;
  height: auto;
  line-height: 1;
  font-size: 0.9em;

  /* Optionnel : centre le texte verticalement */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .imgContainer {
    width: 45%;
    /* 2 images par ligne sur mobile */
    margin: auto;
    border-style: none;
  }

  .imgContainer img,
  .imgContainer video {
    width: 100%;
  }

  .imgContainer p {
    font-size: 0.8em;
    min-height: 3.5em;
    /* Un peu plus sur mobile car le texte wrap plus */
  }
}

@media (max-width: 480px) {
  .imgContainer {
    width: 100%;
    /* 1 image par ligne sur très petit écran */
    margin: 10px auto;
  }
}

/*========================================================================================================*/

body {
  color: #555;
  font-family: 'Noto Sans', sans-serif;
}

.imgContainer {
  max-width: 100%;
  height: auto;
  float: left;
}

hr {
  border: 1rem solid black;
}

.container {
  display: flex;
  /* Utiliser flexbox pour aligner l'image et les vidéos */
  /* Aligner verticalement au centre */
  justify-content: center;
  max-width: 1000em;
  /* Largeur maximale du conteneur */
  margin: auto;
  /* Centrer le conteneur */
}

.container video {
  margin: 10px;
  /* Espacement entre les vidéos */
  max-width: 100%;
  /* S'adapter à l'écran */
}

.footer .icon-link {
  font-size: 25px;
  color: #000;
}

.link-block a {
  margin-top: 5px;
  margin-bottom: 5px;
}

.dnerf {
  font-variant: small-caps;
}


.teaser .hero-body {
  padding-top: 0;
  padding-bottom: 3rem;
}

.teaser {
  font-family: 'Google Sans', sans-serif;
}


.publication-title {}

.publication-banner {
  max-height: parent;

}

.publication-banner video {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  object-fit: fit;
}

.publication-header .hero-body {}

.publication-title {
  font-family: 'Google Sans', sans-serif;
}

.publication-authors {
  font-family: 'Google Sans', sans-serif;
}

.publication-venue {
  color: #555;
  width: fit-content;
  font-weight: bold;
}

.publication-awards {
  color: #ff3860;
  width: fit-content;
  font-weight: bolder;
}

.publication-authors {}

.publication-authors a {
  color: hsl(204, 86%, 53%) !important;
}

.publication-authors a:hover {
  text-decoration: underline;
}

.author-block {
  display: inline-block;
}

.publication-banner img {}

.publication-authors {
  /*color: #4286f4;*/
}

.publication-video {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;

  overflow: hidden;
  border-radius: 10px !important;
}

.publication-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.publication-body img {}

.results-carousel {
  overflow: hidden;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  border: 1px solid #bbb;
  border-radius: 10px;
  padding: 0;
  font-size: 0;
}

.results-carousel video {
  margin: 0;
}


.interpolation-panel {
  background: #f5f5f5;
  border-radius: 10px;
}

.interpolation-panel .interpolation-image {
  width: 100%;
  border-radius: 5px;
}

.interpolation-video-column {}

.interpolation-panel .slider {
  margin: 0 !important;
}

.interpolation-panel .slider {
  margin: 0 !important;
}

#interpolation-image-wrapper {
  width: 100%;
}

#interpolation-image-wrapper img {
  border-radius: 5px;
}