.flow-step-block {
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 2em 0;
}

.flow-step-item {
  display: flex;
  align-items: flex-start;
  position: relative;
}

.flow-step-item::before {
  counter-increment: flow-step;
  content: counter(flow-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #1976d2;
  color: #fff;
  font-weight: bold;
  font-size: 1.3em;
  position: relative;
  z-index: 1;
  margin-right: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.flow-step-block {
  counter-reset: flow-step;
}

.block-editor-block-list__block:has(.flow-step-item):not(:last-child) .flow-step-item::after,
.flow-step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 18px;
    top: 36px;
    width: 0;
    height: calc(100% - 36px);
    border-left: 2px dashed #1976d2;
    z-index: 0;
}

.flow-step-item-content {
  flex: 1;
}

.flow-step-title {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 0.5em;
  margin-top: 0;
  padding-top: 0!important;
}

.flow-step-desc {
  font-size: 0.98em;
  color: #555;
}

@media (max-width: 767px) {
  .flow-step-item::before {
    margin-bottom: 10px;
    margin-right: 0;
  }
  .flow-step-item-content {
    margin-left: 0;
  }
  .flow-step-item {
    grid-gap: 5px;
  }
} 