@keyframes box_wire_width {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}
.rich-text__wrapper--center {
  text-align: center;
}

.rich-text__wrapper--left {
  text-align: left;
}

.rich-text__wrapper--right {
  text-align: right;
}

.rich-text__blocks > * {
  margin-top: 0;
  margin-bottom: 0;
}

.rich-text__blocks > * + * {
  margin-top: 30px;
}

.rich-text {
  position: relative;
}

.rich-text .rich-text__buttons {
  display: flex;
  justify-content: center;
}

.rich-text .rich-text__buttons > *:first-child {
  margin-right: 20px;
}

.rich-text .rich-text__decoration {
  position: absolute;
  top: 50%;
  left: 0px;
  transform: translateY(-50%);
  color: rgb(var(--color-entry-line));
}

.rich-text .rich-text__decoration.rich-text__decoration--right {
  right: 0px;
  transform: translateY(-50%) rotate(180deg);
}
.rich-text .rich-text__heading[data-title-style="1"] {
  display: inline-block;
  position: relative;
  padding: 10px 20px;
  margin-left: 12px;
}
.rich-text .rich-text__heading_main[data-title-style="1"] {
  border-bottom: 2px solid rgb(var(--color-theme-background));
}
.rich-text .rich-text__heading[data-title-style="1"]::before {
  z-index: -1;
  transform: skew(-20deg);
  content: "";
  width: 100%;
  top: 0;
  left: 0px;
  height: 100%;
  background-color: rgb(var(--color-theme-background));
  position: absolute;
}
.rich-text .rich-text__heading_main[data-title-style="2"] {
  display: flex;
  align-items: center;
  gap: 30px;
}
.rich-text-box-wire {
  width: 0px;
  pointer-events: all;
  animation-duration: 1s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
  animation-name: box_wire_width;
}
.rich-text .box-fold {
  display: block;
  transition: all 0.3s;
  overflow: hidden;
  position: relative;
}
.rich-text .icon-fold {
  cursor: pointer;
  border-bottom: 1px solid #000;
  text-align: center;
}
@media screen and (max-width: 959px) {
  .rich-text .rich-text__layout--normal-width {
    max-width: 100%;
  }

  .rich-text__blocks > * + * {
    margin-top: 20px;
  }
}
