/* MoneyMapStation — main stylesheet */

:root {
	--bg: #070907;
	--bg2: #0b0f0a;
	--card: #0d130c;
	--line: #1c271a;
	--line2: #22301f;
	--line3: #34452f;
	--text: #ece6d6;
	--muted: #c7ccbb;
	--dim: #a7ad98;
	--faint: #8d937f;
	--cream: #f3e3c3;
	--accent: #9dc08f;
	--accent-h: #b3d3a5;
	--copper: #c9976e;
	--link: #c9e0bd;
	--font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--c: #9dc08f;
	--g: rgba(157, 192, 143, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--cream); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.container { max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}
.skip-link {
	position: absolute; left: -9999px; top: 8px; z-index: 100;
	background: var(--cream); color: #0b120a; padding: 10px 14px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { left: 8px; color: #0b120a; }

/* Buttons ---------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 0 16px;
	border: 1px solid var(--line3); border-radius: 10px;
	background: transparent; color: var(--text);
	font: 600 14px/1 var(--font);
	cursor: pointer; text-decoration: none; white-space: nowrap;
	transition: border-color .15s, color .15s, background .15s;
}
.btn:hover { border-color: var(--accent); color: var(--cream); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #0b120a; font-weight: 700; }
.btn-primary:hover { background: var(--accent-h); border-color: var(--accent-h); color: #0b120a; }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 16px; border-radius: 12px; }
.icon-btn { width: 44px; padding: 0; color: var(--muted); }

/* Risk bar --------------------------------------------------------------- */
.risk-bar {
	background: #1a2316; border-bottom: 1px solid #2a3a27;
	padding: 9px 16px; font-size: 13px; line-height: 1.5; color: #d8d2c0; text-align: center;
}
.risk-bar strong { color: var(--cream); }

/* Header ----------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(7, 9, 7, 0.92);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--cream); flex-shrink: 0; }
.brand:hover { color: var(--cream); }
.brand-logo { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand-name span { color: var(--accent); }

.primary-nav { order: 2; flex: 1; display: flex; justify-content: center; }
.header-actions { order: 3; display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle { order: 4; display: none; }

.nav-list, .nav-list ul { list-style: none; margin: 0; padding: 0; }
.nav-list { display: flex; align-items: center; gap: 26px; }
.nav-list > li { position: relative; }
.nav-list a {
	display: inline-flex; align-items: center; gap: 7px;
	color: var(--muted); font-size: 15px; font-weight: 500; padding: 10px 2px;
}
.nav-list a:hover, .nav-list .current-menu-item > a { color: var(--cream); }
.nav-list > .current-menu-item > a { box-shadow: inset 0 -2px 0 var(--accent); }
.nav-list .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; margin-left: 2px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
}
.nav-list .sub-menu {
	position: absolute; top: 100%; left: -14px; z-index: 5; min-width: 210px;
	background: var(--card); border: 1px solid var(--line2); border-radius: 14px; padding: 8px;
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .15s, transform .15s, visibility .15s;
	box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .8);
}
.nav-list li:hover > .sub-menu,
.nav-list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-list .sub-menu a { display: flex; width: 100%; padding: 10px 12px; border-radius: 8px; }
.nav-list .sub-menu a:hover { background: #142012; }
.dot-c { width: 9px; height: 9px; border-radius: 3px; background: var(--c); }
.menu-member > a::after {
	content: "Thành viên";
	font-size: 11px; font-weight: 700; color: #0b120a;
	background: var(--copper); border-radius: 999px; padding: 2px 8px;
}

/* Search */
.search-toggle { position: relative; }
.search-toggle > summary { list-style: none; }
.search-toggle > summary::-webkit-details-marker { display: none; }
.search-toggle[open] > summary { border-color: var(--accent); color: var(--cream); }
.search-panel {
	position: absolute; right: 0; top: calc(100% + 10px); z-index: 10;
	width: min(360px, calc(100vw - 32px));
	background: var(--card); border: 1px solid var(--line2); border-radius: 14px; padding: 12px;
	box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .8);
}
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; min-width: 0; display: flex; }
.search-field {
	flex: 1; min-width: 0; min-height: 44px;
	background: #0a0f09; border: 1px solid var(--line3); border-radius: 10px;
	color: var(--cream); font: 15px var(--font); padding: 10px 14px;
}
.search-field::placeholder { color: var(--faint); }
.search-submit {
	min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px;
	background: var(--accent); color: #0b120a; font: 700 14px var(--font); cursor: pointer;
}
.search-submit:hover { background: var(--accent-h); }

