.article-intro .article_title {
  text-align: left;
}

.article-intro {
  margin-bottom: 50px;
}

.article-intro--with-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 40px;
  align-items: start;
}

.article-intro--with-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 40px;
  align-items: start;
}

.article-intro__content {
  min-width: 0;
}

.article-intro__text {
  margin-top: 20px;
}

.article-intro__toc {
  margin-top: 28px;
}

.article-intro__toc-title {
  margin-bottom: 8px;
  font-weight: 600;
}

.article-intro__toc ol {
  margin: 0;
  padding-left: 20px;
}

.article-intro__toc li {
  margin-bottom: 6px;
}

.article-intro__toc a {
  text-decoration: none;
}

.article-intro__preview {
  min-width: 0;
}

.article-intro__preview img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .article-intro--with-preview {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .article-intro__preview {
    order: -1;
  }
}

.article-block[id] {
  scroll-margin-top: 200px;
}

.article-block--full-width {
  width: 100%;
}

.news_page {
  padding: 0;
}

.news_page article.news_non_grid {
  display: block;
  padding: 0;
  background: none;
}

/* Страница списка статей */

.articles-list__heading {
  margin: 65px 0 0;
  text-align: center;

  font-family: "Raleway", sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 130%;
  color: #0a0e14;
}

.articles-list {
  display: grid;
  grid-template-columns: repeat(3, 380px);
  column-gap: 20px;
  row-gap: 40px;
  width: 1180px;
  max-width: 100%;
  margin: 55px auto;
}

.news_page article.articles-list__item {
  display: flex;
  flex-direction: column;
  width: 380px;
  max-width: 100%;
  height: 100%;
  padding: 0;
  background: none;
}

.articles-list__item {
  display: flex;
  flex-direction: column;
  width: 380px;
  max-width: 100%;
  height: 100%;
}

.articles-list__image {
  display: block;
  width: 100%;
  height: 328px;
  overflow: hidden;
  background: #929292;
}

.articles-list__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.articles-list__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 30px;
}

.articles-list__title {
  margin: 0;
  width: 100%;
  font-family: "Raleway", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 120%;
}

.articles-list__title a {
  color: #4374df;
  text-decoration: none;
}

.articles-list__intro {
  width: 100%;
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 130%;
  color: #0a0e14;
}

.articles-list__intro p {
  margin: 0;
}

.articles-list__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 164px;
  height: 43px;
  margin-top: auto;
  box-sizing: border-box;

  border: 2px solid #f85500;
  border-radius: 52px;

  font-family: "Raleway", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 130%;
  text-transform: uppercase;
  text-decoration: none;

  color: #f85500;
  background: #ffffff;
}

.articles-list__button:hover {
  color: #ffffff;
  background: #f85500;
}

.articles-list__more {
  display: flex;
  justify-content: center;
  margin: 50px 0 100px;
}

.articles-list__more-button {
  padding: 0;
  border: 0;
  background: transparent;

  font-family: "Raleway", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 130%;
  text-decoration: underline;

  color: #4374df;
  cursor: pointer;
}

.articles-list__more-button:hover {
  text-decoration: none;
}

@media (max-width: 1199px) {
  .articles-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 780px;
  }

  .articles-list__item {
    width: auto;
  }
}

@media (max-width: 767px) {
  .articles-list {
    display: flex;
    width: 100%;
    margin-top: 40px;
    flex-direction: column;
    align-items: center;
  }

  .articles-list__heading {
    margin-top: 40px;
    font-size: 30px;
  }

  .articles-list__image {
    height: auto;
    aspect-ratio: 380 / 328;
  }
}

/* Таблица в статье */
.article-table-wrapper {
  width: 100%;
  max-width: 1180px;
  overflow-x: auto;
  margin: 24px auto;
  -webkit-overflow-scrolling: touch;
}

.article-table {
  width: 100%;
  min-width: 600px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 5px;
  font-family: "Raleway", sans-serif;
}

.article-table th {
  background: #0067e0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  vertical-align: middle;
  padding: 14px 22px;
  border-radius: 10px;
}

.article-table td {
  background: #f1f2f4;
  color: #3067dc;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  vertical-align: middle;
  padding: 14px 22px;
  border-radius: 10px;
  overflow-wrap: anywhere;
}

.article-table th p,
.article-table td p {
  margin: 0;
}

.article-table__intro,
.article-table__outro {
  max-width: 1180px;
  margin: 20px auto;
}

/* Ширина колонок таблицы */
.article-table {
  width: 100%;
  min-width: 600px;
  table-layout: fixed;
}

.article-table__first-column {
  width: 280px;
}

/* Планшеты */
@media (max-width: 1200px) {
  .article-table-wrapper {
    max-width: 100%;
    overflow-x: auto;
  }
  .article-table__first-column {
    width: auto;
  }
}
.article-table__mobile-label {
  display: none;
}

@media (max-width: 767px) {
  .article-table-wrapper {
    overflow: visible;
    margin: 16px 0;
  }

  .article-table {
    display: block;
    width: 100%;
    min-width: 0;
    border-spacing: 0;
  }

  .article-table thead {
    display: none;
  }

  .article-table tbody {
    display: block;
    width: 100%;
  }

  .article-table tr {
    display: block;
    width: 100%;
    margin-bottom: 16px;
    padding: 8px;
    background: #f1f2f4;
    border-radius: 10px;
  }

  .article-table td {
    display: grid;
    grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    padding: 10px 8px;
    background: transparent;
    border-radius: 0;
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .article-table td + td {
    border-top: 1px solid #d9dde3;
  }

  .article-table__mobile-label {
    display: block;
    color: #0067e0;
    font-weight: 700;
  }

  .article-table__cell-content {
    min-width: 0;
    font-weight: 500;
    color: #333;
  }

  .article-table__cell-content p {
    margin: 0 0 8px;
  }

  .article-table__cell-content p:last-child {
    margin-bottom: 0;
  }
}
