/* --- Красивая пагинация для news2.html --- */
.pagination-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 18px;
  margin: 20px 0 60px 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1.5px;
  user-select: none;
  background: none;
  position: relative;
  z-index: 1;
  font-family: inherit;
  font-weight: 700;
  text-align: center;
  outline: none;
  margin: 0 4px;
  position: relative;
  z-index: 1;
.pagination-bar .page-link:hover {
  background: none;
  background: none;
  color: #a18cd1;
  transform: translateY(-2px) scale(1.18) skewX(-8deg);
  box-shadow: none;
.pagination-bar .page-link.active {
  background: none;
  background: none;
  color: #fff !important;
  font-weight: 900;
  border: none;
  outline: none;
  outline-offset: 0;
  transform: scale(1.22) skewX(-10deg);
  background: linear-gradient(90deg, #7f64b5 60%, #a18cd1 100%);
  box-shadow: 0 2px 12px rgba(127,100,181,0.10);
  border-radius: 8px;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), color 0.18s, background 0.18s;
  outline-offset: 3px;
  transform: scale(1.08);
}
body .content .content-bg .news {
    width: 1200px;
    margin: 0 auto;
    position: relative;
}
body .content .content-bg .news .row .item {
    margin-bottom: 30px;
    opacity: 0;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    transform: translateY(100px);
    box-sizing: border-box;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 2px solid #7f64b5;
    padding: 20px;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 10px 0;
}
.news-list-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.news-list-row .item {
  flex: 1 1 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
  min-width: 260px;
}
@media (max-width: 991px) {
  .news-list-row {
    flex-direction: column;
    gap: 20px;
  }
  .news-list-row .item {
    max-width: 100%;
    min-width: 0;
  }
}
@media (min-width: 992px) {
  body .content .content-bg .news .row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
  }
  body .content .content-bg .news .row .item {
    width: calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    min-width: 280px;
    margin-bottom: 30px;
    margin-right: 0;
  }
}
@media (max-width: 991px) and (min-width: 600px) {
  body .content .content-bg .news .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  body .content .content-bg .news .row .item {
    width: calc(50% - 10px);
    max-width: calc(50% - 10px);
    min-width: 220px;
  }
}
@media (max-width: 599px) {
  body .content .content-bg .news .row {
    display: block;
  }
  body .content .content-bg .news .row .item {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}
body .content .content-bg .news .row .item img {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 8px;
    margin: 0 auto 10px auto;
    display: block;
}
body .content .content-bg .news .row .item .date {
    display: block;
    text-align: center;
    margin-bottom: 10px;
    font-size: 16px;
    color: #7f64b5;
}
body .content .content-bg .news .row .item .date span {
    font-size: 24px;
    margin-right: 20px;
    font-family: Roboto;
    font-weight: 400;
}
body .content .content-bg .news .row .item .wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 auto;
    margin-left: 0;
    width: 100%;
    padding: 0;
}
body .content .content-bg .news .row .item .wrap .nav {
    color: #898989;
    font-size: 16px;
    text-decoration: underline;
    font-family: Roboto;
    font-weight: 400;
    display: block;
}
body .content .content-bg .news .row .item .wrap .nav:hover {
    color: #7f64b5;
    text-decoration: none;
}
body .content .content-bg .news .row .item .wrap .title {
    font-size: 24px;
    line-height: 100%;
    color: #7f64b5;
}
body .content .content-bg .news .row .item .wrap .title:hover {
    text-decoration: underline;
}
body .content .content-bg .news .row .item .wrap .desc {
    margin: 5px 0;
}
body .content .content-bg .news .row .item .wrap .desc p {
    font-family: Roboto;
    font-weight: 300;
}
body .content .content-bg .news .row .item.on {
    opacity: 1;
    transform: translateY(0);
}
body .content .content-bg .news .news-hide {
    display: none;
}