/*
 * Live-UAE looks for the section type `section_tnc-content`
 * (deriv.com/ae/privacy-policy; the Terms and Conditions items use the same
 * type). Scoped to UAE recipe slots whose key ends in `:tnc-content`, so ROW
 * and EU never match. Built on Raven's document article (richText,
 * `htmlLayout: document`): contents list, then the body.
 *
 * Measured on live 2026-11-07 (EN and AR, 1440/1024/768/390): 768px column
 * (16px gutters on phones), padding 80/112 (<=991: 48/48), 32px between the
 * contents block and the body. "Table of contents" 40/48 (768-991: 32/40;
 * <=767: 24/32), weight 800, -0.32px, list 32px below; links 16/24 indented
 * 16px from the left (>=992: 24px; live keeps it on the left in Arabic too), on a 40px pitch (4px above, 12px below). Body headings (live h5,
 * here h2): 16/18.4 weight 700 (live's <strong>), -0.24px, no padding. Every paragraph has
 * 24px padding on top (live `.tnc.is-adjusted-spacing p`), so live's empty
 * spacer paragraphs read as 48px gaps; they are kept in the body.
 */
[data-raven-slot$=":tnc-content"] .raven-doc-article__inner {
  padding-top: 48px;
  padding-bottom: 48px;
  gap: 32px;
}
[data-raven-slot$=":tnc-content"] .raven-doc-article__tocTitle {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 800;
  letter-spacing: -0.32px;
}
[data-raven-slot$=":tnc-content"] .raven-doc-article__tocList {
  margin: 32px 0 0;
  padding-left: 16px;
  padding-right: 0;
  gap: 0;
}
[data-raven-slot$=":tnc-content"] .raven-doc-article__tocItem {
  margin: 0;
  padding: 4px 0 12px;
  line-height: 24px;
}
[data-raven-slot$=":tnc-content"] .raven-doc-article__tocLink {
  display: inline-flex;
  line-height: 24px;
}
[data-raven-slot$=":tnc-content"] .raven-doc-article__body h2 {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.24px;
}
[data-raven-slot$=":tnc-content"] .raven-doc-article__body p {
  margin: 0;
  padding: 24px 0 0;
  font-size: 16px;
  line-height: 24px;
}
@media (min-width: 768px) {
  [data-raven-slot$=":tnc-content"] .raven-doc-article__tocTitle {
    font-size: 32px;
    line-height: 40px;
  }
}
@media (min-width: 992px) {
  [data-raven-slot$=":tnc-content"] .raven-doc-article__inner {
    padding-top: 80px;
    padding-bottom: 112px;
  }
  [data-raven-slot$=":tnc-content"] .raven-doc-article__tocList {
    padding-left: 24px;
  }
  [data-raven-slot$=":tnc-content"] .raven-doc-article__tocTitle {
    font-size: 40px;
    line-height: 48px;
  }
}
