/* Estilos indice de lecciones. Tipo tabla con fondo Zebra */
/* Listado de lecciones, estilo tabla */
.lecciones {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #d5dacb;          /* borde alterno */
  border-radius: 10px;
  overflow: hidden;                   /* recorta las esquinas de las filas */
  counter-reset: leccion;
}

.lecciones li {
  margin: 0;
  counter-increment: leccion;
  border-top: 1px solid #e3e6dc;
  transition: background 0.3s ease;
}
.lecciones li:first-child { border-top: 0; }

/* Fondos alternos */
.lecciones li:nth-child(odd)  { background: #ffffff; }
.lecciones li:nth-child(even) { background: #f5f6f1; }

.lecciones li a {
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 0.85em 1.2em;
  color: #1f2a15;                     /* tinta */
  font-weight: 600;
  text-decoration: none;
}

/* Columna de número */
.lecciones li a::before {
  content: counter(leccion, decimal-leading-zero);
  flex: none;
  min-width: 2em;
  color: #67705e;                     /* apagado */
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

/* Hover */
.lecciones li:hover {
  background: #fce8b0;                /* dorado claro */
}

/* Lección actual */
.lecciones li.current_page_item,
.lecciones li.current_page_item:hover {
  background: #556b2f;                /* verde marca */
}
.lecciones li.current_page_item a {
  color: #ffffff;                     /* 5,95:1 */
}
.lecciones li.current_page_item a::before {
  color: #fce8b0;                     /* 5:1 sobre el verde */
}