/* v27: home "Esperienze precedenti" logos on mobile: flowing rows spaced like desktop
   (rows 4/3/4/3, full rows edge to edge with equal gaps, last row centred), equal visible area. Desktop unchanged. */
@media (max-width: 619px) {
  .team-home .prev-firms ul { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; column-gap: 0; row-gap: 18px; --s: 1; }
  .team-home .firm-logos li { flex: 0 0 auto; height: 32px; display: flex; align-items: center; }
  .team-home .firm-logos li img { height: calc(var(--lh) * var(--s)); width: calc(var(--lw) * var(--s)); max-width: none; }
  .team-home .firm-logos li:has(img[src*="/blackstone.png"]) { --lh: 22.39px; --lw: 57.28px; margin-left: 0; }
  .team-home .firm-logos li:has(img[src*="/goldman-sachs.png"]) { --lh: 23.45px; --lw: 54.72px; margin-left: calc((100% - 241.00px * var(--s)) / 3 - .05px); }
  .team-home .firm-logos li:has(img[src*="/pjt.png"]) { --lh: 32.4px; --lw: 38.88px; margin-left: calc((100% - 241.00px * var(--s)) / 3 - .05px); }
  .team-home .firm-logos li:has(img[src*="/evercore.png"]) { --lh: 14.23px; --lw: 90.12px; margin-left: calc((100% - 241.00px * var(--s)) / 3 - .05px); }
  .team-home .firm-logos li:has(img[src*="/morgan-stanley.png"]) { --lh: 13.45px; --lw: 93.7px; margin-left: 0; }
  .team-home .firm-logos li:has(img[src*="/mckinsey.png"]) { --lh: 11.8px; --lw: 106.79px; margin-left: calc((100% - 278.79px * var(--s)) / 2 - .05px); }
  .team-home .firm-logos li:has(img[src*="/bnp-paribas.png"]) { --lh: 16.09px; --lw: 78.3px; margin-left: calc((100% - 278.79px * var(--s)) / 2 - .05px); }
  .team-home .firm-logos li:has(img[src*="/mediobanca.png"]) { --lh: 19.24px; --lw: 75.04px; margin-left: 0; }
  .team-home .firm-logos li:has(img[src*="/intesa.png"]) { --lh: 10.22px; --lw: 91.04px; margin-left: calc((100% - 274.25px * var(--s)) / 3 - .05px); }
  .team-home .firm-logos li:has(img[src*="/kpmg.png"]) { --lh: 19.05px; --lw: 48.9px; margin-left: calc((100% - 274.25px * var(--s)) / 3 - .05px); }
  .team-home .firm-logos li:has(img[src*="/accenture.png"]) { --lh: 15.7px; --lw: 59.27px; margin-left: calc((100% - 274.25px * var(--s)) / 3 - .05px); }
  .team-home .firm-logos li:has(img[src*="/mudrick.png"]) { --lh: 18.52px; --lw: 59.42px; margin-left: calc((100% - 258.06px * var(--s)) / 2); }
  .team-home .firm-logos li:has(img[src*="/astorg.png"]) { --lh: 17.36px; --lw: 63.36px; margin-left: calc(32px * var(--s)); }
  .team-home .firm-logos li:has(img[src*="/nextalia.png"]) { --lh: 15.44px; --lw: 71.28px; margin-left: calc(32px * var(--s)); }
}
@media (max-width: 339px) { .team-home .prev-firms ul { --s: .8; } }
@media (min-width: 340px) and (max-width: 374px) { .team-home .prev-firms ul { --s: .9; } }
@media (min-width: 420px) and (max-width: 459px) { .team-home .prev-firms ul { --s: 1.1; } }
@media (min-width: 460px) and (max-width: 519px) { .team-home .prev-firms ul { --s: 1.22; } }
@media (min-width: 520px) and (max-width: 579px) { .team-home .prev-firms ul { --s: 1.38; } }
@media (min-width: 580px) and (max-width: 619px) { .team-home .prev-firms ul { --s: 1.5; } }
