/*
 * Shared homepage and Insights card layout refinements.
 */
.cm-top-cards article {
	/* REMOVED - Caused excess vertical space
	height: 100%; */
	border-radius: 18px;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.cm-top-cards article:hover {
	transform: none;
	box-shadow: var(--cm-strong-shadow);
}

.cm-help-grid {
	align-items: stretch;
}

.cm-help article {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 0.4rem 1.2rem 0.4rem;
}

.cm-help p {
	min-height: 0;
}

.cm-query .cm-post-grid {
	align-items: stretch;
}

.cm-post-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 520px;
	padding: 0 0 1.25rem;
	border-radius: 18px;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.cm-post-card:hover {
	transform: none;
	box-shadow: var(--cm-strong-shadow);
}

.cm-post-card .wp-block-post-featured-image {
	margin: 0;
	overflow: hidden;
	background: rgba(186, 212, 207, 0.45);
}

.cm-post-card .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 240ms ease;
}

.cm-post-card:hover .wp-block-post-featured-image img {
	transform: scale(1.035);
}

.cm-post-card h3 {
	margin: 0.75rem 0.55rem 0.55rem 0.55rem !important;
	font-size: 1.22rem;
	line-height: 1.18;
}

.wp-block-post-excerpt__excerpt {
	margin: 0.75rem 0.55rem 0.55rem 0.55rem !important;
}

.cm-post-card .wp-block-post-date {
	margin-top: 1rem;
	color: var(--cm-muted);
	font-family: var(--wp--preset--font-family--manrope, system-ui, sans-serif);
	font-weight: 600;
}

.cm-post-card .wp-block-post-excerpt {
	flex: 1;
	margin-bottom: 1rem;
	color: var(--cm-muted);
}

.cm-post-card .cm-read-more {
	align-self: flex-start;
	margin-top: auto;
}

