.news {
    padding-top: 210px;
    position: relative;
    z-index: 3;
  }
  
  .news__bg {
    position: absolute;
    top: 110px;
    left: -220px;
    height: 991px;
  }
  
  .news__title {
    margin-bottom: 38px;
    position: relative;
  }
  
  .news-page {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    margin-bottom: 80px;
    position: relative;
  }
  
  .news-page__item {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #494949;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    line-height: 130%;
    margin-right: 8px;
    position: relative;
    min-width: fit-content;
    width: max-content !important;
  }
  
  .news-page__item.numbers {
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    padding: 10px 16px;
    margin-right: 10px;
  }
  
  .news-page__item::after {
    content: '';
    display: inline-block;
    width: 100%;
    position: absolute;
    top: -1px;
    left: -1px;
    height: 50%;
    border: 1px solid #D66F50;
    border-bottom: none;
    opacity: 0;
    transition: opacity 0.2s;
  }
  
  .news-page__item:hover.news-page__item::after {
    opacity: 1;
    -webkit-transition: opacity 0.2s;
    transition: opacity 0.2s;
  }
    
  .news__title {
    display: inline-block;
    text-align: left;
    font-size: 42px;
  }
  
  
  @media (max-width: 1199px) {
    .news__bg {
      height: 722px;
    }
  
    .news {
      padding-top: 160px;
    }
  }
  
  @media (max-width: 767px) {
    .h2 {
      font-size: 24px;
    }
  
    .news__bg {
      height: 610px;
      top: -80px;
    }
  
    .news {
      padding-top: 145px;
    }
  
  }
  
  @media (max-width: 600px) {
    .news__bg {
      height: 518px;
    }
  }
  
  @media (max-width: 480px) {
    .news__bg {
      height: 474px;
    }
  
    .news {
      padding-top: 150px;
    }
  }
  
  @media (max-width: 425px) {
    .h2 {
      font-size: 20px;
    }
  
  
    .news__bg {
      height: 300px;
      top: -40px;
      left: -78px;
    }
  
    .news-card__img {
      height: 282px;
    }
  
    main::after {
      display: none;
    }
  
    main::before {
      display: none;
    }
  }
  

  .flat-card {
    width: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 430px;
    display: inline-block;
    margin-bottom: 80px;
  }
  
  .flat-card__img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
    transition: 2s;
  }
  
  .flat-card-bottom {
    background: linear-gradient(0deg, rgba(27, 27, 27, 0.8) 55.26%, rgba(27, 27, 27, 0) 126.32%);
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: fit-content;
  }
  
  .flat-card__title {
    font-weight: 400;
    font-size: 20px;
    line-height: 130%;
    display: inline-block;
    margin-bottom: 12px;
  }
  
  .flat-card__category {
    border: 1px solid #494949;
    display: inline-block;
    width: fit-content;
    padding: 8px 12px;
    font-weight: 600;
    font-size: 12px;
    line-height: 130%;
    text-transform: uppercase;
  }
  
  .flat-card:hover .flat-card__img{
    scale: 1.1;
    transition: 2s;
  }
  

  @media (max-width: 1400px) {
    .flat-card {
        height: 350px;
    }
  }

  @media (max-width: 1199px) {
    .flat-card {
        height: 430px;
    }

  }

  @media (max-width: 1024px) {
    .flat-card__title {
      font-size: 18px;
    }
  }
  
  @media (max-width: 576px) {
    .flat-card {
        height: 340px;
        margin-bottom: 40px;
    }
    .flat-card-bottom {
      padding: 20px 24px;
    }
    .flat-card__title {
      font-size: 16px;
    }
  }
  
  /*# sourceMappingURL=news.css.map */