/* ==========================================================
   ATRÍPTICO — BLOG (listado, categorías, archivo, tag, búsqueda, autor)
   SOLO afecta a páginas del blog porque functions.php lo encola ahí.
   ========================================================== */

/* ---------- LISTADO DEL BLOG (body.blog) ---------- */
/* Texto BLANCO en TODO el grid para que se lea sobre el fondo oscuro del tema */
body.blog .nectar-post-grid,
body.blog .nectar-post-grid *{
  color:#ffffff !important;
  font-family:'Gilroy Semibold', sans-serif !important; /* Blog listing = Gilroy */
}

/* Títulos dentro de cada card */
body.blog .nectar-post-grid .nectar-post-grid-item h3 a{
  color:#ffffff !important;
  font-weight:700 !important;
}
body.blog .nectar-post-grid .nectar-post-grid-item:hover h3 a{
  color:#f4a56f !important; /* naranja marca al hover */
}

/* Excerpt en blanco también */
body.blog .nectar-post-grid .nectar-post-grid-item p{
  color:#ffffff !important;
}

/* Chips de categoría (marrón claro) */
body.blog .meta-category a{
  background:#b7a28a !important;   /* marrón claro */
  color:#ffffff !important;
  border-radius:20px !important;
  padding:4px 12px !important;
  font-size:13px !important;
  font-family:'Gilroy Semibold', sans-serif !important;
}
body.blog .meta-category a:hover{ background:#2d3a30 !important; } /* verde oscuro al pasar */

/* Si el grid declara data-text-color="dark", mantenemos blanco igualmente */
body.blog .nectar-post-grid[data-text-color="dark"] .nectar-post-grid-item .content *{
  color:#ffffff !important;
}

/* Evitar mezclas/filtros que tiñan los textos en verde en el listing */
body.blog .row-bg:before,
body.blog .row-bg:after{
  mix-blend-mode: initial !important;
  filter:none !important;
}

/* ---------- CATEGORÍAS / ARCHIVOS / TAG (fondos claros como tienes) ---------- */
/* Chips marrón claro igual que en listing */
body.archive .meta-category a,
body.category .meta-category a,
body.tag .meta-category a{
  background:#b7a28a !important;
  color:#ffffff !important;
  border-radius:20px !important;
  padding:4px 12px !important;
  font-size:13px !important;
  font-family:'Gilroy Semibold', sans-serif !important;
}
body.archive .meta-category a:hover,
body.category .meta-category a:hover,
body.tag .meta-category a:hover{
  background:#2d3a30 !important;
}

/* Si el header de categoría viniera oscuro, lo dejamos claro y legible */
body.archive #page-header-bg,
body.category #page-header-bg,
body.tag #page-header-bg{ background:#f7f3ef !important; }
body.archive #page-header-bg .row-bg,
body.category #page-header-bg .row-bg,
body.tag #page-header-bg .row-bg{
  background:#f7f3ef !important; background-image:none !important; opacity:1 !important;
}
body.archive #page-header-bg *,
body.category #page-header-bg *,
body.tag #page-header-bg *{
  color:#2d3a30 !important;
  font-family:'Gilroy Semibold', sans-serif !important;
}

/* ---------- SINGLE POST (entradas individuales) ---------- */
/* Fondo claro + texto oscuro */
body.single-post,
body.single-post #ajax-content-wrap .container.main-content,
body.single-post #ajax-content-wrap .container.main-content .row-bg{
  background:#f7f3ef !important;
  background-image:none !important;
  opacity:1 !important;
  color:#2d3a30 !important;
}

/* TÍTULOS del artículo en TAN AEGEAN (como pediste) */
body.single-post h1,
body.single-post h2,
body.single-post h3,
body.single-post h4{
  font-family:'Tan Aegean', serif !important;
  color:#2d3a30 !important;
  font-weight:600 !important;
}

/* Tamaños:
   - Título principal (H1 del inicio de la entrada) = 30px
   - Subtítulos dentro del texto (h2/h3/h4) = 20px
   - Texto del artículo (p, li, figcaption, blockquote) = 18px
*/
body.single-post h1.entry-title,
body.single-post .single .title h1,
body.single-post .post-content > h1{
  font-size:30px !important;
  line-height:1.25 !important;
}
body.single-post .content-inner h2,
body.single-post .content-inner h3,
body.single-post .content-inner h4{
  font-size:20px !important;
  line-height:1.35 !important;
}
body.single-post .content-inner p,
body.single-post .content-inner li,
body.single-post .content-inner figcaption,
body.single-post .content-inner blockquote{
  font-family:'Gilroy Semibold', sans-serif !important;
  color:#2d3a30 !important;
  font-size:18px !important;
  line-height:1.6 !important;
}

/* Ocultar autor (nombre/avatar) */
body.single-post .author,
body.single-post .meta-author,
body.single-post .nectar-post-meta .author{
  display:none !important;
}

/* ---------- Footer SIEMPRE oscuro (por si alguna fila lo pisa) ---------- */
#footer-outer,
#footer-outer .container,
#footer-outer .row,
#footer-outer .row-bg-wrap .row-bg,
#footer-outer .row-bg,
#footer-outer .row-bg:before,
#footer-outer .row-bg:after{
  background:#111 !important;
  background-image:none !important;
  opacity:1 !important;
}
#footer-outer, #footer-outer *{ color:#fff !important; }
#footer-outer a:hover{ color:#f4a56f !important; }
