/* APT Blog Category Filter */
.aptbf-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin: 0 auto 40px;
	max-width: 1080px;
	padding: 0 10px;
}

.aptbf-btn {
	appearance: none;
	background: #f2f4f7;
	border: 1px solid #e0e4ea;
	border-radius: 999px;
	color: #333;
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	padding: 10px 22px;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.aptbf-btn:hover,
.aptbf-btn:focus {
	background: #e4e8ee;
	outline: none;
}

.aptbf-btn.is-active {
	background: #1a1a2e;
	border-color: #1a1a2e;
	color: #fff;
}

.aptbf-blog-wrap {
	position: relative;
	transition: opacity 0.15s ease;
}

.aptbf-blog-wrap.aptbf-loading {
	opacity: 0.45;
	pointer-events: none;
}

.aptbf-blog-wrap.aptbf-loading::after {
	content: "";
	position: absolute;
	top: 40px;
	left: 50%;
	width: 34px;
	height: 34px;
	margin-left: -17px;
	border: 3px solid rgba(0, 0, 0, 0.15);
	border-top-color: #1a1a2e;
	border-radius: 50%;
	animation: aptbf-spin 0.7s linear infinite;
}

@keyframes aptbf-spin {
	to { transform: rotate(360deg); }
}

.aptbf-empty {
	text-align: center;
	font-size: 18px;
	color: #666;
	padding: 40px 0;
}
