/* =========================================================================
   Projects page: «مشاريع الجائزة» cards. Ported from the static projects
   page (style.css). Logical properties.
   ========================================================================= */

.projects {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.pcard-proj {
	overflow: hidden;
	background: var(--mist);
	border-radius: var(--r-lg);
}

.pcard-proj .pcard-proj__img {
	aspect-ratio: 16 / 10;
	margin: 0;
	overflow: hidden;
}

.pcard-proj .pcard-proj__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pcard-proj__body {
	display: grid;
	gap: 0.6rem;
	padding: 1.25rem 1.4rem 1.5rem;
}

.pcard-proj__body > * {
	margin: 0;
}

.pcard-proj__tag {
	font-size: var(--fs-xs);
	font-weight: 600;
	color: var(--hya-green-ink);
}

.pcard-proj .placeholder {
	font-size: var(--fs-sm);
	color: var(--ink-soft);
}
