.logo-bar {
  width: 100%;
  background-color: rgba(var(--color-background));
  color: rgba(var(--color-text));
}

.logo-bar__heading {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  line-height: 1;
  text-align: center;
  text-transform: capitalize;
}

.logo-bar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px 40px;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  align-items: center;
  justify-items: center;
}

.logo-bar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
}

.logo-bar__image {
  max-width: 140px;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
}

.logo-bar__fallback {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(var(--color-light-text));
}

@media (max-width: 989px) {
  .logo-bar__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 749px) {
  .logo-bar__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}
