.research-progress-label {
  flex: 0 0 auto;
  margin: .55rem 0 0;
  padding-left: 1rem;
  border-left: 1px solid var(--research-border);
  color: var(--research-muted);
  font-size: .8rem;
  font-weight: 700;
}

.research-progress { width: min(100%, 44rem); }
.research-progress ol { display: flex; margin: 0; padding: 0; list-style: none; }
.research-progress li { position: relative; flex: 1 1 0; min-width: 0; }
.research-progress li::before,
.research-progress li::after {
  position: absolute;
  top: 1rem;
  width: calc(50% - 1rem);
  height: 1px;
  background: var(--research-border);
  content: "";
}
.research-progress li::before { left: 0; }
.research-progress li::after { right: 0; }
.research-progress li:first-child::before,
.research-progress li:last-child::after { display: none; }
.research-progress li.is-complete::before,
.research-progress li.is-complete::after,
.research-progress li.is-active::before { background: var(--research-navy); }

.research-progress a {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 44px;
  justify-items: center;
  gap: .3rem;
  color: var(--research-muted);
  font-size: .8rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.research-progress a span {
  position: relative;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--research-border);
  border-radius: 50%;
  background: var(--research-bg);
  color: var(--research-muted);
  font-size: .8rem;
}
.research-progress li.is-active a { color: var(--research-navy); }
.research-progress li.is-active a span { border-color: var(--research-navy); background: var(--research-navy); color: #fff; }
.research-progress li.is-complete a span { border-color: var(--research-navy); background: var(--research-navy); color: transparent; }
.research-progress li.is-complete a span::after { position: absolute; top: 50%; left: 50%; width: .35rem; height: .65rem; border-right: 2px solid #fff; border-bottom: 2px solid #fff; content: ""; transform: translate(-50%, -60%) rotate(45deg); }
.research-progress a[aria-disabled="true"] { cursor: default; }

.has-research-steps .research-section[hidden] { display: none !important; }

@media (max-width: 48rem) {
  .research-progress-label { margin: 0; padding-left: .6rem; font-size: .72rem; }
  .research-progress { min-width: 0; flex: 1 1 auto; }
  .research-progress a { gap: .15rem; font-size: 0; }
  .research-progress a span { width: 2rem; height: 2rem; font-size: .8rem; }
  .research-progress li::before,
  .research-progress li::after { top: 1rem; width: calc(50% - 1rem); }
}

@media (prefers-reduced-motion: reduce) {
  .research-progress a { scroll-behavior: auto; }
}
