﻿/* ==========================================================================
   Archive & Category Page Styles — Nguyễn Hà Bằng Theme
   Match exact design from archive mockup.
   ========================================================================== */

/* --- Body & Layout Background ------------------------------------------- */
body.nhb-archive-body,
body.archive,
body.category,
body.blog,
body.search {
	background-color: #f8fafc;
	color: #1e293b;
}

/* --- Header Adaptations on Light Archive Pages -------------------------- */
body.nhb-archive-body .nhb-header,
body.archive .nhb-header,
body.category .nhb-header,
body.blog .nhb-header,
body.search .nhb-header {
	position: relative;
	background: #ffffff;
	border-bottom: 1px solid #f1f5f9;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

body.nhb-archive-body .nhb-brand a,
body.archive .nhb-brand a,
body.category .nhb-brand a,
body.blog .nhb-brand a,
body.search .nhb-brand a {
	color: #2e1758;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	line-height: 1.1;
	font-family: "Playfair Display", Georgia, serif;
	letter-spacing: 0.05em;
}

@media (min-width: 1025px) {
	body.nhb-archive-body .nhb-nav a,
	body.archive .nhb-nav a,
	body.category .nhb-nav a,
	body.blog .nhb-nav a,
	body.search .nhb-nav a {
		color: #334155;
		font-weight: 500;
		font-size: 15px;
	}

	body.nhb-archive-body .nhb-nav a:hover,
	body.archive .nhb-nav a:hover,
	body.category .nhb-nav a:hover,
	body.blog .nhb-nav a:hover,
	body.search .nhb-nav a:hover,
	body.nhb-archive-body .nhb-nav .current-menu-item > a,
	body.archive .nhb-nav .current-menu-item > a,
	body.category .nhb-nav .current-menu-item > a,
	body.blog .nhb-nav .current-menu-item > a,
	body.search .nhb-nav .current-menu-item > a {
		color: #2e1758;
	}

	body.nhb-archive-body .nhb-nav a::after,
	body.archive .nhb-nav a::after,
	body.category .nhb-nav a::after,
	body.blog .nhb-nav a::after,
	body.search .nhb-nav a::after {
		background: #2e1758;
	}

	body.nhb-archive-body .nhb-nav .sub-menu,
	body.archive .nhb-nav .sub-menu,
	body.category .nhb-nav .sub-menu,
	body.blog .nhb-nav .sub-menu {
		background: #ffffff;
		border: 1px solid #e2e8f0;
		box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
	}

	body.nhb-archive-body .nhb-nav .sub-menu a,
	body.archive .nhb-nav .sub-menu a,
	body.category .nhb-nav .sub-menu a,
	body.blog .nhb-nav .sub-menu a {
		color: #334155;
	}

	body.nhb-archive-body .nhb-nav .sub-menu a:hover,
	body.archive .nhb-nav .sub-menu a:hover,
	body.category .nhb-nav .sub-menu a:hover,
	body.blog .nhb-nav .sub-menu a:hover {
		background: #f8fafc;
		color: #2e1758;
	}
}

@media (max-width: 1024px) {
	body.nhb-archive-body .nhb-nav a,
	body.archive .nhb-nav a,
	body.category .nhb-nav a,
	body.blog .nhb-nav a,
	body.search .nhb-nav a {
		color: #ffffff;
	}

	body.nhb-archive-body .nhb-nav a:hover,
	body.archive .nhb-nav a:hover,
	body.category .nhb-nav a:hover,
	body.blog .nhb-nav a:hover,
	body.search .nhb-nav a:hover,
	body.nhb-archive-body .nhb-nav .current-menu-item > a,
	body.archive .nhb-nav .current-menu-item > a,
	body.category .nhb-nav .current-menu-item > a,
	body.blog .nhb-nav .current-menu-item > a,
	body.search .nhb-nav .current-menu-item > a {
		color: #f3c26b;
	}

	body.nhb-archive-body .nhb-nav .sub-menu,
	body.archive .nhb-nav .sub-menu,
	body.category .nhb-nav .sub-menu,
	body.blog .nhb-nav .sub-menu {
		background: rgba(255, 255, 255, 0.06);
		border: 1px solid rgba(255, 255, 255, 0.08);
		box-shadow: none;
	}

	body.nhb-archive-body .nhb-nav .sub-menu a,
	body.archive .nhb-nav .sub-menu a,
	body.category .nhb-nav .sub-menu a,
	body.blog .nhb-nav .sub-menu a {
		color: rgba(255, 255, 255, 0.85);
	}

	body.nhb-archive-body .nhb-nav .sub-menu a:hover,
	body.archive .nhb-nav .sub-menu a:hover,
	body.category .nhb-nav .sub-menu a:hover,
	body.blog .nhb-nav .sub-menu a:hover {
		color: #ffffff;
		background: transparent;
	}

	body.nhb-archive-body .nhb-burger[aria-expanded="true"] span::before,
	body.nhb-archive-body .nhb-burger[aria-expanded="true"] span::after,
	body.archive .nhb-burger[aria-expanded="true"] span::before,
	body.archive .nhb-burger[aria-expanded="true"] span::after,
	body.category .nhb-burger[aria-expanded="true"] span::before,
	body.category .nhb-burger[aria-expanded="true"] span::after,
	body.blog .nhb-burger[aria-expanded="true"] span::before,
	body.blog .nhb-burger[aria-expanded="true"] span::after,
	body.search .nhb-burger[aria-expanded="true"] span::before,
	body.search .nhb-burger[aria-expanded="true"] span::after {
		background: #ffffff;
	}
}

body.nhb-archive-body .nhb-header__cta .nhb-btn,
body.archive .nhb-header__cta .nhb-btn,
body.category .nhb-header__cta .nhb-btn,
body.blog .nhb-header__cta .nhb-btn,
body.search .nhb-header__cta .nhb-btn {
	background: #2e1758;
	color: #ffffff;
	padding: 14px 26px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	box-shadow: 0 4px 14px rgba(185, 130, 12, 0.28);
}

body.nhb-archive-body .nhb-header__cta .nhb-btn:hover,
body.archive .nhb-header__cta .nhb-btn:hover,
body.category .nhb-header__cta .nhb-btn:hover,
body.blog .nhb-header__cta .nhb-btn:hover {
	background: #4916a3;
	transform: translateY(-1px);
}

body.nhb-archive-body .nhb-burger span,
body.archive .nhb-burger span,
body.category .nhb-burger span,
body.blog .nhb-burger span,
body.search .nhb-burger span,
body.nhb-archive-body .nhb-burger span::before,
body.archive .nhb-burger span::before,
body.category .nhb-burger span::before,
body.blog .nhb-burger span::before,
body.search .nhb-burger span::before,
body.nhb-archive-body .nhb-burger span::after,
body.archive .nhb-burger span::after,
body.category .nhb-burger span::after,
body.blog .nhb-burger span::after,
body.search .nhb-burger span::after {
	background: #334155;
}

/* --- Breadcrumbs -------------------------------------------------------- */
.nhb-archive-wrapper {
	padding: 16px 0 80px;
}

.nhb-archive-wrapper .nhb-shell {
	max-width: 1400px;
	padding-inline: 48px;
}

.nhb-breadcrumbs {
	margin: 0 0 24px;
}

.nhb-breadcrumbs__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 13.5px;
	color: #646da0;
}

