.hero-with-image {
  padding: 0;

  @media only screen and (min-width: 992px) {
    display: flex;
    flex-direction: row-reverse;
  }

  .hero-image {
    width: 100%;

    @media only screen and (min-width: 992px) {
      max-width: 50%;
      object-fit: cover;
    }

    @media only screen and (min-width: 1200px) {
      max-width: calc(2 / 3 * 100%);
    }
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
    padding: 24px 16px;

    @media only screen and (min-width: 992px) {
      justify-content: center;
      padding: 40px 64px;
    }

    @media only screen and (min-width: 1200px) {
      flex: 1;
    }

    > h1 {
      margin: 0;
      font-size: 32px;
      font-weight: 700;
      line-height: normal;
      color: #152a49;

      @media only screen and (min-width: 992px) {
        font-size: 40px;
      }
    }

    > p {
      margin: 0;
      font-size: 15px;
      font-weight: 700;
      line-height: normal;
      color: #152a49;

      @media only screen and (min-width: 992px) {
        font-size: 16px;
      }
    }
  }
}
