body.home .site-content {
	padding-top: 16px;
}

.pf-filter {
	margin: 0 0 12px;
	text-align: left;
}

.pf-search {
	display: flex;
	align-items: stretch;
	width: 200px;
	max-width: 100%;
	height: 28px;
	margin: 0;
}

.pf-filter .pf-search-input {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	height: 28px;
	margin: 0;
	padding: 3px 8px;
	font-size: 13px;
	line-height: 20px;
	color: #444;
	background-color: #fff;
	border: 1px solid #ccc;
	border-right: 0;
	border-radius: 3px 0 0 3px;
	box-shadow: none;
}

.pf-filter .pf-search-input:focus {
	border-color: #47c1df;
	outline: none;
}

.pf-filter .pf-search-input::-webkit-search-cancel-button {
	-webkit-appearance: searchfield-cancel-button;
}

.pf-filter .pf-search-button {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 28px;
	color: #fff;
	text-align: center;
	background-color: #47c1df;
	border: 0;
	border-radius: 0 3px 3px 0;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.pf-filter .pf-search-button:hover,
.pf-filter .pf-search-button:focus {
	background-color: #2fb0d1;
}

.pf-filter .pf-toggle {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 4px 0 0;
	padding: 0;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	color: #999;
	text-transform: none;
	background: none;
	border: 0;
	cursor: pointer;
}

.pf-filter .pf-toggle:hover,
.pf-filter .pf-toggle:focus {
	color: #555;
}

.pf-filter .pf-toggle-icon {
	font-size: 11px;
}

.pf-filter .pf-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 6px;
	animation: pf-fade-in 0.2s ease;
}

.pf-filter .pf-pills[hidden] {
	display: none;
}

.pf-filter .pf-pill,
.pf-work-category .pf-pill {
	margin: 0;
	padding: 1px 10px;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.3;
	color: #4b5563;
	text-transform: none;
	background-color: #e5e7eb;
	border: 0;
	border-radius: 3px;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.pf-filter .pf-pill:hover,
.pf-work-category .pf-pill:hover,
.pf-work-category .pf-pill:focus {
	color: #4b5563;
	background-color: #d1d5db;
}

.entry-header:has(+ .entry-content > .pf-work-category) {
	padding-bottom: 0;
}

.entry-header:has(+ .entry-content > .pf-work-category) .entry-title {
	margin-bottom: 12px;
}

.pf-work-category {
	margin: 0 0 12px;
	line-height: 1;
}

.pf-work-category .pf-pill {
	display: inline-block;
	text-decoration: none;
}

.pf-filter .pf-pill.is-active {
	font-weight: 700;
	color: #fff;
	background-color: #47c1df;
}

.pf-filter .pf-search-button:focus-visible,
.pf-filter .pf-toggle:focus-visible,
.pf-filter .pf-pill:focus-visible,
.pf-work-category .pf-pill:focus-visible {
	outline: 2px solid #47c1df;
	outline-offset: 2px;
}

.post-grid > * {
	transition: opacity 0.22s ease;
}

.post-grid > .pf-hidden {
	opacity: 0;
}

.post-grid > [hidden] {
	display: none !important;
}

.pf-empty {
	margin: 10px 0 30px;
	font-size: 14px;
	color: #777;
}

@keyframes pf-fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@media (max-width: 575px) {
	.pf-search {
		width: 100%;
		height: 40px;
	}

	.pf-filter .pf-search-input,
	.pf-filter .pf-search-button {
		height: 40px;
	}

	.pf-filter .pf-search-input {
		font-size: 16px;
	}

	.pf-filter .pf-search-button {
		flex-basis: 40px;
		width: 40px;
		line-height: 40px;
	}

	.pf-filter .pf-toggle {
		margin-top: 8px;
		font-size: 13px;
	}

	.pf-filter .pf-pill,
	.pf-work-category .pf-pill {
		padding: 5px 12px;
		font-size: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.post-grid > *,
	.pf-filter .pf-pills {
		transition: none;
		animation: none;
	}
}
