/**
 * Our Services hub (page slug service) — centered hero, blurred bg, icon grid, single CTA.
 */
body.page-id-1864 .pisc-service-hub-page,
body.page-id-1864 .pisc-service-hub-hero {
  --pisc-hub-overlay: rgba(18, 37, 96, 0.36);
}

/* Undo service-page left grid from grc-recruitment.css on hub inner stack */
body.page-id-1864 .pisc-service-hub-hero .pisc-service-hub-hero__inner,
body.page-id-1864 .pisc-service-hub-hero .hero__inner,
body.page-id-1864 .pisc-service-hub-hero .e-con.pisc-service-hub-hero__inner,
body.page-id-1864 .pisc-service-hub-hero .e-con.hero__inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  grid-template-columns: unset !important;
  width: min(1140px, 92vw) !important;
  max-width: min(1140px, 92vw) !important;
  margin-inline: auto !important;
  gap: clamp(2rem, 4vw, 3rem) !important;
  padding: clamp(3.5rem, 8vw, 5rem) clamp(1.25rem, 4vw, 2rem) !important;
}

body.page-id-1864 .pisc-service-hub-hero__intro {
  max-width: 760px;
  margin-inline: auto;
}

body.page-id-1864 .pisc-service-hub-hero {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

body.page-id-1864 .pisc-service-hub-hero__intro,
body.page-id-1864 .pisc-service-hub-hero__intro .e-con-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  text-align: center !important;
}

body.page-id-1864 .pisc-service-hub-hero__intro .elementor-widget,
body.page-id-1864 .pisc-service-hub-hero__intro .elementor-widget-container {
  width: 100% !important;
  text-align: center !important;
}

body.page-id-1864 .pisc-service-hub-hero__intro .elementor-widget-heading,
body.page-id-1864 .pisc-service-hub-hero__intro .elementor-widget-text-editor,
body.page-id-1864 .pisc-hub-eyebrow,
body.page-id-1864 .pisc-hub-title,
body.page-id-1864 .pisc-hub-desc,
body.page-id-1864 .pisc-service-hub-hero__intro .hero__title,
body.page-id-1864 .pisc-service-hub-hero__intro .hero__desc,
body.page-id-1864 .pisc-service-hub-hero__intro .section-eyebrow--light,
body.page-id-1864 .pisc-service-hub-page .pisc-service-hub-hero .hero__title,
body.page-id-1864 .pisc-service-hub-page .pisc-service-hub-hero .hero__desc {
  width: 100% !important;
  max-width: 760px !important;
  margin-inline: auto !important;
  text-align: center !important;
}

/* Beat legacy pisc-svc-hero-align inline (loads after this stylesheet) */
body.page-id-1864 .pisc-service-hub-page.pisc-service-page:not(.pisc-grc-page) .pisc-service-hub-hero .hero__title,
body.page-id-1864 .pisc-service-hub-page.pisc-service-page:not(.pisc-grc-page) .pisc-service-hub-hero .hero__title .elementor-heading-title,
body.page-id-1864 .pisc-service-hub-page.pisc-service-page:not(.pisc-grc-page) .pisc-service-hub-hero .hero__desc,
body.page-id-1864 .pisc-service-hub-page.pisc-service-page:not(.pisc-grc-page) .pisc-service-hub-hero .hero__desc p,
body.page-id-1864 .pisc-service-hub-page.pisc-service-page:not(.pisc-grc-page) .pisc-service-hub-hero .hero__badge,
body.page-id-1864 .pisc-service-hub-page.pisc-service-page:not(.pisc-grc-page) .pisc-service-hub-hero .section-eyebrow--light .elementor-heading-title {
  text-align: center !important;
  margin-inline: auto !important;
  max-width: 760px !important;
}

body.page-id-1864 .pisc-hub-eyebrow .elementor-heading-title,
body.page-id-1864 .pisc-hub-title .elementor-heading-title,
body.page-id-1864 .pisc-hub-desc,
body.page-id-1864 .pisc-hub-desc p {
  text-align: center !important;
  margin-inline: auto !important;
  color: #fff !important;
}

body.page-id-1864 .pisc-hub-eyebrow .elementor-heading-title {
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pisc-color-4, #7492e3) !important;
}

body.page-id-1864 .pisc-hub-title .elementor-heading-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem) !important;
  line-height: 1.12 !important;
}

body.page-id-1864 .pisc-hub-title .elementor-heading-title em {
  color: var(--pisc-color-4, #7492e3) !important;
  font-style: normal;
}

body.page-id-1864 .pisc-hub-desc {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92) !important;
}

body.page-id-1864 .pisc-service-hub-services {
  width: 100% !important;
  max-width: 980px !important;
  margin-inline: auto !important;
}

body.page-id-1864 .pisc-hub-service-card-wrap {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: var(--pisc-radius, 12px) !important;
  backdrop-filter: blur(6px);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

body.page-id-1864 .pisc-hub-service-card-wrap:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.32) !important;
}

body.page-id-1864 .pisc-hub-service-card-wrap .elementor-icon-box-wrapper,
body.page-id-1864 .pisc-hub-service-card-wrap a.elementor-icon-box-wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 1.35rem 1rem !important;
  gap: 0.65rem !important;
  color: #fff !important;
  text-decoration: none !important;
}

body.page-id-1864 .pisc-hub-service-card-wrap .elementor-icon {
  color: var(--pisc-color-4, #7492e3) !important;
  font-size: 1.5rem !important;
}

body.page-id-1864 .pisc-hub-service-card-wrap .elementor-icon i {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "Font Awesome 6 Pro", "Font Awesome 5 Pro", "FontAwesome" !important;
  font-weight: 900;
}

/* Hub cards sit inside hero — never hide via scroll-reveal */
body.page-id-1864 .pisc-service-hub-hero .pisc-hub-service-card-wrap,
body.page-id-1864 .pisc-service-hub-hero .pisc-hub-service-card-wrap.reveal,
body.page-id-1864 .pisc-service-hub-hero .pisc-service-hub-cta,
body.page-id-1864 .pisc-service-hub-hero .pisc-service-hub-hero__intro .reveal {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  filter: none !important;
}

body.page-id-1864 .pisc-hub-service-card-wrap .elementor-icon-box-title {
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

body.page-id-1864 .pisc-hub-service-card-wrap .elementor-icon-box-description {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
}

body.page-id-1864 .pisc-service-hub-cta {
  display: flex !important;
  justify-content: center !important;
  width: 100%;
  padding-top: 0.5rem;
}

body.page-id-1864 .pisc-hub-cta-btn .elementor-button {
  min-width: min(320px, 88vw);
  justify-content: center;
}

@media (max-width: 767px) {
  body.page-id-1864 .pisc-service-hub-services {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body.page-id-1864 .pisc-service-hub-services {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
