.company-clients__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px clamp(8px, 0.63vw, 12px);
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.company-clients__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  height: 80px;
  padding: 8px clamp(12px, 1.04vw, 16px);
  border: 1px solid #e9e9e9;
  border-radius: 8px;
  background-color: #ffffff;
}

.company-clients__logo {
  display: block;
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 1200px) {
  .company-clients__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .company-clients__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .company-clients__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-clients__logo {
    max-height: 44px;
  }
}

@media (max-width: 360px) {
  .company-clients__grid {
    grid-template-columns: 1fr;
  }
}
