/*
 * Jiji-style compact ad cards: short clipped title, no body paragraph.
 * Scoped to .classiera-box-div (the listing-grid card) so single-ad pages
 * -- which reuse similar markup elsewhere -- are unaffected.
 */

/* The long description paragraph shown under the title on every card --
   jiji.co.ke doesn't show this on listing cards at all. */
.classiera-box-div .description {
	display: none !important;
}

/* Clip the title to 2 lines instead of showing the whole sentence. */
.classiera-box-div figcaption h5,
.classiera-box-div figcaption h5 a {
	display: -webkit-box !important;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden !important;
	text-overflow: ellipsis;
	max-height: 2.9em;
	line-height: 1.45em;
	white-space: normal !important;
}

/* Seller trust badge injected next to the category/location line on each card. */
.chapchap-seller-badge {
	font-size: 12px;
	color: #777;
	margin: 2px 0 4px 0;
}
