.home-brands {
  padding: clamp(2.5rem, 5vw, 4.25rem) 0;
  background: #fff;
  color: var(--ink);
  text-align: center;
}

.home-brands .title {
  font-size: clamp(1.85rem, 3.1vw, 2.65rem);
  line-height: 1.04;
}

.home-brands-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 2.8vw, 2rem) clamp(.65rem, 2.5vw, 1.75rem);
  align-items: center;
  max-width: 1080px;
  margin: clamp(1.5rem, 4vw, 2.5rem) auto;
  padding: 0;
  list-style: none;
}

.home-brands-grid li {
  display: grid;
  min-height: 68px;
  place-items: center;
}

.home-brands-grid a {
  display: grid;
  width: 100%;
  min-height: 68px;
  place-items: center;
}

.home-brands-grid img {
  display: block;
  width: min(100%, 145px);
  height: 56px;
  object-fit: contain;
}

.home-brands-grid a:hover img {
  transform: translateY(-2px);
}

.home-brands a:focus-visible {
  outline: 3px solid #725d00;
  outline-offset: 4px;
}

.home-brands-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .85rem 1.25rem;
}

.home-brands-actions .text-link {
  color: #6b5100;
}

.home-brands-actions .text-link:hover {
  text-decoration: underline;
}

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

@media (max-width: 600px) {
  .home-brands-grid li,
  .home-brands-grid a {
    min-height: 58px;
  }
  .home-brands-grid img {
    height: 48px;
  }
}
