

/* Start:/local/templates/aspro_max_custom/components/bitrix/news.list/banner-links/style.css?17800631542198*/
.banners-list {
  padding: 0 0 40px;
}
.banners-grid-row {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}
.banners-grid-row.row-1 {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
}
.banners-grid-row.row-1 .item-1 {
  grid-area: 1/1/3/3;
}
.banners-grid-row.row-2 {
  grid-template-columns: repeat(4, 1fr);
}
.banners-grid-row.row-2 .item-10 {
  grid-area: 1/3/3/5;
}
.banners-item {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.banners-item:hover {
  box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.5);
}
.banners-picture.img-responsive {
  margin: 0;
  object-fit: cover;
  height: 100%;
  width: 100%;
  border-radius: 5px;
  filter: brightness(0.7);
}
.banners-content {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 80%;
  color: white;
  pointer-events: none;
}
.banners-title {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 22px;
}
.banners-text {
  line-height: 1.2;
  font-size: 12px;
}

@media (max-width: 767px) {
  .banners-grid-row.row-1 {
    grid-template-columns: repeat(3, 1fr);
  }
  .banners-grid-row.row-1 .item-1 {
    grid-area: unset;
  }
  .banners-grid-row.row-2 {
    grid-template-columns: repeat(3, 1fr);
  }
  .banners-grid-row.row-2 .item-5 {
    grid-area: unset;
  }
}
@media (max-width: 500px) {
  .banners-list {
    display: none;
  }
  .banners-grid-row.row-1,
  .banners-grid-row.row-2 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 0.5fr);
  }
}
.banners-list-mobile {
  display: none;
}

@media (max-width: 500px) {
  .banners-list-mobile {
    display: flex;
    flex-wrap: wrap;
    padding: 0 0;
    margin-bottom: 50px;
  }
  .banners-list-mobile .banners-item {
    width: 100%;
    padding: 5px;
    min-height: 170px;
  }
  .banners-list-mobile .banners-item:hover {
    box-shadow: none;
  }
  .banners-list-mobile .banners-item .banners-title {
    font-size: 18px;
  }
  .banners-list-mobile .banners-item:nth-child(3n+2),
  .banners-list-mobile .banners-item:nth-child(3n+3) {
    width: 50%;
  }
  .banners-list-mobile .banners-item:nth-child(3n+1) {
    height: 170px;
  }
}

/*# sourceMappingURL=style.css.map */

/* End */
/* /local/templates/aspro_max_custom/components/bitrix/news.list/banner-links/style.css?17800631542198 */