/* Category bar */
.cat-bar { border-top: 1px solid var(--line); }
.cat-bar-row {
	display: flex; align-items: center; gap: 4px;
	overflow-x: auto; white-space: nowrap; font-size: 14px;
	padding-top: 6px; padding-bottom: 6px; scrollbar-width: none;
}
.cat-bar-row::-webkit-scrollbar { display: none; }
.cat-bar-label { color: var(--faint); padding-right: 6px; }
.cat-link { color: var(--c); padding: 8px 12px; border-radius: 8px; }
.cat-link:hover, .cat-link.is-current { color: var(--c); background: rgba(255, 255, 255, .05); }
.cat-link-plain { color: var(--muted); }
.cat-sep { color: var(--line3); padding: 0 4px; }

/* Ticker */
.ticker { background: var(--bg2); border-bottom: 1px solid var(--line); min-height: 48px; }
/* Giữ nguyên dòng ghi nguồn TradingView: điều khoản sử dụng widget miễn phí yêu cầu. */

@media (max-width: 1024px) {
	.nav-toggle { display: inline-flex; }
	.primary-nav { order: 5; flex-basis: 100%; display: none; justify-content: flex-start; }
	.site-header.nav-open .primary-nav { display: block; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 10px; border-top: 1px solid var(--line); }
	.nav-list a { width: 100%; padding: 12px 4px; }
	.nav-list > .current-menu-item > a { box-shadow: none; color: var(--cream); }
	.nav-list .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		border: 0; background: transparent; box-shadow: none; padding: 0 0 4px 14px; min-width: 0;
	}
	.nav-list .menu-item-has-children > a::after { display: none; }
}
@media (max-width: 600px) {
	.container { padding-left: 16px; padding-right: 16px; }
	.brand-name { font-size: 17px; }
	.brand-logo { width: 40px; height: 40px; }
	.btn-login { display: none; }
	.header-row { gap: 10px; }
}

/* Sections --------------------------------------------------------------- */
.section { padding-top: 16px; padding-bottom: 72px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 16px; }
.section-head-end { align-items: flex-end; margin-bottom: 26px; }
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); }
.section-title { margin: 0; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; color: var(--cream); }
.section-lead { margin: 10px 0 0; color: var(--muted); max-width: 640px; }
.section-lead p { margin: 0; }
.link-more { font-size: 15px; font-weight: 600; }
.empty { margin: 0; border: 1px dashed var(--line3); border-radius: 14px; padding: 20px; font-size: 14px; color: var(--dim); text-align: center; }
.empty-lg { padding: 48px 20px; margin-bottom: 72px; }

.tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
a.tag:hover { color: var(--cream); }
.pill {
	display: inline-block; align-self: flex-start;
	font-size: 12px; font-weight: 700; letter-spacing: .02em;
	color: #0b120a; background: var(--c); border-radius: 6px; padding: 4px 10px;
}
a.pill:hover { color: #0b120a; filter: brightness(1.08); }
.meta { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13px; color: var(--muted); }
.meta span + span::before { content: "·"; margin: 0 10px; color: var(--faint); }
.time { font-family: var(--mono); font-size: 13px; color: var(--faint); white-space: nowrap; }
.item-title { font-size: 15px; line-height: 1.45; font-weight: 600; color: var(--text); }
a:hover .item-title { color: var(--link); }

/* Thumbnails: gradient theo chuyên mục khi chưa có ảnh */
.thumb {
	display: block; aspect-ratio: 16 / 9; overflow: hidden;
	background:
		radial-gradient(circle at 70% 40%, var(--g) 0%, transparent 55%),
		linear-gradient(135deg, #1a2416 0%, #090c08 100%);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a:hover .thumb img, .card:hover .thumb img { transform: scale(1.03); }

/* Hero / slider ------------------------------------------------------------ */
.hero { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; padding-top: 32px; padding-bottom: 56px; }
.slider { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.slides { display: grid; flex: 1; min-height: 440px; border: 1px solid #2a3a27; border-radius: 26px; overflow: hidden; background: var(--card); }
.slide {
	grid-area: 1 / 1; position: relative; isolation: isolate; overflow: hidden;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: 40px;
	background:
		radial-gradient(circle at 78% 30%, var(--g) 0%, transparent 52%),
		linear-gradient(160deg, #16230f 0%, #070907 85%);
	opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide-media { position: absolute; inset: 0; z-index: -2; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; }
.slide-shade { position: absolute; inset: 0; z-index: -1; }
.slide.has-image .slide-shade { background: linear-gradient(180deg, rgba(7, 9, 7, .15) 0%, rgba(7, 9, 7, .6) 45%, rgba(7, 9, 7, .96) 100%); }
.slide-hex { position: absolute; right: -60px; top: -40px; width: 420px; height: 420px; opacity: .22; z-index: -1; }
.slide.has-image .slide-hex { display: none; }
.slide-body { max-width: 700px; display: flex; flex-direction: column; gap: 14px; }
.slide-title { margin: 0; font-size: clamp(26px, 3.4vw, 42px); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; color: var(--cream); }
.slide-title a { color: var(--cream); }
.slide-title a:hover { color: #fff6e4; }
.slide-excerpt { margin: 0; font-size: 17px; line-height: 1.6; color: #d8d2c0; }

.slider-controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.dots { display: flex; align-items: center; }
.dot { width: 28px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: width .3s; }
.dot::before { content: ""; width: 12px; height: 12px; border-radius: 999px; background: var(--line3); transition: width .3s, background .3s; }
.dot:hover::before { background: #4a6143; }
.dot[aria-current="true"] { width: 48px; }
.dot[aria-current="true"]::before { width: 36px; background: var(--accent); }
.slider-buttons { display: flex; gap: 8px; }

.latest { flex: 1 1 320px; min-width: 0; background: var(--card); border: 1px solid var(--line2); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; }
.latest .section-head { margin-bottom: 6px; }
.latest-title { margin: 0; font-size: 18px; font-weight: 700; color: var(--cream); }
.latest-item { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.latest-item:last-child { border-bottom: 0; }
.latest-item .time { min-width: 44px; padding-top: 2px; }
.latest-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

@media (max-width: 600px) {
	.slides { min-height: 400px; border-radius: 20px; }
	.slide { padding: 24px; }
	.slide-hex { width: 300px; height: 300px; }
	.slide-excerpt { font-size: 16px; }
	.hero { padding-top: 20px; }
}

/* Markets ------------------------------------------------------------------- */
.markets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; margin-top: 26px; }
.panel { min-width: 0; background: var(--card); border: 1px solid var(--line2); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.panel-title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 22px; font-weight: 800; color: var(--cream); }
.panel-title::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--c); }

.lead-card { display: flex; flex-direction: column; border: 1px solid var(--line2); border-radius: 16px; overflow: hidden; color: var(--text); transition: border-color .15s; }
.lead-card:hover { border-color: #3d5a37; color: var(--text); }
.lead-body { display: flex; flex-direction: column; gap: 8px; padding: 18px; }
.lead-title { font-size: 19px; line-height: 1.4; font-weight: 700; color: var(--cream); }
.lead-excerpt { font-size: 14px; line-height: 1.55; color: var(--muted); }

.row-item { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); color: var(--text); }
.row-item:first-of-type { border-top: 0; }
.lead-card + .row-item { border-top: 0; }

.tabs { display: none; flex-wrap: wrap; gap: 8px; }
.js .tabs { display: flex; }
.tab {
	min-height: 40px; padding: 8px 14px; border-radius: 999px;
	border: 1px solid var(--line3); background: transparent; color: var(--muted);
	font: 500 14px var(--font); cursor: pointer;
}
.tab:hover { border-color: var(--accent); color: var(--cream); }
.tab[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #0b120a; font-weight: 700; }

.trad-list { display: flex; flex-direction: column; }
.trad-item { display: flex; flex-direction: column; color: var(--text); }
.trad-item:hover { color: var(--text); }
.trad-item .thumb { display: none; }
.trad-text { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.trad-text .tag { white-space: nowrap; }
.trad-item.is-lead,
.trad-list:not(.is-ready) .trad-item:first-child {
	border: 1px solid var(--line2); border-radius: 16px; overflow: hidden; margin-bottom: 4px; transition: border-color .15s;
}
.trad-item.is-lead:hover { border-color: #3d5a37; }
.trad-item.is-lead .thumb,
.trad-list:not(.is-ready) .trad-item:first-child .thumb { display: block; }
.trad-item.is-lead .trad-text,
.trad-list:not(.is-ready) .trad-item:first-child .trad-text { flex-direction: column; gap: 8px; padding: 18px; border-top: 0; }
.trad-item.is-lead .tag,
.trad-list:not(.is-ready) .trad-item:first-child .tag { order: -1; }
.trad-item.is-lead .item-title,
.trad-list:not(.is-ready) .trad-item:first-child .item-title { font-size: 19px; font-weight: 700; color: var(--cream); }
.trad-item.is-lead + .trad-item .trad-text { border-top: 0; }
.trad-list:not(.is-ready) .trad-item:nth-child(n+5) { display: none; }
.cat-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: auto; padding-top: 4px; }

/* Calendar band ------------------------------------------------------------- */
.band { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 72px; }
.band-row { display: flex; flex-wrap: wrap; gap: 24px 40px; padding-top: 40px; padding-bottom: 40px; }
.band-text { flex: 1 1 260px; min-width: 0; }
.band-title { margin: 0 0 8px; font-size: 26px; font-weight: 800; color: var(--cream); }
.band-text p { margin: 0; color: var(--dim); }
.band-widget { flex: 3 1 560px; min-width: 0; min-height: 460px; }

/* Review cards ---------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.review-card { background: var(--card); border: 1px solid var(--line2); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 16px; transition: border-color .15s; }
.review-card:hover { border-color: #3d5a37; }
.review-head { display: flex; align-items: center; gap: 12px; }
.review-logo {
	width: 52px; height: 52px; flex-shrink: 0; overflow: hidden;
	display: flex; align-items: center; justify-content: center;
	background: #1a2416; border: 1px solid #2f4229; border-radius: 12px;
	font-size: 20px; font-weight: 800; color: var(--cream);
}
.review-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.review-name { margin: 0 0 2px; font-size: 18px; line-height: 1.3; font-weight: 700; }
.review-name a { color: var(--cream); }
.review-name a:hover { color: var(--link); }
.facts { margin: 0; display: flex; flex-direction: column; font-size: 14px; }
.facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--dim); }
.facts dd { margin: 0; text-align: right; color: var(--text); }
.review-card .btn { margin-top: auto; width: 100%; }
.disclosure { margin: 18px 0 0; font-size: 13px; line-height: 1.6; color: var(--faint); }

/* Member CTA ------------------------------------------------------------------ */
.member-cta {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
	background: linear-gradient(120deg, #1d3419 0%, #0f160d 70%);
	border: 1px solid #2f4a29; border-radius: 26px; padding: 40px;
}
.member-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.member-text .section-title { font-size: clamp(26px, 3vw, 36px); }
.member-text p { margin: 0; color: var(--muted); }
.badge-member {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 700; color: #0b120a; background: var(--copper); border-radius: 999px; padding: 5px 12px;
}
@media (max-width: 600px) { .member-cta { padding: 24px; border-radius: 20px; } }

/* Archive / list --------------------------------------------------------------- */
.page-head { padding: 48px 0 28px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.section-title-cat { display: flex; align-items: center; gap: 14px; }
.section-title-cat::before { content: ""; width: 16px; height: 16px; border-radius: 4px; background: var(--c); flex-shrink: 0; }
.page-search { margin-top: 20px; max-width: 520px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line2); border-radius: 20px; overflow: hidden; transition: border-color .15s; }
.card:hover { border-color: #3d5a37; }
.card-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.card-title { margin: 0; font-size: 19px; line-height: 1.4; font-weight: 700; }
.card-title a { color: var(--cream); }
.card-title a:hover { color: var(--link); }
.card-excerpt { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.card .meta { margin-top: auto; }

.pagination { margin: 40px 0 72px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers {
	min-width: 44px; min-height: 44px; padding: 0 12px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--line3); border-radius: 10px; color: var(--muted); font-weight: 600;
}
.page-numbers:hover { border-color: var(--accent); color: var(--cream); }
.page-numbers.current { background: var(--accent); border-color: var(--accent); color: #0b120a; }
.page-numbers.dots { border: 0; }
.post-grid + .empty, main > .post-grid:last-child { margin-bottom: 72px; }

/* Single ------------------------------------------------------------------------- */
.single-wrap { max-width: 820px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.post-head { padding-top: 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.post-title { margin: 0; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; color: var(--cream); }
.post-dek { margin: 0; font-size: 19px; line-height: 1.6; color: var(--muted); }
.post-hero { max-width: 1080px; margin: 32px auto 0; padding: 0 24px; }
.post-hero img { width: 100%; border-radius: 22px; }
.post-hero figcaption { margin-top: 10px; font-size: 14px; color: var(--dim); text-align: center; }
.single-post > .single-wrap:last-child { padding-top: 36px; padding-bottom: 24px; }
.notfound { padding-bottom: 96px; }
.notfound .page-search { width: 100%; }

.prose { font-size: 18px; line-height: 1.78; color: #e3ddcc; overflow-wrap: break-word; }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 1.8em; font-size: 28px; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; color: var(--cream); }
.prose h3 { margin-top: 1.5em; font-size: 22px; line-height: 1.3; font-weight: 700; color: var(--cream); }
.prose h4 { margin-top: 1.4em; font-size: 18px; font-weight: 700; color: var(--cream); }
.prose a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(157, 192, 143, .5); }
.prose a:hover { color: var(--cream); text-decoration-color: currentColor; }
.prose strong { color: var(--cream); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--copper); color: var(--cream); font-style: italic; }
.prose blockquote p { margin: 0; }
.prose img { border-radius: 14px; }
.prose figure { margin-left: 0; margin-right: 0; }
.prose figcaption, .prose .wp-element-caption { margin-top: 8px; font-size: 14px; color: var(--dim); text-align: center; }
.prose .wp-block-table, .prose figure.wp-block-table { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line2); text-align: left; vertical-align: top; }
.prose th { color: var(--cream); font-weight: 700; border-bottom-color: var(--line3); }
.prose code { font-family: var(--mono); font-size: .88em; background: #141c12; border-radius: 6px; padding: 2px 6px; }
.prose pre { background: #0d130c; border: 1px solid var(--line2); border-radius: 12px; padding: 16px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line2); margin: 2.2em 0; }
.prose .alignwide { margin-left: -80px; margin-right: -80px; max-width: none; }
.prose .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.prose .aligncenter { margin-left: auto; margin-right: auto; }
.prose .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.prose .wp-block-button__link { background: var(--accent); color: #0b120a; border-radius: 10px; padding: 12px 20px; font-weight: 700; text-decoration: none; display: inline-block; }
.prose .wp-block-button__link:hover { background: var(--accent-h); color: #0b120a; }
.prose iframe, .prose .wp-block-embed { max-width: 100%; }
@media (max-width: 980px) { .prose .alignwide { margin-left: 0; margin-right: 0; } }
@media (max-width: 600px) {
	.prose { font-size: 17px; }
	.prose .alignleft, .prose .alignright { float: none; margin: 1em 0; max-width: 100%; }
	.single-wrap, .post-hero { padding-left: 16px; padding-right: 16px; }
	.post-head { padding-top: 32px; }
}

.review-summary { margin-bottom: 32px; background: var(--card); border: 1px solid var(--line2); border-radius: 18px; padding: 22px; }
.review-summary h2 { margin: 0 0 6px; font-size: 18px; color: var(--cream); }
.risk-box {
	margin-top: 40px; padding: 20px 22px;
	background: #12190f; border: 1px solid #2a3a27; border-radius: 16px;
	font-size: 14px; line-height: 1.7; color: #d8d2c0;
}
.risk-box strong { color: var(--cream); }
.post-tags { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags a { font-size: 14px; color: var(--muted); border: 1px solid var(--line3); border-radius: 999px; padding: 8px 14px; }
.post-tags a:hover { border-color: var(--accent); color: var(--cream); }
.page-links { margin-top: 24px; display: flex; gap: 8px; }
.related { padding-top: 48px; padding-bottom: 72px; }
.related .section-title { font-size: 28px; margin-bottom: 24px; }

/* Footer --------------------------------------------------------------------------- */
.site-footer { background: #050605; border-top: 1px solid var(--line); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding: 56px 0 36px; }
.footer-brand { flex: 1 1 280px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-brand p { margin: 0; max-width: 360px; font-size: 14px; color: var(--dim); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 32px 56px; font-size: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 140px; }
.footer-col h2 { margin: 0 0 2px; font-size: 14px; font-weight: 700; color: var(--cream); }
.footer-risk { padding: 24px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.7; color: var(--dim); }
.footer-risk strong { color: var(--text); }
.footer-copy { padding-bottom: 40px; font-size: 13px; color: var(--faint); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* v1.2 — Slider: giữ khung 16:9 để ảnh không bị phóng to (vỡ nét) ------------ */
.slides { flex: none; aspect-ratio: 16 / 9; min-height: 420px; }
.slide-title {
	font-size: clamp(24px, 2.6vw, 36px);
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.slide-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
@media (max-width: 767px) {
	/* Điện thoại: ảnh nằm trên, chữ nằm dưới, ảnh luôn đúng tỉ lệ 16:9 */
	.slides { aspect-ratio: auto; min-height: 0; }
	.slide:not(.has-image) { min-height: 320px; }
	.slide.has-image { padding: 0; justify-content: flex-start; }
	.slide.has-image .slide-media { position: relative; inset: auto; z-index: auto; aspect-ratio: 16 / 9; }
	.slide.has-image .slide-shade { display: none; }
	.slide.has-image .slide-body { padding: 20px 20px 24px; }
}

/* v1.3 — Dải logo sàn giao dịch --------------------------------------------------- */
.brokers { padding-bottom: 56px; }
.brokers .section-head { margin-bottom: 18px; }
.brokers-title { margin: 0; font-size: 20px; font-weight: 700; color: var(--cream); }
.marquee {
	overflow: hidden;
	border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
	padding: 18px 0;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: mms-marquee var(--mms-duration, 40s) linear infinite; }
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 16px; margin: 0; padding: 0 16px 0 0; list-style: none; }
.broker-logo {
	display: flex; align-items: center; justify-content: center;
	width: 168px; height: 72px; padding: 12px 18px;
	background: #f3efe4; border: 1px solid transparent; border-radius: 14px;
	opacity: .82; transition: opacity .2s, transform .2s, border-color .2s;
}
.broker-logo:hover, .broker-logo:focus-visible { opacity: 1; transform: translateY(-2px); border-color: var(--accent); }
.broker-logo img { max-width: 100%; max-height: 44px; width: auto; height: auto; object-fit: contain; }
.broker-name { font-size: 15px; font-weight: 800; color: #0b120a; text-align: center; line-height: 1.2; }
@keyframes mms-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 600px) {
	.broker-logo { width: 132px; height: 60px; padding: 10px 14px; }
	.broker-logo img { max-height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
	/* Không chạy tự động: cho phép vuốt ngang, ẩn bản nhân đôi */
	.marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.marquee-track { animation: none; }
	.marquee-group[aria-hidden="true"] { display: none; }
}
