/* ============================================================
   Blog Post Widget
   ============================================================ */

.bpw-list {
	width: 100%;
}

.bpw-item {
	display: flex;
	flex-direction: column;
}

.bpw-item + .bpw-item {
	margin-top: 40px;
}

.bpw-title {
	font-size: 24px;
	font-weight: 700;
	color: #1a1a2e;
	line-height: 1.4;
	margin: 0 0 16px;
}

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

.bpw-title a:hover {
	text-decoration: none;
}

.bpw-thumb-link {
	display: block;
	text-decoration: none;
	margin-bottom: 20px;
	overflow: hidden;
	border-radius: 8px;
}

.bpw-thumb {
	height: 400px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: transform 0.4s ease;
}

.bpw-thumb-link:hover .bpw-thumb {
	transform: scale(1.05);
}

.bpw-excerpt {
	font-size: 15px;
	color: #555555;
	line-height: 1.7;
	margin: 0 0 20px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
}

.bpw-btn {
	display: block;
	width: 100%;
	text-align: center;
	font-size: 15px;
	font-weight: 700;
	color: #ffffff;
	background-color: #1a1a2e;
	text-decoration: none;
	padding: 14px 24px;
	border-radius: 4px;
	transition: background-color 0.3s ease;
	box-sizing: border-box;
}

.bpw-btn:hover {
	background-color: #0d2a8a;
	color: #ffffff;
}

/* ── Pagination ── */
.bpw-pag {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 40px;
	gap: 16px;
}

.bpw-pag-prev a,
.bpw-pag-next a {
	display: inline-block;
	padding: 10px 24px;
	border: 1px solid #c5d0e6;
	border-radius: 4px;
	color: #1a3cbe;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	background-color: #eef2ff;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.bpw-pag-prev a:hover,
.bpw-pag-next a:hover {
	background-color: #d9e2ff;
}

.bpw-pag-nums {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

.bpw-pag-nums .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 10px;
	border: 1px solid #1a3cbe;
	color: #1a3cbe;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	background: #ffffff;
	transition: background-color 0.25s ease, color 0.25s ease;
	box-sizing: border-box;
}

.bpw-pag-nums .page-numbers.current {
	background-color: #1a3cbe;
	color: #ffffff;
	border-color: #1a3cbe;
}

.bpw-pag-nums .page-numbers:hover:not(.current):not(.dots) {
	background-color: #eef2ff;
}

.bpw-pag-nums .page-numbers.dots {
	border-color: #1a3cbe;
	cursor: default;
}

@media (max-width: 767px) {
	.bpw-pag {
		flex-wrap: wrap;
		justify-content: center;
	}
	.bpw-pag-prev,
	.bpw-pag-next {
		order: 2;
	}
	.bpw-pag-nums {
		order: 1;
		width: 100%;
		justify-content: center;
		margin-bottom: 12px;
	}
}