/* components/finance.css — page-scope CSS for /finance-managers (Who we serve · Finance dept,
   Figma 17104:156051). Loaded page-gated via inc/kadence-finance.php (template page-finance-managers,
   EN 157 / AR 3016).

   REUSE NOTE: same "By department" layout as /enterprise + /smbs, so sections reuse the Enterprise
   frame-scoped kit classes directly (enterprise.css is also enqueued): .rp-ent-intro, .rp-ent-feature/
   .rp-ent-expertise, .rp-ent-features, .rp-ent-cta, + .rp-quote-carousel. This file carries only the
   2-col HERO (frame-scoped under .rp-finance) and the finance-specific accounting-integrations logo
   grid (.rp-fin-integ). Wrapper: .rp-finance (parts/finance-managers-body.html). */

/* ── HERO — 2-col: pills + h1 + sub + 2 CTAs LEFT, consolidated-invoice mock RIGHT. Gradient
   matched to the canonical lavender (#F1F5FE → #E4EBFE) for the hero mock's edge-free blend. */
.rp-finance .rp-ent-hero { background: linear-gradient(180deg, #F1F5FE 0%, #E4EBFE 100%); padding: 72px 24px 80px; overflow: hidden; }
.rp-finance .rp-ent-hero__inner { max-width: 1340px; margin: 0 auto; display: flex; align-items: center; gap: 48px; }
.rp-finance .rp-ent-hero__text { flex: 1 0 560px; max-width: 624px; min-width: 0; }
.rp-finance .rp-ent-hero__media { flex: 0 1 580px; min-width: 0; display: flex; justify-content: flex-end; }
.rp-finance .rp-ent-hero__img { width: 580px; max-width: 100%; height: auto; }

.rp-finance .rp-ent-hero__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.rp-finance .rp-ent-hero__pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 40px; padding: 8px 12px; font-family: Mulish, sans-serif; font-weight: 700; font-size: 12px; line-height: 20px; color: #044d80; box-shadow: 0 1px 3px rgba(2,17,67,0.06); }
.rp-finance .rp-ent-hero__pill img { width: 20px; height: 20px; display: block; }

.rp-finance .rp-ent-hero__h1 { font-family: Mulish, sans-serif; font-weight: 700; font-size: 56px; line-height: 64px; color: #021143; margin: 0 0 24px; }
.rp-finance .rp-ent-hero__h1 span { color: #114ef7; }
.rp-finance .rp-ent-hero__sub { font-family: Mulish, sans-serif; font-weight: 400; font-size: 18px; line-height: 27.9px; color: #4a5878; margin: 0 0 32px; max-width: 540px; }

.rp-finance .rp-ent-hero__ctas { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.rp-finance .rp-ent-hero__cta { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 16px 24px; font-family: Mulish, sans-serif; font-weight: 700; font-size: 14px; line-height: 22px; text-decoration: none; white-space: nowrap; }
.rp-finance .rp-ent-hero__cta--primary { background: #114ef7; color: #fff; border-radius: 4px; }
.rp-finance .rp-ent-hero__cta--primary:hover { background: #0d3fd0; }
.rp-finance .rp-ent-hero__cta--ghost { background: #fff; color: #0e1e36; border: 1px solid #e3e8f2; border-radius: 10px; font-size: 15px; }
.rp-finance .rp-ent-hero__cta--ghost:hover { border-color: #114ef7; color: #114ef7; }

/* Feature-2 light band = canonical #F0F4FE so the ledger mock blends edge-free. */
.rp-finance .rp-feature-split--blue { background: #F0F4FE; }

@media (max-width: 991px) {
  .rp-finance .rp-ent-hero__inner { flex-direction: column; text-align: center; gap: 40px; }
  .rp-finance .rp-ent-hero__text { flex: 1 1 auto; max-width: 640px; }
  .rp-finance .rp-ent-hero__media { flex: 1 1 auto; justify-content: center; }
  .rp-finance .rp-ent-hero__img { width: 480px; }
  .rp-finance .rp-ent-hero__pills, .rp-finance .rp-ent-hero__ctas { justify-content: center; }
  .rp-finance .rp-ent-hero__sub { margin-left: auto; margin-right: auto; }
}
@media (max-width: 560px) {
  .rp-finance .rp-ent-hero__h1 { font-size: 38px; line-height: 46px; }
  .rp-finance .rp-ent-hero__img { width: 100%; }
}
[dir="rtl"] .rp-finance .rp-ent-hero__inner { flex-direction: row-reverse; }
[dir="rtl"] .rp-finance .rp-ent-hero__media { justify-content: flex-start; }
[dir="rtl"] .rp-finance .rp-ent-hero__text { text-align: right; } /* AR hero text was left-aligned (A-K1) */
@media (max-width: 991px) { [dir="rtl"] .rp-finance .rp-ent-hero__inner { flex-direction: column; } }

/* ── FINANCE INTEGRATIONS (.rp-fin-integ) — finance-specific accounting-stack logo grid (NOT the
   shared home-integrations). Centered heading + sub + "See all integrations" link, then a row of
   logo cards (logo + name + "Accounting"). */
.rp-fin-integ { padding: 24px 24px 80px; text-align: center; font-family: Mulish, sans-serif; }
.rp-fin-integ__inner { max-width: 1200px; margin: 0 auto; }
.rp-fin-integ__h { font-size: 40px; line-height: 1.2; font-weight: 700; color: #021143; margin: 0 0 16px; }
.rp-fin-integ__h .hl { color: #114ef7; }
.rp-fin-integ__sub { font-size: 18px; line-height: 1.55; color: #5a6378; max-width: 720px; margin: 0 auto 16px; }
.rp-fin-integ__link { display: inline-flex; align-items: center; gap: 8px; color: #114ef7; font-weight: 700; font-size: 16px; text-decoration: none; margin-bottom: 40px; }
.rp-fin-integ__link:hover { text-decoration: underline; }
.rp-fin-integ__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.rp-fin-integ__card { background: #F5F7FA; border-radius: 16px; padding: 32px 16px 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.rp-fin-integ__logo { height: 40px; width: auto; max-width: 120px; object-fit: contain; display: block; }
.rp-fin-integ__name { font-size: 18px; font-weight: 700; color: #021143; }
.rp-fin-integ__label { font-size: 14px; color: #8a93ab; margin-top: -8px; }
@media (max-width: 991px) {
  .rp-fin-integ__h { font-size: 28px; }
  .rp-fin-integ__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) { .rp-fin-integ__grid { grid-template-columns: repeat(2, 1fr); } }
[dir="rtl"] .rp-fin-integ { text-align: center; }
