/* Frame the visible artwork while preserving every original supporter asset. */
.bsbs-site .bsbs-logo-tile .bsbs-logo-field .bsbs-logo-viewport {
  --bsbs-logo-max-height: 76px;
  position: relative;
  display: block;
  flex: 0 1 auto;
  width: min(100%, calc(var(--bsbs-logo-max-height) * var(--bsbs-logo-ratio)));
  height: auto;
  min-width: 0;
  max-width: 100%;
  max-height: var(--bsbs-logo-max-height);
  aspect-ratio: var(--bsbs-logo-ratio);
  padding: 0;
  border: 0;
  margin: 0;
  overflow: hidden;
  background: #fff;
}

/* This specificity also overrides the earlier AEW cover exception. */
.bsbs-site .bsbs-logo-tile .bsbs-logo-field .bsbs-logo-viewport > img.bsbs-logo-image {
  position: absolute;
  display: block;
  width: var(--bsbs-logo-image-width);
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  left: var(--bsbs-logo-image-left);
  top: var(--bsbs-logo-image-top);
  right: auto;
  bottom: auto;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: contain;
  object-position: center;
  transform: none;
}

@media (max-width: 700px) {
  .bsbs-site .bsbs-logo-tile .bsbs-logo-field .bsbs-logo-viewport {
    --bsbs-logo-max-height: 65px;
  }
}
