/* Conteneur global */
.paramedical {
  max-width: 1000px;
  margin: auto;
  padding: 2em;
  position: relative;
  overflow: visible;
}

/* Titres de section */
.paramedical h2 {
  text-align: left;
  text-transform: uppercase;
  margin-bottom: 1.5em;
  font-size: 2em;
}

/* Liste principale */
.paramedical ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Chaque membre : disposition en ligne */
.paramedical li {
  display: flex;
  align-items: flex-start;
  gap: 2em;
  margin-bottom: 4em;
  position: relative;
  z-index: 1;
}

/* Photo ronde */
.paramedical img {
  width: 13em;
  height: 13em;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* Bloc texte (à droite) */
.paramedical li div {
  flex: 1;
  min-width: 0;
}

/* Nom */
.paramedical h3 {
  font-size: 1.2em;
  margin: 0;
}

/* Rôle */
.paramedical .role {
  font-size: 0.9em;
  text-transform: uppercase;
  color: #777;
  margin: 0.3em 0;
}

/* Coordonnées */
.paramedical .coordonnes {
  font-size: 0.9em;
  color: #444;
  margin: 0.2em 0;
}

/* Description */
.paramedical .description {
  font-size: 0.95em;
  color: #555;
  margin-top: 0.5em;
  line-height: 1.5;
}

/* Background pattern gauche */
.paramedical::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 0;
  width: 30em;
  height: 100%;
  background-image: 
    url('/SITE/KlubDuDimanche/medias/FemmeZUMBA_KDD.png'),
    url('/SITE/KlubDuDimanche/medias/KDD_F2.png'),
    url('/SITE/KlubDuDimanche/medias/yogahomme.jpg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 0% 5%, 0% 35%, 0% 65%;
  opacity: 0.1;
  z-index: 0;
}

/* Background pattern droite */
.paramedical::after {
  content: "";
  position: absolute;
  right: 0%;
  top: 0;
  width: 30em;
  height: 100%;
  background-image: 
    url('/SITE/KlubDuDimanche/medias/KLUB_H6.png'),
    url('/SITE/KlubDuDimanche/medias/HommeZUMBA_KDD.png'),
    url('/SITE/KlubDuDimanche/medias/KDD_H8.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 20% 15%, 0% 55%, 25% 85%;
  opacity: 0.1;
  z-index: 0;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .paramedical li {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1em;
  }

  .paramedical img {
    width: 10em;
    height: 10em;
  }

  .paramedical li div {
    flex: none;
  }

  /* On masque les patterns pour mobile */
  .paramedical::before,
  .paramedical::after {
    display: none;
  }
}
