/**
 * Section heading: eyebrow + two-tone title.
 * Markup: template-parts/v2/components/section-heading.php
 */
@layer components {
	.lb-v2-heading {
		display: grid;
		gap: var(--lb-v2-heading-gap);
	}

	.lb-v2-heading__eyebrow {
		font-size: var(--lb-v2-text-eyebrow-size);
		line-height: var(--lb-v2-text-eyebrow-leading);
		font-weight: var(--lb-v2-text-eyebrow-weight);
		letter-spacing: var(--lb-v2-text-eyebrow-tracking);
		text-transform: uppercase;
	}

	.lb-v2-heading__title {
		font-size: var(--lb-v2-text-h2-size);
		line-height: var(--lb-v2-text-h2-leading);
		font-weight: var(--lb-v2-text-h2-weight);
		text-wrap: balance;
	}

	.lb-v2-heading__accent {
		color: var(--lb-v2-color-accent);
	}

	.lb-v2-heading--center {
		justify-items: center;
		text-align: center;
	}

	.lb-v2-heading--light {
		color: var(--lb-v2-color-white);
	}

	/* Centered headings break the accent onto its own line, as in the design. */
	.lb-v2-heading--center .lb-v2-heading__accent {
		display: block;
	}
}
