.text_image-block {
  width: 100%;
}

.text-image__content {
  flex: 1 1 47.5%;
  max-width: 47.5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.text-image__image {
  flex: 1 1 47.5%;
  max-width: 47.5%;
  display: flex;
  justify-content: end;
}

.text-image__image img {
  width: 85%;
  height: auto;
  display: block;
  object-fit: cover;
}

.btn-text {
  position: relative;
  padding: 1.75rem 2.5rem;
  text-decoration: none;
  z-index: 1;
}

.btn-text h3 {
  position: relative;
  z-index: 2;
  margin: 0;
}

.btn-text::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: var(--btn-svg);
}

.text-image__spacer {
  flex: 1 1 5%;
  max-width: 5%;
}

@media (max-width: 1200px) {
  .text-image__content {
    flex: 1 1 50%;
    max-width: 50%;
  }

  .text-image__image {
    flex: 1 1 50%;
    max-width: 50%;
  }

  .text-image__spacer {
    flex: 1 1 0%;
    max-width: 0%;
  }

  .text-image__image img {
    width: 100%;
  }
}

@media (max-width: 992px) {
  .text-image__content,
  .text-image__image {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .text-image__image img {
    margin: 0 auto;
  }

  .text-image__wrapper {
    gap: 0;
  }

  .text-image__image {
    justify-content: center;
  }
}
