/* ==========================================================================
   HỒ CHÍ MINH PROPERTY — LUXURY NEWS & SINGLE POST STYLES
   Deep Navy (#080f1d) & Imperial Gold (#d4af37) Palette
   ========================================================================== */

:root {
	--nl-navy: #080f1d;
	--nl-navy-alt: #0d1728;
	--nl-navy-light: #152238;
	--nl-gold: #c5a880;
	--nl-gold-bright: #d4af37;
	--nl-gold-light: #fceda2;
	--nl-gold-dark: #a27b37;
	--nl-gold-gradient: linear-gradient(135deg, #d4af37 0%, #ecd599 30%, #c5a880 70%, #a27b37 100%);
	--nl-gold-glow: 0 8px 25px rgba(212, 175, 55, 0.25);
	--nl-border-gold: rgba(212, 175, 55, 0.28);
	--nl-heading: #0f172a;
	--nl-body: #475569;
	--nl-body-light: #94a3b8;
	--nl-card-bg: #ffffff;
	--nl-line: #e2e8f0;
}

/* Base wrapper */
.news-page-wrapper {
	background-color: #f8fafc;
	min-height: 100vh;
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: var(--nl-body);
	padding-top: 72px; /* Fixed header offset */
}

/* ==========================================================================
   1. HERO BANNER
   ========================================================================== */
.news-hero {
	position: relative;
	background: radial-gradient(circle at 50% 20%, #152238 0%, #080f1d 70%);
	padding: 64px 20px 72px;
	color: #ffffff;
	text-align: center;
	overflow: hidden;
	border-bottom: 1px solid var(--nl-border-gold);
}

.news-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: 
		radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
		radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.06) 0%, transparent 40%);
	pointer-events: none;
}

.news-hero__inner {
	position: relative;
	z-index: 2;
	max-width: 900px;
	margin: 0 auto;
}

.news-hero__breadcrumbs {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.65);
	margin-bottom: 20px;
}

.news-hero__breadcrumbs a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.2s ease;
}

.news-hero__breadcrumbs a:hover {
	color: var(--nl-gold-bright);
}

.news-hero__breadcrumbs span.sep {
	color: var(--nl-gold-bright);
	font-size: 10px;
}

.news-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(212, 175, 55, 0.12);
	border: 1px solid rgba(212, 175, 55, 0.4);
	color: var(--nl-gold-bright);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	padding: 6px 16px;
	border-radius: 50px;
	margin-bottom: 20px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.news-hero__title {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(2rem, 5vw, 3.2rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1.25;
	margin: 0 0 18px;
	color: #ffffff;
}

.news-hero__title span {
	background: var(--nl-gold-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.news-hero__desc {
	font-size: clamp(14px, 1.8vw, 16px);
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.7;
	max-width: 680px;
	margin: 0 auto;
}

/* ==========================================================================
   2. CATEGORY FILTER TABS
   ========================================================================== */
.news-cats-bar {
	max-width: 1200px;
	margin: -24px auto 44px;
	padding: 0 20px;
	position: relative;
	z-index: 10;
}

.news-cats-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 12px;
	background: #ffffff;
	padding: 12px 18px;
	border-radius: 50px;
	box-shadow: 0 10px 30px rgba(8, 15, 29, 0.08);
	border: 1px solid rgba(212, 175, 55, 0.25);
	list-style: none;
	margin: 0 auto;
	width: fit-content;
}

.news-cat-item a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 18px;
	border-radius: 30px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #334155;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	border: 1px solid transparent;
}

.news-cat-item a:hover {
	color: var(--nl-gold-bright);
	background: rgba(212, 175, 55, 0.08);
	border-color: rgba(212, 175, 55, 0.3);
}

.news-cat-item.active a {
	background: #080f1d;
	color: var(--nl-gold-bright);
	border-color: var(--nl-gold-bright);
	box-shadow: 0 4px 15px rgba(8, 15, 29, 0.2);
}

.news-cat-item .count {
	font-size: 11px;
	opacity: 0.7;
	padding: 1px 6px;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.05);
}

