.bso-pf {
	width: 100%;
	box-sizing: border-box;
}

.bso-pf * {
	box-sizing: border-box;
}

/* Filter */
.bso-pf-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 28px;
}

.bso-pf-filter-button {
	appearance: none;
	border: 1px solid #ddd;
	background: #fff;
	color: #222;
	padding: 10px 18px;
	border-radius: 4px;
	cursor: pointer;
	font: inherit;
	line-height: 1.2;
	transition: 0.2s ease;
}

.bso-pf-filter-button:hover,
.bso-pf-filter-button.is-active {
	background: #111;
	color: #fff;
	border-color: #111;
}

/* Grid */
.bso-pf-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 25px;
}

/* Card */
.bso-pf-card {
	display: block;
	color: inherit;
	text-decoration: none;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bso-pf:not(.bso-pf--no-lift) .bso-pf-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.bso-pf-card--hidden {
	display: none !important;
}

/* Image */
.bso-pf-image {
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #eee;
}

.bso-pf-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease, filter 0.35s ease;
}

.bso-pf-image-placeholder {
	background: #eee;
	min-height: 120px;
}

/* Content */
.bso-pf-content {
	padding: 18px;
}

.bso-pf-title {
	margin: 0 0 10px;
	font-size: 20px;
	line-height: 1.3;
}

.bso-pf-project-link {
	display: inline-block;
	margin: 0 0 12px;
	font-weight: 600;
}

.bso-pf-skills {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.bso-pf-skill {
	display: inline-flex;
	padding: 5px 9px;
	border-radius: 999px;
	background: #f2f2f2;
	font-size: 12px;
	line-height: 1.2;
}

/* Empty / notices */
.bso-pf-empty,
.bso-pf-no-results,
.bso-pf-notice {
	padding: 20px;
	border: 1px solid #ddd;
}

.bso-pf-no-results[hidden] {
	display: none !important;
}

/* Load More */
.bso-pf-load-more-wrap {
	display: flex;
	justify-content: center;
	margin-top: 32px;
}

.bso-pf-load-more-wrap[hidden] {
	display: none !important;
}

.bso-pf-load-more {
	appearance: none;
	border: 1px solid #111;
	background: #111;
	color: #fff;
	padding: 12px 28px;
	border-radius: 4px;
	cursor: pointer;
	font: inherit;
	line-height: 1.2;
	transition: 0.2s ease;
}

.bso-pf-load-more:hover {
	background: #333;
	border-color: #333;
	color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
	.bso-pf-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.bso-pf-grid {
		grid-template-columns: 1fr;
	}

	.bso-pf-filter-button {
		padding: 9px 13px;
	}
}
