/* Ajustements globaux */
.navbar-brand { font-weight: 700; letter-spacing: .5px; }
.navbar-nav .nav-link { font-size: 1.05em; }

/* Légendes des thématiques de recherche */
.theme-fig figcaption,
.quarto-figure figcaption,
figure figcaption { text-align: center; font-size: .9em; }

/* Sous-titre sous le nom (comme sur le site original).
   La couleur suit $primary, donc le thème clair comme le thème sombre. */
.quarto-title .subtitle {
  margin-top: .2rem;
  font-size: 1.25rem;
  font-weight: 500;
  opacity: 1;
  color: var(--bs-primary, #00695c);
}

/* Photo de profil */
.profile-photo img { border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,.12); }

/* Listes de publications un peu plus aérées */
main ul li { margin-bottom: .5rem; }

/* Fiches de la page Projets.
   Le liseré suit $primary via --bs-primary, donc le thème. Le contour est
   translucide plutôt que --bs-border-color, qui vaut #dee2e6 dans les deux
   thèmes et tranche trop violemment sur le fond sombre. */
.project-card {
  border: 1px solid rgba(127, 127, 127, .32);
  border-left: 3px solid var(--bs-primary, #00695c);
  border-radius: 6px;
  padding: 1rem 1.25rem .75rem;
  margin-bottom: 1.25rem;
}

/* Les titres de fiche ne sont plus des liens ; on garde la couleur d'accent
   pour ne pas perdre le repère visuel qu'ils donnaient. */
.project-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--bs-primary, #00695c);
}

.project-meta {
  display: block;
  margin: -.35rem 0 .6rem;
  font-size: .9rem;
  opacity: .75;
}

.project-more {
  font-size: .9rem;
  white-space: nowrap;
}
