/* ==========================================
   LANDINGS HIGHLIGHT — imagen única y hero full
   ========================================== */
/* Oculta la imagen destacada que pinta Astra SOLO en landings Highlight */
body.highlighted-page-event .ast-single-post-featured-section,
body.highlighted-page-event .ast-article-single .post-thumb,
body.highlighted-page-event .ast-featured-image{
  display: none !important;
}

/* Quita cualquier espacio arriba del contenido */
body.highlighted-page-event .site-content .ast-container{
  padding-top: 0 !important;
}
body.highlighted-page-event .ast-article-single .entry-header{
  margin-bottom: 0 !important;
}
body.highlighted-page-event .ast-article-single .entry-content{
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* Elimina el block gap del PRIMER bloque dentro del contenido */
body.highlighted-page-event .ast-article-single .entry-content > *:first-child{
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}
/* (Opcional) si el header deja aire inferior, lo eliminamos */
body.highlighted-page-event .main-header-bar{
  margin-bottom: 0 !important;
}

/* Hero (primer Cover) a ancho completo y pegado al menú */
body.highlighted-page-event .entry-content > .wp-block-cover:first-of-type{
  margin-top: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  min-height: 320px !important;  /* altura del hero */
}
/* La imagen de fondo del hero debe cubrir toda el área */
body.highlighted-page-event .wp-block-cover__image-background{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Quita el margen que Astra pone al <article> cuando hay .ast-single-post-featured-section antes */
body.highlighted-page-event .ast-single-post-featured-section + article{
  margin-top: 0 !important;
}

/* Ocultar el título del post solo en landings Highlight (Gutenberg + Astra) */
body.highlighted-page-event .entry-header .entry-title,
body.highlighted-page-event .wp-block-post-title{
  display: none !important;
}

/* Evitar que quede hueco por el título oculto */
body.highlighted-page-event .entry-header{
  margin-bottom: 0 !important;
}

/* ===========================
   Pegado total al header (quita margen de #primary)
   =========================== */
body.highlighted-page-event #primary{
  margin-top: 0 !important;
}
body.highlighted-page-event.ast-plain-container.ast-no-sidebar #primary,
body.highlighted-page-event.ast-separate-container #primary,
body.highlighted-page-event.ast-page-builder-template #primary{
  margin-top: 0 !important;
}
