/* wpagent/heading. Type presets read theme tokens --wp--custom--type--<preset>--{font,size,weight,style,line-height,tracking,transform}
   (theme.json settings.custom.type.<preset>; set them per breakpoint in theme CSS); typography props override per block. */
.wpab-heading {
	margin: 0;
	overflow-wrap: break-word;
}

.wpab-heading.is-balanced {
	text-wrap: balance;
}

.wpab-heading mark {
	background: none;
	color: inherit;
}

.wpab-heading.is-preset-display {
	font-family: var(--wp--custom--type--display--font, var(--wp--custom--font--heading, inherit));
	font-size: var(--wp--custom--type--display--size, 4rem);
	font-weight: var(--wp--custom--type--display--weight, 600);
	font-style: var(--wp--custom--type--display--style, normal);
	line-height: var(--wp--custom--type--display--line-height, 1);
	letter-spacing: var(--wp--custom--type--display--tracking, -0.015em);
	text-transform: var(--wp--custom--type--display--transform, none);
}

.wpab-heading.is-preset-h1 {
	font-family: var(--wp--custom--type--h1--font, var(--wp--custom--font--heading, inherit));
	font-size: var(--wp--custom--type--h1--size, 3rem);
	font-weight: var(--wp--custom--type--h1--weight, 600);
	font-style: var(--wp--custom--type--h1--style, normal);
	line-height: var(--wp--custom--type--h1--line-height, 1.1);
	letter-spacing: var(--wp--custom--type--h1--tracking, -0.015em);
	text-transform: var(--wp--custom--type--h1--transform, none);
}

.wpab-heading.is-preset-h2 {
	font-family: var(--wp--custom--type--h2--font, var(--wp--custom--font--heading, inherit));
	font-size: var(--wp--custom--type--h2--size, 2.25rem);
	font-weight: var(--wp--custom--type--h2--weight, 600);
	font-style: var(--wp--custom--type--h2--style, normal);
	line-height: var(--wp--custom--type--h2--line-height, 1.2);
	letter-spacing: var(--wp--custom--type--h2--tracking, -0.01em);
	text-transform: var(--wp--custom--type--h2--transform, none);
}

.wpab-heading.is-preset-h3 {
	font-family: var(--wp--custom--type--h3--font, var(--wp--custom--font--heading, inherit));
	font-size: var(--wp--custom--type--h3--size, 1.375rem);
	font-weight: var(--wp--custom--type--h3--weight, 600);
	font-style: var(--wp--custom--type--h3--style, normal);
	line-height: var(--wp--custom--type--h3--line-height, 1.3);
	letter-spacing: var(--wp--custom--type--h3--tracking, normal);
	text-transform: var(--wp--custom--type--h3--transform, none);
}

.wpab-heading.is-preset-h4 {
	font-family: var(--wp--custom--type--h4--font, var(--wp--custom--font--heading, inherit));
	font-size: var(--wp--custom--type--h4--size, 1.125rem);
	font-weight: var(--wp--custom--type--h4--weight, 600);
	font-style: var(--wp--custom--type--h4--style, normal);
	line-height: var(--wp--custom--type--h4--line-height, 1.35);
	letter-spacing: var(--wp--custom--type--h4--tracking, normal);
	text-transform: var(--wp--custom--type--h4--transform, none);
}

.wpab-heading.is-preset-statement {
	font-family: var(--wp--custom--type--statement--font, var(--wp--custom--font--heading, inherit));
	font-size: var(--wp--custom--type--statement--size, 2.5rem);
	font-weight: var(--wp--custom--type--statement--weight, 600);
	font-style: var(--wp--custom--type--statement--style, normal);
	line-height: var(--wp--custom--type--statement--line-height, 1.25);
	letter-spacing: var(--wp--custom--type--statement--tracking, normal);
	text-transform: var(--wp--custom--type--statement--transform, none);
}

.wpab-heading.is-preset-quote {
	font-family: var(--wp--custom--type--quote--font, var(--wp--custom--font--heading, inherit));
	font-size: var(--wp--custom--type--quote--size, 1.75rem);
	font-weight: var(--wp--custom--type--quote--weight, 500);
	font-style: var(--wp--custom--type--quote--style, normal);
	line-height: var(--wp--custom--type--quote--line-height, 1.35);
	letter-spacing: var(--wp--custom--type--quote--tracking, normal);
	text-transform: var(--wp--custom--type--quote--transform, none);
}

.wpab-heading.is-preset-number {
	font-family: var(--wp--custom--type--number--font, var(--wp--custom--font--heading, inherit));
	font-size: var(--wp--custom--type--number--size, 3.5rem);
	font-weight: var(--wp--custom--type--number--weight, 700);
	font-style: var(--wp--custom--type--number--style, normal);
	line-height: var(--wp--custom--type--number--line-height, 1);
	letter-spacing: var(--wp--custom--type--number--tracking, normal);
	text-transform: var(--wp--custom--type--number--transform, none);
}
