.numbered-list {
  list-style-type: none;
}
.numbered-list li {
  background-color: #eeeeee;
  counter-increment: list-number;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
@media (min-width: 576px) {
  .numbered-list li {
    flex-wrap: nowrap;
  }
}
.numbered-list li::before {
  align-items: center;
  content: counter(list-number);
  display: flex;
  flex: 0 0 auto;
  font-weight: 600;
  justify-content: center;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  width: 100%;
}
@media (min-width: 576px) {
  .numbered-list li::before {
    width: 3.5rem;
  }
}
.numbered-list li span {
  padding: 1rem;
}
.numbered-list--primary li::before {
  background-color: var(--bs-primary, #ffda40);
}
.numbered-list--secondary li {
  background-color: var(--bs-beige, #fff6da);
}
.numbered-list--secondary li::before {
  background-color: var(--bs-secondary, #502d0e);
  color: #fff;
}
.numbered-list--tertiary li::before {
  background-color: var(--bs-tertiary, #1d5970);
  color: #fff;
}
.numbered-list--dark li {
  background-color: #1c2024;
}
.numbered-list--dark li::before {
  background-color: var(--bs-primary, #ffda40);
}
.numbered-list--dark li span,
.numbered-list--dark li a {
  color: #fff;
}