.kroki {
  padding-bottom: 3rem;
}
.kroki__section-title {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.kroki__section-title span {
  white-space: nowrap;
}
.kroki__section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #e5e7eb;
}
.kroki__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  padding-top: 7rem;
  gap: 25px;
}
@media (max-width: 767px) {
  .kroki__grid {
    grid-template-columns: repeat(2, 1fr);
    padding-top: 0;
  }
}
@media (max-width: 479px) {
  .kroki__grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 768px) {
  .kroki__grid > .kroki__item:nth-child(odd):not(:last-child)::before {
    content: "";
    position: absolute;
    height: 50px;
    width: 3px;
    background-color: #695c4c;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
  }
  .kroki__grid > .kroki__item:nth-child(odd):not(:last-child)::after {
    content: "";
    position: absolute;
    height: 3px;
    width: calc(100% + 24px);
    background-color: #695c4c;
    top: -50px;
    left: 50%;
  }
}
@media (min-width: 768px) {
  .kroki__grid > .kroki__item:nth-child(even):not(:last-child)::before {
    content: "";
    position: absolute;
    height: 50px;
    width: 3px;
    background-color: #695c4c;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
  }
  .kroki__grid > .kroki__item:nth-child(even):not(:last-child)::after {
    content: "";
    position: absolute;
    height: 3px;
    width: calc(100% + 24px);
    background-color: #695c4c;
    bottom: -50px;
    left: 50%;
  }
}
.kroki__item {
  border: 3px solid #695c4c;
  padding: 2rem;
  position: relative;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.0784313725);
}
@media (max-width: 767px) {
  .kroki__item::before, .kroki__item::after {
    display: none;
    content: none;
  }
}
.kroki__item:not(:first-child) {
  margin-left: -1px;
}
.kroki__item:nth-child(even) {
  margin-top: -7rem;
}
@media (max-width: 767px) {
  .kroki__item:nth-child(even) {
    margin-top: 0;
  }
  .kroki__item:nth-child(n+3) {
    margin-top: -1px;
  }
  .kroki__item:nth-child(2n) {
    margin-left: -1px;
  }
  .kroki__item:nth-child(2n+1):not(:first-child) {
    margin-left: 0;
  }
}
@media (max-width: 479px) {
  .kroki__item:not(:first-child) {
    margin-left: 0;
    margin-top: -1px;
  }
}
.kroki__number {
  display: block;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: #695c4c;
  margin-bottom: 1.25rem;
}
.kroki__text h2, .kroki__text h3, .kroki__text strong, .kroki__text b {
  display: block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}
.kroki__text p {
  line-height: 1.6;
  margin: 0;
}
.kroki__cta {
  text-align: center;
  padding-top: 2rem;
}
