/* ============================================================
   Enlightened Education — Blog-ES, estética académica
   Cargado por el plugin ee-blog-todo (fuente única de verdad;
   no hace falta pegar nada en Personalizar > CSS adicional)
   ============================================================ */

body.ee-blog-es-style .entry-content,
body.ee-blog-es-style .wp-block-post-content,
.ee-blog-grid {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 14px;
  line-height: 1.7;
  color: #1f1f1f;
}

body.ee-blog-es-style .entry-content,
body.ee-blog-es-style .wp-block-post-content {
  text-align: justify;
  hyphens: auto;
}

/* Título del artículo — máx 18px */
body.ee-blog-es-style .entry-title {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #111111;
  text-align: left;
  border-bottom: 2px solid #2b2b2b;
  padding-bottom: 0.4em;
  margin-bottom: 0.8em;
}

/* Subtítulos internos (H2) — 14px */
body.ee-blog-es-style .entry-content h2 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #2b2b2b;
  text-align: left;
  margin-top: 2em;
  margin-bottom: 0.6em;
  border-bottom: 1px solid #cccccc;
  padding-bottom: 0.3em;
}

body.ee-blog-es-style .entry-content h3 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  color: #2b2b2b;
  text-align: left;
  margin-top: 1.6em;
  margin-bottom: 0.4em;
}

body.ee-blog-es-style .entry-content p {
  margin: 0 0 1em 0;
}

body.ee-blog-es-style .entry-content a {
  color: #5c4420;
  text-decoration: underline;
}
body.ee-blog-es-style .entry-content a:hover {
  color: #2b2b2b;
}

body.ee-blog-es-style .entry-content blockquote {
  font-size: 13px;
  font-style: italic;
  color: #333333;
  border-left: 3px solid #999999;
  padding-left: 1em;
  margin: 1.5em 0;
  text-align: left;
}

body.ee-blog-es-style .entry-content ul,
body.ee-blog-es-style .entry-content ol {
  font-size: 14px;
  margin: 1em 0 1em 1.4em;
  text-align: left;
}
body.ee-blog-es-style .entry-content li {
  margin-bottom: 0.4em;
}

body.ee-blog-es-style .entry-content hr {
  border: none;
  border-top: 1px solid #cccccc;
  margin: 2em 0;
}

/* Bloque de cierre — [ee_cta]...[/ee_cta] */
body.ee-blog-es-style .entry-content .ee-cta-block {
  margin-top: 2em;
  padding: 1em 1.2em;
  border: 1px solid #2b2b2b;
  background: #f7f5f0;
  font-size: 13px;
  text-align: left;
}
body.ee-blog-es-style .entry-content .ee-cta-block a {
  font-weight: 700;
}
body.ee-blog-es-style .entry-content .ee-cta-block p:last-child {
  margin-bottom: 0;
}

/* Firma / byline final */
body.ee-blog-es-style .entry-content .ee-byline {
  display: block;
  margin-top: 1.5em;
  font-size: 12px;
  font-style: italic;
  color: #555555;
  text-align: left;
}

/* ============================================================
   Portada / Índice por Capítulos — tabla de contenidos académica,
   va arriba de todo el [ee_blog_grid]
   ============================================================ */

.ee-toc-portada {
  max-width: 720px;
  margin: 0 auto 2.8em auto;
  background: #fbf8ef;
  border: 1px solid #c9bfa0;
  padding: 14px;
}

.ee-toc__frame {
  position: relative;
  border: 1px solid #c9bfa0;
  padding: 1.6rem 2rem;
  text-align: left;
}

.ee-toc__title {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2b2320;
  margin: 0 0 0.3em 0;
}

.ee-toc__subtitle {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 12px;
  font-style: italic;
  text-align: center;
  color: #8a7a55;
  margin: 0 0 1.6em 0;
}

.ee-toc__chapter {
  margin-bottom: 1.6em;
}

.ee-toc__chapter-head {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  border-bottom: 2px double #8a7a55;
  padding-bottom: 0.3em;
  margin-bottom: 0.5em;
}

.ee-toc__roman {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  color: #8a7a55;
}

.ee-toc__chapter-title {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 16px;
  font-weight: 700;
  color: #2b2320;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ee-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ee-toc__list li {
  font-size: 14px;
  line-height: 1.7;
  padding-left: 1.6em;
}
.ee-toc__list li::before {
  content: "❦";
  color: #8a7a55;
  margin-left: -1.6em;
  margin-right: 0.4em;
}

.ee-toc__list a {
  color: #5c4420;
  text-decoration: none;
}
.ee-toc__list a:hover {
  text-decoration: underline;
  color: #2b2320;
}

/* ============================================================
   Encabezado de sección ("Últimos artículos")
   ============================================================ */

.ee-blog-grid__section-title {
  max-width: 720px;
  margin: 0 auto 0.8em auto;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  color: #111111;
}

/* ============================================================
   Listado — [ee_blog_grid], lista vertical estilo journal
   (reemplaza al viejo Classic Blog Grid)
   ============================================================ */

.ee-blog-grid {
  max-width: 720px;
  margin: 0 auto;
}

.ee-blog-grid__item {
  padding: 1.4em 0;
  border-bottom: 1px solid #cccccc;
  text-align: left;
}
.ee-blog-grid__item:first-child {
  padding-top: 0;
}

.ee-blog-grid__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.3em 0;
}
.ee-blog-grid__title a {
  color: #111111;
  text-decoration: none;
}
.ee-blog-grid__title a:hover {
  text-decoration: underline;
}

.ee-blog-grid__meta {
  font-size: 12px;
  font-style: italic;
  color: #666666;
  margin-bottom: 0.5em;
}

.ee-blog-grid__excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: #333333;
  margin: 0 0 0.4em 0;
}

.ee-blog-grid__more {
  font-size: 13px;
  color: #5c4420;
  text-decoration: underline;
}

.ee-blog-grid__pagination {
  margin-top: 1.6em;
  font-size: 13px;
  text-align: center;
}
.ee-blog-grid__pagination a,
.ee-blog-grid__pagination span {
  display: inline-block;
  margin: 0 0.3em;
  color: #5c4420;
}
.ee-blog-grid__pagination .current {
  font-weight: 700;
  color: #111111;
}

