html[dir="rtl"] body.careers-page,
html[dir="rtl"] body.career-detail-page {
  letter-spacing: 0;
}

html[dir="rtl"] .careers-hero__image {
  transform: scaleX(-1);
}

html[dir="rtl"] .careers-hero__shade {
  background: linear-gradient(270deg, rgba(17, 19, 21, .8), rgba(17, 19, 21, .64) 50%, rgba(17, 19, 21, .44));
}

html[dir="rtl"] .careers-hero h1 {
  font-weight: 900;
}

html[dir="rtl"] .careers-hero [data-video-open] .career-button__orb img {
  transform: scaleX(-1);
}

body.careers-page #page-hero .header .language__btn {
  font-family: Arial, sans-serif;
}

@media (min-width: 900px) {
  .careers-hero__primary { width: 430px; }
  .careers-metrics { width: 430px; direction: ltr; }
  .careers-hero__secondary { width: 440px; }
  .careers-hero__actions { width: 442px; }
  .careers-hero .career-button--light { width: 233px; }
  .careers-hero .career-button--glass { width: 193px; }

  body.careers-page #page-hero .header .brand,
  body.careers-page #page-hero .header .brand__logo {
    width: 264px;
  }

  body.careers-page #page-hero .header .nav {
    right: 326px;
    width: 610px;
  }
}

@media (max-width: 899px) {
  body.careers-page #page-hero .header .brand,
  body.careers-page #page-hero .header .brand__logo,
  body.careers-page #page-hero .header .mobile-menu__brand,
  body.careers-page #page-hero .header .mobile-menu__brand img {
    width: 176px;
    height: 32px;
  }
}

html[dir="rtl"] .career-marquee {
  direction: ltr;
}

html[dir="rtl"] .career-area-card {
  direction: rtl;
}

html[dir="rtl"] .career-life-card {
  direction: rtl;
}

html[dir="rtl"] body.careers-page .career-job-card__arrow img { transform: scaleX(-1); }
html[dir="rtl"] body.careers-page .career-job-card__link:is(:hover, :focus-visible) .career-job-card__arrow img { transform: scaleX(-1) rotate(90deg); }
html[dir="rtl"] .career-job-card h3,
html[dir="rtl"] .career-job-tabs button { font-weight: 700; }
html[dir="rtl"] .career-job-card__meta,
html[dir="rtl"] .career-job-card__link,
html[dir="rtl"] .career-job-count,
html[dir="rtl"] .career-load-more > span { font-weight: 400; }
@media (min-width: 701px) {
  html[dir="rtl"] .career-jobs .career-heading h2 > strong { line-height: 64px; }
  html[dir="rtl"] .career-jobs__content { margin-top: 44px; }
}

html[dir="rtl"] .career-form__phone > span {
  border-right: 1px solid #e8e5e3;
  border-left: 0;
  border-radius: 0 16px 16px 0;
}

html[dir="rtl"] .career-form__phone > input {
  border-radius: 16px 0 0 16px;
}

html[dir="rtl"] .career-testimonial blockquote,
html[dir="rtl"] .career-testimonial footer,
html[dir="rtl"] .career-life-card > div,
html[dir="rtl"] .career-talent__form-card,
html[dir="rtl"] .career-step {
  text-align: right;
}

html[dir="rtl"] .career-accordion h3 button {
  text-align: center;
}

html[dir="rtl"] .career-select-field::after {
  transform: scaleX(-1);
}

@media (max-width: 700px) {
  html[dir="rtl"] .career-form__phone > span {
    border-radius: 0 12px 12px 0;
  }

  html[dir="rtl"] .career-form__phone > input {
    border-radius: 12px 0 0 12px;
  }
}

html[dir="rtl"] .career-feedback .career-heading h2 { line-height: 64px; }
html[dir="rtl"] .career-testimonials { margin-top: 131px; }
html[dir="rtl"] .career-testimonial::before { inset-inline-start: auto; left: -334px; background-image: url("assets/figma/feedback/card-flourish-hover.svg"); }
html[dir="rtl"] .career-testimonial blockquote,
html[dir="rtl"] .career-testimonial footer span { font-weight: 400; }
html[dir="rtl"] .career-testimonial footer strong { font-weight: 700; }
html[dir="rtl"] .career-carousel-controls button[data-testimonial-prev] > span::before { transform: none; }
html[dir="rtl"] .career-carousel-controls button[data-testimonial-next] > span::before { transform: rotate(180deg); }

@media (max-width: 700px) {
  html[dir="rtl"] .career-feedback .career-heading h2 { line-height: 30px; }
  html[dir="rtl"] .career-testimonials { margin-top: 90px; }
}

html[dir="rtl"] body.careers-page .career-hiring { --hiring-entry-x: -1430px; }
@media (min-width: 701px) {
  html[dir="rtl"] body.careers-page .career-hiring .career-heading h2 { line-height: 64px; }
  html[dir="rtl"] body.careers-page .career-hiring__steps { margin-top: 56px; }
  html[dir="rtl"] body.careers-page .career-step { text-align: center; }
}

html[dir="rtl"] body.careers-page .career-hiring .career-eyebrow,
html[dir="rtl"] body.careers-page .career-hiring__card p { font-weight: 400; }
html[dir="rtl"] body.careers-page .career-hiring__card h3 { font-weight: 700; }

html[dir="rtl"] body.careers-page .career-talent { --talent-visual-entry: 840px; --talent-form-entry: -751px; }
html[dir="rtl"] body.careers-page .career-form__phone > input { border-radius: 16px; text-align: right; }
html[dir="rtl"] body.careers-page .career-consent em { font-family: inherit; font-weight: 400; }
html[dir="rtl"] body.careers-page .career-talent__people { padding: 4px 4px 4px 16px; }
@media (max-width: 700px) {
  html[dir="rtl"] body.careers-page .career-form__phone > input { border-radius: 12px; }
}

html[dir="rtl"] body.careers-page .career-form__phone > label { inset-inline-start: 16px; }
html[dir="rtl"] body.careers-page .career-form__phone > input { padding-left: 80px; padding-right: 16px; }

/* FAQ typography follows the Persian Figma components. */
html[dir="rtl"] body.careers-page .career-faq { font-family: "Yekan Bakh FaNum", "Yekan Bakh", Arial, sans-serif; }
html[dir="rtl"] body.careers-page .career-faq .career-eyebrow,
html[dir="rtl"] body.careers-page .career-faq__filters button,
html[dir="rtl"] body.careers-page .career-accordion__answer p,
html[dir="rtl"] body.careers-page .career-accordion__number { font-weight: 400; }
html[dir="rtl"] body.careers-page .career-accordion h3 button > span:nth-child(2) { font-weight: 700; }
@media (min-width: 701px) {
  html[dir="rtl"] body.careers-page .career-faq .career-heading h2 > strong { line-height: 64px; }
  html[dir="rtl"] body.careers-page .career-faq__list { margin-top: 42px; }
  html[dir="rtl"] body.careers-page .career-faq::before,
  html[dir="rtl"] body.careers-page .career-faq::after { transform: scaleY(-1); }
}
