/*
 * UAE section type `secandres-hero` (S5, 2026-11-07): live `.section_secandres-hero.is-dark`,
 * the dark grid header on Secure and responsible trading and Trading competitions (with
 * a button there). DS Header, variant dark. Linked on UAE pages only
 * (JURISDICTION_SETTINGS.ae.stylesheets); every rule is scoped to the slot.
 *
 * Live (measured 2026-11-07, both pages, EN + AR, 1440/1024/768/390, computed styles
 * and used fonts): the band is exactly 520px tall at every width, padded 128px top and
 * 112px bottom (64px on phones), the text block centred in the padding box; when it is
 * taller than that box (Trading competitions: 304px in 280px) it overflows equally
 * up and down (h1 at y116, not 128) and the band stays 520px. Text column at most
 * 768px (24px gutters, 16px on phones); heading, copy and button 16px apart; heading
 * 80/88 (64/72 at 768, 48/56 on phones), weight 800; copy 16/24. The button is a
 * coral pill 48px tall, 16px 24px padding, label 16/16 weight 800; full
 * width on phones. Centred from 768px up; phones align to the start.
 */
[data-raven-slot$=":secandres-hero"] .header.header--dark,
[data-raven-slot$=":secandres-hero"] .header.header--dark .header__inner {
  height: 520px;
  min-height: 520px;
}
[data-raven-slot$=":secandres-hero"] .header.header--dark .header__inner {
  box-sizing: border-box;
  padding: 128px 16px 64px;
  justify-content: center;
}
[data-raven-slot$=":secandres-hero"] .header.header--dark .header__content,
[data-raven-slot$=":secandres-hero"] .header.header--dark .header__text {
  max-width: 768px;
  gap: 16px;
}
[data-raven-slot$=":secandres-hero"] .header.header--dark .header__body {
  gap: 16px;
}
/* Live breaks the heading where its <br> is (the stored "\n"), in both languages. */
[data-raven-slot$=":secandres-hero"] .header.header--dark .header__title {
  white-space: pre-line;
}
[data-raven-slot$=":secandres-hero"] .header.header--dark .header__description {
  max-width: 768px;
}
[data-raven-slot$=":secandres-hero"] .header.header--dark .header__buttons {
  width: 100%;
}
[data-raven-slot$=":secandres-hero"] .header.header--dark .header__buttons .button {
  width: 100%;
  height: 48px;
  min-height: 48px;
  padding: 16px 24px;
  border-radius: 96px;
  font-size: 16px;
  line-height: 16px;
  font-weight: 800;
}
@media (min-width: 768px) {
  [data-raven-slot$=":secandres-hero"] .header.header--dark .header__inner {
    padding: 128px 24px 112px;
  }
  [data-raven-slot$=":secandres-hero"] .header.header--dark .header__buttons {
    width: auto;
  }
  [data-raven-slot$=":secandres-hero"] .header.header--dark .header__buttons .button {
    width: auto;
  }
}
/* "responsible trading" is 770px in Raven's Inter (live's static Inter ExtraBold fits it in
   759px); a 768px column would wrap it onto a third line. The heading may use 800px, the
   copy stays at 768px, both centred (no letter spacing, owner decision 2026-11-05). */
@media (min-width: 992px) {
  [data-raven-slot$=":secandres-hero"] .header.header--dark .header__content,
  [data-raven-slot$=":secandres-hero"] .header.header--dark .header__text {
    max-width: 800px;
  }
}
