/* =========================================================================
   rp-go-global — component styles ("Go Global with Confidence")
   Scope: .rp-kgoglobal. Section/row backgrounds + padding come from Kadence
   block ATTRIBUTES. This file = typography / button / illustration panel.
   ========================================================================= */

/* ---- H2 (two-tone, centred) ------------------------------------------- */
.rp-kgoglobal .rp-gg-h2 {
  font-family: Mulish, -apple-system, sans-serif;
  font-size: 40px;
  line-height: 48px;
  font-weight: 700;
  text-align: center;
  color: #2A2A2A;
  max-width: 900px;
  margin: 0 auto 16px;
}
.rp-kgoglobal .rp-gg-h2 .highlight-it-blue { color: #114EF7; }

/* ---- feature row: vertical-centre the two columns --------------------- */
.rp-kgoglobal .rp-gg-row > .kt-row-column-wrap { align-items: center; }

/* ---- text column ------------------------------------------------------ */
.rp-kgoglobal .rp-gg-title {
  font-family: Mulish, -apple-system, sans-serif;
  font-size: 32px;
  line-height: 42px;     /* Figma 7688:71249 — was normal */
  font-weight: 700;
  color: #2a2a2a;        /* Figma — was #000000 */
  margin: 0 0 16px;
}
.rp-kgoglobal .rp-gg-desc {
  font-family: Mulish, -apple-system, sans-serif;
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  color: #696969;
  margin: 0 0 24px;
  max-width: 520px;
}

/* ---- "White xl" outline button ---------------------------------------- */
.rp-kgoglobal .rp-gg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 25px;
  border-radius: 6px;
  border: 1px solid #114EF7;
  background: #F0F4FE;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.rp-kgoglobal .rp-gg-btn span {
  font-family: Inter, Mulish, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: #114EF7;
}
.rp-kgoglobal .rp-gg-btn:hover { background: #e4ebfe; }

/* ---- illustration panel (Lottie) -------------------------------------- */
.rp-kgoglobal .rp-gg-illo {
  border-radius: 24.59px;
  overflow: hidden;
  width: 100%;
}
.rp-kgoglobal .rp-gg-illo dotlottie-player,
.rp-kgoglobal .rp-gg-illo .double-section-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
}

/* ---- responsive ------------------------------------------------------- */
@media (max-width: 991px) {
  .rp-kgoglobal .rp-gg-h2 { font-size: 32px; line-height: 40px; }
  .rp-kgoglobal .rp-gg-title { font-size: 26px; }
  .rp-kgoglobal .rp-gg-desc { font-size: 17px; line-height: 26px; }
}
/* Consistent mobile feature-row order — [M4/M5]. Desktop zigzags text|image vs image|text,
   so the mobile stack alternated image-above / image-below and looked broken. Force
   image BELOW the text block for EVERY row: text column first, image column last.
   Columns are named ...columngg_r{N}_txt / ..._img (order works in the collapsed grid). */
@media (max-width: 767px) {
  .rp-kgoglobal [class*="columngg_r"][class*="_txt"] { order: 1; }
  .rp-kgoglobal [class*="columngg_r"][class*="_img"] { order: 2; }
}

/* QA: Ask AI feature row (gg_r6) bg = #F0F4FE per clean Builder export (was #FFF) */
body.home .kb-row-layout-idgg_r6.kt-row-has-bg { background-color: #F0F4FE !important; }

/* QA: the light-blue feature rows (r2/r4/r6) were inset ~15px each side -> full-bleed the row
   background. The Kadence inner column-wrap keeps the content centred; overflow-x:clip on the
   section prevents the 100vw breakout from creating horizontal scroll. */
body.home .kb-row-layout-idgg_o { overflow-x: clip; }
body.home .kb-row-layout-idgg_r2.kt-row-has-bg,
body.home .kb-row-layout-idgg_r4.kt-row-has-bg,
body.home .kb-row-layout-idgg_r6.kt-row-has-bg {
  margin-left: calc(50% - 50vw) !important;
  width: 100vw !important;
  max-width: 100vw !important;
}