.nhb-breadcrumbs__list a {
	color: #646da0;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: color 0.18s ease;
}

.nhb-breadcrumbs__list a:hover {
	color: #2e1758;
}

.nhb-breadcrumbs__home-icon {
	color: #d3923a;
	flex-shrink: 0;
}

.nhb-breadcrumbs__sep {
	color: #cbd5e1;
	font-size: 14px;
	user-select: none;
}

.nhb-breadcrumbs__current {
	color: #2e1758;
	font-weight: 600;
}

/* --- Hero: Featured Post Banner (Bài viết nổi bật) ---------------------- */
.nhb-featured-banner {
	background: radial-gradient(circle at 0% 0%, rgba(211, 146, 58, 0.12) 0%, rgba(211, 146, 58, 0.04) 35%, transparent 60%), linear-gradient(108deg, #fdfaf5 0%, #fdf6ec 55%, #fbf1e0 100%);
	border: 1px solid #f6ebe0;
	border-radius: 20px;
	box-shadow: 0 12px 36px rgba(18, 49, 146, 0.05);
	padding: 24px;
	margin-bottom: 32px;
	display: grid;
	grid-template-columns: 410px 1fr 390px;
	gap: 26px;
	align-items: stretch;
	position: relative;
	overflow: hidden;
	min-height: 420px;
}

.nhb-featured-banner__left {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	aspect-ratio: 1.5;
	width: 100%;
	height: auto;
	background: #f1f5f9;
	align-self: center;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.nhb-featured-banner__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.4s ease;
}

.nhb-featured-banner:hover .nhb-featured-banner__img {
	transform: scale(1.03);
}

.nhb-featured-banner__badge {
	position: absolute;
	top: 18px;
	left: 18px;
	background: #2e1758;
	color: #ffffff;
	font-size: 11.5px;
	font-weight: 700;
	padding: 7px 16px;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	box-shadow: 0 4px 12px rgba(181, 117, 25, 0.35);
	z-index: 2;
}

.nhb-featured-banner__badge svg {
	width: 12px;
	height: 12px;
	fill: currentColor;
}

.nhb-featured-banner__mid {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-right: 0;
	min-width: 0;
}

.nhb-featured-banner__cat {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #c3791a;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 12px;
	text-decoration: none;
}

.nhb-featured-banner__cat span {
	color: #2e1758;
	font-weight: 600;
}

.nhb-featured-banner__cat svg {
	width: 16px;
	height: 16px;
	color: #c3791a;
}

.nhb-featured-banner__cat:hover {
	color: #2e1758;
}

.nhb-featured-banner__cat:hover span {
	color: #2e1758;
}

.nhb-featured-banner__title {
	margin: 0 0 14px;
	line-height: 1.25;
}

.nhb-featured-banner__title a {
	color: inherit;
	text-decoration: none;
	display: block;
}

.nhb-featured-banner__title-main {
	display: block;
	color: #2e1758;
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-size: clamp(22px, 1.85vw, 28px);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.25;
	transition: color 0.2s ease;
}

.nhb-featured-banner__title a:hover .nhb-featured-banner__title-main {
	color: #c3791a;
}

.nhb-featured-banner__title-highlight {
	display: block;
	color: #c3791a;
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-style: italic;
	font-weight: 700;
	font-size: clamp(22px, 1.85vw, 28px);
	line-height: 1.25;
	margin-top: 4px;
}

.nhb-featured-banner__desc {
	font-family: var(--nhb-font, "Montserrat", sans-serif);
	font-size: 13.5px;
	line-height: 1.55;
	color: #2e1758;
	margin: 0 0 20px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-width: none;
}

.nhb-featured-banner__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 13.5px;
	font-weight: 500;
	color: #2e1758;
	margin-bottom: 22px;
}

