/* MarocPros – V33.2.276 : quatre cartes de collègues au plus, portraits et sigles.
   CSS scoped : aucune modification d'autres composants ou fiches. */
.mpdir .mpdir-links.mpdir-colleagues-v276 {
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:9px!important;
    padding:0!important;
    margin:10px 0 0!important;
    list-style:none!important;
    align-items:stretch!important;
}
.mpdir .mpdir-links.mpdir-colleagues-v276 > li {
    min-width:0!important;
    min-height:86px!important;
    block-size:auto!important;
    height:auto!important;
    padding:9px!important;
    background:#fbfdff!important;
    border:1px solid #dce6ec!important;
    border-radius:10px!important;
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    white-space:normal!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
}
.mpdir .mpdir-colleagues-v276 .mpdir-colleague-thumb {
    display:flex;flex:none;justify-content:center;align-items:center;
    width:53px;height:65px;overflow:hidden;border-radius:7px;
    background:#eef3f6;border:1px solid #e1e9ee;
}
.mpdir .mpdir-colleagues-v276 .mpdir-colleague-thumb img {
    display:block;width:100%;height:100%;object-fit:contain;
}
.mpdir .mpdir-colleagues-v276 .mpdir-colleague-thumb--fallback svg {
    width:25px;height:25px;stroke:#8195a2;fill:none;
}
.mpdir .mpdir-colleagues-v276 .mpdir-colleague-meta {
    display:flex;flex-direction:column;justify-content:center;
    gap:7px;min-width:0;flex:1;
}
.mpdir .mpdir-colleagues-v276 a.mpdir-colleague-name {
    color:#185675;font-size:12.5px;line-height:1.3;font-weight:650;
    text-decoration:none;white-space:normal;overflow-wrap:break-word;
}
.mpdir .mpdir-colleagues-v276 a.mpdir-colleague-name:hover,
.mpdir .mpdir-colleagues-v276 a.mpdir-colleague-name:focus-visible {
    text-decoration:underline;
}
.mpdir .mpdir-colleagues-v276 a.mpdir-colleague-party {
    display:inline-flex;align-items:center;gap:5px;min-width:0;
    align-self:flex-start;color:#425a67;font-size:11.5px;
    text-decoration:none;line-height:1.15;
}
.mpdir .mpdir-colleagues-v276 a.mpdir-colleague-party img {
    width:18px;height:18px;object-fit:contain;flex:none;
}
.mpdir .mpdir-colleagues-v276 a.mpdir-colleague-party strong {font-weight:750;}
.mpdir .mpdir-colleagues-v276 a.mpdir-colleague-party:hover strong,
.mpdir .mpdir-colleagues-v276 a.mpdir-colleague-party:focus-visible strong {text-decoration:underline;}
@container (max-width:800px) {
  .mpdir .mpdir-links.mpdir-colleagues-v276 {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@container (max-width:440px) {
  .mpdir .mpdir-links.mpdir-colleagues-v276 {grid-template-columns:minmax(0,1fr)!important;}
  .mpdir .mpdir-links.mpdir-colleagues-v276 > li {min-height:76px!important;}
}
@media print {
  .mpdir .mpdir-links.mpdir-colleagues-v276 {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
