.rich-text-he {
  position: relative;
  /* background-color: rgb(var(--color-page-background)); */
  background-color: rgb(var(--color-background));
}

.rich-text-he .block-heading {
  width: 100%;
}

.rich-text-he .block-button-group .button {
  white-space: normal;
}

.rich-text__background-image {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  /* z-index: 1; */
  width: 100%;
  height: 100%;
  user-select: none;
}

.rich-text__background-image img,
.rich-text__background-image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rich-text__content {
  position: relative;
}

.rich-text__content .block-subheading-he,
.rich-text__content .block-heading-he,
.rich-text__content .rte-he {
  margin-bottom: 10px;
}

.rich-text__content .block-subheading-he,
.rich-text__content .block-heading-he,
.rich-text__content .rte-he,
.rich-text__content .block-button-group {
  position: relative;
  /* z-index: 3; */
}

.rich-text__content.content-center .block-subheading-he,
.rich-text__content.content-center .block-heading-he,
.rich-text__content.content-center .rte-he,
.rich-text__content.content-center .block-button-group {
  text-align: center;
  justify-content: center;
}

.rich-text__content.content-left .block-subheading-he,
.rich-text__content.content-left .block-heading-he,
.rich-text__content.content-left .rte-he,
.rich-text__content.content-left .block-button-group {
  text-align: start;
  justify-content: flex-start;
}

.rich-text__content.content-right .block-subheading-he,
.rich-text__content.content-right .block-heading-he,
.rich-text__content.content-right .rte-he,
.rich-text__content.content-right .block-button-group {
  text-align: end;
  justify-content: flex-end;
}