#first_section_page_news {
  padding: 30px 0 330px;
  position: relative;
}

#first_section_page_news::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url(../image/IT_Waves.svg);
  background-size: 100%;
  background-position: bottom;
  background-repeat: no-repeat;
  opacity: .2;
  bottom: 0;
  z-index: 0;
}

#first_section_page_news h1 {
  max-width: 100%;
}

#content_news {
  padding: 90px 0;
}

#other_news {
  padding: 0 0 120px;
}

#other_news .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 50px;
}

.grid__whit__card {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 40px 1fr;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.grid__whit__card .card {
  background-color: #fff;
  border: none;
  padding: 30px;
  border-radius: 10px;
  -webkit-box-shadow: 0 2px 25px 2px rgba(106, 129, 140, 0.1);
          box-shadow: 0 2px 25px 2px rgba(106, 129, 140, 0.1);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
}

.grid__whit__card .card img {
  width: 100%;
  height: 250px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 5px;
}

.grid__whit__card .card .title__card {
  margin: 20px 0 15px !important;
  font-weight: 700;
}

.grid__whit__card .card .main__text {
  margin-bottom: 80px;
}

.grid__whit__card .card .button {
  margin-top: auto;
}

.grid__whit__card .card .bottom__info__news {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
  width: 100%;
}

.grid__whit__card .card .bottom__info__news .small__text {
  font-size: 16px;
  font-weight: 400;
  color: #6D6D6D;
}

.content p {
  font-size: 18px !important;
}

.content h3 {
  font-size: 25px !important;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 15px;
}

blockquote {
  position: relative;
  margin-top: 20px;
}

blockquote::before {
  content: '';
  position: absolute;
  width: 1px;
  height: 100%;
  left: -11px;
  top: 0;
  background-color: #00A0CB;
}

.wp-block-media-text {
  margin-bottom: 50px;
}

#first_section_news {
  margin-bottom: 120px;
}

#first_section_news h1 {
  margin-top: 0;
  margin-bottom: 50px;
  width: 100%;
  font-weight: 700;
  font-size: 50px;
  line-height: 120%;
  color: black;
}

.news__categories {
  margin-bottom: 50px;
}

.news-categories__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-categories__link {
  display: block;
  padding: 10px 16px;
  border: 1px solid #00A0CB;
  border-radius: 20px;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  text-align: center;
  white-space: nowrap;
  color: #00A0CB;
  background-color: transparent;
  -webkit-transition: background-color .3s ease-in-out, color .3s ease-in-out;
  -o-transition: background-color .3s ease-in-out, color .3s ease-in-out;
  transition: background-color .3s ease-in-out, color .3s ease-in-out;
}

.news-categories__link:focus-visible,
.news-categories__link:hover {
  color: #fff;
  background-color: #00A0CB;
}

.news-categories__link.is-active {
  color: #fff;
  background-color: #00A0CB;
}

.news__list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 40px 1fr 40px 1fr 40px 1fr 40px 1fr 40px 1fr 40px 1fr 40px 1fr 40px 1fr 40px 1fr 40px 1fr 40px 1fr;
  grid-template-columns: repeat(12, 1fr);
  width: 100%;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.news__list .news-card {
  -ms-grid-column-span: 4;
  grid-column: 4 span;
}
.news-2__main .first_section_page_news-2 .container{
  position: relative;
  z-index: 5;
}
.first_section_page_news-2 h1{
  margin-bottom: 50px;
}
@media screen and (max-width: 1024px) {
  #first_section_news {
    margin-bottom: 100px;
  }

  .news__list {
    gap: 40px 20px;
  }

  .news__list .news-card {
    -ms-grid-column-span: 6;
    grid-column: 6 span;
  }
}

@media screen and (max-width: 992px) {
  #first_section_page_news {
    padding: 80px 0 180px;
  }

  #first_section_page_news::before {
    width: 190%;
    left: -40%;
  }

  #content_news {
    padding: 40px 0 60px;
  }

  #other_news {
    padding: 0 0 60px;
  }

  #other_news .container {
    gap: 20px;
  }

  .grid__whit__card {
    -ms-grid-columns: 1fr;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }

  .grid__whit__card .card {
    padding: 20px;
  }

  .grid__whit__card .card .title__card {
    margin: 20px 0 15px;
  }

  .grid__whit__card .card .main__text {
    margin-bottom: 32px;
  }

}

@media screen and (max-width: 768px) {
  #first_section_news {
    margin-bottom: 80px;
  }

  #first_section_news h1 {
    margin-bottom: 40px;
    font-size: 40px;
  }

  .news__categories {
    margin-bottom: 40px;
  }

  .news__list {
    gap: 20px;
  }
}

@media screen and (max-width: 640px) {
  #first_section_news {
    margin-bottom: 60px;
  }

  #first_section_news h1 {
    margin-bottom: 30px;
    font-size: 30px;
  }

  .news__categories {
    margin-bottom: 30px;
  }

  .news-categories__list {
    gap: 8px;
  }

  .news-categories__link {
    padding: 8px 12px;
    font-size: 14px;
  }

  .news__list .news-card {
    -ms-grid-column-span: 12;
    grid-column: 12 span;
  }
}