/* ==========================================================================
   Thư Viện Doanh Nhân – main stylesheet
   Tông màu theo site cũ (skin-1): primary #0065b3, secondary #1B4673
   ========================================================================== */

:root {
	--primary: #0065b3;
	--secondary: #1b4673;
	--thirdary: #74bde9;
	--fourthary: #3384c2;
	--primary-hover: #1b4673;
	--title: #071c35;
	--heading: #37373b;
	--text: #333;
	--orange: #fe4c1c;
	--rgba-primary-1: rgba(0, 101, 179, .1);
	--rgba-primary-4: rgba(0, 101, 179, .4);
	--gradient: linear-gradient(to right, #1b4673 0%, #74bde9 100%);
	--bg-light: #f1f2f2;
	--bg-gray: #e6e7e8;
	--muted: #a7a9ac;
	--warehouse: #b8d0dc;
	--warehouse-title: #0663b1;
	--warehouse-text: #5c617e;
	--border: #dee2e6;
	--radius: 6px;
	--container: 1320px;
	--font: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--text);
	background: #fff;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--primary); text-decoration: none; transition: color .2s, background-color .2s, box-shadow .2s; }
a:hover { color: var(--secondary); }
p { margin: 0 0 .5rem; }
b, strong { font-weight: 700; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5rem; font-weight: 700; line-height: 1.2; color: var(--heading); }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: inherit; }
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover { color: var(--primary); }
hr { border: 0; border-top: 1px solid rgba(0, 0, 0, .1); margin: 1rem 0; }
ul { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus { clip: auto; width: auto; height: auto; left: 10px; top: 10px; z-index: 100000; background: #fff; padding: 8px 14px; }
.d-block { display: block; }

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 16px;
}

.line-3, .line-4, .line-6 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.line-3 { -webkit-line-clamp: 3; }
.line-4 { -webkit-line-clamp: 4; }
.line-6 { -webkit-line-clamp: 6; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .4em;
	padding: .5rem 1.5rem; border: 0; border-radius: var(--radius);
	font-weight: 500; line-height: 1.5; cursor: pointer; white-space: nowrap;
}
.btn-pill { border-radius: 50rem; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--secondary); color: #fff; box-shadow: 0 5px 12px var(--rgba-primary-4); }
.btn-light { background: var(--bg-light); color: var(--text); }
.btn-light:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: .7rem 2.5rem; font-size: 1.05rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.header-top {
	background-color: #f8efd8;
	background-image:
		radial-gradient(circle at 50% 150%, transparent 0 21%, rgba(196, 150, 60, .22) 21.2% 21.7%, transparent 22% 29%, rgba(196, 150, 60, .2) 29.2% 29.6%, transparent 30% 37%, rgba(196, 150, 60, .16) 37.2% 37.5%, transparent 38%),
		repeating-conic-gradient(from 0deg at 50% 150%, rgba(196, 150, 60, .07) 0 3deg, transparent 3deg 9deg),
		linear-gradient(180deg, #fbf5e6 0%, #f4e6c3 100%);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}
.header-top.has-bg { background-color: #f8efd8; }
.banner-top {
	display: flex; flex-direction: column;
	height: 15vw; max-height: 220px; min-height: 100px;
}
.header-top-logo {
	display: flex; justify-content: space-between; align-items: flex-start;
	margin-top: 2.6vw;
}
.header-top-logo img { height: 4vw; min-height: 40px; max-height: 60px; width: auto; }
.banner-title {
	margin: auto 0 28px; text-align: center;
	font-size: 50px; font-weight: 700; line-height: 1.2; text-transform: uppercase;
	color: var(--primary); letter-spacing: .5px;
}
.banner-title a { color: inherit; }

/* Logo dạng chữ (khi chưa có ảnh logo) */
.logo-text { display: inline-flex; flex-direction: column; line-height: 1; font-family: Georgia, 'Times New Roman', serif; }
.logo-dnsg b { font-size: clamp(20px, 2.4vw, 34px); color: #0d5aa7; letter-spacing: -.5px; }
.logo-dnsg b span { color: #1b4673; }
.logo-dnsg small { align-self: flex-end; font: 700 clamp(7px, .7vw, 10px)/1 var(--font); letter-spacing: 3px; color: #0d5aa7; margin-top: 2px; }
.logo-tvdn {
	align-items: center; justify-content: center; text-align: center;
	border: 2px solid #c8102e; padding: 4px 6px; background: rgba(255, 255, 255, .55);
	color: #c8102e; min-height: 40px;
}
.logo-tvdn small { font: 700 clamp(6px, .55vw, 8px)/1.2 var(--font); letter-spacing: .5px; }
.logo-tvdn b { font-size: clamp(10px, .95vw, 14px); line-height: 1; margin: 2px 0; }
.logo-tvdn.is-footer { background: #fff; padding: 8px 12px; min-height: 80px; }
.logo-tvdn.is-footer small { font-size: 9px; }
.logo-tvdn.is-footer b { font-size: 18px; }

/* ---------- Main menu bar ---------- */
.main-bar { background: var(--primary); position: relative; z-index: 990; }
.main-bar.is-fixed { position: fixed; top: 0; left: 0; right: 0; box-shadow: 0 6px 20px rgba(0, 0, 0, .15); animation: tvdn-down .3s ease; }
.admin-bar .main-bar.is-fixed { top: 32px; }
@keyframes tvdn-down { from { transform: translateY(-100%); } to { transform: none; } }
.main-bar__inner { display: flex; align-items: center; gap: 12px; min-height: 55px; }
.header-nav { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; }
.header-nav .nav { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex: 1; }
.header-nav .nav > li { position: relative; flex: auto; text-align: center; }
.header-nav .nav > li > a {
	display: inline-block; padding: 5px 12px; color: #fff;
	font-size: .95rem; font-weight: 400; line-height: 1.25; text-transform: uppercase; white-space: nowrap;
	border-radius: 50rem;
}
.header-nav .nav > li > a:hover,
.header-nav .nav > li.current-menu-item > a,
.header-nav .nav > li.current-menu-ancestor > a,
.header-nav .nav > li.current-menu-parent > a { background: var(--secondary); color: #fff; }

.btn-home {
	flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	color: #fff; font-size: 18px; border: 1px solid rgba(255, 255, 255, .35);
}
.btn-home:hover, .btn-home.active { background: var(--secondary); color: #fff; border-color: var(--secondary); }

/* Sub-menu */
.header-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; z-index: 50;
	list-style: none; margin: 10px 0 0; padding: 8px 0; background: #fff; text-align: left;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .12); border-radius: var(--radius);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s;
}
.header-nav .nav > li:hover > .sub-menu,
.header-nav .nav > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.header-nav .sub-menu a { display: block; padding: 8px 18px; color: var(--text); font-size: .9rem; }
.header-nav .sub-menu a:hover { color: var(--primary); background: var(--rgba-primary-1); }


/* ==========================================================================
   Sections
   ========================================================================== */
.page-row { margin-bottom: 30px; }
.search-row { padding-top: 30px; margin-bottom: 30px; }
.search-row.is-tight { padding-top: 20px; margin-bottom: 20px; }
.page-head { padding: 20px 0; }
.page-head.is-center { text-align: center; padding-bottom: 10px; }
.page-title-center { margin: 1rem 0 1.25rem; font-size: 2.5rem; text-transform: uppercase; color: #000; }

/* Tiêu đề khối */
.widget-title { margin-bottom: 1rem; }
.widget-title .title { margin: 0 0 6px; font-size: 2rem; font-weight: 700; text-transform: uppercase; color: #000; }
.widget-title.is-page .title { font-size: 2rem; }
.widget-title.is-small .title { font-size: 1.4rem; font-weight: 400; }
.widget-title.is-center { text-align: center; }
.widget-title.is-center .title { font-size: 1.4rem; font-weight: 400; }
.dz-separator { width: 82px; height: 3px; background: var(--primary); }
.dz-separator.is-bar { width: 100px; height: 8px; border-radius: 4px; margin: 0 auto; }

/* Ô tìm kiếm */
.search-box { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; margin: 0 auto; }
.search-box__field { position: relative; display: block; }
.search-box__field i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 18px; pointer-events: none; }
.search-box input {
	width: 400px; max-width: 100%; height: 45px; padding: 0 20px 0 48px;
	border: 1px solid transparent; border-radius: 50rem; background: var(--bg-light); color: #555;
	outline: none; -webkit-appearance: none; appearance: none;
}
.search-box input::placeholder { color: #bcbec0; }
.search-box input:focus { border-color: var(--thirdary); background: #fff; box-shadow: 0 0 0 3px var(--rgba-primary-1); }
.search-box .btn { height: 45px; padding: 0 30px; }

/* Danh sách nhóm doanh nhân */
.group-tabs { list-style: none; padding: 0; margin: 20px 0 0; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* Lưới */
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Ảnh / placeholder */
.tvdn-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tvdn-ph {
	display: flex; align-items: center; justify-content: center; min-height: 100%;
	background: linear-gradient(135deg, #eaf2f9 0%, #cfe0ef 100%);
	color: rgba(0, 101, 179, .35); font-size: 48px;
}

/* ---------- Kho dữ liệu ---------- */
.bg-warehouse { background: var(--warehouse); }
.box-warehouse { padding: 30px 16px 10px; }
.wboxtitle {
	display: inline-block; margin-bottom: 10px; padding: 5px 25px; border-radius: .25rem;
	background: var(--warehouse-title); color: #fff; font-size: 1.5rem; font-weight: 500; line-height: 1.2; text-transform: uppercase;
}
.wboxtitle:hover { color: #fff; background: var(--secondary); }
.warehouse-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; }
.warehouse-item { display: block; margin-bottom: 20px; text-align: center; }
.warehouse-media { display: block; margin-bottom: 10px; }
.warehouse-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; transition: transform .4s; }
.warehouse-item.is-link:hover .warehouse-media img, .warehouse-item.is-link:hover .warehouse-icon { transform: translateY(-6px); }
.wtitle { display: block; color: var(--warehouse-text); font-size: 1.25rem; font-weight: 400; line-height: 1.2; text-transform: uppercase; }
.warehouse-item.is-link:hover .wtitle { color: var(--primary); }
.warehouse-icon {
	position: relative; display: flex; align-items: center; justify-content: center;
	width: 100%; aspect-ratio: 1 / 1; transition: transform .4s;
}
.warehouse-icon::before {
	content: ""; position: absolute; left: 12%; right: 12%; bottom: 16%; height: 22%;
	border-radius: 50%; border: 6px solid #f0a13a; border-top-color: transparent; border-left-color: #8a4fb8;
	transform: rotate(-8deg); opacity: .85;
}
.warehouse-icon i {
	position: relative; font-size: clamp(64px, 11vw, 150px);
	background: linear-gradient(160deg, #74bde9 0%, #1b62b0 55%, #1b4673 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 8px 10px rgba(27, 70, 115, .25));
}

/* ---------- Thẻ bài viết ngang ---------- */
.card-h {
	display: grid; grid-template-columns: 5fr 7fr; height: 100%;
	border: 1px solid var(--border); background: #fff; overflow: hidden;
}
.card-h__media { display: block; min-height: 170px; overflow: hidden; }
.card-h__media img { transition: transform 1.2s cubic-bezier(.23, 1, .32, 1); }
.card-h:hover .card-h__media img { transform: scale(1.06); }
.card-h__info { padding: 1rem; }
.card-title { font-size: 1rem; font-weight: 700; line-height: 1.35; margin-bottom: .4rem; color: var(--heading); }
.card-excerpt { font-size: .875rem; margin: 0; color: var(--text); }

/* ---------- Thẻ bài viết dọc ---------- */
.card-v { display: flex; flex-direction: column; height: 100%; }
.card-v__media { display: block; height: 250px; overflow: hidden; }
.card-v__media img { transition: transform 1.2s cubic-bezier(.23, 1, .32, 1); }
.card-v:hover .card-v__media img { transform: scale(1.06); }
.card-v__info { display: flex; flex-direction: column; flex: 1; padding-top: 1.25rem; }
.card-v .card-title { font-size: 1.25rem; }
.card-v .card-excerpt { margin-top: auto; font-size: 1rem; }

/* ---------- Thẻ doanh nhân ---------- */
.staff-card {
	display: grid; grid-template-columns: 1fr 1fr; height: 100%;
	border: 1px solid var(--border); background: #fff;
}
.staff-card__media { display: block; border: 10px solid #fff; min-height: 320px; overflow: hidden; }
.staff-card__media .tvdn-ph { font-size: 72px; }
.staff-card__body { display: flex; flex-direction: column; background: var(--bg-light); }
.staff-card__info { padding: 10px 14px; }
.staff-card__role { font-size: 1.25rem; font-weight: 400; line-height: 1.25; color: var(--text); margin-bottom: .35rem; }
.staff-card__name { font-size: 1.5rem; margin-bottom: .35rem; color: var(--title); }
.staff-card__excerpt { margin: 0; }
.staff-card__more {
	display: flex; justify-content: center; margin-top: auto; padding: 10px;
	background: var(--bg-gray); color: var(--muted); font-weight: 500;
}
.staff-card__more:hover { background: var(--primary); color: #fff; }

/* ---------- Layout có sidebar ---------- */
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 30px; align-items: start; }
.layout-main { min-width: 0; }
.side-bar { position: sticky; top: 80px; }
.admin-bar .side-bar { top: 112px; }
.side-bar .widget { margin-bottom: 30px; }
.recent-list { list-style: none; padding: 0; }
.recent-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eee; }
.recent-list li:first-child { padding-top: 0; }
.recent-list__media { flex: 0 0 80px; width: 80px; height: 60px; overflow: hidden; }
.recent-list__media .tvdn-ph { font-size: 20px; }
.recent-list__title { font-size: .95rem; font-weight: 500; line-height: 1.35; margin-bottom: 4px; }
.recent-list time { font-size: .8rem; color: #888; }
.widget-cats ul { list-style: none; padding: 0; }
.widget-cats li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #eee; }
.widget-cats li a { color: var(--text); }
.widget-cats li a:hover, .widget-cats li.active a { color: var(--primary); }
.widget-cats li span { font-size: .8rem; background: var(--bg-gray); color: #666; border-radius: 50rem; padding: 1px 10px; }

/* ---------- Phân trang ---------- */
.tvdn-pagination { margin-top: 30px; }
.pagination { list-style: none; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.page-link {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; padding: 0 10px; border-radius: 40px;
	border: 1px solid var(--border); background: #fff; color: var(--primary); font-weight: 500;
}
.page-link.prev, .page-link.next { background: #ebebeb; border-color: #ebebeb; color: #555; }
.page-link:hover { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 5px 12px var(--rgba-primary-4); }
.page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- Chi tiết bài viết ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 1rem; font-size: .9rem; color: #777; }
.breadcrumb a { color: #555; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { font-size: .7rem; color: #aaa; }
.breadcrumb span { color: var(--primary); }
.entry-title { font-size: 2rem; color: var(--title); }
.entry-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 1rem; font-size: .9rem; color: #777; }
.entry-meta a { color: #777; }
.entry-lead { font-weight: 700; font-size: 1.05rem; }
.entry-content { line-height: 1.75; }
.entry-content h2 { font-size: 1.5rem; margin: 1.5rem 0 .75rem; }
.entry-content h3 { font-size: 1.25rem; margin: 1.25rem 0 .6rem; }
.entry-content p { margin-bottom: 1rem; text-align: justify; }
.entry-content ul, .entry-content ol { padding-left: 2.5rem; margin-bottom: 1rem; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content .aligncenter, .entry-content figure.aligncenter { display: block; margin-left: auto; margin-right: auto; text-align: center; }
.entry-content .alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.entry-content .alignright { float: right; margin: 0 0 1rem 1.5rem; }
.entry-content figure { margin: 1.25rem 0; }
.entry-content figcaption, .wp-caption-text { font-size: .875rem; color: #777; font-style: italic; text-align: center; margin-top: .4rem; }
.entry-content blockquote { margin: 1.5rem 0; padding: 1rem 1.5rem; border-left: 4px solid var(--primary); background: var(--bg-light); font-style: italic; }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: 8px 12px; }
.entry-content.is-page { max-width: 1000px; }
.entry-tags { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: #777; }
.entry-tags a { background: var(--bg-light); color: var(--text); padding: 3px 12px; border-radius: 50rem; font-size: .85rem; }
.entry-tags a:hover { background: var(--primary); color: #fff; }
.related { margin-top: 40px; }
.archive-desc { margin-top: 10px; color: #555; }
.empty-note, .result-note { text-align: center; color: #666; }
.result-note { margin: 1rem 0; }

/* ---------- Trang doanh nhân ---------- */
.btn-group-link { padding: .45rem 3rem; margin-bottom: .5rem; }
.profile-title { color: var(--primary); text-transform: uppercase; font-size: 2rem; margin-bottom: .75rem; }
.profile-aside { top: 80px; max-height: calc(100vh - 100px); overflow-y: auto; scrollbar-width: thin; }
.widget-profile { border: 1px solid var(--border); margin-bottom: 1rem; }
.widget-profile .tvdn-img { border: 10px solid #fff; aspect-ratio: 3 / 4; height: auto; }
.widget-profile .tvdn-ph { font-size: 96px; aspect-ratio: 3 / 4; }
.profile-summary .widget-title { margin-bottom: 1rem; }
.profile-list { list-style: none; margin: 0; padding: 1rem 1.5rem; background: var(--bg-gray); }
.profile-list li { position: relative; padding: .6rem 0 .6rem 16px; border-bottom: 1px solid rgba(0, 0, 0, .1); color: var(--primary); }
.profile-list li:last-child { border-bottom: 0; }
.profile-list li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--primary); }
.profile-list span { display: block; }
.profile-list b { display: block; margin-top: .4rem; color: #000; font-weight: 700; }

/* ---------- Liên hệ ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.contact-list { list-style: none; padding: 0; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid #eee; }
.contact-list i { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--rgba-primary-1); color: var(--primary); font-size: 18px; }
.contact-list span { display: block; font-size: .85rem; color: #777; }
.contact-list b { color: var(--title); font-weight: 500; }
.contact-form-wrap { background: var(--bg-light); padding: 30px; border-radius: var(--radius); }
.contact-form-title { font-size: 1.5rem; text-transform: uppercase; color: var(--primary); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.form-grid label span { display: block; margin-bottom: 4px; font-weight: 500; font-size: .9rem; }
.form-grid .is-full { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea {
	width: 100%; padding: 10px 12px; border: 1px solid #acbeec; border-radius: 5px; background: #fff;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, .08); outline: none;
}
.form-grid input { height: 45px; }
.form-grid input:focus, .form-grid textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--rgba-primary-1); }
.hp-field { position: absolute; left: -9999px; }
.notice { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; }
.notice-success { background: #e6f4ea; color: #1e6b34; }
.notice-error { background: #fde8e8; color: #9b1c1c; }

/* ---------- 404 ---------- */
.error-404 { text-align: center; padding: 40px 0; }
.error-404 .error-code { font-size: 7rem; font-weight: 700; color: var(--primary); line-height: 1; margin: 0; }
.error-404 .search-box { margin: 1.5rem auto; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-content { background: var(--primary); color: #fff; padding: 25px 0; }
.box-footer { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; }
.footer-logo { display: inline-block; margin-bottom: 1rem; }
.footer-logo img { height: 80px; width: auto; }
.footer-info { list-style: none; padding: 0; font-size: .875rem; line-height: 1.7; }
.footer-info a, .site-footer a { color: #fff; }
.footer-info a:hover { text-decoration: underline; }
.footer-col--contact { display: flex; flex-direction: column; justify-content: flex-end; }
.footer-contact { display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; margin-bottom: .75rem; }
.footer-hotline { display: flex; align-items: center; gap: .6rem; line-height: 1.3; }
.icon-circle {
	width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--primary);
	display: inline-flex; align-items: center; justify-content: center; font-size: 16px;
}
.social-icons { list-style: none; padding: 0; display: flex; gap: 6px; }
.social-icons a {
	width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, .2); color: #fff; font-size: 16px; transition: all .4s;
}
.social-icons a:hover { background: #fff; color: var(--primary); }
.footer-credit { margin: 0; font-size: .875rem; font-style: italic; }
.footer-bottom { background: var(--secondary); color: #fff; padding: 1rem 0; text-align: center; font-size: .875rem; }
.footer-bottom p { margin: 0; }

.scroltop {
	position: fixed; right: 15px; bottom: 15px; z-index: 999;
	width: 50px; height: 50px; border: 0; border-radius: var(--radius); cursor: pointer;
	background: var(--primary); color: #fff; font-size: 18px;
	box-shadow: -4px 4px 24px -10px var(--primary);
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s;
}
.scroltop.is-visible { opacity: 1; visibility: visible; transform: none; }
.scroltop:hover { background: var(--secondary); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1399px) { :root { --container: 1140px; } }
@media (max-width: 1199px) {
	.header-nav .nav > li > a { padding: 5px 8px; font-size: .85rem; }
	.staff-card__role { font-size: 1.1rem; }
	.staff-card__name { font-size: 1.3rem; }
}
@media (max-width: 991px) {
	.banner-title { font-size: calc(1.375rem + 1.5vw); }
	.main-bar__inner { flex-wrap: wrap; gap: 0 12px; padding-top: 6px; padding-bottom: 6px; }
	.header-nav { order: 1; flex: 1 1 100%; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.header-nav::-webkit-scrollbar { display: none; }
	.header-nav .nav { flex: none; }
	.header-nav .nav > li { flex: none; }
	.header-nav .sub-menu { display: none; }
	.btn-home { flex-basis: 35px; width: 35px; height: 35px; font-size: 16px; }
	.layout-sidebar { grid-template-columns: 1fr; }
	.layout-sidebar.is-profile .layout-aside { order: -1; }
	.side-bar, .profile-aside { position: static; max-height: none; }
	.profile-aside { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px; align-items: start; }
	.contact-layout { grid-template-columns: 1fr; }
	.card-h { grid-template-columns: 4fr 8fr; }
}
@media (max-width: 767px) {
	.grid-2 { grid-template-columns: 1fr; }
	.warehouse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wtitle { font-size: 1rem; }
	.box-footer { grid-template-columns: 1fr; }
	.footer-contact { gap: 1.25rem; }
	.page-title-center { font-size: 2rem; }
	.widget-title .title { font-size: 1.6rem; }
	.staff-card__media { min-height: 260px; }
	.profile-aside { grid-template-columns: 1fr; }
	.widget-profile { max-width: 360px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 575px) {
	.banner-title { margin-bottom: 8px; font-size: calc(1.1rem + 1vw); }
	.header-top-logo { margin-top: 15px; }
	.search-box { gap: 10px; flex-wrap: nowrap; }
	.search-box__field { flex: 1; min-width: 0; }
	.search-box input { width: 100%; }
	.search-box .btn { padding: 0 18px; }
	.card-h { grid-template-columns: 1fr; }
	.card-h__media { height: 200px; }
	.staff-card { grid-template-columns: 1fr; }
	.staff-card__media { min-height: 0; aspect-ratio: 4 / 3; }
	.form-grid { grid-template-columns: 1fr; }
	.contact-form-wrap { padding: 20px; }
	.footer-bottom { font-size: .75rem; }
	.entry-title, .profile-title { font-size: 1.6rem; }
}

/* ---------- Bình luận ---------- */
.comments-area { margin-top: 40px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body { padding: 14px 0; border-bottom: 1px solid #eee; }
.comment-list .avatar { border-radius: 50%; float: left; margin-right: 12px; }
.comment-respond input[type=text], .comment-respond input[type=email], .comment-respond input[type=url], .comment-respond textarea {
	width: 100%; padding: 10px 12px; border: 1px solid #acbeec; border-radius: 5px;
}
.comment-reply-title { font-size: 1.3rem; text-transform: uppercase; }

/* Khoảng cách đầu trang cho các trang không có page-head */
.site-main > section:first-child:not(.search-row):not(.page-head) { padding-top: 24px; }
@media (max-width: 575px) {
	.banner-top { height: auto; min-height: 0; padding-bottom: 10px; }
	.banner-title { margin: 12px 0 0; font-size: clamp(15px, 5vw, 22px); }
}

/* Tiểu sử: mục nhiều dòng (Gia đình, Thành tựu, Con cái) */
.profile-rich { margin-top: .4rem; color: #000; font-size: .95rem; }
.profile-rich p { margin-bottom: .4rem; }
.profile-rich p:last-child { margin-bottom: 0; }

/* ---------- Gợi ý tìm kiếm ---------- */
.search-box__field { position: relative; }
.suggest {
	position: absolute; left: 0; top: calc(100% + 6px); z-index: 60; width: max(100%, 380px); max-width: calc(100vw - 32px);
	background: #fff; border: 1px solid #e1e7ee; border-radius: 12px; box-shadow: 0 18px 40px -16px rgba(7, 28, 53, .35);
	padding: 6px; text-align: left; max-height: 70vh; overflow-y: auto;
}
.suggest__group { padding: 8px 10px 4px; font-size: .72rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #8a94a3; }
.suggest__item { display: flex; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 8px; color: var(--text); }
.suggest__item:hover, .suggest__item.is-active { background: #f1f7fd; color: var(--text); }
.suggest__media { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), var(--thirdary)); color: #fff; font-size: .8rem; font-weight: 700; }
.suggest__media.is-post { border-radius: 6px; }
.suggest__media img { width: 100%; height: 100%; object-fit: cover; }
.suggest__text { display: flex; flex-direction: column; min-width: 0; }
.suggest__text b { font-weight: 600; color: var(--title); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest__text small { color: #7a8594; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest__all { display: block; margin-top: 4px; padding: 9px 10px; border-top: 1px solid #eef2f6; font-size: .88rem; font-weight: 500; }
.suggest__empty { padding: 12px; color: #7a8594; font-size: .9rem; }

/* ---------- Ảnh chữ cái ---------- */
.tvdn-avatar {
	display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
	background: linear-gradient(140deg, hsl(var(--h, 205) 70% 38%), hsl(calc(var(--h, 205) + 20) 65% 62%));
	color: #fff; font-weight: 700; font-size: 1.6rem; letter-spacing: 1px;
}
.tvdn-avatar.is-post { background: linear-gradient(135deg, #eaf2f9, #cfe0ef); color: rgba(0, 101, 179, .45); }

/* ---------- Trang tra cứu ---------- */
.tk-head { padding-bottom: 6px; }
.search-box.is-big input { width: 560px; height: 52px; font-size: 1.02rem; }
.search-box.is-big .btn { height: 52px; padding: 0 34px; }
.search-box.is-big .search-box__field i { font-size: 20px; }
.result-note b { color: var(--title); }
.tk-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 32px; align-items: start; }
.tk-filters { position: sticky; top: 76px; }
.admin-bar .tk-filters { top: 108px; }
.tk-filters__wrap { background: #fff; border: 1px solid #e4eaf0; border-radius: 12px; padding: 16px 16px 8px; }
.tk-filters__title { list-style: none; cursor: default; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--title); font-size: .95rem; margin-bottom: 12px; }
.tk-filters__title::-webkit-details-marker { display: none; }
.tk-filters__title i { color: var(--primary); margin-right: 4px; }
.tk-badge { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 10px; background: var(--primary); color: #fff; font-size: .75rem; text-align: center; }
.tk-active { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px dashed #e1e7ee; }
.tk-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 50rem; font-size: .82rem; background: var(--primary); color: #fff; }
.tk-chip:hover { background: var(--secondary); color: #fff; }
.tk-clear { font-size: .82rem; color: #b42318; margin-left: 2px; }
.tk-group { padding: 10px 0; }
.tk-group + .tk-group { border-top: 1px solid #eef2f6; }
.tk-group h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .7px; color: #7a8594; margin: 0 0 6px; }
.tk-group h2 i { color: var(--thirdary); width: 16px; }
.tk-group ul { list-style: none; padding: 0; margin: 0; }
.tk-group li a { display: flex; justify-content: space-between; gap: 8px; padding: 5px 8px; border-radius: 6px; font-size: .92rem; color: var(--text); }
.tk-group li a:hover { background: #f3f8fc; color: var(--primary); }
.tk-group li a.is-on { background: var(--rgba-primary-1); color: var(--primary); font-weight: 600; }
.tk-group li a em { font-style: normal; font-size: .78rem; color: #98a2b3; }
.tk-group ul.is-collapsible:not(.is-open) li.is-more { display: none; }
.tk-more { background: none; border: 0; padding: 6px 8px; color: var(--primary); font-size: .85rem; cursor: pointer; }
.tk-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid #e6ecf2; }
.tk-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tk-tabs a { padding: 7px 16px; border-radius: 50rem; background: var(--bg-light); color: var(--text); font-weight: 500; font-size: .95rem; }
.tk-tabs a em { font-style: normal; font-size: .78rem; opacity: .7; margin-left: 2px; }
.tk-tabs a:hover { background: #e7eef6; }
.tk-tabs a.is-on { background: var(--primary); color: #fff; }
.tk-sort { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: #667085; }
.tk-sort select { height: 36px; border: 1px solid #d5e1ec; border-radius: 8px; padding: 0 10px; background: #fff; color: var(--text); }
.tk-results { list-style: none; margin: 0; padding: 0; }
.tk-item { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid #eef2f6; }
.tk-item__media { display: block; width: 96px; height: 72px; border-radius: 8px; overflow: hidden; background: #eef2f6; }
.tk-item.is-dn .tk-item__media { height: 120px; }
.tk-item__media img { width: 100%; height: 100%; object-fit: cover; }
.tk-item__type { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .8rem; color: #7a8594; margin-bottom: 4px; }
.tk-type { color: #475467; font-weight: 500; }
.tk-type.is-dn { color: var(--primary); }
.tk-item__title { font-size: 1.2rem; margin: 0 0 4px; line-height: 1.35; }
.tk-item__title a { color: var(--title); }
.tk-item__title a:hover { color: var(--primary); }
.tk-item__role { margin: 0 0 6px; color: var(--secondary); font-weight: 500; font-size: .95rem; }
.tk-item__snippet { margin: 0; color: #475467; font-size: .93rem; line-height: 1.6; }
.tk-results mark { background: #fff1b8; color: inherit; padding: 0 2px; border-radius: 3px; }
.tk-item__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tk-item__tags a { font-size: .78rem; padding: 2px 10px; border-radius: 50rem; border: 1px solid #d5e1ec; color: #475467; }
.tk-item__tags a:hover { border-color: var(--primary); color: var(--primary); }
.tk-empty { text-align: center; padding: 50px 20px; color: #667085; }
.tk-empty i { font-size: 44px; color: #c3cdd8; }
.tk-empty h2 { margin: 12px 0 6px; font-size: 1.3rem; color: var(--title); }
@media (max-width: 991px) {
	.tk-layout { grid-template-columns: 1fr; gap: 16px; }
	.tk-filters { position: static; }
	.tk-filters__title { cursor: pointer; margin-bottom: 0; }
	.tk-filters__wrap[open] .tk-filters__title { margin-bottom: 12px; }
	.search-box.is-big input { width: 100%; }
}
@media (max-width: 575px) {
	.tk-item { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
	.tk-item__media { width: 64px; height: 64px; }
	.tk-item.is-dn .tk-item__media { height: 84px; }
	.tvdn-avatar { font-size: 1.1rem; }
	.tk-toolbar { flex-direction: column; align-items: stretch; }
	.tk-sort { justify-content: space-between; }
	.search-box.is-big .btn { padding: 0 18px; }
}

/* ---------- Liên kết tên doanh nhân + thẻ xem nhanh ---------- */
.entry-content a.dn-link { color: var(--primary); text-decoration: underline dotted rgba(0, 101, 179, .55); text-underline-offset: 3px; font-weight: 500; }
.entry-content a.dn-link:hover { text-decoration-style: solid; }
.dn-hovercard {
	position: absolute; z-index: 1000; width: 320px; padding: 14px 16px; border-radius: 12px; background: #fff;
	border: 1px solid #e1e7ee; box-shadow: 0 20px 44px -18px rgba(7, 28, 53, .45); font-size: .9rem; line-height: 1.5;
}
.dn-hovercard__head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.dn-hovercard__head img, .dn-hovercard__head .tvdn-avatar { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; font-size: 1rem; }
.dn-hovercard__head b { display: block; color: var(--title); font-size: 1rem; }
.dn-hovercard__head small { display: block; color: var(--secondary); }
.dn-hovercard__head em { font-style: normal; color: #7a8594; font-size: .8rem; }
.dn-hovercard p { margin: 0 0 8px; color: #475467; }
.dn-hovercard > a { font-weight: 500; font-size: .85rem; }

/* ---------- Trang chủ: vùng tra cứu ---------- */
.home-hero { padding: 34px 0 30px; margin-bottom: 30px; text-align: center; background: linear-gradient(180deg, #f3f8fc 0%, #fff 100%); }
.home-hero__title { margin: 0 0 16px; font-size: 1.35rem; font-weight: 500; color: var(--secondary); text-transform: none; }
.home-hero .search-box { justify-content: center; }
.home-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin-top: 16px; font-size: .9rem; }
.home-hero__chips span { color: #7a8594; }
.home-hero__chips a { padding: 4px 14px; border-radius: 50rem; background: #fff; border: 1px solid #d5e1ec; color: #475467; }
.home-hero__chips a:hover { border-color: var(--primary); color: var(--primary); }
.home-stats { list-style: none; padding: 0; margin: 26px auto 0; max-width: 900px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.home-stats a { display: flex; flex-direction: column; padding: 14px 10px; border-radius: 12px; background: #fff; border: 1px solid #e1eaf3; color: var(--text); transition: transform .2s, box-shadow .2s; }
.home-stats a:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -20px rgba(7, 28, 53, .6); }
.home-stats b { font-size: 1.8rem; line-height: 1.1; color: var(--primary); }
.home-stats span { font-size: .86rem; color: #667085; }

/* Duyệt theo lĩnh vực */
.home-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.home-fields a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 10px; background: #f6f9fc; border: 1px solid #e6eef6; color: var(--title); font-weight: 500; }
.home-fields a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.home-fields em { font-style: normal; font-size: .8rem; min-width: 26px; text-align: center; padding: 1px 8px; border-radius: 50rem; background: #fff; color: var(--primary); }

/* Dòng thời gian (giới thiệu) */
.home-tl { padding: 48px 0; background: linear-gradient(120deg, var(--secondary) 0%, var(--primary) 100%); color: #fff; margin-bottom: 0; }
.home-tl__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.home-tl__kicker { display: inline-flex; gap: 8px; align-items: center; font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; opacity: .85; }
.home-tl h2 { color: #fff; font-size: 2rem; margin: 8px 0 10px; }
.home-tl p { opacity: .92; }
.home-tl .btn-primary { background: #fff; color: var(--primary); margin-top: 8px; }
.home-tl .btn-primary:hover { background: var(--thirdary); color: var(--title); }
.home-tl__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.home-tl__list li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 16px; padding: 14px 18px; border-radius: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.home-tl__list b { font-size: 1.4rem; color: var(--thirdary); }
.home-tl__list p { margin: 0 0 4px; }
.home-tl__list a { color: #fff; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 991px) { .home-tl__inner { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 767px) {
	.home-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.home-hero { padding-top: 22px; }
	.home-hero__title { font-size: 1.1rem; }
}

/* ---------- Danh sách doanh nhân: A–Z + sắp xếp ---------- */
.dn-listbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid #e6ecf2; }
.az-bar { display: flex; flex-wrap: wrap; gap: 4px; }
.az-bar a { min-width: 36px; height: 36px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--bg-light); color: var(--text); font-weight: 600; font-size: .9rem; }
.az-bar a:hover { background: #e3edf7; color: var(--primary); }
.az-bar a.is-on { background: var(--primary); color: #fff; }

/* ---------- Ngày này năm xưa ---------- */
.otd { display: grid; grid-template-columns: 180px minmax(0, 1fr); border: 1px solid #e1eaf3; border-radius: 14px; overflow: hidden; background: #fff; }
.otd__date { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; background: linear-gradient(160deg, var(--primary), var(--secondary)); color: #fff; text-align: center; }
.otd__date span { font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; opacity: .85; }
.otd__date b { font-size: 3.2rem; line-height: 1; margin: 6px 0 2px; }
.otd__date em { font-style: normal; opacity: .9; }
.otd__list { list-style: none; margin: 0; padding: 8px 22px; }
.otd__list li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 12px 0; }
.otd__list li + li { border-top: 1px dashed #e1e7ee; }
.otd__when { font-weight: 700; color: var(--primary); }
.otd__list p { margin: 0; }
.otd__list a { font-weight: 500; white-space: nowrap; }
@media (max-width: 767px) {
	.otd { grid-template-columns: 1fr; }
	.otd__date { flex-direction: row; gap: 8px; padding: 12px; }
	.otd__date b { font-size: 1.6rem; margin: 0; }
	.otd__list li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Trích dẫn trang này ---------- */
.cite-box { margin-top: 14px; max-width: 780px; }
.cite-box summary { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; color: var(--primary); font-weight: 500; font-size: .92rem; list-style: none; }
.cite-box summary::-webkit-details-marker { display: none; }
.cite-box__body { margin-top: 10px; padding: 14px 16px; border-radius: 10px; background: #fff; border: 1px solid #e1eaf3; text-align: left; }
.cite-box__text { margin: 0 0 10px; font-family: Georgia, 'Times New Roman', serif; font-size: .95rem; line-height: 1.6; color: #2d3440; word-break: break-word; }
.cite-box__copy { padding: .35rem 1rem; font-size: .85rem; }

/* ---------- Trang bài viết: tiến độ đọc, cỡ chữ, mục lục ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1001; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--thirdary), var(--primary)); transition: width .1s linear; }
.admin-bar .read-progress { top: 32px; }
.font-tools { display: inline-flex; border: 1px solid #d5e1ec; border-radius: 50rem; overflow: hidden; }
.font-tools button { border: 0; background: #fff; padding: 1px 10px; cursor: pointer; font-weight: 600; color: #475467; font-size: .85rem; }
.font-tools button + button { border-left: 1px solid #d5e1ec; }
.font-tools button:hover { background: var(--primary); color: #fff; }
.detail-news .entry-content { font-size: calc(1rem * var(--fs, 1)); }
.detail-news .entry-content h2 { scroll-margin-top: 90px; }
.post-toc { margin-bottom: 26px; padding: 16px 18px; border-radius: 12px; background: #f6f9fc; border: 1px solid #e6eef6; }
.post-toc summary { cursor: pointer; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--title); list-style: none; }
.post-toc summary::-webkit-details-marker { display: none; }
.post-toc ol { margin: 10px 0 0; padding-left: 1.2rem; }
.post-toc li { padding: 4px 0; font-size: .93rem; line-height: 1.4; }
.post-toc li a { color: #475467; }
.post-toc li a:hover, .post-toc li a.is-active { color: var(--primary); }
.post-toc li a.is-active { font-weight: 600; }
.tvdn-avatar.is-ph { font-size: clamp(1.6rem, 4vw, 3rem); }

/* ---------- Đã lưu / Xem gần đây ---------- */
.btn-library { position: relative; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; cursor: pointer; font-size: 16px; }
.btn-library:hover { background: var(--secondary); }
.btn-library__count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #f04438; color: #fff; font-size: .7rem; font-weight: 700; line-height: 18px; }
.save-btn { border: 1px solid #d5e1ec; background: #fff; border-radius: 50rem; padding: 1px 12px; cursor: pointer; color: #475467; font-size: .85rem; }
.save-btn:hover, .save-btn.is-saved { border-color: var(--primary); color: var(--primary); }
.dn-icon-btn.is-saved { background: var(--primary); border-color: var(--primary); color: #fff; }
.library { position: fixed; inset: 0; z-index: 2000; }
.library__backdrop { position: absolute; inset: 0; background: rgba(7, 18, 32, .45); }
.library__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(400px, 92vw); background: #fff; display: flex; flex-direction: column; box-shadow: -20px 0 40px -20px rgba(0, 0, 0, .35); animation: lib-in .25s ease; }
@keyframes lib-in { from { transform: translateX(100%); } to { transform: none; } }
.library__panel header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid #eef2f6; }
.library__tabs { display: flex; gap: 6px; }
.library__tabs button { border: 0; background: var(--bg-light); padding: 7px 14px; border-radius: 50rem; cursor: pointer; font-weight: 500; color: var(--text); }
.library__tabs button.is-on { background: var(--primary); color: #fff; }
.library__close { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg-light); cursor: pointer; font-size: 16px; }
.library__body { flex: 1; overflow-y: auto; padding: 8px 10px; }
.library__body ul { list-style: none; margin: 0; padding: 0; }
.library__body li { display: flex; align-items: center; gap: 6px; border-radius: 10px; }
.library__body li:hover { background: #f5f9fd; }
.library__body li a { flex: 1; display: flex; gap: 12px; align-items: center; padding: 8px; min-width: 0; color: var(--text); }
.library__media { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; }
.library__media.is-post { border-radius: 8px; }
.library__media img, .library__media .tvdn-avatar { width: 100%; height: 100%; object-fit: cover; font-size: .85rem; }
.library__text { display: flex; flex-direction: column; min-width: 0; }
.library__text b { color: var(--title); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.library__text small { color: #7a8594; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.library__remove { flex: 0 0 32px; height: 32px; border: 0; background: none; border-radius: 50%; cursor: pointer; color: #98a2b3; }
.library__remove:hover { background: #fee4e2; color: #b42318; }
.library__clear { margin: 10px 8px; border: 0; background: none; color: #b42318; cursor: pointer; font-size: .88rem; }
.library__empty { text-align: center; padding: 40px 20px; color: #7a8594; }
.library__empty i { font-size: 34px; color: #c3cdd8; }
.library__note { margin: 0; padding: 12px 16px; font-size: .8rem; color: #7a8594; border-top: 1px solid #eef2f6; }
body.has-library { overflow: hidden; }
@media (max-width: 991px) { .btn-library { order: 1; margin-left: auto; } .main-bar__inner .header-nav { flex-basis: calc(100% - 52px); } }

/* ---------- Đóng góp tư liệu ---------- */
.dg-steps { list-style: none; padding: 0; margin: 10px 0 0; }
.dg-steps li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #eef2f6; }
.dg-steps i { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--rgba-primary-1); color: var(--primary); font-size: 18px; }
.dg-steps b { display: block; color: var(--title); }
.dg-steps span { color: #667085; font-size: .92rem; }
.form-grid select { width: 100%; height: 45px; padding: 0 12px; border: 1px solid #acbeec; border-radius: 5px; background: #fff; }
.form-grid input[type=file] { height: auto; padding: 10px; background: #fff; }
.dg-consent { display: flex !important; gap: 10px; align-items: flex-start; font-size: .9rem; }
.dg-consent input { width: auto !important; height: auto !important; margin-top: 4px; box-shadow: none !important; }
.dg-consent span { font-weight: 400 !important; margin: 0 !important; }

/* ---------- Lọc bằng AJAX (không sinh URL) ---------- */
.az-bar button { min-width: 36px; height: 36px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: var(--bg-light); color: var(--text); font-weight: 600; font-size: .9rem; cursor: pointer; }
.az-bar button:hover { background: #e3edf7; color: var(--primary); }
.az-bar button.is-on { background: var(--primary); color: #fff; }
[data-dn-list].is-loading [data-dn-list-grid], [data-lv-browser].is-loading [data-lv-grid] { opacity: .45; transition: opacity .2s; pointer-events: none; }
.home-hero__chips button { padding: 4px 14px; border-radius: 50rem; background: #fff; border: 1px solid #d5e1ec; color: #475467; cursor: pointer; font: inherit; }
.home-hero__chips button:hover { border-color: var(--primary); color: var(--primary); }
.home-fields button { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 10px; background: #f6f9fc; border: 1px solid #e6eef6; color: var(--title); font: inherit; font-weight: 500; cursor: pointer; text-align: left; }
.home-fields button:hover, .home-fields button.is-on { background: var(--primary); border-color: var(--primary); color: #fff; }
.home-fields button em { font-style: normal; font-size: .8rem; min-width: 26px; text-align: center; padding: 1px 8px; border-radius: 50rem; background: #fff; color: var(--primary); }
.lv-panel { margin-top: 18px; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid #dfe8f1; box-shadow: 0 16px 34px -26px rgba(7, 28, 53, .6); }
.lv-panel__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.lv-panel__head h3 { margin: 0; font-size: 1.15rem; color: var(--title); }
.lv-panel__close { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg-light); cursor: pointer; }
button.dn-badge { cursor: pointer; font: inherit; font-size: .85rem; font-weight: 500; }
.lv-pop { position: absolute; z-index: 1000; width: min(520px, calc(100vw - 16px)); padding: 14px; border-radius: 12px; background: #fff; border: 1px solid #e1e7ee; box-shadow: 0 22px 44px -18px rgba(7, 28, 53, .45); }
.lv-pop__head { margin-bottom: 10px; color: var(--title); }
.lv-pop__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lv-pop__grid .dn-mini__media { aspect-ratio: 1 / 1; }
.lv-pop__grid .dn-mini__body { padding: 8px 10px; }
.lv-pop__grid .dn-mini__name { font-size: .9rem; }
.lv-pop__grid .dn-mini__role { font-size: .78rem; }
.lv-pop p { margin: 0; color: #7a8594; }
@media (max-width: 575px) { .lv-pop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Lưới 3–4 cột + thẻ doanh nhân mini (dùng chung) ---------- */
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.dn-people { padding-top: 10px; }
.dn-mini { display: flex; flex-direction: column; height: 100%; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid #e4eaf0; transition: transform .25s, box-shadow .25s; }
.dn-mini:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -22px rgba(7, 28, 53, .55); }
.dn-mini__media { display: block; aspect-ratio: 4 / 4.3; overflow: hidden; background: #eef2f6; }
.dn-mini__media .tvdn-ph { font-size: 64px; }
.dn-mini__body { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 14px; }
.dn-mini__name { color: var(--title); font-size: 1.05rem; }
.dn-mini__role { color: #5b6573; font-size: .88rem; }
.dn-mini__life { color: var(--primary); font-size: .82rem; font-weight: 500; }

@media (max-width: 991px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .grid-3 { grid-template-columns: 1fr; } }

/* ---------- Trang chủ: gọn hơn (29/11/2026) ---------- */
.home-hero { padding: 32px 0 34px; }
.home-stats { margin-top: 22px; }
.home-stats__item { display: flex; flex-direction: column; padding: 14px 10px; border-radius: 12px; background: #fff; border: 1px solid #e1eaf3; color: var(--text); }
.box-warehouse { padding: 28px 16px 8px; }
.warehouse-media img, .warehouse-icon { max-width: 170px; margin: 0 auto; }
.wtitle { font-size: 1.05rem; }
.home-dn { gap: 24px; }
.home-dn .dn-mini__media { aspect-ratio: 3 / 4; }
.home-dn .dn-mini__media img { object-position: center top; }
.home-dn .dn-mini__name { font-size: 1.08rem; line-height: 1.3; }
.home-dn .dn-mini__role { font-size: .86rem; line-height: 1.4; }
.home-fields.is-collapsed > button:nth-child(n+13) { display: none; }
.home-fields__more { margin-top: 16px; text-align: center; }
.home-fields__more .btn { padding: 8px 22px; border: 1px solid #e1eaf3; }
.home-fields__more .btn i { margin-left: 6px; font-size: .8em; }
@media (max-width: 575px) {
	.home-dn { gap: 14px; }
	.home-dn .dn-mini__body { padding: 10px 10px 12px; }
	.home-dn .dn-mini__name { font-size: .98rem; }
	.home-dn .dn-mini__role { font-size: .8rem; }
	.home-fields.is-collapsed > button:nth-child(n+9) { display: none; }
}
.home-hero { margin-bottom: 0; }
.home-hero + .bg-warehouse { margin-bottom: 34px; }
.otd { grid-template-columns: 200px minmax(0, 1fr); }
@media (max-width: 575px) {
	.home-hero { padding-bottom: 26px; }
	.box-warehouse { padding-top: 20px; }
	.warehouse-media img, .warehouse-icon { max-width: 96px; }
	.wtitle { font-size: .9rem; }
	.warehouse-grid { gap: 0 12px; }
}

/* Phân trang = một nút "Xem thêm" (29/11/2026). [hidden] luôn thắng display của .btn. */
[hidden] { display: none !important; }
.load-more { text-align: center; margin-top: 28px; }
.load-more .btn { min-width: 220px; justify-content: center; }
.load-more.is-loading .btn { opacity: .6; pointer-events: none; }

/* ---------- Trang chủ: trên báo chí (30/11/2026) ---------- */
.bao-chi__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bao-chi__card { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 18px 18px 16px; border: 1px solid #e1eaf3; border-radius: 12px; background: #fff; color: var(--text); transition: border-color .2s, box-shadow .2s, transform .2s; }
.bao-chi__card:hover, .bao-chi__card:focus-visible { border-color: var(--rgba-primary-4); box-shadow: 0 8px 24px rgba(7, 28, 53, .08); transform: translateY(-2px); color: var(--text); }
.bao-chi__logo { display: flex; align-items: center; gap: 10px; height: 44px; }
.bao-chi__logo img { display: block; flex: 0 1 auto; width: auto; height: 44px; max-width: 100%; object-fit: contain; object-position: left center; }
.bao-chi__logo b { font-size: .78rem; line-height: 1.2; font-weight: 700; text-transform: uppercase; color: #b3121b; }
.bao-chi__title { color: var(--title); font-weight: 500; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bao-chi__card:hover .bao-chi__title { color: var(--primary); }
.bao-chi__meta { margin-top: auto; font-size: .8125rem; color: #5f6672; }
.bao-chi__meta i { margin-left: 4px; font-size: .7rem; }
@media (max-width: 1199px) { .bao-chi__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .bao-chi__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .bao-chi__card { padding: 14px; } .bao-chi__logo { height: 36px; } .bao-chi__logo img { height: 36px; } .bao-chi__logo b { font-size: .7rem; } }
@media (max-width: 479px) { .bao-chi__grid { gap: 10px; } .bao-chi__card { padding: 12px; gap: 8px; } .bao-chi__logo { height: 30px; gap: 6px; } .bao-chi__logo img { height: 30px; } .bao-chi__logo b { font-size: .62rem; } .bao-chi__title { font-size: .875rem; } .bao-chi__meta { font-size: .75rem; } }

