.life-after-treatment {
  margin: 2.72rem 0;
}

.life-after-treatment__container h2 {
  font-weight: 500;
  font-style: Medium;
  font-size: 1.45rem;
  leading-trim: NONE;
  line-height: 112.00000000000001%;
  letter-spacing: -2%;
  color: #802a8f;
  margin: 0 0 0.18rem 1.01rem;
}

.life-after-treatment__container h2 span {
  font-weight: 800;
  font-style: ExtraBold;
}

.life-after-treatment__subtitle {
  font-weight: 400;
  font-style: Regular;
  font-size: 0.72rem;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  margin: 0 0 1.63rem 1.01rem;
}
.pill1 {
  width: 15.09rem;
  height: 4.63rem;
  angle: 0 deg;
  opacity: 1;
  border-top-right-radius: 2.18rem;
  border-bottom-right-radius: 2.18rem;
  background: #eeb6f8;
  margin: 0 0 2.18rem 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.pill2 {
  width: 15.09rem;
  height: 4.63rem;
  angle: 0 deg;
  opacity: 1;
  border-top-left-radius: 2.18rem;
  border-bottom-left-radius: 2.18rem;
  background: #edd3f2;
  margin: 0 0 2.18rem 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.pill1 h2 {
  width: 12.4rem;
  angle: 0 deg;
  opacity: 1;
  font-family: Poppins;
  font-weight: 400;
  font-style: Regular;
  font-size: 1.01rem;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  color: #62186f;
}
.pill2 h2 {
  width: 12.4rem;
  angle: 0 deg;
  opacity: 1;
  font-family: Poppins;
  font-weight: 400;
  font-style: Regular;
  font-size: 1.01rem;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  color: #62186f;
}
.pill-wrapper {
  display: flex;
  flex-direction: column;
}

.pill2 {
  margin-left: auto; /* pushes it to the right end */
}
.pill-dot {
  display: block;
  color: var(--brandClr);
  margin: 0 0 0.54rem 0.75rem;
}

@media screen and (min-width: 768px) {
  .life-after-treatment {
    margin: 2rem 0 0rem 0;
  }

  .life-after-treatment__container h2 {
    font-weight: 500;
    font-style: Medium;
    font-size: 1.01rem;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: -2%;
    width: 15.56rem;
    angle: 0 deg;
    opacity: 1;
    margin: 0 0 0 0;
  }
  .life-after-treatment__container h2 span {
    font-weight: 800;
    font-style: ExtraBold;
  }

  .life-after-treatment__subtitle {
    width: 14.56rem;
    angle: 0 deg;
    opacity: 1;
    font-weight: 400;
    font-style: Regular;
    font-size: 0.45rem;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    color: #6e6e6e;
    margin: 0 0 0 0;
  }

  /* Pills row */
  .pill-wrapper {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    margin-top: 2rem;
  }

  /* Common pill styling */
  .pill1,
  .pill2 {
    width: 10.188rem;
    height: 1.92rem;
    border-radius: 1.2rem;
    angle: 0 deg;
    opacity: 1;
    display: flex;
    flex-direction: row;
    gap: 0.25rem;
  }

  /* Reset mobile alignment */
  .pill2 {
    margin-left: 0;
  }

  .pill1 h2,
  .pill2 h2 {
    font-weight: 400;
    font-style: Regular;
    font-size: 0.45rem;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
  }
  /* .pill-dot {
    display: none;
  } */
}
