/* ==========================================================================
   Integrations — Hero (rp-int-hero) · LP-family match (2026-07-24, Mo):
   hero = local-payroll EN, pixel-matched (same playbook as automations/
   bulk-actions heroes). LP reference (1400px): pills above h1 (render_block,
   refs 7552/7553) · h1 2.95rem/56 700 #021143 normal tracking mb16 · sub 16/24
   400 #545454 mb16 · CTA h57 r8 16.25px/500 pad 15x32 #114EF7 (ctas mt 27) ·
   cols 626/610 centered · img 610x556 contain (existing integrations art kept) · LP
   gradient band continuing through the brands bar (see qa-fixes-global.css integrations block). Tablet 768-991: h1 36/53, sub 20/28, img 65% centred, pad 40;
   mobile <=767: h1 32/40, img 100%, pad 16, CTA h56 full-width.
   ========================================================================== */
.rp-int-hero {
  background: linear-gradient(rgba(228, 235, 254, 0), #e4ebfe 120px, #e4ebfe);
}
.rp-int-hero__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 24px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}
.rp-int-hero__text { flex: 0 1 626px; max-width: 626px; }
.rp-int-hero__media { flex: 0 1 610px; min-width: 0; }
.rp-int-hero__img { display: block; width: 610px; height: 556px; object-fit: contain; max-width: 100%; }

.rp-int-hero__title {
  font-weight: 700;
  font-size: 2.95rem;
  line-height: 56px;
  letter-spacing: normal;
  color: #021143;
  margin: 0 0 16px;
}

.rp-int-hero__sub {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #545454;
  margin: 0 0 16px;
}

.rp-int-hero__ctas { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 27px; }
.rp-int-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 57px;
  background: #114EF7;
  color: #fff;
  font-weight: 500;
  font-size: 16.25px;
  line-height: 1;
  padding: 15px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.rp-int-hero__cta:hover { background: #0E45D6; color: #fff; }
.rp-int-hero__cta--ghost {
  background: #fff;
  color: #114EF7;
  border: 1px solid #114EF7;
}
.rp-int-hero__cta--ghost:hover { background: #F0F4FE; color: #114EF7; }

@media (max-width: 991px) {
  /* side gutters match LP's effective content width: 40 tablet, 16 mobile */
  .rp-int-hero__inner { flex-direction: column; text-align: start; padding: 40px 40px 0; gap: 36px; align-items: flex-start; }
  .rp-int-hero__text { flex: 0 1 auto; max-width: 100%; }
  .rp-int-hero__media { flex: 0 1 auto; width: 100%; }
  .rp-int-hero__ctas { justify-content: flex-start; }
  .rp-int-hero__title { font-size: 36px; line-height: 53px; }
  .rp-int-hero__sub { margin-bottom: 16px; font-size: 20px; line-height: 28px; }
  .rp-int-hero__img { width: 65%; height: auto; margin: 0 auto; }
}
@media (max-width: 767px) {
  .rp-int-hero__inner { padding: 40px 16px 0; }
  .rp-int-hero__title { font-size: 32px; line-height: 40px; letter-spacing: normal; }
  .rp-int-hero__img { width: 100%; }
  .rp-int-hero__cta { height: 56px; font-size: 0.928rem; line-height: 1.5; padding: 16px 4px; width: 100%; }
}

/* The block's own rating pills row (g2-rating.svg markup) is replaced by the
   injected LP G2/Capterra pill pair — hide the original. */
.rp-int-hero__pills { display: none !important; }

/* A sitewide inline "hero typography" block pins .rp-int-hero__title.rp-int-hero__title
   (and __sub) to 54/62 with !important — triple-class (0,3,0) out-specifies it
   at every breakpoint so the LP values above actually win. */
.rp-int-hero__title.rp-int-hero__title.rp-int-hero__title {
  font-size: 2.95rem !important; line-height: 56px !important; letter-spacing: normal !important;
}
.rp-int-hero__sub.rp-int-hero__sub.rp-int-hero__sub {
  font-size: 16px !important; line-height: 24px !important; color: #545454 !important;
}
@media (max-width: 991px) {
  .rp-int-hero__title.rp-int-hero__title.rp-int-hero__title { font-size: 36px !important; line-height: 53px !important; }
  .rp-int-hero__sub.rp-int-hero__sub.rp-int-hero__sub { font-size: 20px !important; line-height: 28px !important; }
}
@media (max-width: 767px) {
  .rp-int-hero__title.rp-int-hero__title.rp-int-hero__title { font-size: 32px !important; line-height: 40px !important; }
}
