/**
 * Detail Portofolio - Serayu Digital
 * Scoped di bawah .pf- agar tidak bentrok dengan tema lain.
 */

.pf-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px 60px;
}

/* ---------- Breadcrumb ---------- */
.pf-breadcrumb {
	font-size: 0.85em;
	color: #6c757d;
	padding: 24px 0 18px;
}
.pf-breadcrumb a {
	color: #6c757d;
	text-decoration: none;
}
.pf-breadcrumb a:hover {
	color: #0166FF;
}
.pf-breadcrumb .sep {
	margin: 0 8px;
	color: #adb5bd;
}
.pf-breadcrumb .current {
	color: #212529;
	font-weight: 600;
}

/* ---------- Header ---------- */
.pf-header {
	background: #fff;
	border: 1px solid #e9ecef;
	border-radius: 14px;
	padding: 28px 36px;
	margin-bottom: 30px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.pf-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}
.pf-badge {
	display: inline-block;
	font-size: 0.78em;
	font-weight: 600;
	padding: 5px 13px;
	border-radius: 50px;
	background: rgba(1, 102, 255, 0.1);
	color: #0166FF;
	text-decoration: none;
}
.pf-badge:hover {
	background: rgba(1, 102, 255, 0.18);
}
.pf-badge--client {
	background: rgba(22, 163, 74, 0.12);
	color: #16a34a;
}
.pf-badge--year {
	background: rgba(107, 114, 128, 0.12);
	color: #6b7280;
}
.pf-title {
	font-size: 2.35em;
	line-height: 1.1;
	margin: 0;
	color: #16191d;
	font-weight: 800;
}

/* ---------- Layout ---------- */
.pf-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 30px;
	align-items: start;
}
.pf-side {
	position: sticky;
	top: 20px;
}

/* ---------- Hero image ---------- */
.pf-hero {
	background: #fff;
	border: 1px solid #e9ecef;
	border-radius: 14px;
	overflow: hidden;
	margin-bottom: 26px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.pf-hero__stage {
	background: #0f1216;
	aspect-ratio: 16 / 10;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.pf-hero__stage img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

/* ---------- Card ---------- */
.pf-card {
	background: #fff;
	border: 1px solid #e9ecef;
	border-radius: 14px;
	padding: 26px;
	margin-bottom: 22px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.pf-card__title {
	font-size: 1.35em;
	font-weight: 800;
	color: #16191d;
	margin: 0 0 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid #eef0f2;
}
.pf-content {
	line-height: 1.85;
	color: #3d434a;
	font-size: 1.02em;
}
.pf-content p {
	margin: 0 0 18px;
}
.pf-content ul,
.pf-content ol {
	padding-left: 22px;
	margin-bottom: 18px;
}
.pf-content img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
}

/* ---------- Sidebar ---------- */
.pf-side__card {
	background: #fff;
	border: 1px solid #e9ecef;
	border-radius: 14px;
	padding: 22px;
	margin-bottom: 20px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.pf-side__title {
	font-size: 0.82em;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #9ca3af;
	margin: 0 0 16px;
}
.pf-side__card .sd-btn {
	width: 100%;
	justify-content: center;
}
.pf-meta {
	list-style: none;
	margin: 0;
	padding: 0;
}
.pf-meta li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 11px 0;
	border-bottom: 1px dashed #eceef1;
	font-size: 0.93em;
}
.pf-meta li:last-child {
	border-bottom: 0;
}
.pf-meta__key {
	color: #6c757d;
}
.pf-meta__value {
	color: #16191d;
	font-weight: 600;
	text-align: right;
}
.pf-tech {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}
.pf-tech span {
	font-size: 0.82em;
	font-weight: 600;
	padding: 5px 11px;
	border-radius: 6px;
	background: #f1f3f5;
	color: #495057;
}
.pf-side__links {
	list-style: none;
	margin: 0;
	padding: 0;
}
.pf-side__links li {
	margin-bottom: 8px;
}
.pf-side__links a {
	color: #495057;
	text-decoration: none;
	font-size: 0.93em;
}
.pf-side__links a:hover {
	color: #0166FF;
}

/* ---------- Related ---------- */
.pf-related {
	margin-top: 40px;
}
.pf-related__title {
	font-size: 1.5em;
	font-weight: 800;
	color: #16191d;
	margin: 0 0 22px;
}
.pf-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: 24px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.pf-layout {
		grid-template-columns: minmax(0, 1fr);
	}
	.pf-side {
		position: static;
	}
}
@media (max-width: 768px) {
	/* Samakan gutter dengan archive portofolio: kartu menempel pada padding .site-content (20px). */
	.pf-wrap {
		padding: 0 0 40px;
	}
	.pf-header {
		padding: 24px 20px;
	}
	.pf-card {
		padding: 20px;
	}
	.pf-side__card {
		padding: 20px;
	}
	.pf-title {
		font-size: 1.7em;
	}
	.pf-hero__stage {
		aspect-ratio: 16 / 11;
	}
}
