/*
 * YoNinja ListingPro archive enhancements.
 * Title alignment applies only to ListingPro Style 1 cards on category,
 * Feature, and tag archives. Descriptions are repositioned only where terms
 * have owner-managed archive copy: listing categories and Features.
 */
body.tax-listing-category .listing-simple .lp-grid-box-contianer.grid_view_s1.grid_view2 h4.lp-h4,
body.tax-features .listing-simple .lp-grid-box-contianer.grid_view_s1.grid_view2 h4.lp-h4,
body.tax-list-tags .listing-simple .lp-grid-box-contianer.grid_view_s1.grid_view2 h4.lp-h4 {
	box-sizing: border-box;
	height: 24px;
	min-height: 24px;
	margin-bottom: 12px;
	overflow: hidden;
}

body.tax-listing-category .listing-simple .lp-grid-box-contianer.grid_view_s1.grid_view2 h4.lp-h4 > a,
body.tax-features .listing-simple .lp-grid-box-contianer.grid_view_s1.grid_view2 h4.lp-h4 > a,
body.tax-list-tags .listing-simple .lp-grid-box-contianer.grid_view_s1.grid_view2 h4.lp-h4 > a {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* The term description is moved by the paired child script from below the
 * filter panel to immediately beneath the archive heading. */
body.tax-listing-category .listing-simple .lp_term_archive_description.yn-term-description--title-adjacent,
body.tax-features .listing-simple .lp_term_archive_description.yn-term-description--title-adjacent {
	clear: both;
	max-width: 960px;
	margin: 4px 0 38px;
	color: #6b6b6b;
	font-size: 15px;
	line-height: 1.65;
}

body.tax-listing-category .listing-simple .lp_term_archive_description.yn-term-description--title-adjacent p,
body.tax-features .listing-simple .lp_term_archive_description.yn-term-description--title-adjacent p {
	margin: 0;
}

@media (max-width: 767px) {
	body.tax-listing-category .listing-simple .lp_term_archive_description.yn-term-description--title-adjacent,
	body.tax-features .listing-simple .lp_term_archive_description.yn-term-description--title-adjacent {
		margin: 2px 0 14px;
		font-size: 14px;
		line-height: 1.55;
	}
}
