/* «Условия оказания услуг»: the FAQ page look, a table that belongs to it. */
.service-terms-page .faq-directory { padding-top: 28px; }
.service-terms-text { font-size: 16px; line-height: 1.6; }
.service-terms-text > :first-child { margin-top: 0; }
.service-terms-text > :last-child { margin-bottom: 0; }
.service-terms-text p { max-width: 860px; margin: 0 0 12px; }
.service-terms-text a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.service-terms-text .legal-document__table { margin: 4px 0 16px; border: 1px solid var(--color-border, #e2dcd1); border-radius: 16px; }
.service-terms-text table { border: 0; font-size: 15px; }
.service-terms-text th, .service-terms-text td { padding: 14px 18px; border: 0; border-bottom: 1px solid var(--color-border, #e2dcd1); }
.service-terms-text th { background: var(--paper, #f4f1ea); color: var(--green, #1e4d41); font-weight: 600; }
.service-terms-text th:first-child, .service-terms-text td:first-child { width: 34%; color: var(--green, #1e4d41); font-weight: 500; }
.service-terms-text tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 760px) {
  .service-terms-text { font-size: 15px; }
  .service-terms-text table, .service-terms-text thead, .service-terms-text tbody, .service-terms-text tr, .service-terms-text td { display: block; width: auto; }
  .service-terms-text thead { display: none; }
  .service-terms-text td { padding: 0 16px 14px; border-bottom: 0; }
  .service-terms-text td:first-child { width: auto; padding-top: 14px; padding-bottom: 6px; }
  .service-terms-text tbody tr { border-bottom: 1px solid var(--color-border, #e2dcd1); }
  .service-terms-text tbody tr:last-child { border-bottom: 0; }
}
