/* Custom overrides for Lexxy Editor */
/* Fix for list styling - Override Tailwind's reset which removes list-style */
.lexxy-content ul,
.lexxy-content ol {
  list-style: revert !important;
  padding-left: 2.5em !important;
  margin-left: 1em !important;
}

.lexxy-content ul {
  list-style-type: disc !important;
}

.lexxy-content ol {
  list-style-type: decimal !important;
}

.lexxy-content li {
  display: list-item !important;
  margin-bottom: 0.5em !important;
  padding-left: 0.5em !important;
}

/* Inside editor */
lexxy-editor ol,
lexxy-editor ul {
  list-style: revert !important;
  padding-left: 2.5em !important;
  margin-left: 1em !important;
}

lexxy-editor ol {
  list-style-type: decimal !important;
}

lexxy-editor ul {
  list-style-type: disc !important;
}

lexxy-editor li {
  display: list-item !important;
}

/* Override any prose or other conflicting styles */
.prose .lexxy-content ul,
.prose .lexxy-content ol,
.lexxy-content.prose ul,
.lexxy-content.prose ol {
  list-style: revert !important;
  margin-left: 1em !important;
  padding-left: 2.5em !important;
}
