/* Améliore l'affichage des éléments du menu de langue */
.navbar .dropdown-menu a {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
}

/* Optionnel : un peu d'espace entre le drapeau et le texte */
.navbar .dropdown-menu a::before {
  margin-right: 6px;
}

/* Justifie tout le texte du contenu principal */
main#quarto-document-content {
  text-align: justify;
}

.sidebar-actualites {
  float: right;
  width: 25%;
  background: #f7f7f7;
  border-left: 3px solid #004b7f;
  padding: 1rem;
  margin: 1rem;
  font-size: 0.9rem;
}

.sidebar-actualites h3 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .sidebar-actualites {
    float: none;
    width: 100%;
    margin: 1rem 0;
  }
}

/* Grille d'équipe */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Carte individuelle */
.team-card {
  background: #ffffff;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  width: 250px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.team-card h3 {
  margin-top: 0.8rem;
  font-size: 1.1rem;
}

/* Photo ronde */
.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #004b7f;
}

/* Version responsive */
@media (max-width: 700px) {
  .team-grid {
    justify-content: center;
  }
  .team-card {
    width: 100%;
    max-width: 280px;
  }
}

.cv-button {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.4rem 0.8rem;
  background-color: #004b7f;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.85rem;
  transition: background-color 0.2s;
}

.cv-button:hover {
  background-color: #00385d;
}



