/* HirePath: centrar solo encabezados e introducciones, con alcance limitado por body_class. */
body.hpce-center .hpnv-vacantes > .hpnv-heading,
body.hpce-center .hpnv-vacantes > .hp-heading,
body.hpce-center .hp-wrap.hp-content > .hp-heading,
body.hpce-center .hp-wrap.hp-content > header.hp-heading {
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  width:100%!important;
  margin-inline:auto!important;
}
body.hpce-center .hpnv-vacantes .hpnv-heading > div,
body.hpce-center .hp-wrap.hp-content > .hp-heading > div {
  width:100%!important;
  max-width:min(100%,var(--hpce-heading-width,900px))!important;
  margin-inline:auto!important;
  text-align:center!important;
}
body.hpce-center .hpnv-vacantes .hpnv-heading :is(.hp-eyebrow,h1,h2),
body.hpce-center .hp-wrap.hp-content > .hp-heading :is(.hp-eyebrow,h1,h2) {
  display:block;
  width:fit-content;
  max-width:100%;
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:center!important;
}
body.hpce-center .hpnv-vacantes .hpnv-heading :is(p,.description),
body.hpce-center .hp-wrap.hp-content > .hp-heading p {
  max-width:min(100%,var(--hpce-intro-width,790px))!important;
  width:100%;
  margin:12px auto 0!important;
  text-align:center!important;
  line-height:1.65!important;
}
/* Páginas: centrar el encabezado y primer párrafo introductorio. */
body.hpce-center.page .hp-article.hp-content > h1,
body.hpce-center.page .hp-article.hp-content > h1 + p,
body.hpce-center.page .hp-article.hp-content > h1 + .wp-block-paragraph {
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:center!important;
}
body.hpce-center.page .hp-article.hp-content > h1 {max-width:var(--hpce-heading-width,900px)!important;}
body.hpce-center.page .hp-article.hp-content > h1 + p {max-width:var(--hpce-intro-width,790px)!important;}
/* Entradas: título, etiqueta, fecha y primer párrafo introductorio. */
body.hpce-center.single-post .hp-article > article.hp-content > .hp-eyebrow,
body.hpce-center.single-post .hp-article > article.hp-content > h1,
body.hpce-center.single-post .hp-article > article.hp-content > .hp-disclaimer {
  display:block!important;
  max-width:min(100%,var(--hpce-heading-width,900px));
  text-align:center!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.hpce-center.single-post .hp-article > article.hp-content > .hp-disclaimer {max-width:var(--hpce-intro-width,790px)}
body.hpce-center.single-post .hp-article .hp-entry > p:first-child {
  max-width:min(100%,var(--hpce-intro-width,790px))!important;
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:center!important;
}
/* Astra y plantillas que usan el encabezado estándar de WordPress. */
body.hpce-center :is(.entry-header,.ast-single-post .entry-header,.ast-archive-description,.page-header) {
  text-align:center!important;
}
body.hpce-center :is(.entry-header,.ast-archive-description,.page-header) :is(.entry-title,.page-title,h1,.archive-title,.entry-meta,.ast-breadcrumbs-wrapper) {
  text-align:center!important;
  margin-left:auto!important;
  margin-right:auto!important;
  max-width:min(100%,var(--hpce-heading-width,900px));
}
body.hpce-center :is(.ast-archive-description,.page-header) > p,
body.hpce-center .entry-content > p:first-child {
  text-align:center!important;
  max-width:min(100%,var(--hpce-intro-width,790px));
  margin-left:auto!important;
  margin-right:auto!important;
}
/* Mantener centrado únicamente en cabeceras, sin cambiar tarjetas ni el cuerpo de las guías. */
@media(max-width:680px) {
  body.hpce-center .hpnv-vacantes .hpnv-heading :is(h1,h2),
  body.hpce-center .hp-wrap.hp-content > .hp-heading :is(h1,h2),
  body.hpce-center .hp-article.hp-content > h1,
  body.hpce-center.single-post .hp-article > article.hp-content > h1 {
    font-size:clamp(28px,8vw,38px)!important;
    line-height:1.16!important;
    overflow-wrap:break-word!important;
    text-wrap:balance;
  }
  body.hpce-center .hpnv-vacantes .hpnv-heading p,
  body.hpce-center .hp-wrap.hp-content > .hp-heading p {
    font-size:clamp(15px,3.8vw,17px)!important;
    line-height:1.62!important;
  }
  body.hpce-center .hpnv-vacantes {padding-top:28px!important;}
}
