/**
 * Atelier Aurum v3.0.2 — P0 Mobile-First (360px–430px) Hardening, Daily Market Pulse & Interactive FinTech Suite CSS
 * GoldenKey Invest (goldenkey.vn) • Fee-Only Fiduciary Architecture
 */

:root {
	--gk-gold-primary: #775A19;
	--gk-gold-bright: #C5A059;
	--gk-obsidian: #121316;
	--gk-charcoal: #1B1C1A;
	--gk-ivory: #FAF8F5;
	--gk-ivory-low: #F5F3F0;
	--gk-hairline: #E5DFD3;
	--gk-emerald-safe: #0F766E;
	--gk-crimson-veto: #B91C1C;
	--gk-amber-warn: #B45309;
}

/* ==========================================================================
   1. 3-TIER TYPOGRAPHY LIBERATION (UI vs PROSE vs TABULAR MONOSPACE)
   ========================================================================== */
.gk-fintech-app,
.gk-bond-ledger-app,
.gk-research-hub-app,
.gk-checklist-app,
.gk-planner-app,
.gk-booking-card-wrap,
.aurum-tool-card,
.aurum-pricing-wrap,
.aurum-team-wrap,
.gk-concierge-drawer,
.gk-mobile-wealth-dock,
.gk-compare-tray,
.gk-compare-modal-backdrop,
.gk-post-contextual-cta,
.gk-author-byline,
.gk-daily-pulse-terminal {
	font-family: var(--gk-font-ui);
	box-sizing: border-box;
}

.gk-fintech-app *,
.gk-concierge-drawer *,
.gk-mobile-wealth-dock *,
.gk-compare-modal-backdrop *,
.gk-daily-pulse-terminal * {
	box-sizing: border-box;
}

.gk-num,
.gk-mono,
.tabular-nums,
.gk-bond-code,
.gk-matrix-table td.is-num,
.gk-sens-cell,
.gk-kpi-num,
.aurum-tier-fee,
.gk-pulse-kpi-val,
.gk-pulse-kpi-delta {
	font-family: var(--gk-font-mono) !important;
	font-variant-numeric: tabular-nums !important;
}

/* Header CTA Button (#gk-cta-header-btn) — Active & Crisp on Desktop */
#gk-cta-header-btn {
	display: inline-flex !important;
	align-items: center;
	flex-shrink: 0;
}

#gk-cta-header-btn .elementor-button {
	background-color: #121316 !important;
	color: #FAF8F5 !important;
	border: 1px solid #C5A059 !important;
	border-radius: 2px !important;
	padding: 9px 15px !important;
	font-family: var(--gk-font-body) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: 0.01em !important;
	text-transform: none !important;
	white-space: nowrap !important;
	line-height: 1.32 !important;
	min-height: 38px;
}

#gk-cta-header-btn .elementor-button:hover {
	background-color: #775A19 !important;
	border-color: #775A19 !important;
	color: #FFFFFF !important;
}

@media (max-width: 1320px) and (min-width: 1025px) {
	.elementor-15457 .elementor-element.elementor-element-031a529 {
		display: none !important;
	}
	.elementor-15457 .elementor-element.elementor-element-2e86dcb .elementor-icon-list-items {
		gap: 13px !important;
	}
	.elementor-15457 .elementor-element.elementor-element-2e86dcb .elementor-icon-list-text {
		font-size: 13px !important;
		letter-spacing: 0 !important;
	}
	#gk-cta-header-btn .elementor-button {
		padding: 8px 13px !important;
		font-size: 13px !important;
	}
}

/* Hide Tier 1 & Desktop Header CTA on <= 1024px so Mobile Header stays sleek 58px */
@media (max-width: 1024px) {
	#gk-hdr-tier1,
	#gk-hdr-tier1.gk-hdr-top-bar,
	.elementor-element-gk_hdr_tier1_wrap {
		display: none !important;
	}
	#gk-cta-header-btn {
		display: none !important;
	}
	.elementor-15457 .elementor-element-gk_hdr_bar {
		min-height: 58px !important;
		padding: 6px 14px !important;
	}
	.elementor-15457 .elementor-element-gk_hdr_logo img {
		height: 38px !important;
		max-height: 38px !important;
		width: auto !important;
	}
	.gk-header-spacer {
		min-height: 58px;
	}
}

/* ==========================================================================
   1B. DAILY MARKET & GLOBAL MACRO LIVE TERMINAL ([gk_daily_market_pulse])
   ========================================================================== */
