/* Brendy */

.brendy {

}

.brendy__item {
  display: flex;
}

.brendy__item img {
  max-height: 80px !important;
  max-width: 170px !important;
  width: 100%;
  filter: grayscale(1);
  transition: var(--transition);
}

.brendy .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 215px !important;
  padding: 0 24px;
  border-right: 1px solid #C7C7C7;
  border-bottom: 1px solid #C7C7C7;
}

.brendy .swiper-slide:hover img {
  filter: grayscale(0);
}

@media (max-width: 1299.75px) {
  .brendy .swiper-slide {
    height: 16vw !important;
  }
}

@media (min-width: 1024px) {
  .brendy .swiper-slide:nth-child(5n) {
    border-right: none;
  }
  
  .brendy .swiper-slide:is(
    :nth-child(10n + 6),
    :nth-child(10n + 7),
    :nth-child(10n + 8),
    :nth-child(10n + 9),
    :nth-child(10n + 10)
  ) {
    border-bottom: none;
  }
}

@media (max-width: 1024px) {
  .brendy__item img {
    max-height: 60px !important;
    max-width: 148px !important;
  }

  .brendy .swiper-slide {
    height: 17vw !important;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .brendy .swiper-slide:nth-child(4n) {
    border-right: none;
  }
  
  .brendy .swiper-slide:is(
    :nth-child(8n + 5),
    :nth-child(8n + 6),
    :nth-child(8n + 7),
    :nth-child(8n + 8)
  ) {
    border-bottom: none;
  }
}

@media (max-width: 767px) {
  .brendy__item img {
    max-height: 50px !important;
    max-width: 120px !important;
  }

  .brendy .swiper-slide {
    height: max(17vw, 80px) !important;
  }

  .brendy .swiper-slide:nth-child(3n) {
    border-right: none;
  }
  
  .brendy .swiper-slide:is(
    :nth-child(6n + 4),
    :nth-child(6n + 5),
    :nth-child(6n + 6)
  ) {
    border-bottom: none;
  }
}

/* Brendy - END */