.text-img {
  background: transparent;
  color: var(--text-img-text-color, var(--text-color, #fff));
  margin-top: var(--block-section-spacing-top, var(--section-spacing-top, 40px));
  margin-bottom: var(--block-section-spacing-bottom, var(--section-spacing-bottom, 40px));
}
.text-img--has-bg {
  background: var(--text-img-bg, var(--block-bg, transparent));
  border-radius: var(--block-border-radius, 10px);
  padding: 40px 24px;
}
.text-img__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.text-img__content {
  color: var(--text-img-text-color, inherit);
  font-size: var(--block-body-font-size, var(--content-body-font-size, 16px));
  line-height: var(--content-line-height, 1.5);
  min-width: 0;
}
.text-img__content p,
.text-img__content li {
  color: inherit;
  font-size: inherit;
}
.text-img__content h1,
.text-img__content h2,
.text-img__content h3,
.text-img__content h4,
.text-img__content h5 {
  color: var(--text-img-text-color, var(--text-color, #fff));
}
.text-img__content h1:first-child,
.text-img__content h2:first-child,
.text-img__content h3:first-child,
.text-img__content h4:first-child,
.text-img__content h5:first-child {
  margin-top: 0;
}
.text-img__content h1 {
  font-size: var(--block-title-font-size, var(--content-h1-font-size, 2.25rem));
}
.text-img__content h2 {
  font-size: var(--block-title-font-size, var(--content-h2-font-size, 2rem));
}
.text-img__content h3 {
  font-size: var(--block-title-font-size, var(--content-h3-font-size, 1.5rem));
}
.text-img__content h4 {
  font-size: var(--block-title-font-size, var(--content-h4-font-size, 1.3rem));
}
.text-img__content h5 {
  font-size: var(--block-title-font-size, var(--content-h5-font-size, 1.2rem));
}
.text-img__content > :last-child {
  margin-bottom: 0;
}
.text-img__button.button {
  border: 0;
  background: var(--text-img-button-bg, var(--button-bg, var(--btn-color, #ff533f)));
  font-size: var(--block-button-font-size, var(--button-font-size, 16px));
}
.text-img__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.text-img__media-link {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: inherit;
}
.text-img__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 500px;
  margin: 0;
  object-fit: contain;
  border-radius: var(--block-border-radius, 10px);
}

.text-img__wrap.text-img--right {
  grid-template-columns: 5fr 4fr;
}

.text-img__wrap.text-img--1-2 {
  grid-template-columns: 2fr 4fr;
}

.text-img__wrap.text-img--2-1 {
  grid-template-columns: 4fr 2fr;
}

.text-img__wrap.text-img--3-2 {
  grid-template-columns: 3fr 2fr;
}

.text-img__wrap.text-img--2-3 {
  grid-template-columns: 2fr 3fr;
}

.text-img__wrap.text-img--4-5 {
  grid-template-columns: 4fr 5fr;
}

.text-img__wrap.text-img--5-4 {
  grid-template-columns: 5fr 4fr;
}

.text-img__wrap.text-img--no-media,
.text-img__wrap.text-img--no-content {
  grid-template-columns: 1fr;
}

@media (max-width: 992px) {
  .text-img--has-bg {
    padding: 24px;
  }
  .text-img__wrap,
  .text-img__wrap.text-img--right,
  .text-img__wrap.text-img--1-2,
  .text-img__wrap.text-img--2-1,
  .text-img__wrap.text-img--3-2,
  .text-img__wrap.text-img--2-3,
  .text-img__wrap.text-img--4-5,
  .text-img__wrap.text-img--5-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .text-img__wrap:not(.text-img--no-media) .text-img__content {
    grid-row: 1;
  }
  .text-img__wrap:not(.text-img--no-content) .text-img__media {
    grid-row: 2;
  }
  .text-img__image {
    max-height: 360px;
  }
}

/*# sourceMappingURL=text-img.css.map */