.gk-daily-pulse-terminal {
	background: linear-gradient(180deg, #0D1220 0%, #131826 100%);
	color: #FAF8F5;
	border: 1px solid rgba(197, 160, 89, 0.55);
	border-top: 4px solid #C5A059;
	border-radius: 10px;
	padding: clamp(20px, 3.2vw, 34px);
	box-shadow: 0 18px 44px rgba(9, 13, 22, 0.22);
	width: 100%;
	max-width: 100%;
}

.gk-pulse-top-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 18px;
	padding-bottom: 18px;
	margin-bottom: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.gk-pulse-heading-col {
	flex: 1 1 520px;
	min-width: 0;
}

.gk-pulse-live-eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #E5C578;
	margin-bottom: 8px;
}

.gk-pulse-live-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #10B981;
	box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22);
	display: inline-block;
	flex-shrink: 0;
	animation: gkPulseLive 2s infinite;
}

@keyframes gkPulseLive {
	0%, 100% { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.28); }
	50% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0.06); }
}

.gk-pulse-date-chip {
	background: rgba(197, 160, 89, 0.20);
	border: 1px solid rgba(197, 160, 89, 0.55);
	color: #FFF7E0;
	font-family: var(--gk-font-mono);
	font-size: 12px;
	padding: 2px 8px;
	border-radius: 999px;
}

.gk-pulse-main-title {
	font-family: var(--gk-font-heading) !important;
	font-size: clamp(21px, 2.5vw, 30px) !important;
	line-height: 1.3 !important;
	color: #FAF8F5 !important;
	margin: 0 0 8px !important;
	font-weight: 700 !important;
}

.gk-pulse-hot-summary {
	font-size: 14.5px;
	line-height: 1.62;
	color: #CBD5E1;
	margin: 0;
}

.gk-pulse-cat-btn {
	background: #C5A059 !important;
	border-color: #C5A059 !important;
	color: #121316 !important;
	font-weight: 800 !important;
}

.gk-pulse-hot-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 22px;
}

@media (max-width: 1180px) {
	.gk-pulse-hot-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.gk-pulse-hot-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}
}

