/* UBIM artwork placements. Keep editor controls and semantic UI colors intact. */
.hud-bar .hud-brand {
  flex: 0 0 auto;
  align-self: center;
  max-width: 100%;
}

.ubim-header-art,
.open-brand-art picture {
  display: block;
}

.ubim-header-art img {
  display: block;
  width: 192px;
  height: 64px;
  object-fit: contain;
}

.open-brand-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  margin-bottom: 1.25rem;
}

.open-brand-content {
  min-width: 0;
}

.open-brand-art {
  justify-self: end;
  width: 320px;
}

.open-brand-art img {
  display: block;
  width: 320px;
  height: 320px;
  object-fit: contain;
}

#open-panel .open-brand-caption {
  display: none;
}

@media (max-width: 760px) {
  .open-brand-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .open-brand-art {
    order: -1;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }

  .open-brand-art picture {
    flex: 0 0 80px;
  }

  .open-brand-art img {
    width: 80px;
    height: 80px;
  }

  #open-panel .open-brand-caption {
    display: block;
    margin: 0;
    color: #fff3d3;
    font-size: .9375rem;
    line-height: 1.5;
  }

  .open-brand-caption em {
    display: block;
    color: #ff80b7;
    font-style: italic;
  }

  .open-brand-caption br {
    display: none;
  }
}

@media (max-width: 560px) {
  .ubim-header-art img {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 360px) {
  .open-brand-art {
    gap: .75rem;
  }

  .open-brand-art picture {
    flex-basis: 64px;
  }

  .open-brand-art img {
    width: 64px;
    height: 64px;
  }

  #open-panel .open-brand-caption {
    font-size: .875rem;
  }
}
