/*
 * Live-UAE looks for the section type `section_contactus_cards` (deriv.com/ae
 * /contact-us: three cards, dark with a picture below, a full picture, coral
 * with a picture below). Built on the design-system FeatureCards card schemes
 * (dark / image / brand), as ROW /contact-us. Every rule is scoped to a UAE
 * recipe slot whose key ends in `:contactus-cards`, so ROW and EU never match.
 *
 * Measured on live 2026-11-07 (computed styles + CDP used fonts, EN and AR,
 * 1440/1024/768/390; tmp/uae-batches/s6/measure):
 *   - band padding 112 (>=992), 80 (768-991), 56 (phones); container 1328px
 *     with 24px sides (16px on phones); no section heading; grid gap 16px;
 *   - cards: radius 24; the text block (32px padding, 8px gaps) grows and the
 *     picture keeps its own proportions at the bottom (the full-picture card
 *     fills the card); card height is the row's tallest content, at least
 *     472px from 992 (1440: 502), content height at 768-991, and a fixed
 *     448px on phones with 24px between text and picture (the coral card's
 *     picture is cut at the bottom, as live);
 *   - title Inter 800 32/40 (>=992), 24/32 below; text 16/24; link 16/24 600.
 */
[data-raven-slot$=":contactus-cards"] .fc-container {
  max-width: 1328px;
  gap: 0;
  padding: 56px 16px;
}
[data-raven-slot$=":contactus-cards"] .fc-header:empty {
  display: none;
}
[data-raven-slot$=":contactus-cards"] .fc-grid {
  gap: 16px;
}
[data-raven-slot$=":contactus-cards"] .card-primary {
  height: 448px;
  gap: 24px;
}
[data-raven-slot$=":contactus-cards"] .card-primary .cp-content {
  flex: 1 0 auto;
  gap: 8px;
}
[data-raven-slot$=":contactus-cards"] .card-primary .cp-title {
  font-size: 24px;
  line-height: 32px;
  font-weight: 800;
}
[data-raven-slot$=":contactus-cards"] .card-primary a.link {
  line-height: 24px;
  /* Live: the arrow is a 14px-wide icon centred on the 24px text line (S6 checker minor 2). */
  align-items: center;
}
[data-raven-slot$=":contactus-cards"] .card-primary a.link svg {
  width: 14px;
  height: 14px;
}
/* Live /ae/ar hides the link arrows (`.link_icon-local` display none, measured 2026-11-07). */
[dir="rtl"] [data-raven-slot$=":contactus-cards"] .card-primary a.link svg {
  display: none;
}
/* Live's full-picture card (Help centre) has no shade over the photo (S6 checker N1). */
[data-raven-slot$=":contactus-cards"] .card-primary .cp-gradient {
  display: none;
}
[data-raven-slot$=":contactus-cards"] .card-primary .cp-imageSection {
  height: auto;
}
[data-raven-slot$=":contactus-cards"] .card-primary .cp-image {
  position: static;
  height: auto;
}
@media (min-width: 768px) {
  [data-raven-slot$=":contactus-cards"] .fc-container {
    padding: 80px 24px;
  }
  [data-raven-slot$=":contactus-cards"] .card-primary {
    height: auto;
    gap: 0;
  }
}
@media (min-width: 992px) {
  [data-raven-slot$=":contactus-cards"] .fc-container {
    padding: 112px 24px;
  }
  [data-raven-slot$=":contactus-cards"] .card-primary {
    min-height: 472px;
  }
  [data-raven-slot$=":contactus-cards"] .card-primary .cp-title {
    font-size: 32px;
    line-height: 40px;
  }
}
