/** Project case-study detail — complements blog-single.css */

.yb-project-body {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	min-width: 0;
}

.yb-project-gallery h2,
.yb-epc-scope h2 {
	margin: 0 0 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #f3f4f6;
	font-size: 1.5rem;
	font-weight: 700;
	color: #111827;
}

.yb-project-gallery__lead {
	margin: 0 0 1rem;
	font-size: 0.875rem;
	line-height: 1.6;
	color: #4b5563;
}

.yb-project-gallery__grid {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.yb-project-gallery__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.yb-project-gallery__img {
	width: 100%;
	border-radius: 1rem;
	object-fit: cover;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.yb-project-gallery__img--hero {
	aspect-ratio: 16 / 9;
}

@media (min-width: 640px) {
	.yb-project-gallery__img--hero {
		grid-column: span 2;
	}
}

.yb-project-gallery__img:not(.yb-project-gallery__img--hero) {
	aspect-ratio: 4 / 3;
}

.yb-project-port {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: #1f2937;
}

.yb-project-port i {
	color: #c9a868;
}

.yb-project-milestones {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
}

.yb-project-milestones li {
	border: 1px solid #e5e7eb;
	border-radius: 9999px;
	background: #faf8f4;
	padding: 0.25rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: #374151;
}

.yb-project-highlights {
	margin-bottom: 1.25rem;
}

.yb-project-phase-link {
	margin: 1rem 0 0;
	font-size: 0.875rem;
	color: #4b5563;
}

.yb-project-phase-link a {
	font-weight: 600;
	color: #c9a868;
	text-decoration: none;
}

.yb-project-phase-link a:hover {
	text-decoration: underline;
}

.yb-detail-hero__pill--link {
	text-decoration: none;
	color: #fff;
}

.yb-detail-hero__pill--link:hover {
	background: rgba(255, 255, 255, 0.28);
}

.yb-project-body .yb-blog-body-prose {
	margin-top: 0;
}

.yb-project-body .yb-blog-body-prose > :first-child {
	margin-top: 0;
}

.yb-project-body .yb-blog-body-prose img {
	border-radius: 1rem;
}
