.heading-wrp {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 34px;
}

.heading-wrp::after {
  content: '';
  flex-grow: 1;
  height: 2px;
  background-color: var(--primary);
  position: relative;
  bottom: 0;
  right: 0;
  align-self: flex-end;
}

.heading-wrp.white::after {
  background-color: var(--white);
}

.heading-wrp .title-wrp {
  background-color: var(--primary);
  color: var(--white);
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.heading-wrp.white .title-wrp {
  background-color: var(--white);
}

.heading-wrp .title-wrp h5 {
  margin-bottom: 0;
  padding: 2px 11px 2px 20px;
}

.heading-wrp.white .title-wrp h5 {
  color: var(--text);
}

.heading-wrp .title-wrp::before {
  content: '';
  height: 100%;
  width: 6px;
  background-color: var(--secondary);
  display: block;
  position: relative;
  left: 0;
  top: 0;
}

.heading-wrp .title-wrp::after {
  content: '';
  height: 100%;
  width: 40px;
  clip-path: polygon(0px 0px, calc(100% - 0px) calc(100% - 0px), 0px calc(100% - 0px), 0px 0px);
  background-color: var(--primary);
  display: block;
  position: absolute;
  right: 1px;
  transform: translateX(100%);
  top: 0;
}

.heading-wrp.white .title-wrp::after {
  background-color: var(--white);
}

@media (min-width: 1200px) {
  .heading-wrp {
    margin-bottom: 40px;
  }
}
