.pcg-grid {
	--pcg-gap: clamp(16px, 2vw, 28px);
	--pcg-radius: 10px;
	--pcg-surface: #2F4842;
	--pcg-border: rgba(18, 33, 28, 0.08);
	--pcg-shadow: 0 18px 40px rgba(18, 33, 28, 0.08);
	--pcg-pill-bg: #f4efe7;
	--pcg-pill-text: #284236;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--pcg-gap);
}

.pcg-card {
	display: block;
	color: inherit;
	text-decoration: none;
	background: var(--pcg-surface);
	border: 1px solid var(--pcg-border);
	border-radius: var(--pcg-radius);
	overflow: hidden;
	box-shadow: var(--pcg-shadow);
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.pcg-card:hover,
.pcg-card:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 24px 48px rgba(18, 33, 28, 0.14);
	border-color: rgba(40, 66, 54, 0.18);
}

.pcg-card:focus-visible {
	outline: 2px solid #284236;
	outline-offset: 3px;
}

.pcg-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #ebe4d8 0%, #d9e1d7 100%);
}

.pcg-card__media img,
.pcg-card__placeholder {
	width: 100%;
	height: 100%;
	display: block;
}

.pcg-card__media img {
	object-fit: cover;
}

.pcg-card__placeholder {
	background: linear-gradient(135deg, #ebe4d8 0%, #d9e1d7 100%);
}

.pcg-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px;
    justify-content: center;
}

.pcg-pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 15px;
    border-radius: 999px;
    background: #ffffff1c;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
}

@media (max-width: 1024px) {
	.pcg-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.pcg-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.pcg-card__meta {
		padding: 16px;
	}

	.pcg-pill {
		font-size: 0.9rem;
	}
}
