/* causeries.css */

#causeries2023 {
    padding: 20px;
    font-family: "Georgia", serif;
}

#causeries2023 h2 {
    font-size: 2em;
    color: #7c2b00;
    margin-bottom: 20px;
}

#causeries2023 .intro {
    font-style: italic;
    margin-bottom: 30px;
}

.sommaire {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.causerie {
    background: #fafafa;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.causerie h3 {
    color: #0055aa;
    margin-bottom: 10px;
}

.causerie p {
    text-align: justify;
    line-height: 1.6;
}

/*ajout 19 11 25*/
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 colonnes */
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 15px;
  text-align: center;
}

.card img {
  max-width: 100%;
  border-radius: 6px;
}

.card h3 {
  margin: 10px 0;
  color: #7c2b00;
}

.card p {
  font-size: 0.9em;
  line-height: 1.4;
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  padding: 8px 12px;
  background: #0055aa;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.btn {
  display: inline-block;
  padding: 8px 12px;
  background: #0055aa;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

.btn:hover {
  background: #003366; /* couleur plus foncée au survol */
  color: #ffcc00;      /* texte qui change de couleur */
}
/* ajout 19 11 25 pagination texte*/
.pagination {
  margin-top: 20px;
  text-align: center;
}

.pagination .btn {
  display: inline-block;
  padding: 8px 12px;
  background: #0055aa;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  margin: 0 5px;
  transition: background 0.3s, color 0.3s;
}

.pagination .btn:hover {
  background: #003366;
  color: #ffcc00;
}
