/* Cadres carrés pour les vrais logos, sans recadrer ni couper la marque. */
.erfp .erfp-logo:has(img){width:82px;height:82px;padding:7px;border-radius:14px;background:#fff}
.erfp .erfp-logo:has(img) img{display:block;width:100%;height:100%;padding:0;object-fit:contain;object-position:center}
body.single-at_biz_dir #page #content #er-sl-premium .er-sl-logo:has(img){width:140px!important;height:140px!important;min-width:140px!important;aspect-ratio:1/1!important;padding:8px!important;border-radius:18px!important;background:#fff!important}
body.single-at_biz_dir #page #content #er-sl-premium .er-sl-logo:has(img) img{width:100%!important;height:100%!important;padding:0!important;object-fit:contain!important;object-position:center!important}
@media(max-width:767px){
  /* Réserver la hauteur du menu mobile avant le logo de la fiche. */
  body.single-at_biz_dir #page #content #er-sl-premium .er-sl-hero{padding-top:176px!important}
  body.single-at_biz_dir #page #content #er-sl-premium .er-sl-hero__copy{padding-top:0!important}
  .erfp .erfp-logo:has(img){width:64px;height:64px;top:16px;left:16px;padding:5px;border-radius:12px}
  body.single-at_biz_dir #page #content #er-sl-premium .er-sl-logo:has(img){width:108px!important;height:108px!important;min-width:108px!important;padding:6px!important}
}
