.cbf-blog-wrapper,
.cbf-single-wrapper {
	padding: 100px 20px;
}

.cbf-container {
	max-width: 1200px;
	margin: 0 auto;
}

.cbf-single-container {
	max-width: 800px;
}

.cbf-page-header {
	margin-bottom: 32px;
}

.cbf-page-header h1,
.cbf-single-header h1 {
	margin: 0 0 12px;
	line-height: 1.1;
}

.cbf-taxonomy-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 32px;
}

.cbf-tax-link {
	display: inline-block;
	padding: 8px 14px;
	text-decoration: none;
	border: 1px solid #ddd;
	border-radius: 999px;
	color: inherit;
}

.cbf-post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.cbf-card {
	border: 1px solid #e5e5e5;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
}

.cbf-card-image {
	display: block;
	aspect-ratio: 16 / 10;
	background: #f5f5f5;
}

.cbf-card-image img,
.cbf-single-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cbf-placeholder {
	width: 100%;
	height: 100%;
	min-height: 220px;
	background: #f0f0f0;
}

.cbf-card-content {
	padding: 20px;
}

.cbf-card-title {
	margin: 10px 0 12px;
	font-size: 1.4rem;
}

.cbf-card-title a,
.cbf-read-more,
.cbf-post-navigation a {
	text-decoration: none;
	color: inherit;
}

.cbf-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	font-size: 0.95rem;
	color: #666;
}

.cbf-meta a {
	color: inherit;
	text-decoration: underline;
}

.cbf-card-excerpt p {
	margin: 0 0 14px;
}

.cbf-read-more {
	font-weight: 600;
}

.cbf-pagination {
	margin-top: 40px;
}

.cbf-single-header {
	margin-bottom: 24px;
}

.cbf-single-image {
	margin-bottom: 24px;
	border-radius: 18px;
	overflow: hidden;
}

.cbf-single-content > *:first-child {
	margin-top: 0;
}

.cbf-post-navigation {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid #e5e5e5;
}

@media (max-width: 768px) {
	.cbf-blog-wrapper,
	.cbf-single-wrapper {
		/* padding: 40px 16px; */
	}

	.cbf-post-navigation {
		flex-direction: column;
	}
}

.cbf-filter-form {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 32px;
	flex-wrap: wrap;
}

.cbf-filter-form label {
	font-weight: 600;
	font-size: 0.95rem;
	color: #333;
}

.cbf-filter-form select {
	padding: 10px 14px;
	border: 1px solid #ddd;
	border-radius: 10px;
	background: #fff;
	font-size: 0.95rem;
	line-height: 1;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cbf-filter-form select:hover {
	border-color: #bbb;
}

.cbf-filter-form select:focus {
	outline: none;
	border-color: #666;
	box-shadow: 0 0 0 2px rgba(0,0,0,0.08);
}

.cbf-filter-form button {
	padding: 10px 16px;
	border: 1px solid #ddd;
	border-radius: 10px;
	background: #fff;
	font-size: 0.95rem;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.cbf-filter-form button:hover {
	background: #f5f5f5;
	border-color: #bbb;
}

@media (max-width: 600px) {

	.cbf-filter-form {
		flex-direction: column;
		align-items: flex-start;
	}

	.cbf-filter-form select,
	.cbf-filter-form button {
		width: 100%;
	}
}