.cv-section h2 {
  border-bottom: 2px solid currentColor;
  padding-bottom: 4px;
  margin-top: 2em;
  margin-bottom: 1em;
  font-size: 1.4em;
  text-transform: none;  /* était uppercase */
  letter-spacing: 0.05em;
}

.cv-section h3 {
  margin-top: 1.2em;
  margin-bottom: 0.8em;
  font-size: 1em;
  font-style: normal;
  font-weight: 700;
}

.cv-entry {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0 1.2em;
  margin-bottom: 1.2em;
  align-items: start;
}

.cv-year {
  font-size: 1em;
  font-weight: 400;
  white-space: nowrap;
  line-height: 1.4;
}

.cv-section .cv-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0;
  line-height: 1.4;
}

.cv-section .cv-title {
  font-weight: 700;
  font-size: 1em;  /* était 0.95em */
  margin-bottom: 0;
  line-height: 1.4;
}

.cv-institution {
  font-size: 0.88em;
}
.cv-section .cv-detail {
  font-size: 0.88em;
  font-style: normal;
}



.paper-entry {
  margin-bottom: 1.5em;
}

.paper-entry strong {
  font-family: inherit;
  font-weight: 700 !important;
  font-size: inherit;  /* suit le contexte : 1rem pour le titre, 0.88em pour .paper-meta */
}

.paper-meta {
  font-size: 0.88em;
  color: #555;
}

.paper-meta a:not(.author-link) {
  color: #52ADC8;
  text-decoration: none;
}
.paper-meta a:not(.author-link):hover {
  color: #52ADC8;
}

.paper-abstract {
  display: none;
  margin-top: 0.5em;
  padding: 0.8em;
  background: #f8f8f8;
  border-left: 3px solid #aaa;
  font-size: 0.9em;
}


strong {
  font-weight: 700;
}

.author-link {
  color: inherit;
  /* color: #4A6B8A; */
  text-decoration: none !important;
}
.author-link:hover {
  color: inherit;
  /* color: #4A6B8A; */
  text-decoration: none !important;
}


/* Le fondu d'apparition s'applique au contenu de droite, pas à la colonne de gauche */
#main {
  animation: none !important;
}
.page,
.archive {
  animation: intro 0.3s both !important;
}
.sidebar,
.sidebar * {
  animation: none !important;
  opacity: 1 !important;
}

/* Neutralise le fondu "intro" qui se rejoue à chaque changement de page 
@keyframes intro {
  from { opacity: 1; }
  to { opacity: 1; }
}
@-webkit-keyframes intro {
  from { opacity: 1; }
  to { opacity: 1; }
}
*/

/* Bande du haut + menu entièrement grisés */
.masthead,
.greedy-nav,
.greedy-nav button,
.greedy-nav .visible-links,
.greedy-nav .hidden-links,
.masthead__menu,
.masthead__menu-item,
.masthead__menu-item a {
  background-color: #f8f9f9 !important;
}




/* ===== Texte des onglets du menu en noir ===== */
/* Couleur normale des libellés d'onglets (CV, Research, etc.) */
.masthead__menu-item a {
  color: #000000  !important;
}

/* Garde le noir au survol de la souris (sinon le thème le change) */
.masthead__menu-item a:hover {
  color: #000000  !important;
}

/* Garde le noir sur l'onglet actif (la page où tu te trouves) */
.masthead__menu-item.selected a {
  color: #000000  !important;
}






/* Empêche la bande du haut de clignoter au changement de page (Turbo) */
.masthead,
.masthead *,
.greedy-nav {
  animation: none !important;
}
/* Enlève le carré bleu de focus sur les onglets cliqués à la souris */
.masthead__menu-item a:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}
/* Empêche le texte de se décaler quand l'onglet actif passe en gras */
.masthead__menu-item a {
  display: inline-block;
}
.masthead__menu-item a::after {
  content: attr(data-title);
  content: attr(title);
  display: block;
  font-weight: 700;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

