/* components/hr.css — page-scope CSS for /hr-managers (Who we serve · HR dept, Figma 17104:156644).
   Loaded page-gated via inc/kadence-hr.php (template page-hr-managers, EN 156 / AR 3015).

   REUSE NOTE: same "By department" layout as /enterprise + /smbs + /finance-managers, so sections
   reuse the Enterprise frame-scoped kit (enterprise.css) + Finance's .rp-fin-integ logo grid (finance.css).
   This file carries only the 2-col HERO (frame-scoped under .rp-hr). Wrapper: .rp-hr (parts/hr-managers-body.html). */

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

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

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

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

@media (max-width: 991px) {
  .rp-hr .rp-ent-hero__inner { flex-direction: column; text-align: center; gap: 40px; }
  .rp-hr .rp-ent-hero__text { flex: 1 1 auto; max-width: 640px; }
  .rp-hr .rp-ent-hero__media { flex: 1 1 auto; justify-content: center; }
  .rp-hr .rp-ent-hero__img { width: 480px; }
  .rp-hr .rp-ent-hero__pills, .rp-hr .rp-ent-hero__ctas { justify-content: center; }
  .rp-hr .rp-ent-hero__sub { margin-left: auto; margin-right: auto; }
}
@media (max-width: 560px) {
  .rp-hr .rp-ent-hero__h1 { font-size: 38px; line-height: 46px; }
  .rp-hr .rp-ent-hero__img { width: 100%; }
  /* Adil QA (2026-07-15): the 2 hero CTAs must be HORIZONTAL (side-by-side) on mobile — the earlier
     column stack was the inverse of the ticket. Put them on ONE row of two equal halves that fit 342px.
     figma-fixes-b.css sets `.rp-hr .rp-ent-hero__cta{padding:15px 32px!important;font-size:16.25px
     !important;height:57px!important}` UNCONDITIONALLY, so we must beat it with higher specificity
     (`.rp-ent-hero__ctas .rp-ent-hero__cta`, 0-3-0) + !important, and shrink padding/font so the longest
     label ("Book A 15-Min Demo") fits a ~166px half without overflow. Explicit width (not flex-grow) is
     used so the sizing is deterministic. */
  .rp-hr .rp-ent-hero__ctas { flex-direction: row; flex-wrap: nowrap; align-items: stretch; justify-content: center; gap: 10px; }
  .rp-hr .rp-ent-hero__ctas .rp-ent-hero__cta { flex: 0 0 auto !important; width: calc(50% - 5px) !important; min-width: 0 !important; max-width: none !important; padding: 12px 6px !important; font-size: 13px !important; }
}
[dir="rtl"] .rp-hr .rp-ent-hero__inner { flex-direction: row; } /* SMBs-style: natural RTL row → image LEFT in AR; ≤991 re-stacks to column below */
[dir="rtl"] .rp-hr .rp-ent-hero__media { justify-content: flex-start; }
[dir="rtl"] .rp-hr .rp-ent-hero__text { text-align: right; } /* AR hero text was left-aligned (A-K1) */
@media (max-width: 991px) { [dir="rtl"] .rp-hr .rp-ent-hero__inner { flex-direction: column; } }

/* ── INTEGRATIONS — reuses Finance's .rp-fin-integ but HR has 6 app-icon logos (vs Finance's 5
   wordmarks): 6-col grid + larger square icon tiles. */
.rp-hr .rp-fin-integ__grid { grid-template-columns: repeat(6, 1fr); gap: 16px; }
.rp-hr .rp-fin-integ__logo { height: 52px; max-width: 52px; object-fit: contain; }
@media (max-width: 991px) { .rp-hr .rp-fin-integ__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .rp-hr .rp-fin-integ__grid { grid-template-columns: repeat(2, 1fr); } }
