/* Bannière titre/dates sous l'image de Nettie et du microscope */
.hero__banner {
  width: 100%;
  background: var(--beige-très-foncé);
  box-shadow: 0 15px 2px rgba(0,0,0,0.10);
  padding: 0.9rem 0 0.9rem 0;
  margin-top: -1rem;
  text-align: center;
}
.hero__title {
  font-family: 'Volkhov', serif;
  font-size: 22px;
  color: var(--marron-très-foncé);
  font-weight: 540;
  margin: 0;
}
.hero__dates {
  font-family: 'Saira SemiCondensed', sans-serif;
  font-size: 12px;
  color: var(--marron-très-foncé);
  font-weight: 400;
}

/* Image du microscope positionnée à droite de Nettie */
.hero__img-microscope {
  position: absolute;
  right: 50px; /* Décale un peu plus à gauche */
  top: 155px;   /* Descend un peu l'image */
  width: 38vw;
  max-width: 150px;
  z-index: 3;
}

/* Section hero spécifique à la page Nettie Stevens */
.hero-nettie {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 320px;
  padding-top: 3rem;
  padding-bottom: 1.5rem;
  background: none;
}

/* Portrait principal de Nettie Stevens */
.hero__img {
  width: 60vw;
  max-width: 230px;
  height: auto;
  border-radius: 4px;
  z-index: 2;
  position: relative;
  left: -60px; /* Décale un peu plus à gauche */
}

/* Fond spécifique uniquement pour la page Nettie Stevens */
.main--dark.hero-nettie-bg {
  background: url('/assets/img/FondDePage.avif') repeat center center fixed !important;
  background-size: 100% !important;
}

.section--bio .section__title {
  white-space: nowrap;
  border-bottom-width: 2px;
  border-bottom-color: var(--marron-très-foncé);
  width: 107px;
}

.section--legacy .section__title {
  white-space: nowrap;
  border-bottom-width: 2px;
  border-bottom-color: var(--marron-très-foncé);
  width: 205px;
}

.section--discoveries .section__title {
  white-space: nowrap;
  border-bottom-width: 2px;
  border-bottom-color: var(--marron-très-foncé);
  width: 123px;
}

.section--career .section__title {
  white-space: nowrap;
  border-bottom-width: 2px;
  border-bottom-color: var(--marron-très-foncé);
  width: 90px;
}


/* Responsive : adapte la taille et la position sur écran large */

@media (min-width: 600px) {
  .hero-nettie {
    min-height: 400px;
    padding-top: 3.5rem;
  }
  .hero__img {
    max-width: 260px;
    left: -70px;
  }
  .hero__img-microscope {
    right: 120px;
    top: 40px;
    max-width: 150px;
  }
  .hero__title {
    font-size: 1.7rem;
  }
}
