/*
 * Careers section type `market-features` (B2, 2026-11-11): live `.section_market_features`
 * on /our-culture, a centred h2 with a coral "Join us" pill under it, then three cards
 * (dark, picture, coral). The UAE market-features type (ae/market-features.css), copied,
 * not linked, with careers' own values. DS FeatureCards with the section CTA. Linked on
 * careers pages only (CAREERS_STYLESHEETS).
 *
 * Live (deriv-careers.6943a00ac78267882a60bb12.*.css, read 2026-11-11; computed styles at
 * 1440, 1024, 768 and 390, EN and AR): top padding 112px (80px below 992px, 56px below
 * 768px), none at the foot; a 1280px container with 24px gutters (16px below 480px). The
 * title block is at most 768px wide and centred (start-aligned below 768px): h2 56/64
 * (48/56 below 992px, 40/48 below 768px, weight 800), 16px to the pill (48px, 16px 24px,
 * 16/16 weight 800, 0.56px tracking; hidden below 480px), then 48px to the cards (32px
 * below 992px). Cards 16px apart: 3 columns, 2 below 992px (the third starts a new row),
 * 1 below 768px; radius 32px; at least 480px tall from 992px, as tall as their row below
 * that, 448px below 480px (24px between copy and picture). Copy padded 32px (24px below
 * 992px), 16px between title (28/36, 24/32 below 992px, 20/28 below 768px, weight 800,
 * -0.24px) and text (16/24). The picture keeps its own ratio at the card's foot (at least
 * 256px tall below 480px, cover); the copy takes what is left. The picture card is the
 * photo with a faint shade (#20242f at 3%).
 *
 * Ours: the recipe's `sectionCtaPlacement: "header"` moves the DS band CTA
 * (`.raven-section-cta`, drawn after the grid) into `.fc-header` once the page runs, so
 * the pill shows only there (no jump from below the cards).
 */
[data-raven-slot$=":market-features"] .fc-section {
  background-color: #fff;
}
[data-raven-slot$=":market-features"] .fc-container {
  box-sizing: border-box;
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding: 112px 24px 0;
  gap: 48px;
}
[data-raven-slot$=":market-features"] .fc-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}
[data-raven-slot$=":market-features"] .fc-sectionTitle {
  max-width: none;
  margin: 0;
  font-size: 56px;
  line-height: 64px;
  font-weight: 800;
  letter-spacing: normal;
  text-align: center;
  text-wrap: wrap;
}
[data-raven-slot$=":market-features"] .raven-section-cta {
  display: none;
}
[data-raven-slot$=":market-features"] .fc-header .raven-section-cta {
  display: flex;
  justify-content: center;
  margin: 0;
}
[data-raven-slot$=":market-features"] .raven-section-cta .button {
  box-sizing: border-box;
  height: 48px;
  padding: 16px 24px;
  border-radius: 96px;
  font-size: 16px;
  line-height: 16px;
  font-weight: 800;
  letter-spacing: 0.56px;
}
[data-raven-slot$=":market-features"] .fc-grid {
  order: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
[data-raven-slot$=":market-features"] .fc-grid > * {
  grid-column: auto;
}
[data-raven-slot$=":market-features"] .card-primary {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 480px;
  gap: 0;
  overflow: hidden;
  border-radius: 32px;
}
[data-raven-slot$=":market-features"] .card-primary .cp-content {
  flex: 1 1 auto;
  justify-content: flex-start;
  gap: 16px;
  padding: 32px;
}
[data-raven-slot$=":market-features"] .card-primary .cp-title {
  margin: 0;
  font-size: 28px;
  line-height: 36px;
  font-weight: 800;
  letter-spacing: -0.24px;
}
[data-raven-slot$=":market-features"] .card-primary .cp-description {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}
[data-raven-slot$=":market-features"] .card-primary .cp-imageSection {
  flex: 0 0 auto;
  height: auto;
  aspect-ratio: auto;
}
[data-raven-slot$=":market-features"] .card-primary .cp-image {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto 705 / 474;
  object-fit: cover;
}
[data-raven-slot$=":market-features"] .card-primary.style--image .cp-gradient {
  background: rgba(32, 36, 47, 0.03);
}
@media (max-width: 991px) {
  [data-raven-slot$=":market-features"] .fc-container {
    padding-top: 80px;
    gap: 32px;
  }
  [data-raven-slot$=":market-features"] .fc-sectionTitle {
    font-size: 48px;
    line-height: 56px;
  }
  [data-raven-slot$=":market-features"] .fc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  [data-raven-slot$=":market-features"] .card-primary {
    min-height: 0;
  }
  [data-raven-slot$=":market-features"] .card-primary .cp-content {
    padding: 24px;
  }
  [data-raven-slot$=":market-features"] .card-primary .cp-title {
    font-size: 24px;
    line-height: 32px;
  }
}
@media (max-width: 767px) {
  [data-raven-slot$=":market-features"] .fc-container {
    padding-top: 56px;
  }
  [data-raven-slot$=":market-features"] .fc-header {
    margin: 0;
    max-width: none;
    text-align: start;
  }
  [data-raven-slot$=":market-features"] .fc-sectionTitle {
    font-size: 40px;
    line-height: 48px;
    text-align: start;
  }
  [data-raven-slot$=":market-features"] .fc-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  [data-raven-slot$=":market-features"] .card-primary {
    height: 400px;
  }
  [data-raven-slot$=":market-features"] .card-primary .cp-title {
    font-size: 20px;
    line-height: 28px;
  }
}
@media (max-width: 479px) {
  [data-raven-slot$=":market-features"] .fc-container {
    padding-inline: 16px;
  }
  [data-raven-slot$=":market-features"] .fc-header .raven-section-cta {
    display: none;
  }
  [data-raven-slot$=":market-features"] .card-primary {
    height: 448px;
    gap: 24px;
  }
  [data-raven-slot$=":market-features"] .card-primary .cp-content {
    flex: 0 0 auto;
  }
  [data-raven-slot$=":market-features"] .card-primary .cp-imageSection {
    flex: 1 0 auto;
    min-height: 256px;
    position: relative;
  }
  [data-raven-slot$=":market-features"] .card-primary .cp-image {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
  }
}
