/* Maternal & Paternal DNA lines section (homepage) */

.y-dna-s {
  width: 100%;
  padding: 0 20px;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.y-dna-s .y-dna-s__bg-one {
  position: absolute;
  z-index: -1;
  bottom: -200px;
  left: 50%;
  transform: translateX(-840px) rotate(-30deg);
  width: 674px;
  height: 1192px;
  background: linear-gradient(
    135deg,
    rgba(255, 142, 247, 0.25) 5.97%,
    rgba(214, 93, 205, 0.25) 61.92%
  );
  filter: blur(360px);
  border-radius: 50%;
}

.y-dna-s .y-dna-s__bg-two {
  position: absolute;
  z-index: -1;
  bottom: -200px;
  right: 50%;
  transform: translateX(840px) rotate(30deg);
  width: 674px;
  height: 1192px;
  background: linear-gradient(
    135deg,
    rgba(114, 237, 242, 0.25) 0%,
    rgba(81, 81, 229, 0.25) 100%
  );

  filter: blur(360px);
  border-radius: 50%;
}

.y-dna-s .y-dna-s__content {
  width: 100%;
  margin: 0 auto;
  padding: 96px 0;
  max-width: 1120px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.y-dna-s .y-dna-s__title {
  font-family:
    Lexend Deca,
    Lexend Fallback,
    sans-serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 100%;
  text-align: center;
  margin-bottom: 32px;
  margin-top: 0;
  /* margin-bottom: 24px; */
}
.y-dna-s .y-dna-s__subtitle {
  font-weight: 500;
  font-size: 32px;
  line-height: 100%;
  text-align: center;
  margin-bottom: 80px;
  /* margin-bottom: 48px; */
  max-width: 928px;
  font-family: SF-Pro-Text-Medium, sans-serif;
}
.y-dna-s .y-dna-s__text {
  font-weight: 500;
  font-size: 20px;
  line-height: 32px;
  text-align: center;
  margin-bottom: 80px;
  max-width: 928px;
  font-family: SF-Pro-Text-Medium, sans-serif;
}

.y-dna-s .y-dna-s__list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 80px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.y-dna-s .y-dna-s__item {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 0;
  margin: 0;
}

.y-dna-s .y-dna-s__item:nth-child(even) > img {
  order: 2;
}

.y-dna-s .y-dna-s__item > img {
  width: 100%;
  aspect-ratio: 544 / 400;
  object-fit: cover;
}

.y-dna-s .y-dna-s__item > img.mbf {
  display: none;
}

.y-dna-s .y-dna-s__item-text-box {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.y-dna-s .y-dna-s__item-note {
  font-family:
    Lexend Deca,
    Lexend Fallback,
    sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-bottom: 24px;
}

.y-dna-s .y-dna-s__item-note.mtdna {
  color: #d65dcd;
}

.y-dna-s .y-dna-s__item-note.ydna {
  color: #155eef;
}

.y-dna-s .y-dna-s__item-title {
  font-family: SF-Pro-Text-Semibold, sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0px;
  margin-bottom: 16px;
}

.y-dna-s .y-dna-s__item-list {
  list-style: disc;
  display: flex;
  flex-direction: column;
  font-family: SF-Pro-Text-Regular, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
  padding-left: 24px;
  gap: 10px;
  margin-bottom: 24px;
}

.y-dna-s .y-dna-s__item-cta {
  padding: 14px 24px;
  background: #ff7c11;
  font-family: SF-Pro-Text-Medium, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0px;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  border-radius: 40px;
  transition: background 0.3s ease;
  text-decoration: none;
}

.y-dna-s .y-dna-s__item-cta:hover {
  background: #f2690b;
}
.y-dna-s .y-dna-s__item-cta:active {
  background: #e6640a;
}

@media screen and (max-width: 991px) {
  .y-dna-s .y-dna-s__list {
    max-width: 600px;
  }
  .y-dna-s .y-dna-s__item {
    grid-template-columns: 1fr;
  }

  .y-dna-s .y-dna-s__item:nth-child(even) > img {
    order: 0;
  }
}

@media (max-width: 767px) {
  .y-dna-s .y-dna-s__content {
    padding: 64px 0;
  }

  .y-dna-s .y-dna-s__title {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 12px;
  }

  .y-dna-s .y-dna-s__subtitle {
    font-family: SF-Pro-Text-Semibold, sans-serif;
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 32px;
    /* margin-bottom: 12px; */
  }

  .y-dna-s .y-dna-s__text {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 32px;
  }

  .y-dna-s .y-dna-s__list {
    gap: 64px;
  }

  .y-dna-s .y-dna-s__item {
    gap: 16px;
  }

  .y-dna-s .y-dna-s__item-note {
    margin-bottom: 16px;
  }

  .y-dna-s .y-dna-s__item-title {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 16px;
  }

  .y-dna-s .y-dna-s__item-list {
    margin-bottom: 32px;
    padding-left: 18px;
  }

  .y-dna-s .y-dna-s__item-cta {
    align-self: center;
    width: 100%;
    max-width: 500px;
    padding: 20px;
    font-size: 16px;
    line-height: 24px;
  }

  .y-dna-s .y-dna-s__item > img.mbf {
    display: block;
  }

  .y-dna-s .y-dna-s__item > img.dsktp {
    display: none;
  }
  .y-dna-s .y-dna-s__item > img {
    aspect-ratio: 343 / 500;
  }

  .y-dna-s .y-dna-s__bg-one {
    bottom: auto;
    left: auto;
    right: 0;
    top: 400px;
    transform: translateX(60%) rotate(30deg);
    background: linear-gradient(
      135deg,
      rgba(255, 142, 247, 0.25) 5.97%,
      rgba(214, 93, 205, 0.25) 61.92%
    );
    filter: blur(174px);
    width: 352px;
    height: 568px;
  }

  .y-dna-s .y-dna-s__bg-two {
    bottom: 674px;
    right: 0;
    transform: translateX(-60%) rotate(-30deg);
    width: 326px;
    height: 578px;
    background: linear-gradient(
      135deg,
      rgba(114, 237, 242, 0.25) 0%,
      rgba(81, 81, 229, 0.25) 100%
    );
    filter: blur(174px);
  }
}
