/* DATIBAT C2.4.1 — retouches ciblées à la page Expertises seulement.
   Aucun changement au style des grilles des autres pages. */
.datibat-expertises #nos-expertises { scroll-margin-top: 96px; }
.datibat-expertises .trio__item.is-current .trio__link { align-self:flex-start; }
.datibat-expertises .tech-grid--wide { gap:18px; }
.datibat-expertises .tech-grid--wide .tech {
  min-width:0; padding:22px 17px 20px; display:flex; flex-direction:column;
}
.datibat-expertises .tech-grid--wide .tech__ic { flex-shrink:0; margin-bottom:14px; }
.datibat-expertises .tech-grid--wide .tech__name { overflow-wrap:break-word; line-height:1.28; }
.datibat-expertises .tech-grid--wide .tech__text { line-height:1.58; }
/* Deux logos Python sur la première ligne, Matplotlib centré dessous :
   les logos sont plus lisibles sans élargir les cinq cartes du catalogue. */
.datibat-expertises .exp-python-libs {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px; align-items:center; width:100%; margin-top:12px;
}
.datibat-expertises .exp-python-lib {
  display:flex; align-items:center; justify-content:center;
  min-width:0; width:100%; height:37px; padding:3px;
  background:#fff; border:1px solid #e5ebf3; border-radius:8px;
}
.datibat-expertises .exp-python-lib img {
  display:block; width:100%; height:29px; max-width:100%; max-height:29px;
  object-fit:contain;
}
.datibat-expertises .exp-python-lib:nth-child(3) {
  grid-column:1 / -1; width:73%; justify-self:center;
}
@media (max-width:440px) {
  .datibat-expertises .tech-grid--wide .tech { padding:22px; }
  .datibat-expertises .exp-python-libs { gap:10px; max-width:300px; }
  .datibat-expertises .exp-python-lib { height:43px; }
  .datibat-expertises .exp-python-lib img { height:35px; max-height:35px; }
}
