.ppd-grid {
	display: grid;
	grid-template-columns: repeat(var(--ppd-columns, 3), 1fr);
	gap: 24px;
	margin: 24px 0;
}

@media (max-width: 900px) {
	.ppd-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.ppd-grid {
		grid-template-columns: 1fr;
	}
}

.ppd-card {
	display: flex;
	flex-direction: column;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ppd-card:hover {
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.ppd-card__image {
	line-height: 0;
}

.ppd-card__image img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
}

.ppd-card__body {
	padding: 16px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.ppd-card__title {
	margin: 0 0 6px;
	font-size: 17px;
	line-height: 1.3;
}

.ppd-card__date {
	font-size: 12px;
	color: #888;
	margin-bottom: 8px;
}

.ppd-card__excerpt {
	font-size: 14px;
	color: #555;
	margin-bottom: 16px;
	flex-grow: 1;
}

.ppd-card__button {
	display: inline-block;
	text-align: center;
	padding: 10px 16px;
	border-radius: 6px;
	background: var(--ppd-button-color, #1d4ed8);
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	margin-top: auto;
	transition: filter 0.15s ease;
}

.ppd-card__button:hover {
	filter: brightness(88%);
	color: #fff;
}

.ppd-card__button--disabled {
	background: #ccc;
	color: #666;
	cursor: not-allowed;
}

.ppd-empty {
	padding: 24px;
	text-align: center;
	color: #777;
}
