.help-detail__content-container > div:first-of-type {
  width: 100%;
}

.help-detail.section {
  padding-top: 30px;
}

@media (width < 768px) {
  .help-detail.section {
    padding-top: 10px;
  }
}

.help-detail__container {
  gap: 32px;
}

@media (width < 768px) {
  .help-detail__container {
    gap: 28px;
  }
}

.help-detail__content-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

@media (width < 1280px) {
  .help-detail__content-container {
    flex-direction: column;
  }
}

.help-detail__sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 20px;
  background-color: var(--color-main-light);
  padding: 36px;
  width: 100%;
}

@media (width >= 1280px) {
  .help-detail__sidebar {
    max-width: 420px;
  }
}

.help-detail__sidebar-title {
  font-size: 20px;
  line-height: 1.2;
  color: var(--color-black);
}

.help-detail__sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.help-detail__sidebar-list li {
  font-size: 16px;
  line-height: 1.2;
}

.help-detail__sidebar-link {
  ;
}

.help-detail__date {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-inline: 14px;
  margin-block: 24px 48px;
  max-width: max-content;
  background-color: var(--color-main-light);
  border-radius: 50px;
  height: 35px;
  color: var(--color-black);
  font-size: 18px;
}

@media (width < 768px) {
  .help-detail__date {
    margin-block: 16px 24px;
    /*height: 65px;*/
  }
}

.help-detail__article {
  max-width: 840px;
  width: 100%;
}

.help-detail__article-title {
  font-size: 40px;
  /*color: var(--color-main);*/
  line-height: 1.2;
}

@media (width < 768px) {
  .help-detail__article-title {
    font-size: 32px;
  }
}

.help-detail__article p {
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-black);
  word-wrap: break-word;
}

.help-detail__article a {
  color: var(--color-accent);
  text-decoration: none;
}

.help-detail__article h2,
.help-detail__article h3 {
  color: var(--color-main);
}

.help-detail__article h2 {
  margin-block: 48px 32px;
  font-size: 32px;
  line-height: 1.2;
  color: var(--color-main);
}

.help-detail__article h2 a {
  color: var(--color-main)!important;;
}

.help-detail__article h3 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.help-detail__article h2 + .help-detail__article h3 {
  margin-top: 0;
}

.help-detail__article h3 + h4 {
  margin-bottom: 0;
}

.help-detail__article .table-wrapper {
  margin-bottom: 30px;
}

.help-detail__article .table-wrapper + h2,
.help-detail__article .table-wrapper + h3 {
  margin-top: 0;
  margin-bottom: 30px;
}

.help-detail__article .table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.help-detail__article table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}


@media (width < 768px) {
  .help-detail__article h2 {
    margin-block: 32px 24px;
    font-size: 24px;
  }
}

.help-detail__article h3 {
  margin-block-end: 24px;
  font-size: 28px;
  line-height: 1.2;
}

.help-detail__article figure,
.help-detail__article img {
  margin-block: 24px 40px;
  margin-inline: 0;
}

@media (width < 768px) {
  .help-detail__article figure,
  .help-detail__article img {
    margin-block: 24px 32px;
  }
}

.help-detail__article ul,
.help-detail__article ol {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-inline-start: 16px;
}

.help-detail__article p {
  margin-bottom: 0; /* Убираем стандартный отступ */
}

.help-detail__article p + p,
.help-detail__article p + ul,
.help-detail__article p + ol {
  margin-top: 16px; /* Добавляем верхний отступ */
}

.help-detail__article p + h3 {
  margin-block-start: 40px;
}

.help-detail__article iframe {
  max-width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
}



/*.help__article-title {*/
/*  font-size: 32px;*/
/*}*/

/*@media (width >= 768px) {*/
/*  .help__article-title {*/
/*    font-size: 48px;*/
/*  }*/
/*}*/

/*.help__article a {*/
/*  text-decoration: none;*/
/*  font-size: 16px;*/
/*  line-height: 1.5em;*/
/*  font-weight: 500;*/
/*  color: var(--color-main);*/
/*}*/

/*.help__article a:hover,*/
/*.help__article a:focus-visible*/
/*{*/
/*  text-decoration: underline;*/
/*  color: var(--color-accent);*/
/*}*/

/*.help__article h2 a,*/
/*.help__article h2 a:hover*/
/*{*/
/*  text-decoration: inherit;*/
/*  color: inherit;*/
/*  font-size: inherit;*/
/*}*/

/*.help__article h1,*/
/*.help__article h2,*/
/*.help__article h3*/
/*{*/
/*  color: var(--color-main);*/
/*  font-size: 24px;*/
/*  line-height: 1.2em;*/
/*}*/

/*@media (width >= 768px) {*/
/*  .help__article h1,*/
/*  .help__article h2,*/
/*  .help__article h3*/
/*  {*/
/*    font-size: 32px;*/
/*  }*/
/*}*/

/*@media (width >= 1280px) {*/
/*  .help__article h1,*/
/*  .help__article h2,*/
/*  .help__article h3*/
/*  {*/
/*    font-size: 40px;*/
/*  }*/
/*}*/

/*h2 ~ p,*/
/*h3 ~ p*/
/*{*/
/*  margin-top: 8px;*/
/*}*/

/*figure {*/
/*  margin: 0;*/
/*}*/

/*p ~ figure {*/
/*  margin-top: 10px;*/
/*  margin-bottom: 20px;*/
/*}*/