.gk-pulse-kpi-card {
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-top: 2px solid #C5A059;
	border-radius: 6px;
	padding: 11px 12px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.gk-pulse-kpi-card.is-down { border-top-color: #F87171; }
.gk-pulse-kpi-card.is-up { border-top-color: #34D399; }
.gk-pulse-kpi-card.is-warn { border-top-color: #FBBF24; }

.gk-pulse-kpi-tag {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #94A3B8;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.gk-pulse-kpi-val {
	font-size: 16.5px;
	font-weight: 800;
	color: #FFFFFF;
	line-height: 1.25;
}

.gk-pulse-kpi-delta {
	font-size: 12.5px;
	font-weight: 700;
	color: #E2E8F0;
}

.gk-pulse-kpi-card.is-down .gk-pulse-kpi-delta { color: #FCA5A5; }
.gk-pulse-kpi-card.is-up .gk-pulse-kpi-delta { color: #6EE7B7; }
.gk-pulse-kpi-card.is-warn .gk-pulse-kpi-delta { color: #FDE68A; }

.gk-pulse-kpi-note {
	font-size: 12px;
	color: #94A3B8;
	line-height: 1.35;
}

.gk-pulse-articles-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}

@media (max-width: 900px) {
	.gk-pulse-articles-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

.gk-pulse-article-card {
	background: #FAF8F5;
	color: #1B1C1A;
	border: 1px solid #E5DFD3;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.gk-pulse-media-link {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #121316;
	text-decoration: none;
}

.gk-pulse-media-link img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block;
	transition: transform 0.35s ease;
}

.gk-pulse-article-card:hover .gk-pulse-media-link img {
	transform: scale(1.03);
}

.gk-pulse-media-badges {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 10px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 6px;
}

.gk-pulse-desk-pill {
	background: rgba(13, 18, 32, 0.90);
	border: 1px solid rgba(197, 160, 89, 0.65);
	color: #F8FAFC;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 4px 9px;
	border-radius: 4px;
	text-transform: uppercase;
}

.gk-infographic-pill {
	background: #C5A059;
	color: #121316;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.05em;
	padding: 4px 9px;
	border-radius: 4px;
	text-transform: uppercase;
}

.gk-pulse-article-body {
	padding: 18px 20px 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.gk-pulse-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	color: #575854;
	margin-bottom: 8px;
}

.gk-pulse-audit-tag {
	color: #0F766E;
	font-weight: 700;
}

.gk-pulse-article-title {
	font-family: var(--gk-font-heading) !important;
	font-size: clamp(17.5px, 1.8vw, 21px) !important;
	line-height: 1.38 !important;
	margin: 0 0 10px !important;
	color: #121316 !important;
}

.gk-pulse-article-title a {
	color: #121316 !important;
	text-decoration: none !important;
}

.gk-pulse-article-title a:hover {
	color: #775A19 !important;
}

.gk-pulse-article-excerpt {
	font-size: 14.5px;
	line-height: 1.62;
	color: #46464B;
	margin: 0 0 16px;
	flex: 1;
}

.gk-pulse-author-foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding-top: 12px;
	border-top: 1px solid #E5DFD3;
}

.gk-pulse-author-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 13px;
	color: #1B1C1A;
}

.gk-pulse-author-info small {
	font-size: 12.5px;
	color: #5E605C;
}

.gk-pulse-read-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 8px 14px;
	background: #121316;
	color: #E5C578 !important;
	border: 1px solid #C5A059;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
	white-space: nowrap;
}

.gk-pulse-read-btn:hover {
	background: #775A19;
	color: #FFFFFF !important;
}

.gk-pulse-bottom-strip {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.gk-pulse-compliance-note {
	flex: 1 1 360px;
	font-size: 13px;
	line-height: 1.55;
	color: #CBD5E1;
}

.gk-pulse-bottom-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.gk-pulse-fb-btn {
	border-color: rgba(197, 160, 89, 0.65) !important;
	color: #FAF8F5 !important;
	background: rgba(255, 255, 255, 0.05) !important;
	min-height: 44px !important;
	display: inline-flex;
	align-items: center;
	padding: 9px 14px !important;
	text-decoration: none !important;
}

/* Crisp Inline Infographic Rendering in Single Posts (Zero Cropping on Mobile & Desktop) */
figure.gk-inline-banner,
figure.gk-infographic-figure {
	margin: 26px 0 !important;
	background: #0D1220;
	border: 1px solid #C5A059;
	border-radius: 8px;
	overflow: hidden;
	width: 100%;
	max-width: 100%;
}

figure.gk-inline-banner img,
figure.gk-infographic-figure img {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	max-height: none !important;
	object-fit: contain !important;
	display: block !important;
}

figure.gk-inline-banner figcaption,
figure.gk-infographic-figure figcaption {
	padding: 10px 14px;
	background: #FAF8F5;
	color: #46464B;
	font-family: var(--gk-font-ui);
	font-size: 12.5px;
	line-height: 1.5;
	border-top: 1px solid #E5DFD3;
}

/* ==========================================================================
   2. P0 MOBILE FIXES M1 – M5 (360px – 430px ZERO OVERFLOW & ERGONOMIC TOUCH)
   ========================================================================== */

/* M4: Hamburger 44x44px Touch Target & Scrollable Mobile Drawer */
#gk-mobile-menu-toggle .elementor-icon,
#gk-mobile-menu-toggle a,
a[href="#gk-mobile-drawer"] {
	min-width: 44px !important;
	min-height: 44px !important;
	width: 44px !important;
	height: 44px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border: 1px solid rgba(18, 19, 22, 0.14);
	border-radius: 4px;
	background: #FFFFFF;
}

#gk-mobile-drawer,
.gk-mobile-drawer-panel {
	max-height: calc(100dvh - 58px) !important;
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch !important;
	overscroll-behavior: contain !important;
}

#gk-mobile-drawer .elementor-icon-list-item a,
#gk-mobile-drawer a {
	min-height: 44px !important;
	display: flex !important;
	align-items: center !important;
	padding: 10px 4px !important;
	font-family: var(--gk-font-ui) !important;
	font-size: 15px !important;
	line-height: 1.4 !important;
}

/* Archive #15852 Horizontal Pill Scroll on Mobile */
@media (max-width: 900px) {
	.gk-archive-cat-switcher,
	.elementor-15852 .elementor-element-cca4cf73 {
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch !important;
		scrollbar-width: none;
	}
	.gk-archive-cat-switcher::-webkit-scrollbar {
		display: none;
	}
	.gk-archive-cat-switcher .elementor-icon-list-items,
	.elementor-15852 .elementor-element-4628118e .elementor-icon-list-items {
		display: inline-flex !important;
		flex-wrap: nowrap !important;
		gap: 8px !important;
		padding-bottom: 2px;
	}
	.gk-archive-cat-switcher .elementor-icon-list-item,
	.elementor-15852 .elementor-element-4628118e .elementor-icon-list-item {
		flex: 0 0 auto !important;
		white-space: nowrap !important;
	}
	.gk-archive-cat-switcher .elementor-icon-list-item a,
	.elementor-15852 .elementor-element-4628118e .elementor-icon-list-item a {
		display: inline-flex !important;
		align-items: center !important;
		min-height: 38px !important;
		padding: 6px 12px !important;
		background: #FFFFFF;
		border: 1px solid #DFD9CE;
		border-radius: 999px;
	}
}

@media (max-width: 767px) {
	/* M4: Prevent iOS Safari Auto-Zoom (< 16px input trigger) */
	input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
	select,
	textarea,
	.gk-form-group input,
	.gk-form-group select,
	.gk-form-group textarea,
	.gk-ledger-search-input,
	.gk-facet-field select,
	.gk-planner-field input,
	.gk-planner-field select,
	.aurum-input-group input[type="number"],
	.aurum-input-group select {
		font-size: 16px !important;
		min-height: 46px;
	}

	/* M1: Eliminate 3-Layer & 4-Layer Nested Padding Squeeze so forms/tools span 328px–358px */
	.e-con > .e-con-inner:has(.gk-fintech-app),
	.e-con > .e-con-inner:has(.gk-booking-card-wrap),
	.e-con > .e-con-inner:has(.gk-checklist-app),
	.e-con > .e-con-inner:has(.gk-planner-app),
	.e-con > .e-con-inner:has(.gk-daily-pulse-terminal),
	.e-con:has(> .elementor-widget-shortcode .gk-fintech-app),
	.e-con:has(> .elementor-widget-shortcode .gk-booking-card-wrap) {
		padding-left: 12px !important;
		padding-right: 12px !important;
	}

	.gk-daily-pulse-terminal {
		padding: 18px 14px !important;
		border-radius: 8px;
	}

	.gk-pulse-article-body {
		padding: 15px 14px 16px !important;
	}

	.gk-pulse-read-btn,
	.gk-pulse-cat-btn,
	.gk-pulse-fb-btn,
	.gk-pulse-consult-btn {
		width: 100% !important;
		justify-content: center !important;
	}

	#booking > .e-con-inner,
	#booking .e-con:has(.gk-booking-card-wrap),
	#booking .e-con:has(.gk-booking-card-wrap) > .e-con-inner,
	.elementor-16119 .elementor-element.elementor-element-f2ae4125,
	.elementor-16119 .elementor-element.elementor-element-f2ae4125 > .e-con-inner,
	#bo-loc-nghien-cuu > .e-con-inner,
	#gk-bond-ledger > .e-con-inner {
		padding-left: 0 !important;
		padding-right: 0 !important;
		padding-inline: 0 !important;
	}

	.gk-nd200-mode-tabs {
		display: flex !important;
		flex-direction: column !important;
		width: 100% !important;
	}
	.gk-nd200-mode-btn,
	.gk-checklist-app button {
		white-space: normal !important;
		max-width: 100% !important;
		height: auto !important;
		line-height: 1.35 !important;
	}
	.gk-nd200-mode-btn {
		width: 100% !important;
		text-align: left !important;
	}

	.gk-booking-card-wrap,
	.gk-checklist-app,
	.gk-planner-app,
	.gk-cashflow-sim,
	.gk-fintech-panel,
	.aurum-tool-card,
	.gk-ledger-toolbar {
		padding: 16px 14px !important;
	}

	.gk-planner-results-col,
	.gk-checklist-scorebox,
	.gk-fintech-results-box {
		padding: 16px 12px !important;
	}

	.gk-consultation-form {
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 !important;
	}

	/* M1: Full-width Search Bar on its own row (never 143px!) */
	.gk-ledger-toolbar-top {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 12px !important;
	}

	.gk-tier-pills {
		display: flex !important;
		flex-wrap: nowrap !important;
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch;
		gap: 6px !important;
		padding-bottom: 4px;
		scrollbar-width: none;
	}
	.gk-tier-pills::-webkit-scrollbar {
		display: none;
	}
	.gk-tier-btn,
	.gk-rh-tab {
		flex: 0 0 auto !important;
		white-space: nowrap !important;
		min-height: 40px !important;
		padding: 8px 12px !important;
	}

	.gk-ledger-search-wrap {
		flex: 1 1 100% !important;
		width: 100% !important;
		max-width: 100% !important;
		display: flex !important;
		flex-wrap: wrap !important;
		gap: 8px !important;
	}

	#gk-rh-search-input,
	#gk-bond-search-input,
	.gk-ledger-search-input {
		flex: 1 1 100% !important;
		width: 100% !important;
		min-width: 0 !important;
	}

	/* M2: Card Heads, Rating Pills & Action Buttons — Zero Horizontal Bleed */
	.gk-bond-card-body {
		padding: 18px 16px !important;
	}
	.gk-bond-card-foot {
		padding: 12px 16px !important;
		flex-wrap: wrap !important;
		gap: 8px !important;
	}
	.gk-bond-card-head,
	.gk-checklist-quick-actions,
	.gk-fintech-quick-actions {
		flex-wrap: wrap !important;
		gap: 8px !important;
	}
	.gk-rating-pill {
		max-width: 100% !important;
		white-space: normal !important;
		line-height: 1.3 !important;
		padding: 4px 8px !important;
		font-size: 12px !important;
	}
	a.gk-btn-editorial.gk-w-full,
	button.gk-btn-editorial.gk-w-full,
	.gk-btn-editorial {
		white-space: normal !important;
		min-height: 48px !important;
		line-height: 1.35 !important;
		padding: 12px 16px !important;
		font-size: 13.5px !important;
		letter-spacing: 0.01em !important;
		text-transform: none !important;
		text-align: center !important;
	}

	/* M3: Fix .aurum-ticker-label clipping & Compact Single-Row #aurum-compliance-bar */
	.aurum-ticker-bar {
		height: 38px !important;
	}
	.aurum-ticker-label {
		padding: 0 12px !important;
		gap: 6px !important;
		letter-spacing: 0.04em !important;
		font-size: 12px !important;
	}

	#aurum-compliance-bar.aurum-compliance-bar {
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
	}
	#aurum-compliance-bar .aurum-compliance-inner {
		flex-direction: row !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 10px !important;
	}
	#aurum-compliance-bar .aurum-compliance-copy {
		font-size: 13px !important;
		line-height: 1.42 !important;
		display: -webkit-box !important;
		-webkit-line-clamp: 3 !important;
		-webkit-box-orient: vertical !important;
		overflow: hidden !important;
	}
	#aurum-compliance-bar .aurum-compliance-copy a {
		display: none !important;
	}
	#aurum-compliance-bar .aurum-compliance-btn {
		align-self: center !important;
		min-height: 40px !important;
		padding: 8px 12px !important;
		font-size: 13px !important;
		border-radius: 3px !important;
	}

	/* Coordinate Bottom Dock, Compliance Bar & Back-to-Top without overlap */
	body:not(.aurum-compliance-accepted) #gk-mobile-wealth-dock {
		transform: translateY(120%) !important;
		opacity: 0 !important;
		pointer-events: none !important;
	}
	body.aurum-compliance-accepted {
		padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
	}
	body.aurum-compliance-accepted .aurum-btt-btn {
		bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
		right: 14px !important;
		width: 42px !important;
		height: 42px !important;
	}
}

