.text-page {
  max-width: calc(900px + var(--content-padding) * 2);
  margin: 0 auto;
  padding: 91px var(--content-padding) var(--space-11);
}

.text-page__title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 32px;
  line-height: 131%;
  color: var(--novoe-vremea-black);
  margin: 20px 0 24px;
}

.text-page__content {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  color: var(--novoe-vremea-black);
  padding-bottom: 60px;
}

.text-page__content p {
  margin: 0 0 12px;
}

.text-page__content h2 {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 20px;
  line-height: 140%;
  margin: 32px 0 16px;
}

.text-page__content h3 {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 17px;
  line-height: 140%;
  margin: 24px 0 12px;
}

.text-page__content ul,
.text-page__content ol {
  margin: 0 0 12px;
  padding-left: 42px;
}

.text-page__content ul {
  list-style: disc;
}

.text-page__content ol {
  list-style: decimal;
}

.text-page__content li {
  margin-bottom: 8px;
}

.text-page__content a {
  color: var(--color-primary);
}

.text-page__content table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px;
}

.text-page__content th,
.text-page__content td {
  border: 1px solid var(--color-gray-1);
  padding: 10px 12px;
  text-align: left;
}

.text-page__content img {
  max-width: 100%;
  height: auto;
}

.text-page__content a.text-page__download {
  display: inline-block;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 144%;
  color: var(--novoe-vremea-black);
  background: var(--color-white);
  border: 1px solid var(--color-gray-1);
  border-radius: 100px;
  padding: 12px 24px;
  text-decoration: none;
  margin-bottom: 24px;
}

.text-page__content a.text-page__download:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.text-page__note {
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 144%;
  color: var(--color-gray-2);
  margin: 0 0 8px;
}

.doc-item {
  padding-left: 42px;
  text-indent: -42px;
}

.doc-item .doc-num {
  display: inline-block;
  min-width: 42px;
  text-indent: 0;
}

.text-page__content h2 .doc-num {
  display: inline-block;
  min-width: 30px;
}

@media all and (max-width: 767px) {
  .text-page__title {
    font-size: 24px;
  }

  .text-page__content {
    font-size: 15px;
  }

  .text-page__content h2 {
    font-size: 18px;
    margin: 24px 0 12px;
  }

  .doc-item {
    padding-left: 38px;
    text-indent: -38px;
  }

  .doc-item .doc-num {
    min-width: 38px;
  }
}
