/*
 * Live-UAE looks for the section type `section_termsandconditions-hero`
 * (deriv.com/ae: /terms-and-conditions, /regulatory-information, the trading
 * calculators). Every rule is scoped to a UAE recipe slot whose key ends in
 * `:tnc-hero` (PageRenderer sets `data-raven-slot` only on recipe-slot
 * sections), so ROW and EU never match. Built on the design-system Header
 * (`variant: dark`).
 *
 * Measured on live 2026-11-07 (computed styles + CDP used fonts, EN and AR,
 * 1440/1024/768/390): the band is 520px tall at every width on
 * rgb(40,44,56) with live's grid; padding 128/112 (phones <=479: 128/64);
 * the text column (`.section-title-wrapper`) is max 768px, centred in the
 * band, gap 16px; text centred from 480px up and start-aligned on phones.
 * h1: 80/88 (>=992), 64/72 (768-991), 48/56 (phones), weight 800,
 * letter-spacing -0.56px; description 16/24. Arabic is drawn in Noto Sans
 * Arabic (frame.css). A description with live's <br><br> keeps its blank line.
 */
[data-raven-slot$=":tnc-hero"] .header.header--dark {
  background-color: rgb(40, 44, 56);
}
[data-raven-slot$=":tnc-hero"] .header.header--dark,
[data-raven-slot$=":tnc-hero"] .header.header--dark .header__inner {
  min-height: 520px;
  height: 520px;
}
[data-raven-slot$=":tnc-hero"] .header.header--dark .header__inner {
  padding-top: 128px;
  padding-bottom: 64px;
  justify-content: center;
  box-sizing: border-box;
}
[data-raven-slot$=":tnc-hero"] .header.header--dark .header__text,
[data-raven-slot$=":tnc-hero"] .header.header--dark .header__content {
  max-width: 768px;
  margin-inline: auto;
}
[data-raven-slot$=":tnc-hero"] .header.header--dark .header__text {
  gap: 16px;
}
[data-raven-slot$=":tnc-hero"] .header.header--dark .header__title {
  letter-spacing: -0.56px;
}
[data-raven-slot$=":tnc-hero"] .header.header--dark .header__description {
  max-width: 768px;
  white-space: pre-line;
}
@media (min-width: 480px) {
  [data-raven-slot$=":tnc-hero"] .header.header--dark .header__inner {
    padding-bottom: 112px;
  }
}
