/*
 * Careers section type `opportunities` (live `.section_careers_opportunities`;
 * careers Home): heading and intro, then two grey cards, each a title, an intro
 * (ruled off below), and two lists, each a lead-in line followed by items with a
 * sparkle icon. DS FeatureCards twoCards with a checklist (Raven's
 * `renderTwoCardsChecklist`): the card's `bullets` hold live's lines in live's
 * order, lead-in lines included. Linked on careers pages only (CAREERS_STYLESHEETS).
 * Type-level: every `:opportunities` slot.
 *
 * Live (careers.deriv.com, measured 2026-11-11 at 1440 / 1024 / 768 / 390, EN + AR;
 * `.opportunity_*` rules):
 * - heading block centred in a 768px column (left-aligned below 768, as the DS);
 * - cards: two columns from 768 (one below), 16px apart; 32px padding (24px at 991
 *   and below), 32px corners, #f6f7f8; 24px between the title block and each list;
 *   16px from title (28/36, 24/32, 20/28 as the DS) to intro; the intro block has
 *   24px under it and a 1px rgba(0,0,0,.08) rule;
 * - lists: lead-in 16/24 weight 600, no icon; items 14/24 behind a 24px sparkle
 *   icon (rgba(24,28,37,.48)), 8px apart, 16px between lines. Both cards have the
 *   same shape (lead-in, four items, lead-in, five items), so the second lead-in
 *   is the sixth line.
 */
[data-raven-slot$=":opportunities"] .fc-header {
  max-width: 768px;
  margin-inline: auto;
}
[data-raven-slot$=":opportunities"] .fc-sectionDescription {
  max-width: none;
}
[data-raven-slot$=":opportunities"] .fc-grid--twoCards {
  gap: 16px;
}
[data-raven-slot$=":opportunities"] .fc-twoCard {
  border-radius: 32px;
  background-color: #f6f7f8;
}
[data-raven-slot$=":opportunities"] .raven-twocards-shell--fill .fc-twoCard-body {
  padding: 32px;
}
[data-raven-slot$=":opportunities"] .fc-twoCard-content {
  gap: 16px;
}
[data-raven-slot$=":opportunities"] .fc-twoCard-description {
  margin: 0;
  padding-bottom: 24px;
  border-bottom: 1px solid #00000014;
}
[data-raven-slot$=":opportunities"] .raven-card-checklist {
  gap: 16px;
  margin-top: 8px;
}
[data-raven-slot$=":opportunities"] .raven-card-checklist li {
  gap: 8px;
  align-items: center;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: #181c25;
}
[data-raven-slot$=":opportunities"] .raven-card-checklist--check li::before {
  content: "";
  width: 24px;
  height: 24px;
  align-self: flex-start;
  background-color: #181c257a;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20fill-rule='evenodd'%20d='M9.16492%209.16492L10.8866%204H13.1134L14.8351%209.16492L20%2010.8866V13.1134L14.8351%2014.8351L13.1134%2020H10.8866L9.16492%2014.8351L4%2013.1134V10.8866L9.16492%209.16492ZM12%205.5L10.4897%2010L9.74738%2010.7423L5.5%2012L9.74738%2013.567L10.4897%2014.3093L12%2018.5L13.361%2014.3093L14%2013.5L18.5%2012L14.2423%2010.7423L13.5%2010L12%205.5Z'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20fill-rule='evenodd'%20d='M9.16492%209.16492L10.8866%204H13.1134L14.8351%209.16492L20%2010.8866V13.1134L14.8351%2014.8351L13.1134%2020H10.8866L9.16492%2014.8351L4%2013.1134V10.8866L9.16492%209.16492ZM12%205.5L10.4897%2010L9.74738%2010.7423L5.5%2012L9.74738%2013.567L10.4897%2014.3093L12%2018.5L13.361%2014.3093L14%2013.5L18.5%2012L14.2423%2010.7423L13.5%2010L12%205.5Z'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
}
/* Lead-in lines (first and sixth): live's semibold paragraph, no icon. */
[data-raven-slot$=":opportunities"] .raven-card-checklist li:is(:nth-child(1), :nth-child(6)) {
  font-size: 16px;
  font-weight: 600;
}
[data-raven-slot$=":opportunities"] .raven-card-checklist--check li:is(:nth-child(1), :nth-child(6))::before {
  content: none;
}
[data-raven-slot$=":opportunities"] .raven-card-checklist li:nth-child(6) {
  margin-top: 8px;
}
/* The card padding is the recipe's `cardPaddingPx` (32, written inline by the
   renderer); live narrows it to 24px at 991 and below (its 32px spacing token is
   1.5rem there; checker M11, 2026-11-11). */
@media (max-width: 991px) {
  [data-raven-slot$=":opportunities"] .raven-twocards-shell--fill .fc-twoCard-body {
    padding: 24px !important;
  }
}
