.content-shaping {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  width: 100%;

  .content-form-shaping {
    width: 1100px;
    /* height: 300px; */
    background-color: #fffffa;
    border-radius: 12px;
    margin-top: -100px;
    z-index: 1;
    box-shadow: 0px 4px 128px 0px #00000040;
    overflow: hidden;

    @media screen and (max-width: 1200px) {
      width: 60%;
    }

    @media screen and (max-width: 425px) {
      .title-description {
        font-size: var(--fs-footnote); /* Changed from 14px to var(--fs-footnote) */
        font-weight: 700;
        line-height: 14.63px;
      }

      .text-description {
        font-size: var(--fs-footnote); /* Changed from 10px to closest var(--fs-footnote) */
        font-weight: 400;
        line-height: 12.19px;
      }
    }

    .btn {
      width: auto !important;

      &#edit-actions-submit {
        font-weight: 500;
      }
    }
  }
}

.data-shaping {
  position: relative;
  width: 100%;
  overflow: hidden; /* Contain the image overflow */
  display: flex;
  justify-content: center; /* Center the image */
}

.info-shaping {
  position: absolute;
  left: 0;
  bottom: 0;
  margin-left: 340px;
  margin-bottom: 80px;
  max-width: 350px;
  z-index: 2; /* Ensure text appears above image */
}

.shaping-title {
  font-size: clamp(var(--fs-h4), calc(var(--fs-h4) + (100vw - 320px) * (16 / 1600)), var(--fs-h1)); /* Changed from clamp(24px, calc(24px + (100vw - 320px) * (16 / 1600)), 40px) */
  font-weight: 500;
  text-transform: uppercase;
  color: #222222;
  margin: 0 0 10px 0;
}

.shaping-link {
  font-size: clamp(var(--fs-footnote), calc(var(--fs-footnote) + (100vw - 320px) * (10 / 1600)), var(--fs-h5)); /* Changed from clamp(12px, calc(12px + (100vw - 320px) * (10 / 1600)), 22px) */
  font-weight: 700;
  color: #6800ff;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.shaping-link img {
  margin-left: 5px;
  width: clamp(15px, calc(15px + (100vw - 320px) * (15 / 1600)), 30px);
  height: auto;
}

.img-data-shaping {
  margin-top: clamp(-80px, calc(-80px + (100vw - 320px) * (100 / 1600)), 20px);
  margin-left: clamp(0px, calc(200px - (100vw - 350px) * (200 / 1600)), 200px);
  max-width: none;
  width: auto; /* Allow natural width */
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .content-shaping {
    .content-form-shaping {
      width: 900px;
    }
  }

  .shaping-title {
    font-size: var(--fs-h2); /* Changed from 36px to var(--fs-h2) */
  }

  .shaping-link {
    font-size: var(--fs-h6); /* Changed from 18px to var(--fs-h6) */
  }

  .info-shaping {
    margin-left: calc(70px + (100vw - 1024px) * (120 / 416));
  }
}

@media (min-width: 720px) and (max-width: 1023px) {
  .content-shaping {
    .content-form-shaping {
      margin-top: -30px;
    }
  }

  .shaping-title {
    font-size: var(--fs-h3); /* Changed from 30px to var(--fs-h3) */
  }

  .shaping-link {
    font-size: var(--fs-footnote); /* Changed from 15px to closest var(--fs-footnote) */
  }

  .data-shaping {
    justify-content: center;
  }
  .info-shaping {
    margin-left: calc(30px + (100vw - 720px) * (40 / 304));
  }
}

@media (max-width: 719px) {
  .shaping-title {
    font-size: var(--fs-h4); /* Changed from 24px to var(--fs-h4) */
  }

  .shaping-link {
    font-size: var(--fs-footnote); /* Changed from 12px to closest var(--fs-footnote) */
  }

  .info-shaping {
    max-width: 200px;
    margin-bottom: 10px;
  }

  .description-form-newsletter {
    line-height: 22px;
  }

  .content-shaping .data-shaping {
    justify-content: center;
  }

  .content-shaping {
    .content-form-shaping {
      width: 80%;
      margin-top: -30px;
    }
  }

  .content-shaping {
    .data-shaping {
      .img-data-shaping {
        width: 100%;
      }
    }
  }

  .info-shaping {
    margin-left: calc(100vw * (25 / 715));

    .shaping-link {
      img {
        width: 15px;
        height: 15px;
      }
    }
  }
}
