/* components/legal.css — page-scope CSS for /legal-managers (Who we serve · Legal dept,
   Figma 17104:157210). Loaded page-gated via inc/kadence-legal.php (template page-legal-managers).

   REUSE NOTE: same "By department" layout as /enterprise + /smbs + /finance-managers + /hr-managers,
   so sections reuse the Enterprise frame-scoped kit (enterprise.css). The Legal frame has NO
   integrations logo grid, so finance.css/.rp-fin-integ is not loaded here. This file carries only
   the 2-col HERO (frame-scoped under .rp-legal). Wrapper: .rp-legal (parts/legal-managers-body.html). */

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

.rp-legal .rp-ent-hero__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.rp-legal .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-legal .rp-ent-hero__pill img { width: 20px; height: 20px; display: block; }

.rp-legal .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-legal .rp-ent-hero__h1 span { color: #114ef7; }
.rp-legal .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-legal .rp-ent-hero__ctas { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.rp-legal .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-legal .rp-ent-hero__cta--primary { background: #114ef7; color: #fff; border-radius: 4px; }
.rp-legal .rp-ent-hero__cta--primary:hover { background: #0d3fd0; }
.rp-legal .rp-ent-hero__cta--ghost { background: #fff; color: #0e1e36; border: 1px solid #e3e8f2; border-radius: 10px; font-size: 15px; }
.rp-legal .rp-ent-hero__cta--ghost:hover { border-color: #114ef7; color: #114ef7; }

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

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