.jbf-blog {
	margin: 0 auto;
	max-width: 1080px;
	padding: 32px 20px 48px;
}

.jbf-toolbar {
	align-items: end;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin: 0 0 28px;
}

.jbf-heading,
.jbf-heading-spacer {
	display: block;
	flex: 1 1 auto;
	margin: 0;
	min-width: 0;
}

.jbf-heading {
	color: #202734;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.25;
}

.jbf-filter {
	align-items: end;
	display: flex;
	flex: 0 1 360px;
	gap: 10px;
	justify-content: flex-end;
	margin: 0;
}

.jbf-filter-label {
	height: 1px;
	margin: -1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
	clip: rect(0, 0, 0, 0);
}

.jbf-filter-select {
	appearance: auto;
	background: #ffffff;
	border: 1px solid #cbd2dc;
	border-radius: 6px;
	color: #2f3745;
	font-size: 15px;
	letter-spacing: 0;
	line-height: 1.3;
	min-height: 44px;
	padding: 9px 12px;
	width: 100%;
}

.jbf-filter-select:focus,
.jbf-card a:focus,
.jbf-pagination a:focus {
	outline: 2px solid #f28c28;
	outline-offset: 2px;
}

.jbf-grid {
	display: grid;
	gap: 38px 34px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jbf-card {
	background: #ffffff;
	border: 1px solid #edf0f4;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(41, 48, 62, 0.08);
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
}

.jbf-image-link {
	background: #e9edf2;
	display: block;
	text-decoration: none;
}

.jbf-image {
	aspect-ratio: 16 / 10.35;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.jbf-image-placeholder {
	align-items: center;
	background: linear-gradient(135deg, #e8eef2 0%, #ffffff 56%, #f7d4b0 100%);
	color: #202734;
	display: flex;
	font-weight: 800;
	justify-content: center;
	letter-spacing: 0;
	min-height: 207px;
	text-align: center;
}

.jbf-card-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 18px 18px 20px;
}

.jbf-category {
	align-self: flex-start;
	background: #e87500;
	border-radius: 4px;
	color: #ffffff;
	display: inline-block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1;
	margin: 0 0 12px;
	padding: 7px 9px;
	text-decoration: none;
	text-transform: uppercase;
}

.jbf-category:hover {
	background: #c95f00;
	color: #ffffff;
}

.jbf-card-title {
	color: #202734;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.35;
	margin: 0 0 12px;
}

.jbf-card-title a {
	color: inherit;
	text-decoration: none;
}

.jbf-card-title a:hover {
	color: #e87500;
}

.jbf-meta {
	color: #667085;
	font-size: 13px;
	letter-spacing: 0;
	line-height: 1.45;
	margin: 0 0 14px;
}

.jbf-excerpt {
	color: #4b5563;
	font-size: 16px;
	letter-spacing: 0;
	line-height: 1.65;
	margin: 0 0 18px;
}

.jbf-read-more {
	color: #202734;
	display: inline-flex;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0;
	margin: auto 0 0;
	text-decoration: none;
	text-transform: uppercase;
}

.jbf-read-more:hover {
	color: #e87500;
}

.jbf-empty {
	background: #f8fafc;
	border: 1px solid #edf0f4;
	border-radius: 8px;
	color: #4b5563;
	margin: 0;
	padding: 22px;
	text-align: center;
}

.jbf-pagination {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin: 40px 0 0;
}

.jbf-pagination .page-numbers,
.jbf-page-link {
	align-items: center;
	background: #ffffff;
	border: 1px solid #d9dee7;
	border-radius: 4px;
	color: #2f3745;
	display: inline-flex;
	font-size: 14px;
	font-weight: 700;
	justify-content: center;
	letter-spacing: 0;
	line-height: 1;
	min-height: 38px;
	min-width: 38px;
	padding: 0 13px;
	text-decoration: none;
}

.jbf-pagination .page-numbers.current {
	background: #202734;
	border-color: #202734;
	color: #ffffff;
}

.jbf-pagination a.page-numbers:hover,
.jbf-page-link:hover {
	background: #e87500;
	border-color: #e87500;
	color: #ffffff;
}

.jbf-pagination .dots {
	background: transparent;
	border-color: transparent;
	min-width: 24px;
	padding: 0 4px;
}

@media (max-width: 980px) {
	.jbf-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.jbf-blog {
		padding: 26px 16px 40px;
	}

	.jbf-toolbar,
	.jbf-filter {
		align-items: stretch;
		flex-direction: column;
	}

	.jbf-filter {
		flex-basis: auto;
		width: 100%;
	}

	.jbf-grid {
		gap: 28px;
		grid-template-columns: 1fr;
	}

	.jbf-card-title {
		font-size: 19px;
	}
}
