/* ==========================================================================
   Brands — 4-column hover card grid
   ========================================================================== */

.section--brands {
  padding-top: 100px;
  padding-bottom: 100px;
  overflow: hidden;
}

.section--brands h1 {
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 400;
  line-height: 1.1em;
  color: var(--color-heading);
  margin-bottom: 20px;
}

.section--brands h1 em {
  font-style: italic;
  font-weight: 400;
}

/* 4-column grid */
.brands {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5.5%;
}

/* Individual card */
.brands__card {
  margin-bottom: 20px;
}

/* Clickable card link */
.brands__link {
  display: block;
  height: 200px;
  overflow: hidden;
  text-decoration: none;
}

/* Background image container */
.brands__image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.brands__link:hover .brands__image {
  transform: scale(1.06);
}

/* Card title */
.brands__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  color: var(--color-heading);
  margin: 0;
  padding: 0;
}
