/*
 * Careers section type `spotlight` (live `.section_careers_spotlight`; careers Home
 * "Inside our AI systems"): heading, then three linked article cards (photo, author
 * label, title, copy) that open the substack articles in a new tab. DS FeatureBlog
 * (articleSection `grid`; owner decision 2026-11-12): the author is the card's
 * category tag; `externalLinksNewTab` sets the new tab. Not drawn (the block has no
 * slot; owner-accepted): live's "Read more" link under each card. The Arabic page's
 * subtitle under the heading is drawn by this file (`::after`, below; owner, 2026-11-20). Linked on careers pages only
 * (CAREERS_STYLESHEETS). Type-level: every `:spotlight` slot.
 *
 * Live (careers.deriv.com, measured 2026-11-12 at 1440 / 1024 / 768 / 390, EN + AR):
 * - band: #f6f7f8, 112px top/bottom (56px at 991 and below); 24px sides (16px at
 *   479 and below); heading 56/64 800 centred (48/56 at 991; 40/48 and aligned to
 *   the start at 767); 48px from the heading to the cards (32px at 991);
 * - cards: three columns from 992 (two from 768, one below), 16px apart (32px
 *   between rows at 767 and below); photo 4:3 with 32px corners, no outline,
 *   zooms to 1.1 on hover (0.3s); 24px from photo to label; label chip 32px tall,
 *   16px sides, rgba(24,28,37,.08), text 14/24 rgba(24,28,37,.72); 16px between
 *   label, title and copy (8px at 991); title 28/36 800 (24/32 at 991, 20/28 at
 *   767); copy 16/24.
 */
[data-raven-slot$=":spotlight"] .fb-section {
  background-color: #f6f7f8;
}
[data-raven-slot$=":spotlight"] .fb-section .fb-container {
  padding: 112px 24px;
  gap: 48px;
}
[data-raven-slot$=":spotlight"] .fb-title {
  font-size: 56px;
  line-height: 64px;
  font-weight: 800;
  max-width: 768px;
}
[data-raven-slot$=":spotlight"] .fb-grid {
  gap: 16px;
}
[data-raven-slot$=":spotlight"] .card-thumbnail .ct-thumbnailWrapper {
  border-radius: 32px;
  outline: none;
}
[data-raven-slot$=":spotlight"] .card-thumbnail .ct-thumbnailImage {
  transition: transform 0.3s ease;
}
[data-raven-slot$=":spotlight"] .card-thumbnail:not(.ct-horizontal) .ct-content {
  gap: 16px;
}
/* Live's Arabic card copy hugs its text from the right (`.card-content-wrapper:lang(ar)`
   aligns its items to the start), so a short title is only as wide as its words. */
[dir="rtl"] [data-raven-slot$=":spotlight"] .card-thumbnail .ct-content {
  align-items: flex-start;
}
[data-raven-slot$=":spotlight"] .card-thumbnail .tag {
  height: 32px;
  padding: 4px 16px;
  background-color: rgba(24, 28, 37, 0.08);
  color: rgba(24, 28, 37, 0.72);
  font-size: 14px;
  line-height: 24px;
}
/* A post by several authors (`allTags`, feature-blog-all-tags.ts) arrives with every
   name joined in one tag; it is split into one tag per name after render. Until then
   (no JavaScript, slow hydration) the joined tag wraps inside the card instead of
   widening it past a phone screen (the DS tag is `white-space: nowrap`). One-line tags
   keep live's 32px pill. (PR #875 review, 2026-11-17.) */
[data-raven-slot$=":spotlight"] .card-thumbnail .ct-tagsRow {
  min-width: 0;
  max-width: 100%;
}
[data-raven-slot$=":spotlight"] .card-thumbnail .tag {
  max-width: 100%;
  height: auto;
  min-height: 32px;
  white-space: normal;
  text-align: start;
}
[data-raven-slot$=":spotlight"] .card-thumbnail .tag .label {
  flex-shrink: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
[data-raven-slot$=":spotlight"] .card-thumbnail .ct-title {
  font-size: 28px;
  line-height: 36px;
  font-weight: 800;
  letter-spacing: -0.015rem;
}
[data-raven-slot$=":spotlight"] .card-thumbnail .ct-summary {
  font-size: 16px;
  line-height: 24px;
}
@media (max-width: 991px) {
  [data-raven-slot$=":spotlight"] .fb-section .fb-container {
    padding-block: 56px;
    gap: 32px;
  }
  [data-raven-slot$=":spotlight"] .fb-title {
    font-size: 48px;
    line-height: 56px;
  }
  [data-raven-slot$=":spotlight"] .card-thumbnail:not(.ct-horizontal) .ct-content {
    gap: 8px;
  }
  [data-raven-slot$=":spotlight"] .card-thumbnail .ct-title {
    font-size: 24px;
    line-height: 32px;
  }
}
@media (max-width: 767px) {
  [data-raven-slot$=":spotlight"] .fb-section .fb-container {
    align-items: stretch;
  }
  [data-raven-slot$=":spotlight"] .fb-title {
    font-size: 40px;
    line-height: 48px;
    text-align: start;
  }
  [data-raven-slot$=":spotlight"] .fb-grid {
    row-gap: 32px;
  }
  [data-raven-slot$=":spotlight"] .card-thumbnail .ct-title {
    font-size: 20px;
    line-height: 28px;
  }
}
@media (max-width: 479px) {
  [data-raven-slot$=":spotlight"] .fb-section .fb-container {
    padding-inline: 16px;
  }
}

/*
 * Live's Arabic Home shows a subtitle under the heading, "خلف المكتب: قصص الموظفين"
 * (live `.section-text-wrapper`: 16/24 regular, slate, 16px below the heading); the
 * English page has none, as live. The block has no subtitle slot, so it is drawn here
 * (design-system ask: a FeatureBlog `description`).
 */
[dir="rtl"] [data-raven-slot="careers:spotlight"] .fb-title::after {
  content: "\62e \644 \641  \627 \644 \645 \643 \62a \628 : \642 \635 \635  \627 \644 \645 \648 \638 \641 \64a \646 ";
  display: block;
  margin-top: 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: normal;
  color: rgb(24, 28, 37);
}