/* M5: Financial Tables with Horizontal Scroll, Sticky First Column & Swipe Hint */
.gk-table-wrap,
.gk-matrix-table-wrap,
.gk-financial-table-wrap {
	width: 100% !important;
	max-width: 100% !important;
	overflow-x: auto !important;
	-webkit-overflow-scrolling: touch !important;
	position: relative;
	border: 1px solid var(--gk-hairline);
	background: #FFFFFF;
}

.gk-table-wrap table,
.gk-dossier-article-body .gk-table-wrap table,
.gk-editorial-post .gk-table-wrap table,
.gk-matrix-table {
	display: table !important;
	width: 100% !important;
	min-width: 580px !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
}

.gk-table-wrap table th:first-child,
.gk-table-wrap table td:first-child,
.gk-matrix-table th:first-child,
.gk-matrix-table td:first-child {
	position: sticky;
	left: 0;
	z-index: 2;
	min-width: 150px;
	background-color: #FFFFFF;
	box-shadow: 2px 0 6px rgba(18, 19, 22, 0.06);
}

.gk-table-wrap table thead th:first-child,
.gk-matrix-table thead th:first-child {
	z-index: 3;
	background-color: #121316;
	color: #FAF8F5;
}

.gk-matrix-table tbody tr:nth-child(even) td:first-child {
	background-color: #FAF8F5;
}

