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

.pg-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

.pg-card-image {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #f2f2f2;
}

.pg-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pg-card-image-placeholder {
	width: 100%;
	height: 100%;
	background: #f2f2f2;
}

.pg-card-body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 18px 20px 20px;
}

.pg-card-title {
	margin: 0 0 10px;
	font-size: 1.1em;
	line-height: 1.35;
}

.pg-card-title a {
	color: inherit;
	text-decoration: none;
}

.pg-card-title a:hover {
	text-decoration: underline;
}

.pg-card-excerpt {
	margin: 0 0 16px;
	color: #555;
	font-size: 0.95em;
	line-height: 1.5;
	flex-grow: 1;
}

.pg-card-button {
	display: inline-block;
	align-self: flex-start;
	padding: 8px 18px;
	background: #1d2327;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-size: 0.9em;
	font-weight: 600;
	transition: background 0.2s ease;
}

.pg-card-button:hover {
	background: #2c3338;
	color: #fff;
}

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

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