/* Mato Product Related Posts — frontend (ویجت گرید ساده) */

.mato-prp-grid {
	display: grid;
	grid-template-columns: repeat( var( --mato-prp-cols, 3 ), minmax( 0, 1fr ) );
	gap: var( --mato-prp-gap, 24px );
}

.mato-prp-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	overflow: hidden;
}

.mato-prp-thumb {
	display: block;
	line-height: 0;
}

.mato-prp-thumb img {
	width: 100%;
	height: auto;
	display: block;
}

.mato-prp-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px;
	flex: 1;
}

.mato-prp-meta {
	font-size: 12px;
	opacity: .75;
}

.mato-prp-title {
	margin: 0;
	line-height: 1.6;
}

.mato-prp-title a {
	color: inherit;
	text-decoration: none;
}

.mato-prp-excerpt {
	line-height: 1.9;
	font-size: 14px;
}

.mato-prp-btn {
	align-self: flex-start;
	margin-top: auto;
	display: inline-block;
	text-decoration: none;
	padding: 8px 18px;
	border-radius: 6px;
	background: #006466;
	color: #fff;
	font-size: 14px;
}

.mato-prp-empty-notice {
	padding: 20px;
	border: 1px dashed #c3c4c7;
	border-radius: 6px;
	text-align: center;
	color: #646970;
}
