.hnc-blog-page {
	background: #f7faf9;
}

.hnc-blog-listing-head {
	max-width: 760px;
	text-align: center;
	margin: -8px auto 24px;
}

.hnc-blog-listing-head h2 {
	font-size: 38px;
	line-height: 1.2;
	margin-bottom: 8px;
}

.hnc-blog-listing-head p {
	max-width: 620px;
	margin: 0 auto;
	font-size: 14px;
	color: #6d7378;
}

.hnc-blog-category-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 36px;
	margin-bottom: 34px;
	border-bottom: 1px solid #dfe7e3;
}

.hnc-blog-category-tabs a {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	color: #6d7378;
	font-size: 14px;
	font-weight: 600;
	transition: color 0.25s ease;
}

.hnc-blog-category-tabs a::after {
	position: absolute;
	content: "";
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: #e32845;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.25s ease;
}

.hnc-blog-category-tabs a:hover,
.hnc-blog-category-tabs a.active {
	color: #e32845;
}

.hnc-blog-category-tabs a:hover::after,
.hnc-blog-category-tabs a.active::after {
	transform: scaleX(1);
}

.hnc-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 34px 30px;
}

.hnc-blog-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(17, 29, 94, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hnc-blog-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 42px rgba(17, 29, 94, 0.14);
}

.hnc-blog-card__image {
	display: block;
	height: 205px;
	overflow: hidden;
	background: #f4f6f9;
}

.hnc-blog-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.hnc-blog-card:hover .hnc-blog-card__image img {
	transform: scale(1.06);
}

.hnc-blog-card__content {
	padding: 20px 22px 24px;
}

.hnc-blog-meta,
.hnc-blog-detail-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin-bottom: 12px;
	color: #707982;
	font-size: 12px;
}

.hnc-blog-meta span,
.hnc-blog-detail-meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.hnc-blog-meta i,
.hnc-blog-detail-meta i {
	color: #e32845;
}

.hnc-blog-card__content h3 {
	font-size: 18px;
	line-height: 1.3;
	margin-bottom: 8px;
}

.hnc-blog-card__content h3 a {
	color: #111d5e;
	transition: color 0.25s ease;
}

.hnc-blog-card__content h3 a:hover {
	color: #e32845;
}

.hnc-blog-card__content p {
	color: #626970;
	font-size: 14px;
	line-height: 1.65;
	margin-bottom: 14px;
}

.hnc-blog-card__content .read-more-btn {
	color: #e32845;
	font-size: 14px;
	font-weight: 700;
}

.hnc-blog-card__content .read-more-btn:hover {
	color: #111d5e;
}

.hnc-blog-pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 44px;
}

.hnc-blog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	background: #fff;
	color: #111d5e;
	box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.05);
	font-weight: 700;
}

.hnc-blog-pagination .page-numbers.current,
.hnc-blog-pagination .page-numbers:hover {
	background: #e32845;
	color: #fff;
}

.hnc-blog-empty {
	text-align: center;
	padding: 40px 20px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(17, 29, 94, 0.08);
}

.hnc-blog-article {
	background: #fff;
	box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.05);
	padding: 34px;
}

.hnc-blog-detail-image {
	margin-bottom: 30px;
}

.hnc-blog-detail-image img {
	width: 100%;
	max-height: 520px;
	object-fit: cover;
	display: block;
}

.hnc-blog-detail-content {
	color: #555;
	font-size: 16px;
	line-height: 1.85;
}

.hnc-blog-detail-content h2,
.hnc-blog-detail-content h3,
.hnc-blog-detail-content h4 {
	margin-top: 28px;
	margin-bottom: 14px;
}

.hnc-blog-detail-content img {
	height: auto;
	margin: 16px 0;
}

.hnc-blog-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-top: 30px;
	padding-top: 24px;
	border-top: 1px solid #eee;
}

.hnc-blog-tags a {
	display: inline-block;
	padding: 7px 12px;
	background: #f4f6f9;
	color: #111d5e;
	font-weight: 600;
}

.hnc-blog-tags a:hover {
	background: #e32845;
	color: #fff;
}

.hnc-blog-detail-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 28px;
}

.hnc-blog-detail-back {
	grid-column: 1 / -1;
	text-align: center;
}

.hnc-blog-detail-nav a {
	display: block;
	padding: 16px 18px;
	background: #111d5e;
	color: #fff;
	font-weight: 700;
}

.hnc-blog-detail-nav div:last-child {
	text-align: right;
}

.hnc-blog-detail-back a {
	display: inline-block;
	min-width: 180px;
	background: #e32845;
}

.hnc-blog-detail-nav a:hover {
	background: #e32845;
	color: #fff;
}

@media only screen and (max-width: 991px) {
	.hnc-blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media only screen and (max-width: 767px) {
	.hnc-blog-grid,
	.hnc-blog-detail-nav {
		grid-template-columns: 1fr;
	}

	.hnc-blog-card__image {
		height: 220px;
	}

	.hnc-blog-article {
		padding: 24px;
	}

	.hnc-blog-detail-nav div:last-child {
		text-align: left;
	}
}