.nhb-featured-banner__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.nhb-featured-banner__meta-item svg {
	width: 15px;
	height: 15px;
	color: #2e1758;
}

.nhb-featured-banner__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 28px;
	background: #d48817;
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	border-radius: 999px;
	text-decoration: none;
	align-self: flex-start;
	box-shadow: 0 4px 14px rgba(212, 136, 23, 0.3);
	transition: background 0.2s ease, transform 0.2s ease;
}

.nhb-featured-banner__cta:hover {
	background: #b97614;
	transform: translateY(-1px);
}

.nhb-featured-banner__cta-arrow {
	font-size: 16px;
	line-height: 1;
}

.nhb-featured-banner__right {
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	position: relative;
	height: calc(100% + 48px);
	margin-top: -24px;
	margin-bottom: -24px;
	margin-right: -24px;
}

.nhb-featured-banner__portrait-wrap {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: 100%;
	width: 100%;
	z-index: 2;
	transform: translateX(-40px);
}

.nhb-featured-banner__circle-glow {
	position: absolute;
	width: 440px;
	height: 440px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(211, 146, 58, 0.20) 0%, rgba(211, 146, 58, 0.08) 55%, rgba(211, 146, 58, 0.02) 68%, transparent 70%);
	border: 1.5px solid rgba(211, 146, 58, 0.32);
	box-shadow: 0 0 0 12px rgba(211, 146, 58, 0.04);
	top: 48%;
	left: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
	z-index: 1;
}

.nhb-featured-banner__portrait {
	position: relative;
	z-index: 2;
	height: 520px;
	max-height: 530px;
	width: auto;
	max-width: none;
	object-fit: contain;
	object-position: bottom center;
	display: block;
	margin-bottom: 0;
	margin-right: 0;
	filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.09));
}

