/*
 * UAE section type `competition-how-3` (T6, 2026-11-07): live `.section_competition-how-3`
 * on the Promotions template ("Get your 25% in three steps"): heading and three numbered
 * steps beside a square picture. DS Steps (image right). Linked on UAE pages only; scoped
 * to the slot. Same layout family as S5's `competition-how` (Trading competitions; not migrated,
 * removed 2026-11-10), but a
 * different live build: white band, no top padding, big 48px numbers at every width.
 *
 * Live (measured 2026-11-07, EN + AR, 1440/1024/768/390; tmp/uae-batches/t6/measure):
 * white band, padding-top 0, bottom 112 / 80 (768) / 56 (390); content 1280px (1328px
 * container, 24px gutters, 16px on phones). From 768px two equal columns, text first,
 * picture second (Arabic mirrors), 64px apart (48px at 768), centred vertically; on phones
 * the picture comes first, 32px above the text. Picture square, no radius. Heading 56/64
 * (48/56 at 768, 40/48 on phones), -0.48px, 32px above the steps (16px on phones). Steps
 * 16px apart, each with 8px bottom padding: a coral number 48/56 weight 800, -0.4px, in a
 * 40px column, 8px before the text; title 28px weight 800, -0.16px, line height 36 (28 at
 * 768, 24 on phones), 8px above the copy (16/24).
 */
[data-raven-slot$=":competition-how-3"] {
  background-color: transparent;
}
[data-raven-slot$=":competition-how-3"].raven-section-pad {
  --raven-pad-top: 0px;
  --raven-pad-bottom: 56px;
}
[data-raven-slot$=":competition-how-3"] .steps {
  background: transparent;
  padding: 0;
}
[data-raven-slot$=":competition-how-3"] .steps__container {
  display: flex;
  flex-direction: column;
  max-width: 1328px;
  margin-inline: auto;
  padding-inline: 16px;
  box-sizing: border-box;
  gap: 32px;
}
[data-raven-slot$=":competition-how-3"] .steps__image-wrapper {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  overflow: hidden;
}
[data-raven-slot$=":competition-how-3"] .steps__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
[data-raven-slot$=":competition-how-3"] .steps__content {
  gap: 16px;
}
[data-raven-slot$=":competition-how-3"] .steps__title {
  margin: 0;
  max-width: none;
  text-wrap: wrap;
  font-size: 40px;
  line-height: 48px;
  font-weight: 800;
  letter-spacing: -0.48px;
  color: rgb(24, 28, 37);
}
[data-raven-slot$=":competition-how-3"] .steps__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  /* live's list grid ends 16px below its last step at every width (T6 checker
     follow-up, 2026-11-08: band 16px short at 1024/768/390, heading 8px low at 1440) */
  padding: 0 0 16px;
}
[data-raven-slot$=":competition-how-3"] .steps__item {
  border: 0;
  padding: 0 0 8px;
}
[data-raven-slot$=":competition-how-3"] .steps__item::before,
[data-raven-slot$=":competition-how-3"] .steps__item::after {
  content: none;
}
[data-raven-slot$=":competition-how-3"] .steps__item-inner {
  padding: 0;
  gap: 8px;
  align-items: flex-start;
}
[data-raven-slot$=":competition-how-3"] .steps__number {
  flex: 0 0 40px;
  width: 40px;
  min-width: 40px;
  height: auto;
  font-size: 48px;
  line-height: 56px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: rgb(255, 68, 79);
  justify-content: flex-start;
  text-align: start;
}
[data-raven-slot$=":competition-how-3"] .steps__item-body {
  gap: 8px;
}
[data-raven-slot$=":competition-how-3"] .steps__item-title {
  margin: 0;
  font-size: 28px;
  line-height: 24px;
  font-weight: 800;
  letter-spacing: -0.16px;
  color: rgb(24, 28, 37);
}
[data-raven-slot$=":competition-how-3"] .steps__item-description {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: rgb(24, 28, 37);
}
@media (min-width: 768px) {
  [data-raven-slot$=":competition-how-3"].raven-section-pad {
    --raven-pad-bottom: 80px;
  }
  [data-raven-slot$=":competition-how-3"] .steps__container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    padding-inline: 24px;
    gap: 48px;
  }
  [data-raven-slot$=":competition-how-3"] .steps__content {
    grid-column: 1;
    grid-row: 1;
    gap: 32px;
  }
  [data-raven-slot$=":competition-how-3"] .steps__image-wrapper {
    grid-column: 2;
    grid-row: 1;
  }
  [data-raven-slot$=":competition-how-3"] .steps__title {
    font-size: 48px;
    line-height: 56px;
  }
  [data-raven-slot$=":competition-how-3"] .steps__item-title {
    line-height: 28px;
  }
}
@media (min-width: 992px) {
  [data-raven-slot$=":competition-how-3"].raven-section-pad {
    --raven-pad-bottom: 112px;
  }
  [data-raven-slot$=":competition-how-3"] .steps__container {
    gap: 64px;
  }
  [data-raven-slot$=":competition-how-3"] .steps__title {
    font-size: 56px;
    line-height: 64px;
  }
  [data-raven-slot$=":competition-how-3"] .steps__item-title {
    line-height: 36px;
  }
}
