/**
 * Product Title — common widget CSS.
 *
 * @package captain-widgets-kit
 * @since   1.4.0
 */

.captwiki-ptitle {
	margin: 0;
	line-height: 1.25;
}

.captwiki-ptitle a {
	text-decoration: none;
	color: inherit;
	transition: color 0.2s ease;
}

.captwiki-ptitle__prefix,
.captwiki-ptitle__suffix {
	font-size: 0.7em;
	font-weight: 500;
	opacity: 0.8;
}

.captwiki-ptitle__prefix {
	margin-right: 0.4em;
}

.captwiki-ptitle__suffix {
	margin-left: 0.4em;
}

/* Line clamp. */
.captwiki-ptitle--clamp .captwiki-ptitle__text {
	display: -webkit-box;
	-webkit-line-clamp: var( --captwiki-ptitle-lines, 2 );
	line-clamp: var( --captwiki-ptitle-lines, 2 );
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Editor notice. */
.captwiki-ptitle--notice {
	display: block;
	padding: 14px 16px;
	border: 1px dashed #c3c4c7;
	border-radius: 6px;
	background: #f6f7f7;
	color: #50575e;
	text-align: center;
	font-size: 13px;
	font-weight: 400;
}

.captwiki-ptitle--notice p {
	margin: 0;
}
