/**
 * Grid Listing - Style 1
 *
 * Card grid for the post-listing columns rendered by
 * includes/elementor/widget-style/grid-listing/style-1.php. The responsive
 * column widths themselves come from the shared dp-row/dp-col-* grid
 * utility (captwiki-listing-col.css); this file only styles the cards.
 *
 * @package captain-widgets-kit
 * @since   1.3.2
 */

/* The row's negative gutters must not widen the page on mobile. */
.captwiki-grid-listing {
	overflow-x: hidden;
}

.captwiki-grid-listing .captwiki-grid-item {
	margin-bottom: 30px;
}

.captwiki-grid-listing .captwiki-grid-item img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 10px;
	background: #f4f6f9;
}

.captwiki-grid-listing .captwiki-text {
	padding: 16px 4px 0;
}

.captwiki-grid-listing .captwiki-text h3 {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	color: #1a1f2e;
}

.captwiki-grid-listing .captwiki-text p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: #5a6274;
}

.captwiki-posts-not-found {
	margin: 0;
	padding: 24px;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	color: #5a6274;
	background: #f4f6f9;
	border-radius: 10px;
}
