/*
 * UAE section type `hero-tnc` (T1, 2026-11-07): live `.hero_tnc_hero`, the light header
 * of every Terms and Conditions item (/ae/terms-and-conditions/<slug>): the item's name,
 * then "Version:" / "Last updated:" pairs. Not S1's dark `section_privacy-hero`
 * (privacy-hero.css). Built on Raven's document header (`documentHeader`, light). Linked
 * on UAE pages only; scoped to slots whose key ends in `:hero-tnc`.
 *
 * Live (measured 2026-11-07, risk-disclosure EN + AR, 1440/1024/768/390 and 479/480/600/767;
 * tmp/uae-batches/t1/measure): band rgb(239,243,245), padding 192/112 (112/48 below 480px);
 * 1328px container with 24px gutters (16px on phones); a 768px block centred in it, text at
 * the start edge. Title 56/64 (48/56 at 768-991, 40/48 below 768), weight 800, -0.48px, with
 * 16px above and below it, then 32px to the pairs. Pairs 16/24, value weight 600, 8px between
 * label and value, 24px between pairs; below 480px stacked, 8px apart.
 */
[data-raven-slot$=":hero-tnc"] .raven-doc-header {
  background-color: rgb(239, 243, 245);
  background-image: none;
  color: rgb(24, 28, 37);
}
[data-raven-slot$=":hero-tnc"] .raven-doc-header__inner {
  box-sizing: border-box;
  max-width: 1328px;
  min-height: 0;
  height: auto;
  margin-inline: auto;
  padding: 112px 16px 48px;
  justify-content: flex-start;
}
[data-raven-slot$=":hero-tnc"] .raven-doc-header__content {
  width: 100%;
  max-width: 768px;
  margin-inline: auto;
  align-items: flex-start;
  text-align: start;
  gap: 32px;
}
[data-raven-slot$=":hero-tnc"] .raven-doc-header__title {
  /* live's h1 hugs its text at the start edge (Arabic: right), measured box 791-1104 at 1440 */
  width: fit-content;
  max-width: 100%;
  margin: 16px 0;
  font-size: 40px;
  line-height: 48px;
  font-weight: 800;
  letter-spacing: -0.48px;
  color: rgb(24, 28, 37);
  text-align: start;
}
[data-raven-slot$=":hero-tnc"] .raven-doc-header__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
}
[data-raven-slot$=":hero-tnc"] .raven-doc-header__pair {
  display: flex;
  gap: 8px;
}
[data-raven-slot$=":hero-tnc"] .raven-doc-header__label,
[data-raven-slot$=":hero-tnc"] .raven-doc-header__value {
  font-size: 16px;
  line-height: 24px;
  color: rgb(24, 28, 37);
}
[data-raven-slot$=":hero-tnc"] .raven-doc-header__label {
  font-weight: 400;
}
[data-raven-slot$=":hero-tnc"] .raven-doc-header__value {
  font-weight: 600;
}
/* Live's Arabic h1 is set left-to-right, right-aligned (computed direction ltr,
   text-align right on /ae/ar items, 2026-11-07); it still sits at the right edge
   because the block around it is right-to-left. */
[dir="rtl"] [data-raven-slot$=":hero-tnc"] .raven-doc-header__title,
[data-raven-slot$=":hero-tnc"][dir="rtl"] .raven-doc-header__title {
  direction: ltr;
  text-align: right;
}
@media (min-width: 480px) {
  [data-raven-slot$=":hero-tnc"] .raven-doc-header__inner {
    padding: 192px 24px 112px;
  }
  [data-raven-slot$=":hero-tnc"] .raven-doc-header__meta {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }
}
@media (min-width: 768px) {
  [data-raven-slot$=":hero-tnc"] .raven-doc-header__title {
    font-size: 48px;
    line-height: 56px;
  }
}
@media (min-width: 992px) {
  [data-raven-slot$=":hero-tnc"] .raven-doc-header__title {
    font-size: 56px;
    line-height: 64px;
  }
}
