.rich-text {
  position: relative;
  background-color: rgb(var(--color-background));
}

.rich-text .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;
}

a.rich-text__link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
}

.rich-text__content {
  position: relative;
  z-index: 3;
  pointer-events: none;
}

.rich-text__content > * {
  pointer-events: auto;
}

/* Homepage Our Story */
#shopline-section-template--index__17921437630278c4520a .rich-text {
  padding-block: clamp(24px, 4vw, 56px);
  background-color: #edf2f7;
}

#shopline-section-template--index__17921437630278c4520a .rich-text__content {
  box-sizing: border-box;
  width: min(1200px, calc(100% - clamp(32px, 6vw, 64px)));
  margin-inline: auto;
  border-radius: 24px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgb(25 44 66 / 5%), 0 16px 36px rgb(25 44 66 / 10%);
}

@media (max-width: 749px) {
  #shopline-section-template--index__17921437630278c4520a .rich-text__content {
    border-radius: 16px;
  }
}
