/*
 * Careers section type `market-hero` (B2, 2026-11-11): live `.section_hero_markets`
 * (`home-hero_content_align-centre is-commodities is-100vh`, `.home-hero_button-2`,
 * `.culture-hero_bottom-image`) on /our-culture: the UAE market-hero type (ae/markets.css
 * `:hero`), copied, not linked. DS Hero `showcase`. Linked on careers pages only
 * (CAREERS_STYLESHEETS). Slot `market-hero` (Home's `hero` is another type).
 *
 * Live (deriv-careers.6943a00ac78267882a60bb12.*.css, read 2026-11-11; computed styles at
 * 1440, 1024, 768 and 390, EN and AR): a 100vh band (at least 564px; no minimum below
 * 480px) in a 1280px container with 24px gutters, padded 96px on top below 992px and 72px
 * below 480px. Inside, one centred column padded 136px on top (80px below 992px, none below
 * 480px, 192px from 1920px): h1 80/88 (64/72 below 992px, 48/56 below 480px, weight 800),
 * 16px to the copy (16/24, at most 768px wide in English, not capped in Arabic), 16px to
 * the coral "Join us" pill (48px, 16px 24px, 16/16 weight 800, 0.56px tracking; full
 * width below 480px, 24px under the copy below 768px, 16px below 480px). The picture box
 * takes the rest of the band; the picture (contain, bottom) is at most 58vh tall and sits
 * 1.5vh below the band's foot; below 480px its box runs edge to edge (max 412px picture),
 * rounded 24px at the foot. Below 480px the text starts at the start edge (right in
 * Arabic). Shade (computed on live): #181c25 at 71% fading out by 55% (80% at 2% to 0 at
 * 70% below 480px).
 */
[data-raven-slot$=":market-hero"] .hero {
  position: relative;
  overflow: hidden;
  height: auto;
}
[data-raven-slot$=":market-hero"] .hero__overlay {
  background-image: linear-gradient(rgba(24, 28, 37, 0.71), rgba(255, 255, 255, 0) 55%);
}
[data-raven-slot$=":market-hero"] .hero__inner {
  box-sizing: border-box;
  max-width: 80rem;
  height: 100vh;
  min-height: 564px;
  padding: 0 24px;
}
[data-raven-slot$=":market-hero"] .hero__content {
  box-sizing: border-box;
  height: 100%;
  padding-top: 136px;
  padding-bottom: 0;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
}
[data-raven-slot$=":market-hero"] :is(.hero__text, .hero__buttons) {
  flex-shrink: 0;
}
[data-raven-slot$=":market-hero"] .hero__text {
  width: auto;
  max-width: min(100%, 992px);
  gap: 16px;
  align-items: center;
  text-align: center;
}
[data-raven-slot$=":market-hero"] .hero__title {
  margin: 0;
  font-size: 80px;
  line-height: 88px;
  font-weight: 800;
  letter-spacing: normal;
}
[data-raven-slot$=":market-hero"] .hero__description {
  width: 100%;
  max-width: 768px;
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}
[dir="rtl"] [data-raven-slot$=":market-hero"] .hero__description {
  max-width: none;
}
[data-raven-slot$=":market-hero"] .hero__buttons {
  justify-content: center;
  gap: 8px;
}
[data-raven-slot$=":market-hero"] .hero__buttons .button {
  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-hero"] .hero__product-image {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  align-self: center;
  width: 58vh;
  height: auto;
  min-height: 0;
  max-width: 100%;
  max-height: none;
  margin: 0;
  overflow: visible;
}
[data-raven-slot$=":market-hero"] .hero__product-image img {
  flex: none;
  position: relative;
  top: 1.5vh;
  display: block;
  width: 100%;
  height: 58vh;
  max-height: 58vh;
  object-fit: contain;
  object-position: 50% 100%;
}
@media (min-width: 1920px) {
  [data-raven-slot$=":market-hero"] .hero__content {
    padding-top: 192px;
  }
}
@media (max-width: 991px) {
  [data-raven-slot$=":market-hero"] .hero__inner {
    padding-top: 96px;
  }
  [data-raven-slot$=":market-hero"] .hero__content {
    padding-top: 80px;
  }
  [data-raven-slot$=":market-hero"] .hero__title {
    font-size: 64px;
    line-height: 72px;
  }
}
@media (max-width: 767px) {
  [data-raven-slot$=":market-hero"] .hero__description {
    margin-bottom: 24px;
  }
}
@media (max-width: 479px) {
  /* Live's phone photo is anchored 7% from the start (`.is-stocks`). */
  [data-raven-slot$=":market-hero"] .hero {
    background-position: 7% 50%;
  }
  [data-raven-slot$=":market-hero"] .hero__overlay {
    background-image: linear-gradient(rgba(24, 28, 37, 0.8) 2%, rgba(24, 28, 37, 0) 70%);
  }
  [data-raven-slot$=":market-hero"] .hero__inner {
    min-height: 0;
    padding: 72px 16px 0;
  }
  [data-raven-slot$=":market-hero"] .hero__content {
    padding-top: 0;
    gap: 0;
    align-items: stretch;
  }
  [data-raven-slot$=":market-hero"] .hero__text {
    max-width: none;
    gap: 16px;
    align-items: flex-start;
    text-align: start;
  }
  [data-raven-slot$=":market-hero"] .hero__title {
    font-size: 48px;
    line-height: 56px;
  }
  [data-raven-slot$=":market-hero"] .hero__description {
    margin-bottom: 16px;
  }
  [data-raven-slot$=":market-hero"] .hero__buttons {
    flex-direction: column;
    align-items: stretch;
  }
  [data-raven-slot$=":market-hero"] .hero__buttons :is(a, .button) {
    width: 100%;
  }
  [data-raven-slot$=":market-hero"] .hero__product-image {
    align-self: stretch;
    width: auto;
    max-width: none;
    margin-inline: -16px;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
    align-items: center;
  }
  [data-raven-slot$=":market-hero"] .hero__product-image img {
    max-width: 412px;
  }
}