.news-cat-item.active .count {
	background: rgba(212, 175, 55, 0.25);
	color: #ffffff;
}

/* ==========================================================================
   3. MAIN CONTENT CONTAINER
   ========================================================================== */
.news-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px 70px;
}

/* ==========================================================================
   4. FEATURED ARTICLE SPOTLIGHT
   ========================================================================== */
.news-featured-card {
	display: grid;
	grid-template-columns: 1fr;
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--nl-line);
	box-shadow: 0 10px 30px rgba(8, 15, 29, 0.06);
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	margin-bottom: 48px;
}

@media (min-width: 900px) {
	.news-featured-card {
		grid-template-columns: 1.15fr 1fr;
	}
}

.news-featured-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 45px rgba(8, 15, 29, 0.12);
	border-color: rgba(212, 175, 55, 0.4);
}

.news-featured-media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #080f1d;
}

.news-featured-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-featured-card:hover .news-featured-media img {
	transform: scale(1.05);
}

.news-featured-body {
	padding: 36px 36px 36px 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.news-featured-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #b28728;
	background: #fff8e8;
	border: 1px solid rgba(212, 175, 55, 0.35);
	padding: 4px 12px;
	border-radius: 20px;
	margin-bottom: 16px;
	width: fit-content;
}

.news-featured-title {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(1.25rem, 2.2vw, 1.65rem);
	font-weight: 800;
	line-height: 1.35;
	color: var(--nl-heading);
	margin: 0 0 14px;
	transition: color 0.2s ease;
}

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

.news-featured-title a:hover {
	color: var(--nl-gold-bright);
}

.news-featured-meta {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 12px;
	color: var(--nl-body-light);
	margin-bottom: 16px;
}

.news-featured-meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.news-featured-meta svg {
	color: var(--nl-gold-bright);
}

.news-featured-excerpt {
	font-size: 14px;
	line-height: 1.7;
	color: var(--nl-body);
	margin-bottom: 24px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-btn-read {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #080f1d;
	background: var(--nl-gold-gradient);
	padding: 10px 22px;
	border-radius: 50px;
	text-decoration: none;
	width: fit-content;
	box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-btn-read:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
	color: #080f1d;
}

.news-btn-read svg {
	transition: transform 0.2s ease;
}

.news-btn-read:hover svg {
	transform: translateX(3px);
}

/* ==========================================================================
   5. STANDARD NEWS GRID (3 COLUMNS)
   ========================================================================== */
.news-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}

@media (min-width: 640px) {
	.news-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.news-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.news-card {
	background: #ffffff;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--nl-line);
	box-shadow: 0 8px 24px rgba(8, 15, 29, 0.05);
	display: flex;
	flex-direction: column;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 36px rgba(8, 15, 29, 0.1);
	border-color: rgba(212, 175, 55, 0.45);
}

.news-card__thumb {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #080f1d;
}

.news-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover .news-card__thumb img {
	transform: scale(1.06);
}

.news-card__category {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	background: rgba(8, 15, 29, 0.85);
	backdrop-filter: blur(4px);
	border: 1px solid rgba(212, 175, 55, 0.45);
	color: var(--nl-gold-bright);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 20px;
}

.news-card__body {
	padding: 22px 22px 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.news-card__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	color: var(--nl-body-light);
	margin-bottom: 10px;
}

.news-card__meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.news-card__meta svg {
	color: var(--nl-gold-bright);
}

.news-card__title {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.45;
	color: var(--nl-heading);
	margin: 0 0 10px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.2s ease;
}

.news-card__title a {
	color: inherit;
	text-decoration: none;
}

.news-card:hover .news-card__title a {
	color: var(--nl-gold-bright);
}

.news-card__excerpt {
	font-size: 13.5px;
	line-height: 1.65;
	color: var(--nl-body);
	margin-bottom: 18px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-card__footer {
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid #f1f5f9;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.news-card__link {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nl-gold-dark);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: all 0.2s ease;
}

.news-card:hover .news-card__link {
	color: var(--nl-gold-bright);
	transform: translateX(3px);
}

/* ==========================================================================
   6. PAGINATION
   ========================================================================== */
.news-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin: 56px 0 20px;
}

.news-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	background: #ffffff;
	border: 1px solid rgba(8, 15, 29, 0.12);
	color: #1e293b;
	border-radius: 8px;
	font-weight: 700;
	font-size: 13px;
	text-decoration: none;
	transition: all 0.25s ease;
}

