.stroke-text {
  display: block;
  width: 100%;
  line-height: 0;
}

.stroke-text--hover {
  cursor: pointer;
}

.stroke-text__svg {
  display: block;
  width: 100%;
  height: var(--stroke-text-height, 160px);
}

.stroke-text__stroke,
.stroke-text__fill {
  user-select: none;
}

/* The original characters remain in flow so every authored line break and
   word width stays frozen. StrokeText occupies exactly that existing box. */
.tectonic-editorial__word-inner.has-stroke-text-component {
  vertical-align: baseline;
}

.tectonic-editorial__word-inner.has-stroke-text-component > .tectonic-editorial__char {
  visibility: hidden;
}

.tectonic-editorial__word-inner.has-stroke-text-component > .stroke-text {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.22em;
  transform: translate3d(0, -50%, 0);
  pointer-events: none;
  overflow: visible;
}

.tectonic-editorial__word-inner.has-stroke-text-component .stroke-text__svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
