.bonusup .bup-brand img {
  width: 154px;
  height: auto;
  max-height: 45px;
  object-fit: contain;
}
.bonusup:not(.page-home),
.bonusup .bup-detail,
.bonusup .bup-detail .bup-story,
.bonusup .bup-detail .bup-prose,
.bonusup .bup-category {
  background: #fff;
}
.bonusup .bup-footer .bup-brand img {
  filter: brightness(0) invert(1);
}
.bonusup .bup-prose .bup-brand-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}
.bonusup .bup-brand-table td {
  width: 33.333%;
  text-align: center;
  background: white;
}
.bonusup .bup-prose .bup-brand-table img {
  display: block;
  width: 160px;
  max-width: 100%;
  height: 80px;
  object-fit: contain;
  margin: auto;
}
.bonusup .bup-brand-table td:empty {
  border: 0;
}
.bonusup .bup-prose figure:not(.bup-cover) > img {
  max-height: 640px;
  object-fit: contain;
}
.bonusup .bup-prose .bup-float-left > img,
.bonusup .bup-prose .bup-float-right > img {
  max-height: 350px;
}
.bonusup .bup-prose .bup-cover > img {
  height: 100%;
  max-height: none;
  object-fit: cover;
}
@media (max-width: 767px) {
  .bonusup.view-post .bup-brand img {
    width: 120px;
    max-height: 34px;
  }
  .bonusup .bup-prose .bup-brand-table img {
    height: 65px;
  }
  .bonusup .bup-prose .bup-brand-table td {
    padding: 8px;
  }
  .bonusup .bup-prose figure:not(.bup-cover) > img {
    max-height: 480px;
  }
}
.bonusup .bup-prose .bup-brand-pair td {
  width: 50%;
}
.bonusup .bup-prose .bup-brand-pair img {
  width: 300px;
  height: 140px;
}
@media (max-width: 767px) {
  .bonusup .bup-prose .bup-brand-pair {
    display: block;
  }
  .bonusup .bup-prose .bup-brand-pair td {
    display: block;
    width: 100%;
    border-right: 0;
  }
  .bonusup .bup-prose .bup-brand-pair img {
    width: 300px;
    max-width: 100%;
  }
}
.bonusup .bup-prose img.bup-logo-on-dark {
  background: #29313a !important;
  padding: 12px;
  border-radius: 5px;
}
.bonusup img[src*="/bet-types-1-v4-webp/"] {
  object-fit: contain;
  background: #d1cdc7;
}

/* Fill the first home image slot and keep the crop above the players' faces. */
.bonusup .bup-hero-slide--lead .bup-hero-image > img {
  object-fit: cover;
  object-position: 50% top;
}
@media (min-width: 768px) {
  .bonusup .bup-hero-slide--lead .bup-hero-image > img {
    object-position: 80% top;
  }
}
@media (max-width: 500px) {
  .bonusup .bup-hero-slide--lead {
    height: auto;
  }
  .bonusup .bup-hero-slide--lead .bup-hero-image {
    position: relative;
    inset: auto;
    height: auto;
    aspect-ratio: 3 / 2;
  }
  .bonusup .bup-hero-slide--lead .bup-hero-image > img {
    object-position: 60% top;
  }
  .bonusup .bup-hero-slide--lead .bup-hero-copy {
    position: relative;
  }
}
