/* MarocPros V33.2.230 — présentation des fiches nominatives uniquement */
.mpdir .mpdir-profile {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  margin: 22px 0 26px;
}
.mpdir .mpdir-profile-photo {
  width: 100%; max-width: 240px; min-width: 0; margin: 0;
  text-align: center;
}
.mpdir .mpdir-profile-photo img {
  display: block; width: 100%; max-width: 240px; height: auto;
  max-height: 310px; object-fit: contain; object-position: center;
  margin: 0 auto; box-sizing: border-box;
  border: 1px solid #dce7ef; border-radius: 10px;
  background: #fff; box-shadow: none;
}
.mpdir .mpdir-profile-photo figcaption {
  margin: 6px 0 0; font-size: .75rem; line-height: 1.4;
  color: #53687b; text-align: center; overflow-wrap: anywhere;
}
.mpdir .mpdir-profile-intro { min-width: 0; padding: 8px 0 0; text-align: left; }
.mpdir .mpdir-profile-intro h1 {
  margin: 0 0 7px; font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.22; text-align: left; overflow-wrap: anywhere;
}
.mpdir .mpdir-profile-intro > small[lang="ar"] {
  display: block; width: fit-content; max-width: 100%; margin: 0 0 14px;
  color: #53687b; font-size: 1.08rem; overflow-wrap: anywhere;
}
.mpdir .mpdir-profile-intro > p { margin: 0; line-height: 1.7; overflow-wrap: anywhere; }
.mpdir .mpdir-profile--sans-photo { display: block; margin: 20px 0 24px; }
.mpdir .mpdir-profile--sans-photo .mpdir-profile-intro { padding: 0; }
@media (max-width: 760px) {
  .mpdir .mpdir-profile { grid-template-columns: 175px minmax(0, 1fr); gap: 20px; }
  .mpdir .mpdir-profile-photo { max-width: 175px; }
  .mpdir .mpdir-profile-photo img { max-width: 175px; max-height: 230px; }
  .mpdir .mpdir-profile--sans-photo { display: block; }
}
@media (max-width: 540px) {
  .mpdir .mpdir-profile { grid-template-columns: minmax(0, 1fr); gap: 15px; margin: 17px 0 22px; }
  .mpdir .mpdir-profile-photo { max-width: 170px; margin: 0 auto; }
  .mpdir .mpdir-profile-photo img { max-width: 170px; max-height: 220px; }
  .mpdir .mpdir-profile-intro { padding: 0; }
  .mpdir .mpdir-profile-intro h1 { font-size: 1.65rem; }
  .mpdir .mpdir-profile--sans-photo { display: block; }
}
