
:is( ul, ol ) {
  margin-left: 1.2em;
  margin-bottom: var( --paragraph-margin );
}

:is( ul, ol ):last-child {
  margin-bottom: 0;
}

:is( ul, ol ) > li {
  line-height: 1.0rem;
  margin-top: 0.5rem;
  position: relative;
}

/* Circle Number List */

ol.circle-number {
  counter-reset: circle-counter;
  list-style: none;
}
/*
ol.circle-number li::before {
  width: calc( ( 1.0em * 0.8 ) * 1.375 );
  height: calc( ( 1.0em * 0.8 ) * 1.375 );
  color: var( --font-color );
  font-size: calc( 1.0em * 0.8 );
  text-align: center;
  line-height: calc( ( 1.0em * 0.8 ) * 1.375 );
  margin-top: 0.5rem;
  margin-top: 0.3em;
  margin-left: calc( -1.0em + -5px );
  border: 1px solid var( --font-color );
  border-radius: 50%;
  float: left;
  display: block;
  content: counter( circle-counter );
  counter-increment: circle-counter;
}
*/
ol.circle-number li::before {
  color: var(--font-color);
  font-size: 0.7em;
  text-align: center;
  line-height: 1.55em;
  position: absolute;
  top: 0;
  left: -1.2em;
  content: counter( circle-counter );
  counter-increment: circle-counter;
}

ol.circle-number li::after {
  width: 1.0em;
  aspect-ratio: 1;
  border: 1px solid var( --font-color );
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: -1.2em;
  content: "";
}

ol.circle-number2 {
  counter-reset: circle-counter;
  list-style: none;
}