@media (max-width: 767px) {
	.gk-swipe-hint,
	.gk-table-wrap::before {
		content: "↔ Vuốt ngang để đối chiếu đầy đủ các cột số liệu";
		display: block;
		padding: 6px 12px;
		background: #F5F3F0;
		color: #775A19;
		font-family: var(--gk-font-ui);
		font-size: 12.5px;
		font-weight: 600;
		letter-spacing: 0.03em;
		border-bottom: 1px solid #E5DFD3;
		position: sticky;
		left: 0;
	}
	.gk-swipe-hint {
		content: normal;
	}
}

/* ==========================================================================
   3. RESEARCH HUB & BOND LEDGER v3.0 (VIEW TOGGLE, SORT, MATRIX & COMPARE)
   ========================================================================== */
.gk-hub-controls-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #E5DFD3;
}

.gk-view-switch {
	display: inline-flex;
	border: 1px solid #76777B;
	background: #FFFFFF;
	border-radius: 3px;
	overflow: hidden;
}

.gk-view-btn {
	background: transparent;
	border: none;
	padding: 8px 14px;
	min-height: 38px;
	font-family: var(--gk-font-ui);
	font-size: 13px;
	font-weight: 600;
	color: #46464B;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.gk-view-btn.is-active {
	background: #121316;
	color: #FAF8F5;
}

