.hns-recruitment-process {
  width: 100%;
  padding: 64px 16px 66px;
  background: #171717;
  color: #fff8e7;
}

.hns-recruitment-process *,
.hns-recruitment-process *::before,
.hns-recruitment-process *::after {
  box-sizing: border-box;
}

.hns-recruitment-process__inner {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.hns-recruitment-process__heading.hns-page-heading {
  margin: 0 0 40px;
  color: #fff8e7;
  font-size: 36px;
  text-align: center;
}

.hns-recruitment-process__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hns-recruitment-process__steps::before {
  position: absolute;
  top: 20px;
  right: calc((100% / 4) / 2);
  left: calc((100% / 4) / 2);
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 248, 231, 0.08), rgba(255, 248, 231, 0.34), rgba(255, 248, 231, 0.08));
  content: "";
}

.hns-recruitment-process__step {
  position: relative;
  display: grid;
  justify-items: center;
  min-width: 0;
  color: rgba(255, 248, 231, 0.62);
  text-align: center;
}

.hns-recruitment-process__number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin: 0 0 20px;
  border: 1px solid rgba(255, 248, 231, 0.12);
  border-radius: 50%;
  background: #dda923;
  box-shadow: 0 0 0 5px #171717, 0 8px 20px rgba(0, 0, 0, 0.26);
  color: #fff8e7;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.hns-recruitment-process__step h3 {
  position: relative;
  display: flex;
  max-width: 260px;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px;
  padding-bottom: 18px;
  color: #fff8e7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

.hns-recruitment-process__step h3::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 28px;
  height: 2px;
  background: #d9a91c;
  content: "";
  transform: translateX(-50%);
}

.hns-recruitment-process__step p {
  max-width: 260px;
  margin: 0;
  color: rgba(255, 248, 231, 0.72);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
}

@media (max-width: 849px) {
  .hns-recruitment-process__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 28px;
  }

  .hns-recruitment-process__steps::before {
    display: none;
  }
}

@media (max-width: 549px) {
  .hns-recruitment-process {
    padding: 48px 14px 58px;
  }

  .hns-recruitment-process__heading.hns-page-heading {
    margin-bottom: 24px;
    font-size: 28px;
  }

  .hns-recruitment-process__steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    width: min(100%, 360px);
    margin: 0 auto;
    padding: 0;
  }

  .hns-recruitment-process__steps::before {
    top: 18px;
    bottom: 18px;
    left: 18px;
    display: block;
    width: 1px;
    height: auto;
    background: rgba(255, 248, 231, 0.28);
  }

  .hns-recruitment-process__step {
    display: grid;
    align-items: start;
    justify-items: stretch;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 0 14px;
    text-align: left;
  }

  .hns-recruitment-process__number {
    width: 36px;
    height: 36px;
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
    box-shadow: 0 0 0 4px #171717;
    font-size: 14px;
  }

  .hns-recruitment-process__step h3 {
    max-width: none;
    min-height: auto;
    justify-content: flex-start;
    grid-column: 2;
    margin: 0 0 4px;
    padding-bottom: 0;
    text-align: left;
  }

  .hns-recruitment-process__step h3::after {
    display: none;
  }

  .hns-recruitment-process__step p {
    max-width: none;
    grid-column: 2;
    font-size: 16px;
    line-height: 1.35;
    text-align: left;
  }
}
