.brand-card {
  display: block;
  text-decoration: none;
  color: inherit;
  scroll-snap-align: start;
  flex: 0 0 clamp(9.375rem, calc((100% - (7 * 1rem)) / 8), 12.5rem);
  box-sizing: border-box;
}

.brand-card__inner {
  height: 100%;
  min-height: clamp(9.375rem, calc((100% - (7 * 1rem)) / 8), 12.5rem);
  background-color: var(--white);
  border-radius: 1rem;
  border: 1px solid #f1f3f5;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 0.75rem;

  transition:
    transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  overflow: hidden;
}

.brand-card:hover .brand-card__inner {
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.brand-card__logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  min-height: 70px;
}

.brand-card__logo img {
  max-width: 85%;
  max-height: 70px;
  object-fit: contain;
  display: block;
}

.brand-card__name {
  font-size: clamp(0.875rem, 0.2vw + 0.8rem, 1rem);
  font-weight: 500;
  text-align: center;
  white-space: nowrap;  
  overflow: hidden;    
  text-overflow: ellipsis;     
  width: 100%;
  max-width: calc(100% - 1rem);
  box-sizing: border-box;
  margin: 0;
  padding-top: 0.5rem;
  padding-bottom: 0.25rem;
}