.title-block {
  display: inline-block;
  max-width: 100%;
  vertical-align: top;
}

.title-block > h1,
.title-block > h2 {
  display: block;
  width: max-content;
  max-width: 100%;
}

.title-underline {
  position: relative;
  display: block;
  width: 100%;
  height: 0;
  margin: 10px 0 16px;
  border-bottom: 1px solid #e4d7ef;
  background-color: #406ef8;
}

.title-underline::before,
.title-underline::after {
  content: "";
  position: absolute;
  bottom: -1px;
  height: 4px;
  background-color: #406ef8;
}

.title-underline::before {
  left: 0;
  width: 50px;
}

.title-underline::after {
  left: 53px;
  width: 15px;
}
