/* Meister Carbon Cleaners — Homepage Vehicle Brand Slider V10.1 */

.home-brand-slider{
  position:relative;
  z-index:1;
  overflow:hidden;
  padding:20px 0;
  border-top:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.13);
}

.home-brand-slider::before,
.home-brand-slider::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:82px;
  z-index:3;
  pointer-events:none;
}

.home-brand-slider::before{
  left:0;
  background:linear-gradient(90deg,#171b22,rgba(23,27,34,0));
}

.home-brand-slider::after{
  right:0;
  background:linear-gradient(270deg,#171b22,rgba(23,27,34,0));
}

.home-brand-track{
  display:flex;
  align-items:center;
  width:max-content;
  animation:mccBrandMarquee 34s linear infinite;
  will-change:transform;
}

.home-brand-slider:hover .home-brand-track{
  animation-play-state:paused;
}

.home-brand-set{
  display:flex;
  align-items:center;
  flex-shrink:0;
}

.home-brand-item{
  width:150px;
  height:70px;
  padding:10px 24px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-right:1px solid rgba(255,255,255,.08);
}

.home-brand-item img{
  display:block;
  max-width:100%;
  max-height:46px;
  width:auto;
  height:auto;
  object-fit:contain;
  filter:grayscale(1) brightness(0) invert(1);
  opacity:.78;
  transition:filter .18s ease, opacity .18s ease, transform .18s ease;
}

.home-brand-item:hover img{
  filter:none;
  opacity:1;
  transform:scale(1.06);
}

.home-brand-empty{
  width:100%;
  padding:16px 24px;
  color:rgba(255,255,255,.62);
  font-size:.78rem;
  text-align:center;
}

@keyframes mccBrandMarquee{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

@media(max-width:700px){
  .home-brand-item{
    width:120px;
    height:62px;
    padding:9px 18px;
  }

  .home-brand-item img{
    max-height:38px;
  }

  .home-brand-slider::before,
  .home-brand-slider::after{
    width:40px;
  }
}

@media(prefers-reduced-motion:reduce){
  .home-brand-track{
    animation:none;
    width:100%;
  }

  .home-brand-set{
    width:100%;
    flex-wrap:wrap;
    justify-content:center;
  }

  .home-brand-set[aria-hidden="true"]{
    display:none;
  }

  .home-brand-slider::before,
  .home-brand-slider::after{
    display:none;
  }
}
