.kv-stepper {
  display: grid;
  gap: 0px;
}

.kv-step__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.kv-step__grid  .order-1 {
  order: 1
}
.kv-step__grid .order-2 {
  order: 2
}
.kv-step__grid .order-3 {
  order: 3
}

/* Middle divider column with number badge */
.kv-step__middle {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  min-width: 75px;
  width: 75px;
  height: 100%;
}

/* vertical lines above and below the badge */
.kv-step:first-of-type .kv-step__middle::before, .kv-step:last-of-type .kv-step__middle::after {
  width: 0px !important;
  content: none;
}

.kv-step__middle::before,
.kv-step__middle::after {
  content: "";
  position: absolute;
  width: 6px;            /* thickness of the divider */
  left: 50%;
  transform: translateX(-50%);
  background-color: #EAEAEA; /* overridable via control */
}

.kv-step__middle::before {
  top: 0;
  bottom: 50%;
  margin-bottom: 34px;
}

.kv-step__middle::after {
  top: 50%;
  bottom: 0;
  margin-top: 34px;      /* space for the badge */
}

.kv-step__badge {
  display: grid;
  place-items: center;
  width: 75px;
  height: 75px;
  background: #FFD93B;   /* overridable via control */
  color: #111827;
  font-size: 50px;
  font-weight: 700;
  font-family: "Pauza";
  line-height: 1;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}

/* Media */
.kv-step__media {
  padding: 80px 0px;
}
.kv-step__image-wrap {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.kv-step__image {
  display: block;
  width: 100%;
  height: auto;
}

/* Content */
.kv-step__title {
  margin: 0 0 8px 0;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
}

.kv-step__wysiwyg {
  font-size: 16px;
  line-height: 1.7;
}

.kv-step__links {
  margin-top: 16px;
}

/* Buttons */
.kv-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: transform .06s ease, box-shadow .2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}

.kv-btn:hover { transform: translateY(-1px) }

.kv-btn--primary {
  background: #FDD805;
  border-radius: 30px;
  color: #000000;
}

.kv-btn--secondary {
  background: transparent;
  border: 2px solid #000000;
  border-radius: 30px;
  color: #000000;
}

/* Responsive */
@media (max-width: 992px) {
  .kv-step__grid {
	grid-template-columns: 1fr auto 1fr;
	gap: 16px;
  }
  .kv-step__badge {
	width: 56px;
	height: 56px;
	font-size: 22px;
  }
  .kv-step__middle { min-width: 56px; width: 56px }
  .kv-step__title { font-size: 20px }
}

@media (max-width: 768px) {
  .kv-stepper {
    gap: 50px;  
  }
  
  .kv-stepper .kv-step__grid {
	grid-template-columns: 1fr;
  }
  .kv-stepper .kv-step__middle {
	order: 1;
	height: 72px;
	margin: 0px;
  }
  
  .kv-stepper .kv-step__media {
    order: 1;
    padding: 0px;
  }
  
  .kv-stepper .kv-step__middle {
    order: 2
  }
  
  .kv-stepper .kv-step__content {
    order: 3
  }

  /* .kv-step__middle::before,
  .kv-step__middle::after {
	display: none;
  } */
  /* .kv-step__media,
  .kv-step__content {
	order: unset;
  } */
}