.truncate {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.is-line-clamp {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--wp-components-truncate-lines);
	display: -webkit-box;
	overflow: hidden;

	// The `word-break: break-all` property first makes sure a text line
	// breaks even when it contains 'unbreakable' content such as long URLs.
	// See https://github.com/WordPress/gutenberg/issues/60860.
	&.is-single-line {
		word-break: break-all;
	}
}