.news-pagination .page-numbers:hover {
	border-color: var(--nl-gold-bright);
	color: var(--nl-gold-bright);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(8, 15, 29, 0.08);
}

.news-pagination .page-numbers.current {
	background: #080f1d;
	color: var(--nl-gold-bright);
	border-color: var(--nl-gold-bright);
	box-shadow: 0 4px 15px rgba(8, 15, 29, 0.2);
}

/* ==========================================================================
   7. CONSULTATION / NEWSLETTER CTA BANNER
   ========================================================================== */
.news-cta-banner {
	background: radial-gradient(circle at 50% 30%, #152238 0%, #080f1d 80%);
	border-radius: 18px;
	border: 1px solid var(--nl-border-gold);
	padding: 48px 32px;
	color: #ffffff;
	text-align: center;
	margin-top: 60px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(8, 15, 29, 0.25);
}

.news-cta-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
	pointer-events: none;
}

.news-cta-banner__inner {
	position: relative;
	z-index: 2;
	max-width: 720px;
	margin: 0 auto;
}

.news-cta-banner__badge {
	display: inline-block;
	color: var(--nl-gold-bright);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.news-cta-banner__title {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(1.4rem, 3vw, 2rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1.3;
	margin: 0 0 14px;
	color: #ffffff;
}

.news-cta-banner__sub {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.65;
	margin-bottom: 28px;
}

.news-cta-banner__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

.news-cta-btn-hotline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--nl-gold-gradient);
	color: #080f1d !important;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 14px 28px;
	border-radius: 50px;
	text-decoration: none;
	box-shadow: var(--nl-gold-glow);
	transition: all 0.3s ease;
}

.news-cta-btn-hotline:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.news-cta-btn-zalo {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff !important;
	border: 1px solid rgba(255, 255, 255, 0.25);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 14px 28px;
	border-radius: 50px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.news-cta-btn-zalo:hover {
	background: #0068ff;
	border-color: #0068ff;
	transform: translateY(-2px);
}

/* ==========================================================================
   8. SINGLE POST SPECIFIC STYLING
   ========================================================================== */
.single-post-wrapper {
	background-color: #f8fafc;
	min-height: 100vh;
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: var(--nl-body);
	padding-top: 72px;
}

.single-post-header {
	background: radial-gradient(circle at 50% 30%, #152238 0%, #080f1d 80%);
	padding: 56px 20px 64px;
	color: #ffffff;
	text-align: center;
	position: relative;
	border-bottom: 1px solid var(--nl-border-gold);
}

.single-post-header__inner {
	max-width: 860px;
	margin: 0 auto;
}

.single-post-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(212, 175, 55, 0.15);
	border: 1px solid rgba(212, 175, 55, 0.4);
	color: var(--nl-gold-bright);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	padding: 5px 15px;
	border-radius: 50px;
	margin-bottom: 20px;
	text-decoration: none;
	transition: all 0.2s ease;
}

.single-post-badge:hover {
	background: var(--nl-gold-bright);
	color: #080f1d;
}

.single-post-title {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(1.8rem, 4vw, 2.7rem);
	font-weight: 800;
	line-height: 1.3;
	color: #ffffff;
	margin: 0 0 20px;
}

.single-post-meta {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px;
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.65);
}

.single-post-meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.single-post-meta svg {
	color: var(--nl-gold-bright);
}