.gk-compare-check-lbl {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--gk-font-ui);
	font-size: 13px;
	font-weight: 600;
	color: #E7C980;
	cursor: pointer;
	padding: 4px 8px;
	border: 1px solid rgba(197, 160, 89, 0.45);
	border-radius: 3px;
	background: rgba(18, 19, 22, 0.55);
	min-height: 34px;
}

.gk-compare-check-lbl input {
	width: 16px;
	height: 16px;
	accent-color: #C5A059;
	margin: 0;
}

.gk-matrix-table {
	font-family: var(--gk-font-body);
	font-size: 13.5px;
}

.gk-matrix-table thead th {
	background: #121316;
	color: #FAF8F5;
	padding: 12px 14px;
	text-align: left;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: none;
	border-bottom: 2px solid #C5A059;
	white-space: nowrap;
}

.gk-matrix-table tbody td {
	padding: 12px 14px;
	border-bottom: 1px solid #EAE8E5;
	color: #1B1C1A;
	vertical-align: middle;
}

.gk-matrix-table tbody tr:nth-child(even) td {
	background: #FAF8F5;
}

.gk-matrix-table tbody tr:hover td {
	background: #F3EFE6;
}

/* Floating Peer Compare Tray & Modal */
.gk-compare-tray {
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	bottom: 78px;
	z-index: 9985;
	background: #121316;
	color: #FAF8F5;
	border: 1px solid #C5A059;
	border-radius: 6px;
	padding: 10px 16px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: calc(100vw - 24px);
	flex-wrap: wrap;
}

.gk-compare-tray[hidden] {
	display: none !important;
}

