/*
 * Advanced Heading widget.
 *
 * Colour, size and weight all come from the panel, so almost nothing is set
 * here — only the structure the panel cannot express.
 */

.vora-heading {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.vora-heading__eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.3;
}

.vora-heading__title {
	margin: 0;
	line-height: 1.15;
}

.vora-heading__title a {
	color: inherit;
	text-decoration: none;
}

.vora-heading__sub {
	margin: 0;
	line-height: 1.6;
}

/*
 * A gradient heading paints the text with `background-clip`, so the glyphs must
 * be transparent for the fill to show. That makes the highlight span a special
 * case: it needs its own opaque fill restored or it disappears into the
 * gradient it is meant to stand out from.
 */
.vora-heading--gradient .vora-heading__title {
	display: inline-block;
}

.vora-heading__mark {
	-webkit-text-fill-color: currentColor;
}
