/* Shared native-directory logo treatment. Assets are always same-origin. */
.company-logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 112px;
  height: 60px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #2d4775;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.company-logo--job {
  width: 88px;
  height: 56px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
}

.company-logo--detail {
  width: 160px;
  max-width: 40%;
  height: 84px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
}

.company-logo img {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  opacity: 0;
}

.company-logo--loaded img {
  opacity: 1;
}

.company-logo-initials {
  grid-area: 1 / 1;
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-logo-initials[hidden] {
  display: none;
}