/* ==========================================================================
   Calendar — Hero (rp-calendar-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 7564/7565) · 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 calendar art kept) · LP
   gradient band continuing through the brands bar (see qa-fixes-global.css
   calendar 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-calendar-hero {
  background: linear-gradient(rgba(228, 235, 254, 0), #e4ebfe 120px, #e4ebfe);
}
.rp-calendar-hero__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 24px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}
.rp-calendar-hero__text { flex: 0 1 626px; max-width: 626px; }
.rp-calendar-hero__media { flex: 0 1 610px; min-width: 0; }
.rp-calendar-hero__img { display: block; width: 610px; height: 556px; object-fit: contain; max-width: 100%; }

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

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

.rp-calendar-hero__ctas { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 27px; }
.rp-calendar-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-calendar-hero__cta:hover { background: #0E45D6; color: #fff; }
.rp-calendar-hero__cta--ghost {
  background: #fff;
  color: #114EF7;
  border: 1px solid #114EF7;
}
.rp-calendar-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-calendar-hero__inner { flex-direction: column; text-align: start; padding: 40px 40px 0; gap: 36px; align-items: flex-start; }
  .rp-calendar-hero__text { flex: 0 1 auto; max-width: 100%; }
  .rp-calendar-hero__media { flex: 0 1 auto; width: 100%; }
  .rp-calendar-hero__ctas { justify-content: flex-start; }
  .rp-calendar-hero__title { font-size: 36px; line-height: 53px; }
  .rp-calendar-hero__sub { margin-bottom: 16px; font-size: 20px; line-height: 28px; }
  .rp-calendar-hero__img { width: 65%; height: auto; margin: 0 auto; }
}
@media (max-width: 767px) {
  .rp-calendar-hero__inner { padding: 40px 16px 0; }
  .rp-calendar-hero__title { font-size: 32px; line-height: 40px; letter-spacing: normal; }
  .rp-calendar-hero__img { width: 100%; }
  .rp-calendar-hero__cta { height: 56px; font-size: 0.928rem; line-height: 1.5; padding: 16px 4px; width: 100%; }
}

/* h1 accent span — LP-family blue highlight (the original component styled it;
   the LP-template rewrite dropped it). */
.rp-calendar-hero__accent { color: #114ef7; }
