/* Final equal-logo footprint fix for Maintain.ae and CryptoBillionaire.ae
   These SVGs contain wider internal whitespace, so object-fit alone makes them
   appear much smaller than the other card logos. This normalizes their visual
   footprint on homepage cards, hostname hero visuals, and domain detail pages. */

/* Homepage cards */
a[href="/domain/crypto-billionaire-ae"] .overflow-hidden img,
a[href="/domain/maintain-ae"] .overflow-hidden img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  padding: 0.15rem !important;
  transform-origin: center center !important;
}

a[href="/domain/crypto-billionaire-ae"] .overflow-hidden img {
  transform: scale(1.34) !important;
}

a[href="/domain/maintain-ae"] .overflow-hidden img {
  transform: scale(1.26) !important;
}

/* Active domain visuals on routed landings */
img[alt^="CryptoBillionaire.ae visual"],
img[alt^="Maintain.ae visual"],
img[alt^="CryptoBillionaire.ae image"],
img[alt^="Maintain.ae image"] {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  padding: 0.3rem !important;
  transform-origin: center center !important;
}

img[alt^="CryptoBillionaire.ae visual"],
img[alt^="CryptoBillionaire.ae image"] {
  transform: scale(1.24) !important;
}

img[alt^="Maintain.ae visual"],
img[alt^="Maintain.ae image"] {
  transform: scale(1.18) !important;
}

/* Keep them stable on small screens */
@media (max-width: 768px) {
  a[href="/domain/crypto-billionaire-ae"] .overflow-hidden img {
    transform: scale(1.26) !important;
    padding: 0.1rem !important;
  }

  a[href="/domain/maintain-ae"] .overflow-hidden img {
    transform: scale(1.20) !important;
    padding: 0.1rem !important;
  }

  img[alt^="CryptoBillionaire.ae visual"],
  img[alt^="CryptoBillionaire.ae image"] {
    transform: scale(1.18) !important;
    padding: 0.15rem !important;
  }

  img[alt^="Maintain.ae visual"],
  img[alt^="Maintain.ae image"] {
    transform: scale(1.14) !important;
    padding: 0.15rem !important;
  }
}
