

/* Start:/local/templates/2023/components/bitrix/news/brands/bitrix/news.list/.default/style.css?1738078608850*/
.brands {
  display: flex;
  flex-wrap: wrap;
}
.brands__item {
  flex: 0 0 25%;
  width: 25%;
}
@media (max-width: 1023.9px) {
  .brands__item {
    flex: 0 0 33.333333%;
    width: 33.333333%;
  }
}
@media (max-width: 539.9px) {
  .brands__item {
    flex: 0 0 50%;
    width: 50%;
  }
}
.brands__link {
  display: block;
  position: relative;
  height: 0;
  padding-bottom: 39.310344%;
}
.brands__pic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 8% 16%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: 0.2s linear;
  filter: grayscale(100%);
}
html:not(.bx-touch) .brands__pic:hover, html.bx-touch .brands__pic:active {
  opacity: 1;
  transition: opacity 0.2s linear, filter 0.2s linear;
  filter: grayscale(0);
}
.brands__pic img {
  max-height: 100%;
}

/* End */
/* /local/templates/2023/components/bitrix/news/brands/bitrix/news.list/.default/style.css?1738078608850 */
