.block-tip {
	border: 1px solid var(--wp--preset--color--primary);
	padding: 0 16px 16px;
	--wp--style--block-gap: 42px;
}

.block-tip > *:first-child {
	margin-top: 0;
}

.block-tip > *:last-child {
	margin-bottom: 0;
}

.block-tip p.block-tip__title,
.block-tip h2:first-child,
.block-tip h3:first-child {
	background: var(--wp--preset--color--background);
	color: var(--wp--preset--color--primary);
	display: inline-block;
	margin-bottom: 0;
	padding: 0 16px;
	transform: translateY(-14px);

	font-size: var(--wp--preset--font-size--normal);
	font-weight: 800;
	line-height: var(--wp--custom--line-height--small);
	letter-spacing: var(--wp--custom--letter-spacing--small);
	text-transform: uppercase;
}

.block-tip p.block-tip__title + p,
.block-tip h2:first-child + p,
.block-tip h3:first-child + p {
	margin-top: 0;
}
