h1 {
    margin-bottom: 42px;
  }
  
  .news {
    margin-bottom: 150px;
  }
  
  .news__filters .filters__sort {
    max-width: 104px;
  }
  
  .news__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    position: relative;
    padding-top: 39px;
    padding-bottom: 22px;
    padding-left: 34px;
    padding-right: 51px;
    border-radius: 30px;
    background-color: #f6f6f6;
  }
  
  .news__item.attached {
    background-color: #e3e3e3;
  }
  
  .news__item.attached .news__item-buttons-attach {
    display: block;
  }
  
  .news__item-top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 5px;
    margin-bottom: 16px;
  }
  
  .news__item-title {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 0px;
            flex: 1 1 0;
  }
  
  .news__item-title a {
    height: 48px;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 468px;
  }
  
  .news__item-date {
    padding-top: 5px;
    font-size: 14px;
    line-height: 20px;
    color: #999999;
    white-space: nowrap;
  }
  
  .news__item-content {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 0px;
            flex: 1 1 0;
    margin-bottom: 10px;
  }
  
  .news__item-content p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 96px;
  }
  
  .news__item-buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  
  .news__item-buttons-more {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 0px;
            flex: 1 1 0;
  }
  
  .news__item-buttons-attach {
    display: none;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }
  
  .news__item-buttons-attach .icon {
    display: block;
    width: 21px;
    height: 21px;
  }
  
  .news-detail {
    margin-bottom: 150px;
  }
  
  .news-detail__date {
    width: 100%;
  }
  
  .news-detail__date time {
    font-size: 14px;
    line-height: 20px;
    color: #999999;
  }
  
  .news-detail__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    row-gap: 33px;
  }
  
  .news-detail__content {
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    width: calc(54% - 80px);
  }
  
  .news-detail__content h2:not(:first-of-type),
  .news-detail__content h3:not(:first-of-type),
  .news-detail__content h4:not(:first-of-type),
  .news-detail__content h5:not(:first-of-type),
  .news-detail__content .h2:not(:first-of-type),
  .news-detail__content .h3:not(:first-of-type),
  .news-detail__content .h4:not(:first-of-type),
  .news-detail__content .h5:not(:first-of-type) {
    margin-top: 36px;
    margin-bottom: 18px;
  }
  
  .news-detail__content p {
    margin-top: 14px;
    margin-bottom: 14px;
  }
  
  .news-detail__content ul,
  .news-detail__content ol {
    margin-top: 18px;
    margin-bottom: 18px;
  }
  
  .news-detail__content .btn {
    margin-top: 60px;
  }
  
  .news-detail__img {
    width: calc(46% - 80px);
    position: sticky;
    top: 30px;
  }
  
  @media screen and (max-width: 1199px) {
    .news {
      margin-bottom: 120px;
    }
  
    .news__item {
      padding: 28px 31px 10px;
    }
  
    .news__item-top {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
          -ms-flex-direction: column;
              flex-direction: column;
      margin-bottom: 20px;
    }
  
    .news__item-title a {
      -webkit-line-clamp: 3;
      height: 66px;
    }
  
    .news__item-content p {
      -webkit-line-clamp: 6;
      height: 144px;
    }
  
    .news-detail {
      margin-bottom: 120px;
    }
  
    .news-detail__content {
      width: calc(58% - 23px);
    }
  
    .news-detail__img {
      width: calc(42% - 23px);
    }
  
    .news-detail__content .btn {
      margin-top: 50px;
    }
  }
  
  @media screen and (max-width: 1023px) {
    h1 {
      margin-top: 30px;
    }
  
    .news {
      margin-bottom: 92px;
    }
  
    .news__item-top {
      margin-bottom: 20px;
    }
  
    .news__item-title a {
      height: 60px;
    }
  
    .news__item-content p {
      -webkit-line-clamp: 8;
      height: 192px;
    }
  
    .news-detail {
      margin-bottom: 90px;
    }
  
    .news-detail__wrapper {
      row-gap: 0;
    }
  
    .news-detail__content,
    .news-detail__img {
      width: 100%;
    }
  
    .news-detail__content {
      -webkit-box-ordinal-group: 2;
          -ms-flex-order: 1;
              order: 1;
    }
  
    .news-detail__content .btn {
      margin-top: 40px;
    }
  
    .news-detail__img {
      position: relative;
      top: 0;
      margin-top: 20px;
      margin-bottom: 30px;
    }
  }
  
  @media screen and (max-width: 767px) {
    .news {
      margin-bottom: 68px;
    }
  
    .news__item {
      padding-bottom: 15px;
      padding-left: 20px;
      padding-right: 20px;
    }
  
    .news__item-title a {
      height: 54px;
    }
  
    .news__item-content p {
      height: 160px;
    }
  
    .news__item-buttons-attach .icon {
      width: 18px;
      height: 18px;
    }
  
    .news-detail {
      margin-bottom: 68px;
    }
  
    .news-detail h2:not(:first-of-type),
    .news-detail h3:not(:first-of-type),
    .news-detail h4:not(:first-of-type),
    .news-detail h5:not(:first-of-type),
    .news-detail .h2:not(:first-of-type),
    .news-detail .h3:not(:first-of-type),
    .news-detail .h4:not(:first-of-type),
    .news-detail .h5:not(:first-of-type) {
      margin-top: 24px;
    }
  
    .news__filters .filters__sort {
      max-width: 100%;
    }
  }