p-rogress ol {
  display: flex;
  list-style: none;
  margin: 0;
}

p-rogress li {
  flex: 1 0 auto;
  text-align: center;
  position: relative;
}

p-rogress li::before {
  content: '';
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 0.25rem solid;
  background-color: var(--color-dark);
  position: relative;
  z-index: 1;
}

p-rogress [aria-current] {
  font-weight: bold;
}

p-rogress [aria-current]::before {
  background-color: var(--color-light);
}

p-rogress span {
  display: block;
  padding: 0 0.5rem;
}

p-rogress li::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0.5rem;
  height: 0.25rem;
  transform: translateY(-50%);
  background-color: var(--color-dark);
}

p-rogress li:first-child::after {
  left: 50%;
}

p-rogress li:last-child::after {
  right: 50%;
}