/*
 * Heading Style Variations — front-end + editor styles.
 *
 * Three named core/heading styles mapped to typography roles; the implicit
 * "Default" (no class) falls back to theme.json h{N}. Token references only.
 */

/* theme.json h{N} renders at zero specificity (:where), so a single class wins without !important. */

/* Display: decorative display-font heading; size intentionally not set so the heading level drives scale. */
.wp-block-heading.is-style-display {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	line-height: 1.05;
}

/* Subtitle: lighter supporting heading in the primary/body font; size left to the heading level. */
.wp-block-heading.is-style-subtitle {
	font-family: var(--wp--preset--font-family--primary);
	font-weight: 400;
	line-height: 1.4;
}

/* Annotation: small uppercase mono label (eyebrows/badges); size locked to `small`, independent of heading level. */
.wp-block-heading.is-style-annotation {
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	line-height: 1.3;
	text-transform: uppercase;
}
