

/* Start:/bitrix/components/bitrix/system.pagenavigation/templates/bootstrap_v4/style.min.css?1755147548272*/
.page-link,.page-link:hover{color:var(--theme-color-primary)}.page-item.active .page-link{color:var(--theme-b-tx-primary);background-color:var(--theme-color-primary);border-color:var(--theme-color-primary)}.page-link:focus{box-shadow:0 0 0 .2rem var(--theme-b-sd-primary)}
/* End */


/* Start:/bitrix/templates/geroi19/components/bitrix/news/news/bitrix/news.list/.default/style.css?17810878734058*/
/* Новости на главной */
.news-list-block {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки равной ширины */
    gap: 24px;
    justify-items: stretch;
}
.news-list-item {
    border-radius: 23px;
    background-color: var(--white);
    margin: 20px 15px;
    padding: 0 0 35px 0;
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.1s ease;
    opacity: 0;
    transform: translate(0,0);
    position: relative;
    cursor: pointer;
    text-decoration: none;
}
.news-list-item:hover {
    box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.5);
}
.news-list-img {
    border-top-left-radius: 23px;
    border-top-right-radius: 23px;
    height: 321px;
    width: 100%;
    object-fit: cover;
    object-position: top;
}
.news-list-date {
    font-size: 15px;
    font-weight: 600;
    color: #8f8f8f;
    padding: 5px 10px 0;
}
.news-list-name {
    font-size: var(--font-small);
    font-weight: var(--font-bold);
    color: var(--blue);
    padding: 10px 10px 0;
}
.news-list-preview {
    font-size: var(--font-smallest);
    font-weight: var(--font-regular);
    color: var(--font-blackgrey);
    padding: 0px 10px 0;
}
/* появление слева */
.news-list-item.from-left {
  transform: translateX(-100px);
}
.news-list-item.from-left.show {
  opacity: 1;
  transform: translateX(0);
}
/* появление справа */
.news-list-item.from-right {
  transform: translateX(100px);
}
.news-list-item.from-right.show {
  opacity: 1;
  transform: translateX(0);
}
/* если просто без направления */
.news-list-item:not([class*="from-"]) {
  opacity: 0;
  transform: translateY(0);
}
.news-list-item:not([class*="from-"]).show {
  opacity: 1;
}
.news-list-but-block {
    display: flex;
    justify-content: center;
}
.news-list-button {
    text-decoration: none;
    background-color: var(--blue);
    color: var(--white);
    padding: 10px 70px;
    border-radius: 23px;
    border: 1px solid var(--blue);
    transition: all 0.1s ease;
}
.news-list-button:hover {
    background-color: var(--white);
    color: var(--blue);
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .news-list-block {
      grid-template-columns: repeat(2, 1fr); /* 2 колонки равной ширины */
      gap: 20px;
  }
  .news-list-img {
      height: 210px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .news-list-block {
      grid-template-columns: repeat(2, 1fr); /* 2 колонки равной ширины */
      gap: 20px;
  }
  .news-list-img {
      height: 210px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .news-list-block {
      grid-template-columns: repeat(2, 1fr); /* 2 колонки равной ширины */
      gap: 16px;
  }
  .news-list-img {
      height: 210px;
  }
}

@media (min-width: 577px) and (max-width: 767px) {
  .news-list-block {
      grid-template-columns: repeat(1, 1fr); /* 1 колонки равной ширины */
      gap: 12px;
  }
  .news-list-img {
      height: 210px;
  }
  .news-list-preview {
      font-size: 18px;
  }
}

@media (max-width: 576px) {
  .news-list-block {
      grid-template-columns: repeat(1, 1fr); /* 1 колонки равной ширины */
      gap: 10px;
  }
  .news-list-img {
      height: 210px;
  }
  .news-list-preview {
      font-size: 18px;
  }
  .news-list-button {
      padding: 10px 30px;
      font-size: 28px;
  }
  /* появление слева */
  .news-list-item.from-left {
    transform: translateX(0);
  }
  .news-list-item.from-left.show {
    opacity: 1;
    transform: translateX(0);
  }
  /* появление справа */
  .news-list-item.from-right {
    transform: translateX(0);
  }
  .news-list-item.from-right.show {
    opacity: 1;
    transform: translateX(0);
  }
  /* если просто без направления */
  .news-list-item:not([class*="from-"]) {
    opacity: 0;
    transform: translateY(0);
  }
  .news-list-item:not([class*="from-"]).show {
    opacity: 1;
  }
}
/* End */
/* /bitrix/components/bitrix/system.pagenavigation/templates/bootstrap_v4/style.min.css?1755147548272 */
/* /bitrix/templates/geroi19/components/bitrix/news/news/bitrix/news.list/.default/style.css?17810878734058 */
