.gx-masked-heading {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  text-wrap: balance;
  -webkit-font-smoothing: antialiased;
}

.gx-masked-heading__measure {
  color: transparent;
}

.gx-masked-heading__word {
  display: inline-block;
  white-space: pre;
}

.gx-masked-heading__word:not(:last-child)::after {
  content: ' ';
}

.gx-masked-heading__baseline {
  display: inline-block;
  width: 0;
  height: 0;
}

.gx-masked-heading__defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.gx-masked-heading__reveal {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}

.gx-masked-heading__clip {
  position: absolute;
  inset: 0;
  display: block;
}

.gx-masked-heading__media {
  position: absolute;
  inset: 0;
  display: block;
  will-change: transform, filter;
}

.gx-masked-heading__source {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
