div.content-scroll-control-number::after {
  content: '';
  width: 95%;
  height: 1px;
  background: #000000;
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
}

div.content-scroll-control-number {
  font-size: 24px;
  line-height: 32px;
  position: relative;
}

section.main__content article.article div.article__content>div.wrapper {
  font-style: normal;
  padding: 16px;
  background-color: #ffffcc;
}

/**************************** hotFix nested ol/ul *****************************/
div.article__content > ol {
  margin-bottom: 16px;
  margin-top: 16px;
}
div.article__content > ol:first-child {
  margin-top: 0px;
}
div.article__content > ol:last-child {
  margin-bottom: 0px;
}
div.article__content ul {
  list-style: revert-layer;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 16px;
}
div.article__content > ul {
  margin-left: 16px !important;
}
div.article__content ul p {
  margin-left: 8px;
}
div.article__content > ul ul {
  margin-left: 0;
  margin-top: 8px;
  gap: 8px;
}
div.article__content ol {
  counter-reset: section;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 16px;
}
div.article__content ol li {
  margin: 0 !important;
  padding: 0;
}
div.article__content ul li {
  margin: 0 !important;
  padding: 0;
  list-style-type: unset;
}
div.article__content ol li:before {
  counter-increment: section;
  content: counters(section, '.') '';
  font-weight: 500;
  margin-right: 16px;
  position: static;
}
div.article__content ul li:before {
  display: none;
}
div.article__content ol p {
  display: inline;
}
div.article__content ul p {
  display: inline;
}
div.article__content > ol ol {
  margin-left: 0;
  margin-top: 8px;
  margin-bottom: 0;
  gap: 8px;
}
div.article__content > ul ul {
  margin-left: 0;
  margin-top: 8px;
  margin-bottom: 0;
  gap: 8px;
}

/* Не удалять. Стили превьюхи, нужны чтобы не проходили через галп */
div.article__content a[data-type="link-preview"] div[data-type="editable-content"] :first-child {
   display: -webkit-box;
   margin-bottom: 0.625rem;
   font-size: 1.125rem;
   line-height: 1.75rem;
   overflow: hidden;
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 2;
   color: #000000;
}

div.article__content a[data-type="link-preview"] div[data-type="editable-content"] p:first-child {
   font-weight: 500;
}

div.article__content a[data-type="link-preview"] div[data-type="editable-content"] :nth-child(2) {
   display: -webkit-box;
   font-size: 1rem;
   line-height: 1.5rem;
   overflow: hidden;
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 2;
   color: #000000;
}
/* Не удалять. Стили превьюхи, нужны чтобы не проходили через галп */

div.hide-x-scroll .ps__rail-x {
  display: none !important;
}

section.max-height-user-drop-down div.header-dropdown-nav__list {
  overflow-x: hidden !important;
}

span.shitty-counter-mainpage {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0 5px;
    border-radius: 12px;
    color: #000;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    background-color: #fff;
    box-shadow: 0 2px 2px rgba(0, 0, 0, .15);
    transition: all .18s ease-in-out;
    box-sizing: border-box;
}