.nhb-featured-banner__quote {
	position: absolute;
	top: 20px;
	right: 310px;
	width: 220px;
	background: transparent;
	padding: 0;
	text-align: center;
	z-index: 3;
	display: block;
	pointer-events: none;
}

.nhb-featured-banner__quote-img {
	width: 100%;
	height: auto;
	display: block;
	filter: drop-shadow(0 2px 6px rgba(18, 49, 146, 0.05));
}

.nhb-featured-banner__author-badge {
	position: absolute;
	bottom: 105px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 4;
	background: linear-gradient(135deg, #ffffff 0%, #fffbf5 100%);
	border: 1.5px solid #2e1758;
	border-radius: 999px;
	padding: 8px 24px;
	box-shadow: 0 8px 24px rgba(11, 46, 136, 0.22), 0 2px 8px rgba(0, 0, 0, 0.08);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	white-space: nowrap;
	pointer-events: none;
}

.nhb-featured-banner__author-badge::before {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #2e1758;
	box-shadow: 0 0 6px rgba(212, 146, 59, 0.85);
	flex-shrink: 0;
}

.nhb-featured-banner__author-name {
	font-size: 14px;
	font-weight: 700;
	color: #2e1758;
	font-family: "Montserrat", sans-serif;
	letter-spacing: 0.02em;
	text-align: center;
	line-height: 1.2;
	white-space: nowrap;
}

/* --- Category Filter & Search Bar --------------------------------------- */
.nhb-archive-filter {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 24px;
	align-items: center;
	margin: 0 0 32px;
	scroll-margin-top: 100px;
}

.nhb-category-tabs {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.nhb-cat-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	color: #2e1758;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.nhb-cat-tab svg {
	width: 16px;
	height: 16px;
	stroke: currentColor;
	flex-shrink: 0;
}

.nhb-cat-tab:hover {
	border-color: #d3923a;
	background: #d3923a;
	color: #ffffff;
}

.nhb-cat-tab.is-active {
	background: #d3923a;
	border-color: #d3923a;
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(211, 146, 58, 0.28);
}

.nhb-cat-tab.is-active svg {
	stroke: #ffffff;
}

.nhb-archive-search {
	position: relative;
	width: 100%;
	display: flex;
	align-items: center;
}

.nhb-archive-search__input {
	width: 100%;
	height: 44px;
	padding: 0 48px 0 16px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	font-size: 14px;
	color: #2e1758;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.nhb-archive-search__input::placeholder {
	color: #2e1758;
	opacity: 0.75;
}

.nhb-archive-search__input:focus {
	border-color: #d3923a;
	box-shadow: 0 0 0 3px rgba(211, 146, 58, 0.12);
}

.nhb-archive-search__btn {
	position: absolute;
	right: 4px;
	top: 4px;
	width: 36px;
	height: 36px;
	background: #d3923a;
	border: 0;
	border-radius: 9px;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease;
}

.nhb-archive-search__btn:hover {
	background: #2e1758;
}

.nhb-archive-search__btn svg {
	width: 16px;
	height: 16px;
}

/* --- Main 2-Column Layout ----------------------------------------------- */
.nhb-archive-main-grid {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 36px;
	align-items: start;
}

/* --- Left Column: Post Grid (3 columns) --------------------------------- */
.nhb-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.nhb-card {
	background: #ffffff;
	border: 1px solid #f1f5f9;
	border-radius: 16px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nhb-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.07);
}

.nhb-card__thumb-wrap {
	position: relative;
	aspect-ratio: 16 / 9;
	width: 100%;
	overflow: hidden;
	background: #f1f5f9;
}

.nhb-card__thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.4s ease;
}

.nhb-card:hover .nhb-card__thumb {
	transform: scale(1.05);
}

.nhb-card__cat-badge {
	position: absolute;
	bottom: 12px;
	left: 12px;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(4px);
	color: #2e1758;
	font-size: 11.5px;
	font-weight: 700;
	padding: 5px 12px;
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	text-decoration: none;
	z-index: 2;
	transition: color 0.18s ease;
}

.nhb-card__cat-badge:hover {
	color: #d3923a;
}

