/* Scoped to the student-sale announcement; the order and labels also work without CSS. */
#strvsn-evo-product .prose .student-order-flow {
  --steps-gap: 1.25rem;
  --steps-accent: #2d5672;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--steps-gap);
  list-style: none;
  padding-inline-start: 0;
  margin: 1rem 0 1.5rem;
}

#strvsn-evo-product .prose .student-order-flow > li {
  display: grid;
  position: relative;
  align-content: start;
  grid-template-columns: 1.8rem minmax(0, 1fr);
  gap: 0.65rem;
  min-inline-size: 0;
  margin: 0;
  padding: 0.85rem;
  border: 1px solid var(--article-rule, #dce3e7);
  border-radius: 0.5rem;
  background: #f7fafb;
}

#strvsn-evo-product .prose .student-order-flow > li:not(:last-child)::after {
  position: absolute;
  inset-block-end: -0.75rem;
  inset-inline-start: 1.52rem;
  inline-size: 0.45rem;
  block-size: 0.45rem;
  border-inline-end: 1.5px solid #6e8798;
  border-block-end: 1.5px solid #6e8798;
  transform: rotate(45deg);
  content: '';
}

#strvsn-evo-product .prose .student-order-flow .flow-number {
  display: grid;
  place-items: center;
  inline-size: 1.8rem;
  block-size: 1.8rem;
  border-radius: 50%;
  background: var(--steps-accent);
  color: white;
  font-weight: 600;
  line-height: 1;
}

#strvsn-evo-product .prose .student-order-flow strong,
#strvsn-evo-product .prose .student-order-flow .flow-description {
  display: block;
}

#strvsn-evo-product .prose .student-order-flow strong {
  color: var(--ink);
  margin-block-end: 0.25rem;
  line-height: 1.45;
}

#strvsn-evo-product .prose .student-order-flow .flow-description {
  color: #3e5665;
  font-size: 0.875rem;
  line-height: 1.65;
}

@media (min-width: 850px) {
  #strvsn-evo-product .prose .student-order-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  #strvsn-evo-product .prose .student-order-flow > li {
    grid-template-columns: minmax(0, 1fr);
  }

  #strvsn-evo-product .prose .student-order-flow > li:not(:last-child)::after {
    inset-block: 1.45rem auto;
    inset-inline: auto -0.78rem;
    transform: rotate(-45deg);
  }
}
