.brand-carousel {
  position: relative;
  width: 100%;
  max-width: 861px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.brand-track-viewport {
  overflow: hidden;
  width: 100%;
}

.brand-track {
  display: flex;
  transition: transform 1.2s ease-in-out;
}

.brand-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 234px;
}

.brand-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-arrow {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  flex: 0 0 auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-prev {
  margin-right: 8px;
}

.brand-next {
  margin-left: 8px;
}

.brand-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

@media (max-width: 600px) {
  .brand-slide {
    height: 140px;
  }
}