.single-post-body {
	max-width: 860px;
	margin: 0 auto;
	padding: 44px 20px 80px;
}

.single-post-thumbnail {
	margin-bottom: 36px;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(8, 15, 29, 0.1);
	border: 1px solid rgba(212, 175, 55, 0.2);
}

.single-post-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
}

/* Rich text typography for single post */
.single-post-content {
	font-size: 16.5px;
	line-height: 1.85;
	color: #334155;
}

.single-post-content p {
	margin-bottom: 22px;
}

.single-post-content p:first-of-type {
	font-size: 18px;
	line-height: 1.8;
	color: #1e293b;
	font-weight: 500;
}

.single-post-content h2 {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(1.4rem, 2.5vw, 1.85rem);
	font-weight: 800;
	color: #080f1d;
	margin: 40px 0 18px;
	padding-left: 14px;
	border-left: 4px solid var(--nl-gold-bright);
	line-height: 1.35;
}

.single-post-content h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(1.2rem, 2vw, 1.45rem);
	font-weight: 700;
	color: #0f172a;
	margin: 32px 0 14px;
	line-height: 1.4;
}

.single-post-content blockquote {
	margin: 30px 0;
	padding: 20px 28px;
	background: #fff8e8;
	border-left: 4px solid var(--nl-gold-bright);
	border-radius: 0 12px 12px 0;
	font-style: italic;
	color: #475569;
	font-size: 16px;
	line-height: 1.7;
}

.single-post-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	margin: 28px auto;
	display: block;
	box-shadow: 0 10px 30px rgba(8, 15, 29, 0.08);
}

.single-post-content ul, .single-post-content ol {
	margin: 0 0 24px 20px;
	padding: 0;
}

.single-post-content li {
	margin-bottom: 8px;
	padding-left: 6px;
}

.single-post-content a {
	color: var(--nl-gold-dark);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}

.single-post-content a:hover {
	color: var(--nl-gold-bright);
}

/* Post Share & Back footer */
.single-post-footer {
	margin-top: 50px;
	padding-top: 28px;
	border-top: 1px solid var(--nl-line);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.single-post-share {
	display: flex;
	align-items: center;
	gap: 12px;
}

.single-post-share__label {
	font-size: 13px;
	font-weight: 700;
	color: #1e293b;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.single-post-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid #cbd5e1;
	background: #ffffff;
	color: #475569;
	text-decoration: none;
	transition: all 0.25s ease;
	cursor: pointer;
}

.single-post-share__btn:hover {
	background: #080f1d;
	color: var(--nl-gold-bright);
	border-color: var(--nl-gold-bright);
	transform: translateY(-2px);
}

.single-post-back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--nl-gold-dark);
	text-decoration: none;
	transition: color 0.2s ease;
}

.single-post-back-link:hover {
	color: var(--nl-gold-bright);
}

/* Related articles section */
.single-related-posts {
	margin-top: 70px;
	padding-top: 48px;
	border-top: 2px solid #e2e8f0;
}

.single-related-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 20px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #080f1d;
	margin-bottom: 28px;
	text-align: center;
}

.single-related-title span {
	color: var(--nl-gold-dark);
}

/* ==========================================================================
   HỆ THỐNG GIAO DIỆN CHUẨN MASTER V3: MỤC LỤC, BẢNG, BOX NỘI DUNG & TOPIC CLUSTER
   ========================================================================== */

/* 1. Mục Lục Bài Viết (Fixed TOC - Luxury In-Post Style) */
html {
  scroll-behavior: smooth;
}

.single-post-content h2[id^="ftoc-heading"],
.single-post-content h3[id^="ftoc-heading"] {
  scroll-margin-top: 90px !important;
}

