.equipment-brands {
  margin-block: clamp(2.75rem, 6vw, 6rem);
}

.equipment-brands > h2 {
  margin-block: 0 clamp(1.1rem, 2.25vw, 2rem);
  font-size: clamp(1.65rem, 3.5vw, 3.2rem);
  line-height: 1.12;
}

.equipment-brands__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #dfddd7;
  border: 1px solid #dfddd7;
  margin: 0;
  padding: 0;
  list-style: none;
}

.equipment-brands__card {
  display: grid;
  grid-template-rows: 3.25rem auto;
  gap: 0.65rem;
  justify-items: center;
  align-items: center;
  min-width: 0;
  padding: 1rem 0.45rem 0.65rem;
  background: #fff;
  color: #4c4943;
  font: 600 0.72rem/1.3 Manrope, sans-serif;
  text-align: center;
}

.equipment-brands__card img {
  display: block;
  max-width: min(90%, 8rem);
  max-height: 3.25rem;
  width: auto;
  height: auto;
}

@media (max-width: 38rem) {
  .equipment-brands__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 60rem) {
  .equipment-brands__card {
    grid-template-rows: 4rem auto;
    padding: 1.25rem 0.75rem 0.8rem;
  }

  .equipment-brands__card img {
    max-width: min(90%, 9rem);
    max-height: 4rem;
  }
}

.brand-spread .equipment-brands {
  border-top: 1px solid var(--rule);
  margin: 0;
  padding-block: clamp(2.5rem,5vw,5rem);
}
@media (min-width: 1150px) {
  .brand-spread .equipment-brands__grid { grid-template-columns: repeat(8,minmax(0,1fr)); }
  .brand-spread .equipment-brands__card img { max-width: min(86%,8rem); }
}
