/* Legal / static text pages */
/* Заголовок ниже шапки (раньше 150px + крошки; крошки убрали — добавляем запас) */
.text-page.inside-page {
  padding-top: 220px;
}

@media (max-width: 767px) {
  .text-page.inside-page {
    padding-top: 180px;
  }
}

.text-page .container {
  max-width: 920px;
}

.text-page h1,
.text-page h2 {
  color: #152033;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 16px;
}

.text-page h1 {
  font-size: 28px;
}

.text-page h2 {
  font-size: 22px;
}

.text-page .text-center {
  text-align: center;
}

.text-page .text-page__item + .text-page__item {
  margin-top: 8px;
}

.text-page .ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 170%;
  color: #7b7b7b;
}

.text-page .ul li {
  margin: 0;
}

/* FAQ accordion (no jQuery tabs required) */
.faq-legal {
  margin-top: 12px;
  max-width: 820px;
}

.faq-legal .section-title {
  margin-bottom: 28px;
}

.faq-accordion {
  display: grid;
  gap: 12px;
}

.faq-accordion__item {
  background: #fff;
  border: 1px solid #e8ebf2;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  overflow-anchor: none;
}

.faq-accordion__q {
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  color: #152033;
}

.faq-accordion__q::-webkit-details-marker {
  display: none;
}

.faq-accordion__q::after {
  content: "+";
  float: right;
  font-weight: 700;
  color: #6b58ff;
}

.faq-accordion__item[open] .faq-accordion__q::after {
  content: "−";
}

.faq-accordion__a {
  padding: 0 20px 18px;
}

.faq-accordion__a p {
  margin: 0;
  font-size: 15px;
  line-height: 160%;
  color: #7b7b7b;
  white-space: pre-line;
}

@media (max-width: 600px) {
  .text-page h1 {
    font-size: 22px;
  }

  .text-page h2 {
    font-size: 18px;
  }

  .text-page .ul {
    font-size: 14px;
  }
}
