.text-with-image {
  padding-bottom: 4.6875rem;
}

.text-with-image .heading-2,
.text-with-image .heading-3,
.text-with-image .heading-5 {
  width: 100%;
  text-align: center;
}

.text-with-image .heading-5 {
  text-align: left;
}

.text-with-image .heading-2 {
  margin-bottom: 2.1875rem;
}

.text-with-image img {
  width: 100%;
  height: 13.75rem;
  border-radius: 1.25rem;
  object-fit: cover;
  margin-bottom: 2.1875rem;
}

.text-with-image .text-with-image__text .heading-3 {
  margin-bottom: 1.25rem;
}

.text-with-image .text-with-image__text .heading-5 {
  color: var(--text-light-80);
  margin-bottom: 2.1875rem;
}

@media screen and (max-width: 959px) {
  .text-with-image .heading-2 {
    font-size: 2.875rem;
  }
	
  .text-with-image .heading-3 {
    font-size: 1.5rem;
  }
}

@media screen and (min-width: 960px) {
  .text-with-image {
    padding-bottom: 8rem;
  }

  .text-with-image img {
    width: 49.9375rem;
    height: 30.6875rem;
    border-radius: 0.9375rem;
    margin-bottom: 0px;
  }

  .text-with-image .text-with-image__text {
    padding-top: 1.5rem;
    width: 53.3125rem;
  }

  .text-with-image .text-with-image__text .heading-2 {
    text-align: right;
    margin-bottom: 3.3125rem;
  }

  .text-with-image .text-with-image__text .heading-3 {
    text-align: left;
    margin-bottom: 1.8125rem;
  }

  .text-with-image .text-with-image__text .heading-5 {
    text-align: left;
    margin-bottom: 3.25rem;
    color: var(--grey-text-80);
  }
}