/* Khóa chặt Mục lục luôn hiển thị tĩnh trong nội dung, triệt tiêu hoàn toàn mọi hành vi floating/fixed/toàn màn hình */
#ftwp-container-outer,
#ftwp-container-outer.ftwp-in-post,
.single-post-content #ftwp-container-outer.ftwp-in-post,
#ftwp-container,
#ftwp-container.ftwp-fixed-to-post,
#ftwp-container.ftwp-maximize,
#ftwp-container.ftwp-wrap,
#ftwp-container #ftwp-contents,
#ftwp-container.ftwp-fixed-to-post #ftwp-contents,
#ftwp-container.ftwp-maximize #ftwp-contents,
.ftwp-in-post#ftwp-container-outer #ftwp-contents,
.ftwp-in-post#ftwp-container-outer.ftwp-float-none #ftwp-contents {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  transform: none !important;
  float: none !important;
  clear: both !important;
  display: block !important;
  z-index: 1 !important;
  box-sizing: border-box !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.single-post-content #ftwp-container-outer.ftwp-in-post,
#ftwp-container-outer.ftwp-in-post {
  margin: 28px 0 36px !important;
}

#ftwp-container.ftwp-wrap #ftwp-contents,
.ftwp-in-post#ftwp-container-outer #ftwp-contents,
.ftwp-in-post#ftwp-container-outer.ftwp-float-none #ftwp-contents {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-left: 5px solid #c5a880 !important;
  border-radius: 14px !important;
  padding: 24px 28px !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06) !important;
}

/* Triệt tiêu toàn bộ icon font lỗi, nút floating trigger và các element phóng to */
#ftwp-header-control,
#ftwp-header-minimize,
.ftwp-colexp-icon,
#ftwp-trigger,
.ftwp-trigger,
.ftwp-in-post#ftwp-container-outer #ftwp-trigger,
#ftwp-container.ftwp-wrap #ftwp-trigger,
#ftwp-container.ftwp-fixed-to-post #ftwp-trigger {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Triệt tiêu hoàn toàn số thứ tự tự sinh gây trùng lặp (1 1., 2 2.) */
#ftwp-container #ftwp-list .ftwp-anchor::before {
  display: none !important;
  content: "" !important;
}

#ftwp-header {
  border-bottom: 1.5px solid #e2e8f0 !important;
  padding-bottom: 14px !important;
  margin-bottom: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
}

#ftwp-header::before {
  content: "📑" !important;
  font-size: 20px !important;
  line-height: 1 !important;
}

#ftwp-header-title {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Danh sách Mục lục đơn cột dọc cực kỳ thoáng đãng, dễ đọc */
#ftwp-list {
  padding-left: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

#ftwp-list .ftwp-item {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.5 !important;
  border-bottom: 1px dashed rgba(226, 232, 240, 0.7) !important;
}

#ftwp-list .ftwp-item:last-child {
  border-bottom: none !important;
}

#ftwp-list .ftwp-anchor {
  color: #334155 !important;
  text-decoration: none !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  display: block !important;
  transition: all 0.2s ease !important;
}

#ftwp-list .ftwp-anchor:hover {
  background: #ffffff !important;
  color: #0284c7 !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  transform: translateX(4px) !important;
}

/* 2. Bảng dữ liệu chuẩn Responsive (.table-wrap) - VỪA VẶN 100% KHUNG DESKTOP, KHÔNG TRÀN */
.table-wrap,
.single-post-content .table-wrap {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  margin: 28px 0 36px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.08) !important;
  box-sizing: border-box !important;
}

.table-wrap table,
.single-post-content .table-wrap table {
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: collapse !important;
  margin: 0 !important;
  border: none !important;
  background: #ffffff !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  box-shadow: none !important;
  table-layout: auto !important;
}

