/* AUTO-GENERATED from qa-fixes-hero.css via rtlcss. Do not edit by hand.
   Loaded only on AR pages by inc/i18n-setup.php.
*/
/* =========================================================================
   RP KADENCE HERO — scoped styling (component-system, 2026-06-02)
   The light-blue wash background + padding + rounded bottom come from the
   Kadence Row Layout block ATTRIBUTES (rendered by Kadence's generated CSS).
   This file only handles typography / colour / pill + button / media layout.
   Scope: .rp-khero  (outer Kadence Row Layout className)
   ========================================================================= */

/* ---- rating pills row ------------------------------------------------- */
.rp-khero .g2_header_tags_container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.rp-khero .g2_tags {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: none;
  border-radius: 40px;
  padding: 8px 12px;
}
.rp-khero .g2_tags_img { width: 20px; height: 20px; display: block; }
.rp-khero .g2_tags_text { font-size: 12px; font-weight: 700; color: #044D80; white-space: nowrap; }

/* ---- H1 (Kadence Advanced Heading) ------------------------------------ */
.rp-khero .rp-hero-h1 {
  font-family: Mulish, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 3.35rem;          /* QA 2026-07-07 item 2: Figma H1 (was 64px) */
  line-height: 64px;           /* QA 2026-07-07 item 2 (was 72px) */
  letter-spacing: -1px;
  color: #021143;
  margin: 0 0 20px;
}
.rp-khero .rp-hero-h1 .highlight-it-blue { color: #114EF7; }

/* ---- sub paragraph ---------------------------------------------------- */
.rp-khero .rp-hero-sub {
  font-size: 20px;
  line-height: 28px;
  color: #3f3f3f;
  margin: 0 0 24px;
  max-width: 624px;
}

/* ---- CTAs ------------------------------------------------------------- */
.rp-khero .rp-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.rp-khero .rp-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Mulish, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 22px;
  min-height: 56px;            /* Figma button height (was auto, ~54) */
  box-sizing: border-box;
  padding: 16px 24px;
  border-radius: 4px;
  border: 1px solid transparent;
  text-transform: capitalize;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.rp-khero .rp-hero-btn-primary { background: #114EF7; color: #ffffff; border-color: #114EF7; }
.rp-khero .rp-hero-btn-primary:hover { background: #0d3fd0; border-color: #0d3fd0; color: #ffffff; }
.rp-khero .rp-hero-btn-secondary { background: #ffffff; color: #114EF7; border-color: #114EF7; }
.rp-khero .rp-hero-btn-secondary:hover { background: #f0f4ff; color: #114EF7; }

/* ---- right: video thumbnail + player overlay (JS hook preserved) ------ */
.rp-khero .main-hero-section-img-container { position: relative; display: block; }
.rp-khero .main-hero-section-thumbnail {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}
.rp-khero .main-hero-section-player-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.rp-khero .video-player-btn { width: 64px; height: 64px; display: block; }

/* ---- brands strip ----------------------------------------------------- */
.rp-khero .new_landing_page_brands_header {
  text-align: center;
  font-size: 24px;               /* per request: was 32px */
  line-height: 40px;
  font-weight: 700;
  text-transform: none;          /* FIX 1: kill the uppercase */
  color: #021143;
  margin: 8px 0 20px;
}
/* Brand-bar block (rp-khero-brands) — top padding per request. */
.rp-khero .rp-khero-brands {
  padding-top: 56px;
}
.rp-khero .new_landing_page_brands_header .highlight-it-blue { color: #114EF7; }
.rp-khero .new-listed-brands-sub-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;   /* Figma logo-cloud gap (was 32 40) */
}
.rp-khero .new-listed-brands-sub-section-img { height: 36px; width: auto; }
.rp-khero .new-listed-brands-sub-section-img.blue-filter {
  filter: invert(85%);   /* dark/grey monochrome, matching live + Figma (NOT blue) */
}

/* ---- buttons: Figma sizing (Button_Large 255x56 / 199x56 in a 478 row) --- */
@media (min-width: 768px) {
  .rp-khero .rp-hero-btns { width: 478px; max-width: 100%; justify-content: space-between; gap: 16px; flex-wrap: nowrap !important; }
  .rp-khero .rp-hero-btn-primary { width: 255px; flex: 1 1 auto; min-width: 0; }
  .rp-khero .rp-hero-btn-secondary { width: 199px; flex: 1 1 auto; min-width: 0; }
}

/* ---- column vertical centring on desktop ------------------------------ */
@media (min-width: 768px) {
  .rp-khero .kb-row-layout-idherorow > .kt-row-column-wrap { align-items: center; }
}

/* ---- hero wash: EXACT Figma value (Builder.io export of node 15115:26962)
   background: linear-gradient(180deg, rgba(228,235,254,0) 0%, #E4EBFE 70.53%), #FFF
   i.e. transparent->#E4EBFE by 70.53% over a white base (top reads white). --- */
.rp-khero.kt-row-has-bg {
  background-color: #ffffff !important;
  background-image: linear-gradient(-180deg, rgba(228,235,254,0) 0%, #e4ebfe 15.53%) !important; /* QA 2026-07-07 item 1 (was 70.53%) */
  /* Figma logo-cloud: border-radius 0 0 56px 56px -> the wash has a rounded bottom */
  border-bottom-right-radius: 56px !important;
  border-bottom-left-radius: 56px !important;
}
.rp-khero { overflow: hidden; }   /* clip the wash to its rounded bottom (also clips the blob) */

/* ---- decorative quatrefoil blob (#114EF7) bottom-right behind the video
   (Figma "Shapes" node 15115:27304, 323x323, exact vector). ---------------- */
.rp-khero { overflow: hidden; }              /* clip blob bleed, respects rounded bottom */
.rp-khero .rp-hero-col-right { position: relative; }
.rp-khero .rp-hero-col-right::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 290px;
  height: 290px;
  left: -78px;
  bottom: -86px;
  background: url(../images/rp-hero-blob.svg) no-repeat center / contain;
  pointer-events: none;
}
.rp-khero .rp-hero-col-right .kt-inside-inner-col { position: relative; z-index: 1; }
@media (max-width: 767px) { .rp-khero .rp-hero-col-right::after { display: none; } }
/* RTL: mirror the blob to the outer-left of the video (Arabic hero) */
html[dir="rtl"] .rp-khero .rp-hero-col-right::after { left: auto; right: -78px; }

/* ---- QA 2026-07-07 item 3: hero column split → 5/7. In RTL the grid
   auto-mirrors, so text (col1) lands right / visual (col2) left per Figma AR. */
@media (min-width: 768px) {
  .rp-khero .kt-row-column-wrap.kt-has-2-columns { grid-template-columns: 41.667fr 58.333fr !important; }
}

/* ---- QA 2026-07-07 item 4: hero inner wrap → max-width 1300, centred, 24px L/R.
   padding-bottom REVERTED (Mohamed 2026-07-07) — original spacing was designed well. */
.rp-khero .kt-row-column-wrap.kt-has-1-columns {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  padding-top: 40px;
}
.rp-khero .kt-row-column-wrap.kt-has-2-columns { max-width: 1300px; }

/* ---- responsive ------------------------------------------------------- */
@media (max-width: 991px) {
  .rp-khero .rp-hero-h1 { font-size: 44px; line-height: 52px; }

  /* Remove the 24px hero image offset on tablet/mobile — RTL uses margin-right (Mohamed 2026-07-07). */
  .rp-khero .main-hero-section-img-container { margin-right: 0 !important; }

  /* QA 2026-07-07 item 7: hero stacks — visual below text. */
  .rp-khero .kt-row-column-wrap.kt-has-2-columns {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
  }

  /* QA 2026-07-07 item 8: hero CTAs stay in a row, equal width. */
  .rp-khero .rp-hero-btns {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
    width: auto !important;
  }
  .rp-khero .rp-hero-btn,
  .rp-khero .rp-hero-btn-primary,
  .rp-khero .rp-hero-btn-secondary {
    flex: 1 1 0 !important;
    width: auto !important;
  }

  /* QA 2026-07-07 items 9+11: "Trusted by" brands strip → single row (tablet+mobile). */
  .rp-khero .new-listed-brands-sub-section {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .rp-khero .new-listed-brands-sub-section-img { min-width: 0; }
}
@media (max-width: 767px) {
  .rp-khero .rp-hero-h1 { font-size: 34px; line-height: 42px; }

  /* QA 2026-07-07 (Mohamed): mobile brands strip → flex row, centered.
     Overrides responsive-global.min.css display:grid !important. */
  .rp-khero .new-listed-brands-sub-section {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    grid-template-columns: none !important;
  }
}
