._custom_title {
    overflow: hidden;
}

._custom_title span {
  position: relative;
  user-select: none;
}

/* ._custom_title span::before,
._custom_title span::after {
  content: " ";
  display: block;
  position: absolute;
  top: 50%;
  height: 100%;
  background: var(--e-global-color-primary);
  border-right: 1px solid var(--e-global-color-text);
  width: 200px;
}

._custom_title span::before {
  right: calc(100% - 34px);
  transform: rotate(-30deg);
}

._custom_title._pos-2 span::before{
    right: calc(100% - 35px);
    transform: rotate(-31deg);
}

._custom_title._pos-2 span::before,
._custom_title._pos-2 span::after {
    top: calc(50% + 15px);
    border-right: 1px solid var(--e-global-color-primary);
}

._custom_title._pos-2 span::after {
    display: none;
}

._custom_title span::after {
  left: calc(100% - 34px);
  transform: rotate(210deg);
}

._custom_title_secondary span::before,
._custom_title_secondary span::after {
  background: var(--e-global-color-secondary);
} */

@media (max-width: 767px) {
  ._custom_title:not(._pos-2) span::before {
      right: calc(100% - 30px) !important;
      width: 200px !important;
      transform: rotate(-27deg);
  }
  ._custom_title:not(._pos-2) span::after {
      left: calc(100% - 7px) !important;
      width: 200px !important;
      transform: rotate(205deg);
  }
  ._custom_title:not(._pos-2) span {
    white-space: pre-line;
  }
}

@media (max-width: 1024px) {
  ._custom_title:not(._pos-2) span::before {
    right: calc(100% - 20px);
    width: 140px;
  }
  ._custom_title:not(._pos-2) span::after {
    left: calc(100% - 20px);
    width: 140px;
  }
}

.allow-white-space p, .allow-white-space h2, .allow-white-space span {
    white-space: pre-wrap;
}