/*
 * Text roles of the design as core/paragraph block styles (registered in inc/blocks/text-styles.php).
 * Lead: section intro. Eyebrow: small caps label above titles (design repeats it per component).
 */

.is-style-ll-lead {
	font-size: var(--wp--preset--font-size--lead);
	line-height: var(--ll-lh-relaxed);
	color: var(--ll-text-2);
	max-width: var(--ll-measure-lead);
}
/* Constrained layout centres every child with margin-inline: auto !important (core). A lead narrower
   than the column must still start on the column edge (design: left-aligned), so its start margin is
   the column offset; !important is the only way past core's !important. */
.is-layout-constrained > .is-style-ll-lead {
	margin-inline-start: calc((100% - min(var(--theme-block-width), var(--theme-block-max-width))) / 2) !important;
	margin-inline-end: auto !important;
}
.has-emphasis-background-color .is-style-ll-lead {
	color: var(--ll-on-emphasis-muted);
}

/* Design h2.section-title: size, weight, line height and tracking come from theme.json (h2); the
   measure was missing. Component rules (:root .ll-x .ll-section-title) still override it. */
h2.ll-section-title {
	max-width: var(--ll-measure-title);
	text-wrap: balance;
}

.is-style-ll-eyebrow {
	font-size: var(--wp--preset--font-size--overline);
	font-weight: var(--ll-weight-bold);
	line-height: var(--ll-lh-tight);
	letter-spacing: var(--ll-tracking-caps);
	text-transform: uppercase;
	color: var(--ll-text-3);
}