.gk-compare-chips {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.gk-compare-chip {
	background: rgba(197, 160, 89, 0.18);
	border: 1px solid rgba(197, 160, 89, 0.55);
	color: #E7C980;
	padding: 3px 9px;
	border-radius: 999px;
	font-family: var(--gk-font-mono);
	font-size: 12.5px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.gk-compare-chip button {
	background: none;
	border: none;
	color: #FAF8F5;
	cursor: pointer;
	padding: 0 2px;
	font-size: 14px;
	line-height: 1;
}

.gk-compare-modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 10020;
	background: rgba(12, 13, 16, 0.76);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.gk-compare-modal-backdrop[hidden] {
	display: none !important;
}

.gk-compare-modal {
	background: #FFFFFF;
	border: 1px solid #C5A059;
	border-top: 4px solid #775A19;
	border-radius: 6px;
	max-width: 960px;
	width: 100%;
	max-height: 88dvh;
	overflow-y: auto;
	padding: 24px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

@media (max-width: 767px) {
	.gk-compare-modal {
		padding: 16px 12px;
	}
}

/* ==========================================================================
   4. [gk_equity_sensitivity] — 5x5 VALUATION SENSITIVITY MATRIX
   ========================================================================== */
.gk-sens-card {
	background: #FFFFFF;
	border: 1px solid #E5DFD3;
	border-top: 4px solid #775A19;
	padding: clamp(18px, 3vw, 32px);
	box-shadow: 0 8px 28px rgba(18, 19, 22, 0.04);
}

.gk-sens-sliders {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px;
	background: #FAF8F5;
	border: 1px solid #E5DFD3;
	padding: 16px 18px;
	margin: 16px 0 20px;
}

.gk-sens-slider-box label {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13.5px;
	font-weight: 600;
	color: #1B1C1A;
	margin-bottom: 8px;
}

.gk-sens-slider-box input[type="range"] {
	width: 100%;
	accent-color: #775A19;
	cursor: pointer;
}

.gk-sens-kpis {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
	gap: 12px;
	margin-bottom: 18px;
}

.gk-sens-kpi {
	background: #F5F3F0;
	border: 1px solid #E5DFD3;
	padding: 12px 14px;
}

.gk-sens-kpi span {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	color: #46464B;
	margin-bottom: 4px;
}

.gk-sens-kpi strong {
	font-family: var(--gk-font-mono);
	font-size: 18px;
	font-weight: 700;
	color: #121316;
}

.gk-sens-table {
	width: 100%;
	min-width: 540px;
	border-collapse: separate;
	border-spacing: 0;
	text-align: center;
}

.gk-sens-table th,
.gk-sens-table td {
	padding: 10px 8px;
	border-bottom: 1px solid #EAE8E5;
	border-right: 1px solid #EAE8E5;
	font-size: 13.5px;
}

.gk-sens-table thead th {
	background: #121316;
	color: #E7C980;
	font-weight: 700;
}

.gk-sens-table tbody th {
	background: #F5F3F0;
	color: #121316;
	font-family: var(--gk-font-mono);
	font-weight: 700;
	position: sticky;
	left: 0;
	z-index: 2;
}

.gk-sens-cell.is-deep-mos {
	background: #ECFDF5;
	color: #065F46;
	font-weight: 700;
}

.gk-sens-cell.is-fair-mos {
	background: #FEF9E7;
	color: #775A19;
	font-weight: 600;
}

.gk-sens-cell.is-overvalued {
	background: #FEF2F2;
	color: #991B1B;
}

.gk-sens-cell.is-center {
	outline: 2px solid #121316;
	outline-offset: -2px;
	box-shadow: inset 0 0 0 2px #C5A059;
}

/* ==========================================================================
   5. [gk_wealth_stress_simulator] — GAUGE /100, CD LADDER & DUAL STRESS TEST
   ========================================================================== */
.gk-wealth-gauge-row {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 20px;
	align-items: center;
	background: #121316;
	color: #FAF8F5;
	padding: 18px 20px;
	border-bottom: 3px solid #C5A059;
	margin-bottom: 18px;
}

@media (max-width: 600px) {
	.gk-wealth-gauge-row {
		grid-template-columns: 1fr;
		text-align: center;
		justify-items: center;
	}
}

.gk-cd-ladder-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	margin-top: 10px;
}

@media (max-width: 640px) {
	.gk-cd-ladder-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.gk-cd-rung {
	background: #FAF8F5;
	border: 1px solid #E5DFD3;
	border-top: 2px solid #C5A059;
	padding: 8px 10px;
	font-size: 12.5px;
}

.gk-cd-rung strong {
	display: block;
	font-family: var(--gk-font-mono);
	font-size: 12.5px;
	color: #121316;
	margin-top: 2px;
}

.gk-stress-panel {
	background: #FFFBEB;
	border: 1px solid #F59E0B;
	border-left: 4px solid #B45309;
	padding: 16px 18px;
	margin-top: 16px;
}

.gk-stress-panel.is-danger {
	background: #FEF2F2;
	border-color: #FECACA;
	border-left-color: #B91C1C;
}

/* ==========================================================================
   6. [gk_bond_nd200_screener] & [gk_fee_drag_calculator]
   ========================================================================== */
.gk-nd200-mode-tabs {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0 18px;
}

.gk-nd200-mode-btn {
	background: #FAF8F5;
	border: 1px solid #76777B;
	color: #1B1C1A;
	padding: 10px 16px;
	min-height: 44px;
	font-family: var(--gk-font-body);
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.gk-nd200-mode-btn.is-active {
	background: #121316;
	border-color: #121316;
	color: #E7C980;
}

.gk-veto-box {
	background: #FEF2F2;
	border: 1.5px solid #EF4444;
	border-left: 5px solid #B91C1C;
	padding: 16px 18px;
	margin: 18px 0;
}

.gk-net-yield-box {
	background: #FAF8F5;
	border: 1px solid #E5DFD3;
	border-top: 3px solid #775A19;
	padding: 18px 20px;
	margin-top: 20px;
}

/* ==========================================================================
   7. FIDUCIARY CONCIERGE DRAWER (#gk-concierge-drawer) & WEALTH DOCK
   ========================================================================== */
.gk-concierge-backdrop {
	position: fixed;
	inset: 0;
	z-index: 10030;
	background: rgba(12, 13, 16, 0.68);
	backdrop-filter: blur(4px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.gk-concierge-backdrop.is-open {
	opacity: 1;
	visibility: visible;
}

.gk-concierge-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(460px, 100vw);
	z-index: 10035;
	background: #FAF8F5;
	color: #1B1C1A;
	border-left: 2px solid #C5A059;
	box-shadow: -16px 0 48px rgba(0, 0, 0, 0.32);
	transform: translateX(104%);
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
	display: flex;
	flex-direction: column;
	max-height: 100dvh;
}

.gk-concierge-drawer.is-open {
	transform: translateX(0);
}

.gk-concierge-head {
	background: #121316;
	color: #FAF8F5;
	padding: 18px 20px;
	border-bottom: 2px solid #C5A059;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
}

.gk-concierge-close {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(197, 160, 89, 0.45);
	color: #FAF8F5;
	width: 40px;
	height: 40px;
	font-size: 20px;
	cursor: pointer;
	flex-shrink: 0;
}

.gk-concierge-body {
	padding: 20px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	flex: 1;
}

.gk-concierge-choice-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
	margin-bottom: 16px;
}

.gk-concierge-choice {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #FFFFFF;
	border: 1px solid #D6D1C7;
	padding: 11px 14px;
	font-family: var(--gk-font-ui);
	font-size: 13px;
	font-weight: 600;
	color: #1B1C1A;
	cursor: pointer;
	text-align: left;
	min-height: 44px;
}

.gk-concierge-choice.is-selected {
	border-color: #775A19;
	background: #FBF6EA;
	box-shadow: inset 3px 0 0 #775A19;
}

.gk-scale-pills {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
	margin-bottom: 16px;
}

.gk-scale-pill {
	background: #FFFFFF;
	border: 1px solid #D6D1C7;
	padding: 9px 10px;
	font-size: 13px;
	font-weight: 600;
	color: #1B1C1A;
	cursor: pointer;
	text-align: center;
	min-height: 42px;
}

.gk-scale-pill.is-selected {
	background: #121316;
	border-color: #121316;
	color: #E7C980;
}

/* Mobile Bottom Wealth Dock (#gk-mobile-wealth-dock) */
.gk-mobile-wealth-dock {
	display: none;
}

@media (max-width: 767px) {
	.gk-mobile-wealth-dock {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9965;
		background: rgba(18, 19, 22, 0.97);
		backdrop-filter: blur(12px);
		border-top: 1px solid rgba(197, 160, 89, 0.55);
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
		display: grid;
		grid-template-columns: 1fr 1fr 1.35fr;
		gap: 8px;
		box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.28);
		transition: transform 0.25s ease, opacity 0.25s ease;
	}

	.gk-dock-item {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 5px;
		min-height: 44px;
		padding: 6px 8px;
		border-radius: 4px;
		font-family: var(--gk-font-ui);
		font-size: 13px;
		font-weight: 600;
		text-decoration: none !important;
		border: 1px solid rgba(255, 255, 255, 0.16);
		color: #FAF8F5 !important;
		background: rgba(255, 255, 255, 0.06);
		cursor: pointer;
		text-align: center;
		line-height: 1.3;
	}

	.gk-dock-item.is-primary {
		background: #C5A059;
		border-color: #C5A059;
		color: #121316 !important;
	}
}

/* Contextual Reader Conversion Box at end of Single Post */
.gk-post-contextual-cta {
	margin: 34px 0 18px;
	background: linear-gradient(135deg, #121316 0%, #1D2129 100%);
	color: #FAF8F5;
	border: 1px solid #C5A059;
	border-left: 4px solid #C5A059;
	border-radius: 6px;
	padding: 24px 26px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.gk-post-contextual-cta h3 {
	font-family: var(--gk-font-heading) !important;
	color: #FAF8F5 !important;
	font-size: 20px !important;
	margin: 4px 0 8px !important;
	line-height: 1.35 !important;
}

.gk-post-contextual-cta p {
	font-family: var(--gk-font-ui) !important;
	color: #D6D3CD !important;
	font-size: 14px !important;
	line-height: 1.6 !important;
	margin: 0 !important;
	text-align: left !important;
}

@media print {
	.gk-mobile-wealth-dock,
	.gk-concierge-backdrop,
	.gk-concierge-drawer,
	.gk-compare-tray,
	.gk-compare-modal-backdrop,
	.gk-no-print {
		display: none !important;
	}
	.gk-print-only-header {
		display: block !important;
		border-bottom: 2px solid #121316;
		padding-bottom: 12px;
		margin-bottom: 18px;
	}
}
