/**
 * Parks archive.
 *
 * Only the differences from the theme's news cards live here; everything
 * structural (border, radius, shadow, spacing) is inherited from .wm-card.
 */

.wm-parks-archive .wm-parks-title { margin: 0.2rem 0 0.4rem; }

.wm-parks-archive .wm-parks-intro {
	margin: 0 0 1.2rem;
	max-width: 46rem;
	color: var(--wm-muted, #667985);
}

/*
 * Auto-fill rather than the news grid's fixed three columns: on a wide screen
 * this yields four or five narrower cards, which is what makes the images
 * smaller without changing their proportions.
 */
.wm-parks-archive .wm-parks-grid {
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 18px;
}

/* Shorter than the 16/9 news image, so a park card is mostly information. */
.wm-parks-archive .wm-park-card-image {
	aspect-ratio: 16 / 8;
	position: relative;
	display: grid;
	place-items: center;
}

/* 34 parks have no photograph; this fills the slot rather than leaving a hole. */
.wm-park-noimage {
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wm-teal, #087f8c);
	opacity: 0.75;
}

.wm-parks-archive .wm-card-body { display: flex; flex-direction: column; gap: 0.45rem; }

.wm-parks-archive .wm-card-body h3 {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.3;
}

.wm-park-loc {
	margin: 0;
	font-size: 0.85rem;
	color: var(--wm-muted, #667985);
}

.wm-park-facs {
	list-style: none;
	margin: 0.1rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
}

.wm-park-facs li {
	font-size: 0.72rem;
	line-height: 1;
	padding: 0.28rem 0.5rem;
	border-radius: 999px;
	background: var(--wm-aqua, #dff2f3);
	color: var(--wm-ink, #1f3440);
	white-space: nowrap;
}

.wm-park-facs li.is-more { background: transparent; color: var(--wm-muted, #667985); }

.wm-parks-archive .wm-card-meta { margin-top: auto; }

@media (max-width: 600px) {
	.wm-parks-archive .wm-parks-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
	.wm-parks-archive .wm-card-body h3 { font-size: 0.95rem; }
	.wm-park-facs li { font-size: 0.68rem; }
}
