.page-id-1977 .wp-block-post-title {

display: none;

}

/* ====== ESTILOS GLOBALES PARA TODOS LOS BLOQUES COVER ====== */

/* Overlay semitransparente en cualquier cover */
body .wp-block-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 0;
}

/* Contenedor del texto dentro del cover */
body .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  text-align: center !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
  margin: 0 auto;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

/* Ajuste tipográfico en escritorio */
body .wp-block-cover__inner-container h1,
body .wp-block-cover__inner-container h2 {
  font-size: 3rem;
  line-height: 1.2em;
}

body .wp-block-cover__inner-container h3,
body .wp-block-cover__inner-container h4 {
  font-size: 1.6rem;
  line-height: 1.3em;
}

body .wp-block-cover__inner-container p {
  font-size: 1.2rem;
  line-height: 1.5em;
}

/* Evitar que las palabras se corten en los covers */
body .wp-block-cover__inner-container h1,
body .wp-block-cover__inner-container h2,
body .wp-block-cover__inner-container h3,
body .wp-block-cover__inner-container h4,
body .wp-block-cover__inner-container p {
  word-break: normal !important;
  hyphens: none !important;
  white-space: normal !important;
  overflow-wrap: break-word;
  text-wrap: balance;
}

/* Ajuste tipográfico en móviles */
@media (max-width: 768px) {
  body .wp-block-cover__inner-container h1,
  body .wp-block-cover__inner-container h2,
  body .wp-block-cover__inner-container h3,
  body .wp-block-cover__inner-container h4 {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
    line-height: 1.2em;
  }

  body .wp-block-cover__inner-container p {
    font-size: clamp(1rem, 4vw, 1.2rem) !important;
    line-height: 1.4em;
  }
}

/* Forzar tamaño de H4 en los covers */
body .wp-block-cover__inner-container h4 {
  font-size: 3rem !important;  /* igual que H2 */
  line-height: 1.2em !important;
}

@media (max-width: 768px) {
  body .wp-block-cover__inner-container h4 {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
    line-height: 1.2em !important;
  }
}

/* Ajuste solo para la primera imagen de cover en la página de embarazo */
.cover-embarazo-principal {
  background-position: center top !important; /* Ajusta la parte que quieres mostrar */
  background-size: cover !important;          /* Mantiene que cubra todo el bloque */
}

/* Ajuste de fondo en móviles para la portada embarazo */
@media (max-width: 768px) {
  .cover-embarazo-principal {
    background-position: top center !important; /* parte superior visible */
    background-size: 110% !important;           /* menos zoom que el original */
    background-repeat: no-repeat !important;    /* evita repeticiones */
    background-attachment: scroll !important;   /* previene que se mueva al tocar */
  }
}

/* Ajuste solo para la primera imagen de cover en la página de embarazo */
.cover-tarifa-lactancia {
  background-position: center top !important; /* Ajusta la parte que quieres mostrar */
  background-size: cover !important;          /* Mantiene que cubra todo el bloque */
}

/* Ajuste de fondo en móviles para la portada embarazo */
@media (max-width: 768px) {
  .cover-tarifa-lactancia {
    background-position: top center !important; /* parte superior visible */
    background-size: 110% !important;           /* menos zoom que el original */
    background-repeat: no-repeat !important;    /* evita repeticiones */
    background-attachment: scroll !important;   /* previene que se mueva al tocar */
  }
}
