@font-face {
    font-family: 'Nexa Rust Sans Black';
    src: url('sftp://ceppieorg.wordpress.com@sftp.wp.com/htdocs/wp-content/themes/neve/fonts/Nexa%20Rust%20Sans%20W00%20Black.ttf') format('truetype');
}

@font-face {
    font-family: 'Century Gothic';
    src: url('sftp://ceppieorg.wordpress.com@sftp.wp.com/htdocs/wp-content/themes/neve/fonts/GOTHIC.TTF') format('truetype');
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Nexa Rust Sans Black';
}


/* 1.3 Cuerpo de la página */
body {
	font-family: 'Century Gothic' !important;
	font-size: 14px;
	color: #6C348B;
	font-weight:bold;
	overflow-x: hidden;
	line-height: 25px;
	text-align: justify;
}

/* Responsive title */
@media (max-width: 760px) {
  .responsive-title {
    padding: 0px !important;
    font-size: 42px !important;
  }
}
/*
PASO 1 · CSS DE CORRECCIÓN.

Añadir al FINAL del CSS adicional de WordPress, sin etiquetas <style>.

Alcance: secciones con clase .cep-section.
Los selectores tienen más especificidad que las reglas genéricas
repetidas en los bloques actuales.

No requiere JavaScript.
*/

/* ==========================================================
   1. DIMENSIONES PREDECIBLES
   El padding y los bordes se incluyen dentro del ancho.
   ========================================================== */

.cep-section,
.cep-section *,
.cep-section *::before,
.cep-section *::after {
  box-sizing: border-box;
}

.cep-section {
  --cep-color-text: #28222e;
  --cep-color-purple: #582873;
  --cep-color-dark: #321743;
  --cep-color-border: #ded3e5;
  --cep-color-focus: #582873;

  color: var(--cep-color-text);
  line-height: 1.65;
}

.cep-section .cep-container {
  width: 100%;
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 3rem);
}

/* Permite encoger las columnas sin desbordamientos por texto. */
.cep-section :is(
  .cep-split,
  .cep-stack,
  .cep-section-header,
  .cep-stats,
  .cep-resource-grid
) > * {
  min-width: 0;
}

/* ==========================================================
   2. ESPACIADO Y JERARQUÍA TIPOGRÁFICA
   Los contenedores con gap controlan la separación.
   Se eliminan únicamente los márgenes de sus hijos directos.
   ========================================================== */

.cep-section .cep-stack > *,
.cep-section .cep-section-header > * {
  margin-block: 0;
}

.cep-section .cep-stack {
  align-items: stretch;
  gap: 1.5rem;
}

.cep-section .cep-section-header {
  gap: 0.9rem;
}

.cep-section h2 {
  color: var(--cep-color-dark);
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: none;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.cep-section h3 {
  color: var(--cep-color-dark);
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  font-weight: 700;
  line-height: 1.35;
  text-transform: none;
  overflow-wrap: break-word;
}

.cep-section p {
  font-size: 1rem;
  line-height: 1.7;
}

.cep-section .cep-eyebrow {
  color: var(--cep-color-purple);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==========================================================
   3. SECCIÓN OSCURA
   El tema puede asignar colores propios a títulos y párrafos:
   se establece su color explícitamente en este componente.
   ========================================================== */

.cep-section.cep-section--dark {
  --cep-color-focus: #ffdf80;

  color: #fff;
  background: var(--cep-color-dark);
}

.cep-section.cep-section--dark :is(h2, h3, p, .cep-eyebrow) {
  color: #fff;
}

.cep-section.cep-section--dark a:not(.cep-button),
.cep-section.cep-section--dark a:not(.cep-button):visited {
  color: #fff;
}

.cep-section.cep-section--dark a:not(.cep-button):hover {
  color: #ffdf80;
}

/* ==========================================================
   4. BOTONES
   Texto legible, estados coherentes y altura táctil suficiente.
   La variante clara aparece después para conservar su diseño.
   ========================================================== */

.cep-section a.cep-button,
.cep-section a.cep-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 0.85rem 1.25rem;
  border: 2px solid var(--cep-color-purple);
  border-radius: 0.55rem;
  background: var(--cep-color-purple);
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
}

.cep-section a.cep-button:hover {
  background: var(--cep-color-dark);
  border-color: var(--cep-color-dark);
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.cep-section.cep-section--dark a.cep-button {
  border-color: #fff;
}

.cep-section a.cep-button--light,
.cep-section a.cep-button--light:visited {
  background: #fff;
  border-color: #fff;
  color: var(--cep-color-dark);
}

.cep-section a.cep-button--light:hover {
  background: #eee6f3;
  border-color: #eee6f3;
  color: var(--cep-color-dark);
}

/* =======================================================
   5. TECLADO Y ENLACES
   El foco también cubre grabaciones, documentos y recursos.
   ======================================================= */

.cep-section a:focus-visible {
  outline: 3px solid var(--cep-color-focus);
  outline-offset: 4px;
}

.cep-section a:not(.cep-button) {
  text-underline-offset: 0.2em;
}

.cep-section .cep-resource-list a {
  overflow-wrap: anywhere;
}

.cep-section .cep-resource-grid > li {
  margin: 0;
  padding: 0;
}

.cep-section .cep-resource-grid a,
.cep-section .cep-resource-grid a:visited {
  color: var(--cep-color-purple);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* ==========================================================
   6. CIFRAS
   Hay tres indicadores: tres columnas en escritorio,
   una en pantallas pequeñas.
   ========================================================== */

.cep-section .cep-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.cep-section .cep-stats > div {
  align-content: start;
}

.cep-section .cep-stats dt {
  line-height: 1.5;
}

.cep-section .cep-stats dd {
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  overflow-wrap: break-word;
}

/* =======================================================
   7. IMÁGENES Y PANTALLAS PEQUEÑAS
   ======================================================= */

.cep-section .cep-banner {
  display: block;
  max-width: 100%;
  height: auto;
}

/* svh evita que el hero cambie de altura al ocultarse la barra móvil. */
@supports (min-height: 90svh) {
  .cep-home-hero {
    min-height: 90svh;
  }
}

@media (max-width: 48rem) {
  .cep-section .cep-split,
  .cep-section .cep-stats {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 35rem) {
  .cep-section .cep-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cep-section .cep-actions > .cep-button {
    width: 100%;
  }
}