/*.main__wrapper {
    background-color: var(--pale);
}
*/
.section__blocks {
  position: relative;
}

.container-medium {
  flex-direction: column;
  padding-left: 3em;
  padding-right: 3em;
  display: flex;
}

.container-medium.relative {
  position: relative;
}

.container-medium.relative.nav {
  padding-left: 0;
  padding-right: 0;
}

.color__blocks-wrap {
  position: relative;
}

.num__item {
  color: var(--darkest);
  border-radius: 100%;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  display: flex;
}

.num__nav {
  z-index: 11;
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  grid-template-rows: auto auto auto;
  grid-template-columns: 1fr;
  grid-auto-columns: 1fr;
  height: 120px;
  margin-left: 1em;
  display: grid;
  position: -webkit-sticky;
  position: sticky;
  top: 50%;
  bottom: 0%;
  left: 0%;
  right: auto;
}

.num__item.w--current {
  background-color: rgba(31, 41, 51, .1);
}

.block__wrap {
  background-color: #dfd1f4;
  border-radius: 2.5em;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: auto;
  margin-bottom: 1em;
  padding-top: 3em;
  padding-left: 6em;
  padding-right: 6em;
  display: flex;
  position: -webkit-sticky;
  position: sticky;
  top: 16px;
  overflow: hidden;
}

.block__wrap.second {
  background-color: #dfd177;
  border-radius: 2em;
  justify-content: center;
  padding-top: 6em;
  padding-bottom: 6em;
  top: 56px;
}

.block__wrap.third {
  background-color: #ddd1f4;
  border-radius: 2em;
  justify-content: center;
  height: auto;
  padding-top: 8em;
  padding-bottom: 6em;
  top: 96px;
}

.block__wrap.forth {
  background-color: #ccc;
  border-radius: 2em;
  justify-content: center;
  height: auto;
  padding-top: 8em;
  padding-bottom: 6em;
  top: 96px;
}

.block__wrap.first {
  border-radius: 2em;
}

.block__title {
  justify-content: center;
  width: 80%;
  margin-top: 3em;
  margin-bottom: 4em;
  display: flex;
}

.block__parent {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.block__parent.second {
  align-items: center;
}

.block__parent.first {
  align-items: flex-start;
}

.block__child {
  width: auto;
}

.block__child.text {
  width: 30%;
}

.block__child.image {
  border-radius: 2.25em 2.25em 0 0;
  flex-direction: row;
  align-items: flex-start;
  width: 60%;
  display: flex;
  position: relative;
  top: 6em;
  overflow: hidden;
}

.block__child.img-half-r {
  border-radius: 2.25em 2.25em 0 0;
  width: 65%;
  overflow: hidden;
}

.block__child.image-first {
  border-radius: 2.25em 2.25em 0 0;
  flex-direction: row;
  align-items: flex-start;
  width: 60%;
  display: flex;
  overflow: hidden;
}

.content-headings__wrapper {
  margin-bottom: 2em;
}

.content-headings__wrapper.top-margin {
  margin-top: 3.5em;
}

.p-body {
  font-size: 16px;
  font-weight: 400;
}

.p-body.bold {
  font-weight: 600;
}

.p-body.text-opacity {
  opacity: .6;
}

.block__img {
  width: 50vw;
  position: relative;
}

.h2.js-split-hero {
  flex-direction: column;
}

.h2.small-on-m {
  margin-top: -20px;
  margin-bottom: .4em;
}

.num__nav-wrapper {
  height: 100%;
  padding-top: 20em;
  padding-bottom: 20em;
  position: absolute;
}


/* new css  */

.service-slider-card {
  position: sticky;
  top: 100px;
}

.service-slider-card__inner {
  will-change: transform;
  background: white;
  border-radius: 14px;
  display: flex;
  overflow: hidden;
  /* box-shadow: 0 25px 50px -12px hsla(265.3, 20%, 10%, 35%); */
  transform-origin: center top;
}

.service-slider-cards {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-rows: repeat(var(--cards-count), var(--card-height));
  gap: 40px 0;
}

.card__image-container {
  display: flex;
  width: 40%;
  flex-shrink: 0;
}

.card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
}

.card__content {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
}

.card__title {
  /* padding: 0;
  margin: 0;
  font-size: 60px;
  font-weight: 600;
  color: #16263a; */
  /* font-weight: 600; */
  letter-spacing: 10px;
}

.card__description {
  line-height: 1.4;
  font-size: 24px;
  color: #16263a;
}

.space {
  height: 90vh;
}

.space--small {
  height: 40vh;
}

@media (max-width: 600px) {
  .card__inner {
    flex-direction: column;
  }

  .card__image-container {
    width: 100%;
  }

  .card__image {
    aspect-ratio: 16 / 9;
  }

  /* .card__title {
    font-size: 32px;
  } */

  .card__description {
    font-size: 16px;
  }

  .card__content {
    padding: 30px 20px;
  }
}