/*
 Theme Name: Astra Child
 Template: astra
*/
/* Blog post card title in red */
.bh-post-card-title {
  color: #B91C1C;
  font-weight: 700;
}

.bh-post-card-title:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.bh-post-card-categories {
  color: #B91C1C !important;
}

.bh-post-card-content .bh-post-card-categories {
  color: #B91C1C !important;
}

.bh-post-card-categories a {
  color: #B91C1C !important;
}

/* Categorías en vista de categoría */
.ast-taxonomy-container.cat-links a {
  color: #B91C1C !important;
}

/* Unificar ancho de cards también en vista de categoría */
.archive .ast-article-inner {
  max-width: 300px;
  margin: 0 auto;
}

/* Fondo blanco para todo el sitio */
body {
  background-color: #ffffff !important;
}

/* Forzar sticky header en el blog también */
body.blog .main-header-bar,
body.archive .main-header-bar,
body.single-post .main-header-bar {
  position: sticky !important;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Fix sticky header on blog */
#ast-desktop-header {
  position: sticky !important;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #ffffff; /* o el color que necesites para el fondo */
}

/* Post titles on cards with theme color without text decoration */
.bh-post-card-title a,
.bh-post-card-title a:hover,
.bh-post-card-title a:focus {
  color: var(--ast-global-color-2) !important;
  text-decoration: none !important;
  box-shadow: none !important; /* por si Astra usa shadow underline */
}
