ol {
    counter-reset: list-1; /* Reset the main list counter */
  }
  
  ol > li {
    display: block;
    position: relative;
  }
  
  ol > li:not(.ql-indent-1):before {
    content: counter(list-1) ". "; /* Main list numbering */
    counter-increment: list-1;
    position: absolute;
    left: -2em; /* Adjust as needed for spacing */
  }
  
  ol > li.ql-indent-1 {
    margin-left: 20px; /* Indent for sub-items */
    list-style-type: none; /* Remove default list styling */
    counter-increment: list-2; /* Increment the sublist counter */
  }
  
  ol > li.ql-indent-1:before {
    content: counter(list-2, lower-alpha) ". "; /* Sub-numbering like a, b, c */
    position: absolute;
    left: -2em; /* Adjust as needed for spacing */
  }
  
  /* Ensure the sublist counter resets only when returning to the main list */
  ol > li:not(.ql-indent-1) {
    counter-reset: list-2; /* Reset the sublist counter when returning to the main list */
  }
  