/* Reset and general styles */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header styles */
.page-header {
  background-color: #63003C; /* Réintégration de l'arrière-plan bordeaux */
  color: #fff;
  padding: 20px;
  text-align: center;
}

.page-header__title {
  font-size: 2rem;
  margin: 0;
}

.page-header__subtitle {
  font-size: 1.2rem;
  margin: 10px 0 0;
  color: #fff;
}

/* Section styles with specific background colors */
.section {
  margin: 40px 0;
  padding: 20px;
  border-radius: 8px;
}

.section-actualites {
  background-color: #ffffff; /* Blanc (pas de fond) */
  border: 3px solid #004E7D; /* Encadrement bleu foncé */
  color: #004E7D; /* Texte assorti à l'encadrement */
}

.section-revues {
  background-color: #00AEEF; /* Bleu clair */
  color: #fff;
}

.section-ouvrages {
  background-color: #0E87C9; /* Bleu profond */
  color: #fff;
}

.section-actes {
  background-color: #0094B5; /* Bleu cyan */
  color: #fff;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 20px;
  text-align: center;
}

/* Card styles */
.card-list {
  display: flex; /* Flexbox pour aligner les cartes côte à côte */
  gap: 20px;
  flex-wrap: nowrap; /* Empêche les cartes de se replier sur une nouvelle ligne */
  justify-content: space-between; /* Espacement uniforme entre les cartes */
}

.card {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  width: 32%; /* Largeur ajustée pour avoir trois cartes côte à côte */
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #f9f9f9; /* Fond gris clair pour les cartes pour plus de contraste */
  transition: all 0.3s ease-in-out; /* Transition fluide pour tous les changements */
}

.card__link {
  text-decoration: none;
  color: inherit;
}

.card__image {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease; /* Transition pour l'image */
}

.card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ombre portée plus grande */
  transform: translateY(-5px); /* Légère élévation de la carte */
  background-color: #f4f4f4; /* Changement de la couleur de fond de la carte */
}

.card:hover .card__image {
  transform: scale(1.05); /* Zoom de l'image à 105% de sa taille originale */
}

.card__title {
  font-size: 1.4rem; /* Agrandissement du titre de la carte */
  margin: 15px 0;
  color: #004E7D; /* Couleur de titre bleu foncé pour les titres sur les cartes */
}

.card__description {
  font-size: 1.1rem; /* Agrandissement de la description */
  margin: 10px 15px 15px;
  color: #333; /* Texte gris foncé pour la description */
}

/* Effect of hover on the title */
.card:hover .card__title {
  color: #63003C; /* Changement de couleur du titre au survol (rouge bordeaux) */
}