.main-news-card {
  position: relative;
  margin-bottom: 176px;
}

.main-news-card__date {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 0 0 40px 0;
  background: #fafafa;
  color: #1951a0;
  font-weight: 600;
  font-size: 36px;
  line-height: 120%;
  padding: 24px 64px;
  z-index: 5;
}

.main-news-card__image {
  width: 100%;
  aspect-ratio: 614 / 301;
  margin-bottom: 44px;
  display: block;
}

.main-news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-news-card__name {
  font-weight: 600;
  font-size: 36px;
  line-height: 120%;
  color: #1951a0;
  margin-bottom: 16px;
  display: block;
}

@media screen and (max-width: 769px) {
  .main-news-card {
    margin-bottom: 60px;
  }

  .main-news-card__date {
    font-size: 24px;
    padding: 12px 32px;
    border-radius: 0 0 20px 0;
  }

  .main-news-card__image {
    margin-bottom: 20px;
    aspect-ratio: 194 / 129;
  }

  .main-news-card__name {
    font-size: 22px;
  }
}

.news-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 115px;
}

.news-page-grid ~ .text {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
}

.news-card__img {
  width: 100%;
  aspect-ratio: 194 / 129;
  margin-bottom: 8px;
  display: block;
}

.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__date {
  font-weight: 700;
  font-size: 18px;
  line-height: 120%;
  color: #d9d9d9;
  margin-bottom: 8px;
}

.news-card__name {
  font-weight: 700;
  font-size: 24px;
  line-height: 125%;
  text-decoration: none;
  color: #272727;
  margin-bottom: 16px;
  display: block;
}

.main-news-card__tags,
.news-card__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 19px;
}

.news-card__tag,
.main-news-card__tag {
  border: 1px solid #1951a0;
  border-radius: 20px;
  padding: 6px 38px;
  color: #1951a0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

@media screen and (max-width: 769px) {
  .news-page-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }

  .news-card__date {
    font-size: 14px;
  }

  .news-card__name {
    font-size: 18px;
  }

  .main-news-card__tags,
  .news-card__tags {
    gap: 8px;
  }

  .news-card__tag,
  .main-news-card__tag {
    padding: 3px 24px;
    font-size: 14px;
  }
}

.news-page-filter .button_fill2 {
  height: 45px;
  padding: 13px 28px 16px;
}

.news-page-filter .bx-filter-button-box {
  padding-left: 0;
}

.news-page-filter-title {
  font-weight: 700;
  font-size: 36px;
  line-height: 120%;
  color: #1951a0;
  margin-bottom: 30px;
  padding-left: 0;
}

.news-page-filter-item {
  display: flex;
  cursor: pointer;
  width: 100%;
  margin-bottom: 60px;
  margin-right: 30px;
}

.news-page-filter-item input {
  display: none;
}

.news-page-filter-item__check {
  width: 20px;
  height: 20px;
  background: #fafafa;
  box-shadow: inset 0px 1px 4px rgba(17, 17, 17, 0.1);
  border-radius: 2px;
  position: relative;
  top: 5px;
  margin-right: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-page-filter-item__check i {
  opacity: 0;
}

.news-page-filter-item input:checked + .news-page-filter-item__check i {
  opacity: 1;
}

.news-page-filter-item__text {
  font-weight: 400;
  font-size: 24px;
  line-height: 120%;
  color: #000000;
}

@media screen and (max-width: 1200px) {
  .news-page-filter {
    padding-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .news-page-filter-item {
    margin-bottom: 0;
    width: max-content;
  }

  .news-page-filter-title {
    font-size: 24px;
  }

  .news-page-filter-item {
    margin-bottom: 20px;
    margin-top: 14px;
  }

  .news-page-filter-item__check {
    top: 0;
  }

  .news-page-filter-item__text {
    font-size: 18px;
  }
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-top: 88px;
}

.catalog-pagination a {
  font-weight: 700;
  font-size: 18px;
  line-height: 120%;
  color: #c4c4c4;
}

.catalog-pagination a.is-active {
  color: #1951a0;
}

.im-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 18px;
  font-weight: 700;
  color: #c4c4c4;
  margin-top: 88px;
}

.im-navigation__link {
  color: inherit;
}

.im-navigation__link[aria-current="true"] {
  color: #1951a0;
}