.nhb-card__body {
	padding: 20px 20px 18px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.nhb-card__title {
	font-family: "Montserrat", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.45;
	color: #2e1758;
	margin: 0 0 10px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nhb-card__title a {
	color: #2e1758;
	text-decoration: none;
	transition: color 0.2s ease;
}

.nhb-card__title a:hover {
	color: #d3923a;
}

.nhb-card__excerpt {
	font-size: 13.5px;
	line-height: 1.6;
	color: #2e1758;
	margin: 0 0 18px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
}

.nhb-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 14px;
	border-top: 1px solid #f8fafc;
	font-size: 12.5px;
	color: #2e1758;
}

.nhb-card__meta-group {
	display: flex;
	align-items: center;
	gap: 10px;
	white-space: nowrap;
	flex-wrap: nowrap;
	min-width: 0;
	color: #2e1758;
}

.nhb-card__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
	font-size: 12px;
	color: #2e1758;
}

.nhb-card__meta-item svg {
	width: 14px;
	height: 14px;
	color: #2e1758;
	flex-shrink: 0;
}

.nhb-card__arrow {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 2px solid #d3923a;
	background: transparent;
	color: #d3923a;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	flex-shrink: 0;
	transition: all 0.2s ease;
}

.nhb-card__arrow svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
	stroke-width: 2.6;
}

.nhb-card__arrow:hover {
	background: #d3923a;
	color: #ffffff;
	border-color: #d3923a;
	transform: translateX(3px);
}

/* --- Pagination --------------------------------------------------------- */
.nhb-pagination {
	margin-top: 48px;
	display: flex;
	justify-content: center;
}

.nhb-pagination .nav-links {
	display: flex;
	align-items: center;
	gap: 8px;
}

.nhb-pagination .page-numbers {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 600;
	color: #475569;
	text-decoration: none;
	transition: all 0.2s ease;
}

.nhb-pagination .page-numbers:hover {
	background: #f3a643;
	color: #ffffff;
}

.nhb-pagination .page-numbers.current {
	background: #f3a643;
	color: #ffffff;
	box-shadow: 0 4px 10px rgba(243, 166, 67, 0.35);
}

.nhb-pagination .prev,
.nhb-pagination .next {
	border: 1px solid #e2e8f0;
	border-radius: 50%;
	color: #64748b;
}

.nhb-pagination .dots {
	width: auto;
	color: #94a3b8;
}

