/*
 * UAE section type `why-calculators` (S4, 2026-11-07): live `.section_why-calculators`. Linked on UAE pages
 * only (JURISDICTION_SETTINGS.ae.stylesheets); every rule is scoped to the slot.
 *
 * DS FeatureCards (card-primary). Live measured 2026-11-07 (tmp/uae-batches/s4/measure/live-*):
 * - Grey band (rgb 246,247,248), padding 112 / 80 at 768 / 56 on phones. Content 1280px
 *   (1328px container, 24px gutters; 16px on phones).
 * - Header block at most 846px wide, centred text from 768 (start-aligned on phones):
 *   heading 56/64 (48/56, 40/48), 16px to the intro; 48px to the cards (24px on phones).
 *   Live heading wraps normally (no balance). Live letter-spacing: heading -0.48px, card
 *   title -0.24px (EN and AR).
 * - Cards 16px apart at every width (3 / 2 / 1 columns), radius 24: coral, WHITE, dark.
 *   Text block padding 32, title 32/40 from 992 (24/32 below), 8px to the 16/24 text.
 *   From 768 the picture keeps its own shape at the card's bottom (416×331 / 416×291 at
 *   1440) and the row's cards share one height, the text block taking the slack.
 *   On phones the card is a fixed 448px with the picture 24px under the text, clipped.
 */
[data-raven-slot$=":why-calculators"].raven-section-pad {
  --raven-pad-top: 56px;
  --raven-pad-bottom: 56px;
}
@media (min-width: 768px) {
  [data-raven-slot$=":why-calculators"].raven-section-pad {
    --raven-pad-top: 80px;
    --raven-pad-bottom: 80px;
  }
}
@media (min-width: 992px) {
  [data-raven-slot$=":why-calculators"].raven-section-pad {
    --raven-pad-top: 112px;
    --raven-pad-bottom: 112px;
  }
}
/* DS .fc-section paints white over the grey band: live is grey behind the heading too. */
[data-raven-slot$=":why-calculators"] .fc-section {
  background-color: rgb(246, 247, 248);
}
[data-raven-slot$=":why-calculators"] .fc-container {
  max-width: 1328px;
  padding-inline: 16px;
  gap: 24px;
}
[data-raven-slot$=":why-calculators"] .fc-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 846px;
  margin-inline: auto;
  text-align: start;
}
[data-raven-slot$=":why-calculators"] .fc-sectionTitle {
  max-width: none;
  text-wrap: wrap;
  letter-spacing: -0.48px;
}
[data-raven-slot$=":why-calculators"] .fc-sectionDescription {
  max-width: none;
  margin: 0;
}
[data-raven-slot$=":why-calculators"] .fc-grid {
  gap: 16px;
}
[data-raven-slot$=":why-calculators"] .card-primary {
  height: 448px;
  border-radius: 24px;
  gap: 24px;
}
[data-raven-slot$=":why-calculators"] .card-primary.style--light {
  background-color: rgb(255, 255, 255);
}
[data-raven-slot$=":why-calculators"] .card-primary .cp-content {
  flex: none;
  gap: 8px;
  padding: 32px;
}
[data-raven-slot$=":why-calculators"] .card-primary .cp-title {
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.24px;
}
[data-raven-slot$=":why-calculators"] .card-primary .cp-imageSection {
  height: auto;
  flex-shrink: 0;
}
[data-raven-slot$=":why-calculators"] .card-primary .cp-image {
  position: static;
  width: 100%;
  height: auto;
}
@media (min-width: 768px) {
  [data-raven-slot$=":why-calculators"] .fc-container {
    padding-inline: 24px;
    gap: 48px;
  }
  [data-raven-slot$=":why-calculators"] .fc-header {
    align-items: center;
    text-align: center;
  }
  [data-raven-slot$=":why-calculators"] .card-primary {
    height: auto;
    gap: 0;
  }
  [data-raven-slot$=":why-calculators"] .card-primary .cp-content {
    flex: 1 0 auto;
  }
}
@media (min-width: 992px) {
  [data-raven-slot$=":why-calculators"] .card-primary .cp-title {
    font-size: 32px;
    line-height: 40px;
  }
}
