/* Onglets CSS uniquement (sans JS), réutilisable sur toutes les pages */
.css-tabs input[type="radio"] {
  display: none;
}
.css-tabs label {
  display: inline-block;
  padding: 0.5em 1em;
  margin-right: 0.25em;
  cursor: pointer;
  border: 1px solid #3a6ea5;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  background: #eef4fa;
}
.css-tabs input[type="radio"]:checked + label {
  background: #3a6ea5;
  color: #fff;
}
.css-tabs .tab-content {
  display: none;
  border: 1px solid #3a6ea5;
  padding: 1em;
}
.css-tabs input[type="radio"]:nth-of-type(1):checked ~ .tab-content:nth-of-type(1),
.css-tabs input[type="radio"]:nth-of-type(2):checked ~ .tab-content:nth-of-type(2),
.css-tabs input[type="radio"]:nth-of-type(3):checked ~ .tab-content:nth-of-type(3),
.css-tabs input[type="radio"]:nth-of-type(4):checked ~ .tab-content:nth-of-type(4) {
  display: block;
}

/* Cartes en grille pour les listes de liens (nom = colonnes mobile-tablette-bureau) */
.flexbox-2-2-3 > div,
.flexbox-2-3-4 > div,
.flexbox-2-2-4 > div {
  flex: 0 0 auto;
  text-align: center;
}
.flexbox-2-2-3,
.flexbox-2-3-4,
.flexbox-2-2-4 {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  justify-content: center;
}
.flexbox-2-2-3 > div,
.flexbox-2-3-4 > div,
.flexbox-2-2-4 > div {
  width: calc(50% - 1.5em);
}
@media (min-width: 768px) {
  .flexbox-2-3-4 > div { width: calc(33.333% - 1.5em); }
}
@media (min-width: 1024px) {
  .flexbox-2-2-3 > div { width: calc(33.333% - 1.5em); }
  .flexbox-2-3-4 > div { width: calc(25% - 1.5em); }
  .flexbox-2-2-4 > div { width: calc(25% - 1.5em); }
}
.bio-photo {
  overflow: hidden;
}
.bio-photo-img {
  float: left;
  margin: 0 1.5em 1em 0;
  max-width: 200px;
  height: auto;
}