/* --- Right Column: Sidebar ---------------------------------------------- */
.nhb-sidebar {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.nhb-widget {
	background: #ffffff;
	border: 1px solid #f1f5f9;
	border-radius: 16px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
	padding: 22px;
}

.nhb-widget__title {
	font-family: "Montserrat", sans-serif;
	font-size: 17px;
	font-weight: 700;
	color: #2e1758;
	margin: 0 0 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* Widget 1: Bài viết nổi bật khác */
.nhb-featured-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.nhb-featured-item {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	group: hover;
}

.nhb-featured-item__thumb {
	width: 110px;
	aspect-ratio: 16 / 9;
	height: auto;
	border-radius: 10px;
	object-fit: cover;
	object-position: center;
	flex-shrink: 0;
	background: #f1f5f9;
}

.nhb-featured-item__info {
	flex: 1;
	min-width: 0;
}

.nhb-featured-item__title {
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.35;
	color: #2e1758;
	margin: 0 0 4px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.18s ease;
}

.nhb-featured-item:hover .nhb-featured-item__title {
	color: #d3923a;
}

.nhb-featured-item__date {
	font-size: 12px;
	color: #2e1758;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.nhb-featured-item__date svg {
	width: 13px;
	height: 13px;
	color: #2e1758;
}

/* Widget 2: Chủ đề phổ biến */
.nhb-category-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.nhb-category-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 10px;
	border-radius: 10px;
	transition: background 0.18s ease;
}

.nhb-category-row:hover {
	background: #f8fafc;
}

.nhb-category-row__index {
	font-size: 13px;
	font-weight: 700;
	color: #d3923a;
	width: 22px;
	flex-shrink: 0;
}

.nhb-category-row__icon {
	color: #d3923a;
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.nhb-category-row__icon svg {
	width: 16px;
	height: 16px;
}

.nhb-category-row__link {
	font-size: 14px;
	font-weight: 700;
	color: #646da0;
	text-decoration: none;
	flex: 1;
	transition: color 0.18s ease;
}

.nhb-category-row__link:hover {
	color: #2e1758;
}

.nhb-category-row__count {
	background: #f3edfc;
	color: #2e1758;
	font-size: 12px;
	font-weight: 700;
	padding: 2px 9px;
	border-radius: 999px;
}

/* Widget 3: Nhận bài viết mới nhất */
.nhb-widget-newsletter {
	background: #fff9ed;
	border: 1px solid #fde68a;
	border-radius: 16px;
	padding: 24px;
}

.nhb-widget-newsletter__icon {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: #fed7aa;
	color: #c2410c;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}

.nhb-widget-newsletter__icon svg {
	width: 22px;
	height: 22px;
}

.nhb-widget-newsletter__title {
	font-family: "Montserrat", sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #2e1758;
	margin: 0 0 8px;
	line-height: 1.35;
	white-space: nowrap;
}

.nhb-widget-newsletter__desc {
	font-size: 13px;
	line-height: 1.55;
	color: #646da0;
	margin: 0 0 16px;
}

.nhb-widget-newsletter__form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.nhb-widget-newsletter__input {
	width: 100%;
	height: 42px;
	padding: 0 14px;
	border-radius: 8px;
	border: 1px solid #fed7aa;
	background: #ffffff;
	font-size: 13.5px;
	color: #1e293b;
	outline: none;
	box-sizing: border-box;
	transition: border-color 0.2s ease;
}

.nhb-widget-newsletter__input:focus {
	border-color: #d3923a;
}

.nhb-widget-newsletter__btn {
	width: 100%;
	height: 42px;
	border-radius: 8px;
	background: #f3a643;
	color: #ffffff;
	font-weight: 700;
	font-size: 14px;
	border: 0;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.18s ease;
}

.nhb-widget-newsletter__btn:hover {
	background: #d3923a;
	transform: translateY(-1px);
}

.nhb-widget-newsletter__msg {
	font-size: 12.5px;
	margin-top: 8px;
	padding: 8px 12px;
	border-radius: 6px;
	display: none;
}

.nhb-widget-newsletter__msg.is-success {
	display: block;
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.nhb-widget-newsletter__msg.is-error {
	display: block;
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1280px) {
	.nhb-archive-wrapper .nhb-shell {
		padding-inline: 32px;
	}
	.nhb-featured-banner {
		grid-template-columns: 360px 1fr 360px;
		gap: 20px;
		min-height: 400px;
	}
	.nhb-featured-banner__left {
		aspect-ratio: 1.5;
		height: auto;
		align-self: center;
	}
	.nhb-featured-banner__portrait-wrap {
		transform: translateX(-25px);
	}
	.nhb-featured-banner__portrait {
		height: 470px;
		max-height: 480px;
		max-width: none;
		margin-bottom: 0;
		margin-right: 0;
	}
	.nhb-featured-banner__circle-glow {
		width: 380px;
		height: 380px;
		left: 50%;
	}
	.nhb-featured-banner__quote {
		top: 18px;
		right: 280px;
		width: 190px;
	}
	.nhb-featured-banner__quote-img {
		width: 100%;
	}
	.nhb-featured-banner__author-badge {
		bottom: 95px;
		padding: 6px 18px;
	}
	.nhb-featured-banner__author-name {
		font-size: 13px;
	}
}

@media (max-width: 1080px) {
	.nhb-featured-banner {
		grid-template-columns: 320px 1fr;
		gap: 24px;
	}
	.nhb-featured-banner__left {
		aspect-ratio: 1.5;
	}
	.nhb-featured-banner__right {
		display: none;
	}
	.nhb-posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 1024px) {
	.nhb-archive-main-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.nhb-sidebar {
		max-width: 540px;
	}
}

@media (max-width: 768px) {
	.nhb-featured-banner {
		grid-template-columns: 1fr;
		padding: 20px;
	}
	.nhb-featured-banner__left {
		height: auto;
		aspect-ratio: 1.5;
	}
	.nhb-posts-grid {
		grid-template-columns: 1fr;
	}
	.nhb-archive-filter {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.nhb-archive-search {
		width: 100%;
	}
	.nhb-category-tabs {
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 6px;
		-webkit-overflow-scrolling: touch;
	}
	.nhb-cat-tab {
		white-space: nowrap;
		flex-shrink: 0;
	}
}
