/* Entradas de Publicaciones: portada centrada y texto justificado */
.single .category-publicaciones .post-thumb-img-content{ text-align:center; }
.single .category-publicaciones .post-thumb-img-content img{ display:block; margin-left:auto; margin-right:auto; }
.single .category-publicaciones .entry-content > p{ text-align:justify; hyphens:auto; }

/* === Menú principal IBBY LAC (v2) === */
/* Escritorio: menú horizontal centrado en una fila; letra 16 px y barra azul de 48 px */
@media (min-width: 840px) {
  #ast-desktop-header .ast-below-header-bar,
  #ast-desktop-header .ast-below-header-bar .site-below-header-wrap {
    min-height: 48px;
  }
  #ast-desktop-header .ast-builder-menu-1 .main-header-menu {
    flex-wrap: nowrap;
    justify-content: center;
  }
  #ast-desktop-header .ast-builder-menu-1 .main-header-menu > .menu-item {
    line-height: 48px;
  }
  #ast-desktop-header .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link {
    font-size: 16px;
    line-height: 48px;
    white-space: nowrap;
  }
}

/* Entre 840 y 921 px Astra activaría el menú móvil: se mantiene el de escritorio */
@media (min-width: 840px) and (max-width: 921.98px) {
  .ast-header-break-point #ast-desktop-header { display: block; }
  .ast-header-break-point #ast-mobile-header { display: none; }
  #ast-desktop-header .ast-builder-menu-1 .main-header-menu {
    background: transparent;
    box-shadow: none;
    border: 0;
  }
  #ast-desktop-header .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link {
    color: var(--ast-global-color-5);
    padding-left: 16px;
    padding-right: 16px;
  }
  #ast-desktop-header .ast-builder-menu-1 .main-header-menu > .menu-item:hover > .menu-link,
  #ast-desktop-header .ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-item > .menu-link {
    color: var(--ast-global-color-6);
  }
}

/* Pantallas pequeñas (<840 px): botón de menú; desplegable azul con filas de 48 px */
@media (max-width: 839.98px) {
  .ast-mobile-header-wrap .ast-mobile-header-content {
    background-color: #0077b6;
  }
  .ast-builder-menu-mobile .main-navigation .main-header-menu,
  .ast-builder-menu-mobile .main-navigation .main-header-menu .sub-menu {
    background-color: #0077b6;
    border-top-color: rgba(255, 255, 255, 0.25);
  }
  .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 20px;
    font-size: 16px;
    line-height: 1.3;
    color: #fff;
    background-color: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.25);
  }
  .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link:hover,
  .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item.current-menu-item > .menu-link {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.14);
  }
}
