/* Wrapper */
.mpl-fancy-list-wrap {
  margin-bottom: 2em;
}

/* Optional Title */
.mpl-fancy-list-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--ar-header-color); /* Customize with your theme color */
}

/* Base list reset */
.mpl-fancy-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

/* ───── UNORDERED LIST ───── */
.mpl-fancy-list.unordered li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.5em;
  font-size: 0.95em;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ar-body-text); /* Customize with your theme color */
}

.mpl-fancy-list.unordered li::before {
  content: '';
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--ar-accent); /* Square bullet color */
  border-radius: 0; /* Keep square */
  display: inline-block;
}

/* ───── ORDERED LIST ───── */
.mpl-fancy-list.ordered {
  counter-reset: fancy-counter;
}

.mpl-fancy-list.ordered li {
  counter-increment: fancy-counter;
  position: relative;
  padding-left: 2.2em;
  margin-bottom: 0.5em;
  font-size: 0.95em;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ar-body-text);
}

.mpl-fancy-list.ordered li::before {
  content: counter(fancy-counter);
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 1.6em;
  height: 1.6em;
  background-color: var(--secondary-color);
  color: #fff;
  border-radius: 50%; /* Use 0 for square if preferred */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85em;
  font-weight: 700;
}
