/* 6.57.50: For the homepage promo placements and the profile header icon,
   use the uploaded logo as a full-bleed visual instead of contained artwork. */

/* Remove the blurred backdrop composition from 6.57.49 in these slots. */
body.home.abg-v6 .abg-v632-local-media.is-logo-media::before,
body.home.abg-v6 .abg-v618-partner-media.is-logo-media::before {
  content:none !important;
  display:none !important;
}

/* Local promo card: logo should fill the full stage like an image. */
body.home.abg-v6 .abg-v632-local-feature .abg-v632-local-media.is-logo-media {
  position:relative !important;
  display:block !important;
  overflow:hidden !important;
  padding:0 !important;
  background:#071b34 !important;
}
body.home.abg-v6 .abg-v632-local-feature .abg-v632-local-media.is-logo-media img {
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  min-width:100% !important;
  min-height:100% !important;
  margin:0 !important;
  padding:0 !important;
  object-fit:cover !important;
  object-position:center center !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  transform:none !important;
}

/* Partner cards: same behavior, no white/grey side areas. */
body.home.abg-v6 .abg-v618-partner-list article .abg-v618-partner-media.is-logo-media {
  position:relative !important;
  display:block !important;
  overflow:hidden !important;
  padding:0 !important;
  background:#071b34 !important;
}
body.home.abg-v6 .abg-v618-partner-list article .abg-v618-partner-media.is-logo-media img {
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  min-width:100% !important;
  min-height:100% !important;
  margin:0 !important;
  padding:0 !important;
  object-fit:cover !important;
  object-position:center center !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  transform:none !important;
}

/* Profile header logo badge: fill the square instead of contain. */
body.abg-v6 article.abg-v644-business-detail .abg-v638-business-logo.abg-v65740-logo-in-head,
body.abg-v6 article.abg-v644-business-detail .abg-v66-hero-copy.has-business-logo .abg-v638-business-logo.abg-v65740-logo-in-head {
  display:block !important;
  overflow:hidden !important;
  padding:0 !important;
  background:#071b34 !important;
}
body.abg-v6 article.abg-v644-business-detail .abg-v638-business-logo.abg-v65740-logo-in-head img,
body.abg-v6 article.abg-v644-business-detail .abg-v66-hero-copy.has-business-logo .abg-v638-business-logo.abg-v65740-logo-in-head img {
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  min-width:100% !important;
  min-height:100% !important;
  margin:0 !important;
  padding:0 !important;
  object-fit:cover !important;
  object-position:center center !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  transform:none !important;
}
