/* Cobrand partner mark: force layout size to match the product logo icon. */
button.home-brand-mark.has-cobrand-logo {
  min-width: 0;
  align-items: center;
}

button.home-brand-mark.has-cobrand-logo > img.home-cobrand-partner-logo {
  box-sizing: border-box !important;
  display: block !important;
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  flex: 0 0 28px !important;
  object-fit: contain !important;
  object-position: center !important;
  overflow: hidden !important;
}

button.home-brand-mark.has-cobrand-logo > img.home-cobrand-product-logo {
  box-sizing: border-box !important;
  display: block !important;
  width: 132px !important;
  height: 40px !important;
  max-width: 132px !important;
  max-height: 40px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  flex: 0 0 132px !important;
  object-fit: contain !important;
  object-position: left center !important;
}

@media (max-width: 620px) {
  button.home-brand-mark.has-cobrand-logo > img.home-cobrand-partner-logo {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    flex: 0 0 22px !important;
  }

  button.home-brand-mark.has-cobrand-logo > img.home-cobrand-product-logo {
    width: 108px !important;
    height: 32px !important;
    max-width: 108px !important;
    max-height: 32px !important;
    flex: 0 0 108px !important;
  }
}
