/* Sizes apply only to site images explicitly audited by famous-brand.js. */
img[data-famous-logo] {
  display: block;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

img[data-famous-logo="primary"] {
  width: 145px !important;
  height: 36px !important;
  max-width: 100%;
}

.desktop .header .header__logo:has(img[data-famous-logo="primary"]) {
  width: 145px !important;
}

.desktop .header .header__logo:has(img[data-famous-logo="primary"]) > .logo__link {
  width: 100% !important;
}

img[data-famous-logo="compact"] {
  width: 65px !important;
  height: 34px !important;
  max-width: none;
}

.mobile .main-header > .main-header__left > a.main-header__logo:has(img[data-famous-logo="compact"]) {
  width: 65px;
  height: 36px;
  display: flex;
  align-items: center;
}

img[data-famous-logo="light"] {
  width: 145px !important;
  height: 36px !important;
  max-width: 100%;
  margin-inline: auto;
}

/* The native Fast Bet logo wrapper is 120px; keep the new mark inside it. */
.cartModal__logo img[data-famous-logo="light"] {
  width: 120px !important;
  height: 32px !important;
}

@media print {
  img[data-famous-logo="light"] {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}

html[data-sportsbook-brand="tafbet"] img[data-famous-logo="primary"],
html[data-sportsbook-brand="tafbet"] img[data-famous-logo="light"] {
  height: 64px !important;
}

html[data-sportsbook-brand="tafbet"] img[data-famous-logo="compact"] {
  width: 76px !important;
  height: 38px !important;
}

html.mobile[data-sportsbook-brand="tafbet"] .main-header > .main-header__left > a.main-header__logo:has(img[data-famous-logo="compact"]) {
  width: 76px;
}

html[data-sportsbook-brand="tafbet"] .cartModal__logo img[data-famous-logo="light"] {
  height: 54px !important;
}
