/* MarocPros V33.2.233 — présentation éditoriale pilote ; aucune autre fiche ne charge cette feuille. */
.mpdir .mpdir-profile--editorial {align-items:start; margin-bottom:24px;}
.mpdir .mpdir-profile--editorial .mpdir-profile-intro {padding-top:4px;}
.mpdir .mpdir-profile--editorial .mpdir-profile-intro > p {margin:0 0 .72em; line-height:1.65;}
.mpdir .mpdir-profile--editorial .mpdir-profile-intro > p:last-child {margin-bottom:0;}
.mpdir .mpdir-parcours-editorial > h2 {margin:22px 0 8px;}
.mpdir .mpdir-parcours-editorial > p {margin:0 0 16px; line-height:1.65;}
@media(max-width:540px){
 .mpdir .mpdir-profile--editorial .mpdir-profile-intro {padding-top:0;}
 .mpdir .mpdir-profile--editorial {margin-bottom:20px;}
}

/* Identité bilingue : français à gauche, arabe à droite. La grille des collègues reste celle de la V33.2.232. */
.mpdir .mpdir-profile--editorial .mpdir-profile-intro h1.mpdir-name-bilingual {
 display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); align-items:baseline;
 gap:8px 14px; margin:0 0 14px; font-size:clamp(1.15rem,2.55vw,2rem); line-height:1.3;
}
.mpdir .mpdir-name-bilingual .mpdir-name-fr {text-align:left; overflow-wrap:normal;}
.mpdir .mpdir-name-bilingual .mpdir-name-ar {text-align:right; font-size:1.08em; line-height:1.35; font-weight:inherit; color:inherit; overflow-wrap:normal;}
@media(max-width:760px){
 .mpdir .mpdir-profile--editorial .mpdir-profile-intro h1.mpdir-name-bilingual {font-size:1.2rem;gap:8px;}
}
@media(max-width:540px){
 .mpdir .mpdir-profile--editorial .mpdir-profile-intro h1.mpdir-name-bilingual {font-size:clamp(1.1rem,4.4vw,1.4rem);}
}

/* V33.2.234 corrigée : conserver la grille responsive, les polices et les hauteurs d'origine. */
.mpdir {container-type:inline-size;}
.mpdir .mpdir-colleagues-inline li {
 display:flex;align-items:baseline;gap:2px;
 block-size:calc(22px + 1lh + 1lh * 5 / 6);
}
.mpdir .mpdir-colleagues-inline li > a {min-width:0;}
.mpdir .mpdir-colleagues-inline li > span {flex:none;}
.mpdir .mpdir-colleagues-inline small {display:inline;white-space:nowrap;flex:none;}
@container (min-width:864px) {
 .mpdir .mpdir-colleagues-inline {grid-template-columns:repeat(4,minmax(max-content,1fr));}
 .mpdir .mpdir-colleagues-inline li {white-space:nowrap;padding-inline:clamp(1px, calc(1px + (100cqw - 864px) / 10), 12px);}
}
/* Hauteurs de la grille originale, selon ses seuils de retour à la ligne. */
@container (min-width:864px) and (max-width:997.09px) {
 .mpdir .mpdir-colleagues-inline li {block-size:calc(22px + 2lh + 1lh * 5 / 6);}
}
@container (min-width:646px) and (max-width:745.81px) {
 .mpdir .mpdir-colleagues-inline li:nth-child(-n+3) {block-size:calc(22px + 2lh + 1lh * 5 / 6);}
}
@container (min-width:428px) and (max-width:494.54px) {
 .mpdir .mpdir-colleagues-inline li:nth-child(-n+2) {block-size:calc(22px + 2lh + 1lh * 5 / 6);}
}
@container (max-width:243.27px) {
 .mpdir .mpdir-colleagues-inline li:first-child {block-size:calc(22px + 2lh + 1lh * 5 / 6);}
}