.table-wrap caption,
.single-post-content .table-wrap caption {
  caption-side: top !important;
  text-align: left !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  color: #0284c7 !important;
  background: #f8fafc !important;
  padding: 12px 18px !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.table-wrap th,
.single-post-content .table-wrap th {
  background: #0f172a !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 12.5px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
  padding: 12px 14px !important;
  text-align: left !important;
  border: none !important;
  border-bottom: 2px solid #334155 !important;
  white-space: normal !important;
  word-break: normal !important;
  vertical-align: middle !important;
}

.table-wrap td,
.single-post-content .table-wrap td {
  padding: 12px 14px !important;
  color: #334155 !important;
  border: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
  vertical-align: middle !important;
  font-size: 13.5px !important;
  white-space: normal !important;
}

.table-wrap tr:last-child td {
  border-bottom: none !important;
}

.table-wrap tr:nth-child(even) td {
  background-color: #f8fafc !important;
}

.table-wrap tr:hover td {
  background-color: #f1f5f9 !important;
}

/* 3. Bảng Đánh Giá AI Review (.ai-review-box) */
.ai-review-box {
  margin: 28px 0 34px !important;
  padding: 22px 24px !important;
  background-color: #f8fafc !important;
  border: 2px solid #0284c7 !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 20px -2px rgba(2, 132, 199, 0.08) !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.ai-review-box * {
  box-sizing: border-box !important;
}

.ai-review-header br {
  display: none !important;
}

/* 4. Ma Trận Topic Cluster (.topic-cluster-box) */
.topic-cluster-box {
  margin: 36px 0 40px !important;
  padding: 24px !important;
  background-color: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-left: 5px solid #0284c7 !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06) !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
}

.topic-cluster-box br {
  display: none !important;
}

.topic-cluster-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-top: 14px !important;
}

.topic-cluster-grid > p {
  display: contents !important;
  margin: 0 !important;
  padding: 0 !important;
}

.topic-cluster-grid a.topic-link-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 18px 20px !important;
  background-color: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  min-height: 125px !important;
  transition: all 0.2s ease-in-out !important;
}

.topic-cluster-grid a.topic-link-card:hover {
  border-color: #0284c7 !important;
  background-color: #ffffff !important;
  box-shadow: 0 8px 25px -4px rgba(2, 132, 199, 0.12) !important;
  transform: translateY(-2px) !important;
}

/* 5. Khối Tác Giả E-E-A-T (.author-expert-box) - KHẮC PHỤC CHỮ TÀNG HÌNH DO .prose strong KẾ THỪA */
.author-expert-box {
  background: #0f172a !important;
  color: #f8fafc !important;
  border: 1px solid #1e293b !important;
  border-radius: 14px !important;
  padding: 24px !important;
  margin: 36px 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
}

.author-expert-box * {
  box-sizing: border-box !important;
}

.single-post-content .author-expert-box strong,
.author-expert-box strong,
.single-post-content .author-expert-box b,
.author-expert-box b {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.single-post-content .author-expert-box p,
.author-expert-box p {
  color: #94a3b8 !important;
}

.single-post-content .author-expert-box em,
.author-expert-box em {
  color: #cbd5e1 !important;
}

/* 6. Responsive Tweaks */
@media (max-width: 768px) {
  .table-wrap table,
  .single-post-content .table-wrap table {
    min-width: 580px !important;
  }
}

@media (max-width: 640px) {
  #ftwp-container.ftwp-wrap #ftwp-contents,
  .ftwp-in-post#ftwp-container-outer #ftwp-contents {
    padding: 18px 16px !important;
  }
  #ftwp-list .ftwp-anchor {
    font-size: 13.5px !important;
    padding: 6px 8px !important;
  }
  .table-wrap {
    margin: 18px 0 24px !important;
    border-radius: 10px !important;
  }
  .table-wrap th,
  .table-wrap td {
    padding: 10px 12px !important;
    font-size: 13px !important;
  }
  .table-wrap caption {
    padding: 10px 14px !important;
    font-size: 13px !important;
  }
  .ai-review-box {
    padding: 16px !important;
    margin: 20px 0 !important;
    border-radius: 12px !important;
  }
  .topic-cluster-box {
    padding: 16px !important;
    margin: 24px 0 !important;
  }
  .topic-cluster-grid {
    grid-template-columns: 1fr !important;
  }
  .author-expert-box {
    padding: 18px 16px !important;
    margin: 24px 0 !important;
  }
}
