/* Delta Projects - full-detail list, used by [project_list] */

.dp-list {
	display: grid;
	gap: 72px;
	max-width: 1100px;
	margin: 0 auto;
}

.dp-item { display: grid; gap: 22px; }

.dp-item__title {
	margin: 0 0 12px;
	font-size: clamp( 1.6rem, 3vw, 2.3rem );
	line-height: 1.2;
}

.dp-item__title a { color: inherit; text-decoration: none; }
.dp-item__title a:hover { text-decoration: underline; }

.dp-item__terms { display: flex; flex-wrap: wrap; gap: 8px; }

.dp-chip {
	display: inline-block;
	padding: 4px 10px;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: 0.8rem;
	color: inherit;
	text-decoration: none;
	opacity: 0.7;
}

.dp-chip:hover { opacity: 1; }

.dp-item__cover img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
}

.dp-item__facts {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 180px, 1fr ) );
	gap: 16px 24px;
	margin: 0;
	padding: 18px 0;
	border-top: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
}

/* Hairlines rather than full-strength text colour. */
.dp-item__facts { border-color: rgba( 0, 0, 0, 0.12 ); }

.dp-item__facts dt {
	margin: 0;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: 0.6;
}

.dp-item__facts dd { margin: 4px 0 0; font-size: 1rem; }

.dp-item__text { line-height: 1.7; }

.dp-item__video {
	position: relative;
	padding-top: 56.25%;
	overflow: hidden;
	border-radius: 10px;
	background: #000;
}

.dp-item__video iframe,
.dp-item__video video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.dp-item__gallery {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 220px, 1fr ) );
	gap: 12px;
}

.dp-item__gallery img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 6px;
}

.dp-item__more a { font-weight: 600; color: inherit; }

@media (max-width: 600px) {
	.dp-list { gap: 48px; }
	.dp-item__gallery img { height: 160px; }
}
