.m-global-design-project-images-with-text {
  .m-global-design-project-images-with-text-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  @media (min-width: 990px)  {
    .m-global-design-project-images-with-text-grid {
      gap: 38px;
    }
  }

  .c-text-only,
  .c-text-with-image__text {
    max-width: 778px;
  }

  .c-text-only h2,
  .c-text-with-image__text h2 {
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.75px;
    font-family: var(--font-body);
    font-weight: 300;
  }

  @media (min-width: 768px)  {
    .c-text-only h2,
    .c-text-with-image__text h2 {
      font-size: 40px;
    }
  }

  .c-text-only p,
  .c-text-with-image__text p {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 400;
    font-family: var(--font-body);
  }

  .c-text-only h2 + p,
  .c-text-with-image__text h2 + p {
    margin-top: 24px;
  }

  @media (min-width: 768px)  {
    .c-text-only--right {
      margin-right: 9.5%;
      margin-left: auto;
    }
  }

  .c-text-with-image {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
  }

  @media (min-width: 990px)  {
    .c-text-with-image {
      flex-direction: row;
    }

    .c-text-with-image--flip {
      flex-direction: row-reverse;
    }
  }

  .c-text-with-image > div {
    flex: 1
  }

  .c-text-with-image__figure {
    max-width: 437px;
  }

  .c-text-with-image__figure img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 437 / 432;
  }

  .c-image-only picture {
    display: block;
  }

  .c-image-only picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .c-image-only--full-width-horizontal img {
    aspect-ratio: 1347 / 815;
  }

  .c-image-only--full-width-vertical img {
    aspect-ratio: 1390 / 1616;
  }

  .c-image-only--med-width-to-right img,
  .c-image-only--med-width-to-left img {
    aspect-ratio: 1;
  }

  .c-image-only--med-width-to-left,
  .c-image-only--med-width-to-right {
    max-width: 904px;
  }

  .c-image-only--med-width-to-right {
    margin-left: auto;
  }
}
