/**********************************************************
  MOTION HEADINGS
**********************************************************/
.motion-heading {
  display: block;
  padding: 0.5rem 1rem;
  z-index: 1;
  margin-left: 20px;
  position: relative;
  width: fit-content;
  line-height: 1;
  text-transform: uppercase;
  font-family: var(--united-sans-cond);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 2.81px;
  z-index: 1;
}

/* Slanted edges */
.motion-heading:before {
  position: absolute;
  top: -2px;
  left: -10px;
  height: calc(100% + 2px);
  content: "";
  z-index: -1;
  width: calc(100% + 20px);
  -webkit-transform: skewX(-15deg);
  transform: skewX(-15deg);
}

.motion-line {
  width: calc(100% - 20px);
  margin-left: 20px;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.motion-line .motion-heading {
  margin: 0;
}

.hgroup.hg-center .motion-heading {
  margin-left: 0;
}

@media screen and (min-width: 768px) {
  .motion-heading {
    padding: 0.675rem 1.5rem;
  }
}

/* MOTION HEADING COLORS */
/* Gold Theme */
h1.motion-heading.mh-gold,
h2.motion-heading.mh-gold,
p.motion-heading.mh-gold {
  background-color: var(--boiler-gold) !important;
  color: black !important;
}

h1.motion-heading.mh-gold:before,
h2.motion-heading.mh-gold:before,
p.motion-heading.mh-gold:before {
  background-color: var(--boiler-gold) !important;
}

.motion-line.mh-gold {
  border-top: 2px solid var(--boiler-gold) !important;
}

/* Black Theme */
h1.motion-heading.mh-black,
h2.motion-heading.mh-black,
p.motion-heading.mh-black {
  background-color: black !important;
  color: white !important;
}

h1.motion-heading.mh-black:before,
h2.motion-heading.mh-black:before,
p.motion-heading.mh-black:before {
  background-color: black !important;
}

.motion-line.mh-black {
  border-top: 2px solid black !important;
}

/* END MOTION HEADINGS */
