/*
 * UAE section type `section_whychooseus_steps` (batch s3, 2026-11-07). Linked on
 * UAE pages only (JURISDICTION_SETTINGS.ae.stylesheets).
 *
 * Why choose us "Get started easily": DS FeatureCards (`.fc-*`, `.card-primary`)
 * with the step label as the card tag. Live (deriv.com/ae/why-choose-us,
 * measured 2026-11-07 at 1440 / 1024 / 768 / 390, EN + AR):
 * - grey band (rgb 246,247,248), padded 112px (80px at 768-991, 56px below
 *   768) top and bottom, 24px at the sides (16px below 768), at most 1280px
 *   of content;
 * - heading 56/64 (48/56, 40/48), -0.48px; 48px to the cards (24px below 768);
 * - three cards in a row 16px apart (two columns at 768-991, one below 768,
 *   16px between rows): dark rgb(24,28,38) / white / coral rgb(255,68,79),
 *   24px corners, clipped;
 * - card text padded 32px, 8px apart: step label 16/24 (white on dark and
 *   coral), title 32/40 800 -0.24px (24/32 below 992), copy 16/24;
 * - the picture fills the card width at the bottom, 416:280 (24px under the
 *   text below 480, where every card is 448px tall).
 */
[data-raven-slot^="why-choose-us:"][data-raven-slot$=":get-started"] .fc-container {
  max-width: 1328px;
  padding: 112px 24px;
  gap: 48px;
  box-sizing: border-box;
}
[data-raven-slot^="why-choose-us:"][data-raven-slot$=":get-started"] .fc-sectionTitle {
  font-size: 56px;
  line-height: 64px;
  letter-spacing: -0.48px;
}
[data-raven-slot^="why-choose-us:"][data-raven-slot$=":get-started"] .fc-grid {
  column-gap: 16px;
  row-gap: 16px;
}
[data-raven-slot^="why-choose-us:"][data-raven-slot$=":get-started"] .card-primary {
  border-radius: 24px;
  overflow: hidden;
}
[data-raven-slot^="why-choose-us:"][data-raven-slot$=":get-started"] .card-primary.style--dark {
  background-color: rgb(24, 28, 38);
}
[data-raven-slot^="why-choose-us:"][data-raven-slot$=":get-started"] .card-primary.style--light {
  background-color: rgb(255, 255, 255);
}
[data-raven-slot^="why-choose-us:"][data-raven-slot$=":get-started"] .card-primary.style--brand {
  background-color: rgb(255, 68, 79);
}
[data-raven-slot^="why-choose-us:"][data-raven-slot$=":get-started"] .cp-content {
  padding: 32px;
  gap: 8px;
}
/* The step label: the card's first line. */
[data-raven-slot^="why-choose-us:"][data-raven-slot$=":get-started"] .cp-content > p:first-child {
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 24px !important;
  color: rgb(255, 255, 255) !important;
}
[data-raven-slot^="why-choose-us:"][data-raven-slot$=":get-started"] .card-primary.style--light .cp-content > p:first-child {
  color: rgb(24, 28, 37) !important;
}
[data-raven-slot^="why-choose-us:"][data-raven-slot$=":get-started"] .cp-title {
  margin: 0;
  font-size: 32px;
  line-height: 40px;
  font-weight: 800;
  letter-spacing: -0.24px;
}
[data-raven-slot^="why-choose-us:"][data-raven-slot$=":get-started"] .cp-description {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}
[data-raven-slot^="why-choose-us:"][data-raven-slot$=":get-started"] .cp-imageSection {
  padding: 0;
  margin: 0;
  line-height: 0;
}
[data-raven-slot^="why-choose-us:"][data-raven-slot$=":get-started"] .cp-image {
  display: block;
  width: 100% !important;
  max-width: none;
  height: auto !important;
  aspect-ratio: 416 / 280;
  object-fit: cover !important;
}

/* From 992 every card is 472px tall, the picture at its foot (at 1024 live
   leaves ~60px between the copy and the picture; checker N5). */
@media (min-width: 992px) {
  [data-raven-slot^="why-choose-us:"][data-raven-slot$=":get-started"] .card-primary {
    min-height: 472px;
  }
}

@media (max-width: 991px) {
  [data-raven-slot^="why-choose-us:"][data-raven-slot$=":get-started"] .fc-container {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  [data-raven-slot^="why-choose-us:"][data-raven-slot$=":get-started"] .fc-sectionTitle {
    font-size: 48px;
    line-height: 56px;
  }
  [data-raven-slot^="why-choose-us:"][data-raven-slot$=":get-started"] .cp-title {
    font-size: 24px;
    line-height: 32px;
  }
}

@media (max-width: 767px) {
  [data-raven-slot^="why-choose-us:"][data-raven-slot$=":get-started"] .fc-container {
    padding: 56px 16px;
    gap: 24px;
  }
  [data-raven-slot^="why-choose-us:"][data-raven-slot$=":get-started"] .fc-sectionTitle {
    font-size: 40px;
    line-height: 48px;
  }
}

@media (max-width: 479px) {
  [data-raven-slot^="why-choose-us:"][data-raven-slot$=":get-started"] .card-primary {
    height: 448px !important;
  }
  [data-raven-slot^="why-choose-us:"][data-raven-slot$=":get-started"] .cp-imageSection {
    margin-top: 24px;
  }
}
