:root {
  --heading-color: #777;
  --heading-font-weight: 800;
  --h1-font-family: var(--secondary-font);
  --h1-font-size: 34px;
  --h1-line-height: 1.2;
  --h1-font-weight: var(--heading-font-weight);
  --h2-font-family: var(--secondary-font);
  --h2-font-size: 25px;
  --h2-line-height: 1.2;
  --h2-font-weight: var(--heading-font-weight);
  --h2-margin-top: calc(var(--global-padding) * 2);
  --h2-margin-bottom: 20px;
}

.heading-outer-wrapper {
  width: 100%;
  background-color: var(--background-hover);
  position: relative;
  margin: var(--h2-margin-top) 0 var(--h2-margin-bottom) 0;
}
.heading-outer-wrapper:after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--background-hover);
  border-right: 1px solid var(--background-hover);
  border-bottom: 1px solid var(--background-hover);
  z-index: 1;
  bottom: -10px;
  left: 50%;
  margin-left: -10px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
}
.heading-outer-wrapper .heading-inner-wrapper {
  position: relative;
  width: 100%;
  padding: 30px 0;
  text-align: center;
}
.heading-outer-wrapper.same-block-prev {
  padding-bottom: var(--global-padding);
}
.heading-outer-wrapper.heading-h2 + .heading-h3 {
  margin-top: 30px;
}
.heading-outer-wrapper.heading-h3 {
  background-color: transparent;
  max-width: none;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.heading-outer-wrapper.heading-h3:after {
  display: none;
}
.heading-outer-wrapper.heading-h3 .heading-inner-wrapper {
  max-width: var(--text-width);
  text-align: left;
  padding: var(--h2-margin-top) 0 20px 0 !important;
}