/* ===== Tông GOLD đè lên HybridMag (bố cục như vangnhatha.com) ===== */
:root{--g1:#c79417;--g2:#e2b53c;--gold:#c0921a;--gold-d:#9c7510;--buy:#c0392b;}

/* Font Roboto Bold toàn site */
body, body h1, body h2, body h3, body h4, body h5, body h6,
body p, body a, body span, body li, body td, body th,
body button, body input, body select, body textarea,
.entry-title, .entry-content, .widget{
	font-family:'Roboto', Arial, sans-serif !important;
}
body{
	font-weight:700;
	background:#f3e9cf !important;
	background-image:radial-gradient(circle at 100% 0,#f7edd2,transparent 40%),radial-gradient(circle at 0 100%,#f7edd2,transparent 40%) !important;
}
.entry-content p, .entry-content li{font-weight:500}

/* ---------- Header gold ---------- */
.hm-header-inner-wrapper,
.hm-nav-sticky.hm-header-inner-wrapper{background:linear-gradient(90deg,var(--g1),var(--g2))}
.site-title a, .site-title a:hover, .site-title a:focus{color:#fff}
.site-description{color:#fff}
.hm-h-de .main-navigation a,
.hm-h-de .hm-header-inner .hm-social-menu a,
.hm-h-de .hm-mobile-menu-toggle,
.hm-h-de .hm-slideout-toggle{color:#fff}
.hm-h-de .main-navigation ul li a:hover,
.hm-h-de .main-navigation .current-menu-item>a,
.hm-h-de .main-navigation .current_page_item>a{color:#fff7df}
.hm-light-dark-toggle .hm-svg-icon,
.hm-search-toggle .hm-svg-icon{color:#fff}

/* ---------- Footer gold ---------- */
.hm-footer-widget-area{background:linear-gradient(90deg,var(--g1),var(--g2))}
.site-footer, .site-footer .widget-title, .site-footer a{color:#fff}
.hm-footer-bottom{background:rgba(90,55,0,.45)}
.hm-footer-bottom, .hm-footer-bottom a{color:#fff}

/* ---------- Tiêu đề & nội dung tông gold ---------- */
.entry-title, .entry-title a, .page-title{color:var(--gold) !important}
.entry-content h2{
	color:var(--gold);border-left:4px solid var(--gold);padding-left:12px;
	margin:32px 0 12px;text-transform:uppercase;font-size:1.4rem;line-height:1.3;
}
.entry-content h3{color:var(--gold-d);font-size:1.05rem;margin:20px 0 8px}
.entry-content a{color:var(--gold-d)}
.entry-content img, .wp-block-image img{border-radius:12px}
.entry-content figure{margin:16px 0}

/* Bảng (so sánh SJC...) tông gold */
.entry-content table{width:100%;border-collapse:collapse;margin:0 0 18px;border-radius:8px;overflow:hidden}
.entry-content th, .entry-content td{border:1px solid #ecdfb5;padding:11px 13px;text-align:left;font-size:14px}
.entry-content thead th{background:linear-gradient(90deg,var(--g2),var(--g1));color:#fff;font-weight:700}
.entry-content tbody tr:nth-child(even){background:#fcf8ed}
.entry-content tbody td:first-child{font-weight:700;color:#333}

/* ---------- Goldbox (bảng giá) -> gold ---------- */
.goldbox{--gold-brand-color:#b8860b !important;--gold-title-color:#b8860b !important}
.goldbox-title{color:#b8860b !important}
.goldbox-table thead th{background:linear-gradient(90deg,var(--g2),var(--g1)) !important}

/* ===================== DARK MODE (html.hm-dark) ===================== */
.hm-dark body{background:#15120d !important;background-image:none !important;color:#e9e1cd}
/* Header + Footer tối */
.hm-dark .hm-header-inner-wrapper,
.hm-dark .hm-nav-sticky.hm-header-inner-wrapper{background:linear-gradient(90deg,#4a3a12,#6b5114)}
.hm-dark .hm-footer-widget-area{background:linear-gradient(90deg,#4a3a12,#6b5114)}
.hm-dark .hm-footer-bottom{background:rgba(0,0,0,.55)}
/* Vùng nội dung (card) tối */
.hm-dark .content-area .hentry,
.hm-dark .hm-cl-sep .hentry,
.hm-dark #content .hentry,
.hm-dark #content .widget{background:#221d15 !important;color:#e9e1cd;box-shadow:none}
/* Footer ở dark mode: widget trong suốt (không hộp tối), chữ sáng rõ */
.hm-dark .hm-footer-widget-area .widget,
.hm-dark .hm-footer-column .widget{background:transparent !important;box-shadow:none !important}
.hm-dark .site-footer,
.hm-dark .site-footer a,
.hm-dark .site-footer .widget-title,
.hm-dark .site-footer .hms-title a{color:#fff !important}
.hm-dark .site-footer .entry-meta,
.hm-dark .site-footer .entry-date,
.hm-dark .site-footer time{color:#e7d9a8 !important}
.hm-dark .entry-title,.hm-dark .entry-title a,.hm-dark .page-title{color:#e7c84a !important}
.hm-dark .entry-content h2{color:#e7c84a;border-left-color:#e7c84a}
.hm-dark .entry-content h3{color:#d9b441}
.hm-dark .entry-content p,.hm-dark .entry-content li,.hm-dark .entry-content{color:#d6cca8}
.hm-dark .entry-content a{color:#e7c84a}
.hm-dark .entry-content thead th{background:linear-gradient(90deg,#6b5114,#8a6a18)}
.hm-dark .entry-content td,.hm-dark .entry-content th{border-color:#3a3326}
.hm-dark .entry-content tbody tr:nth-child(even){background:#2a2419}
/* Goldbox + gp cards tối */
.hm-dark .goldbox,.hm-dark .gp-wrap{background:#221d15;border-color:#3a3326;color:#e9e1cd}
.hm-dark .goldbox-head,.hm-dark .gp-head,.hm-dark .gp-prod-row,.hm-dark .gp-bm-updated{background:#2a2419 !important;border-color:#3a3326}
/* Hàng bảng: ÉP cả dòng lẻ/chẵn về nền tối (gold-table-style.css để dòng lẻ #fff) */
.hm-dark .goldbox-table tbody tr:nth-child(odd),
.hm-dark .gp-tbl tbody tr:nth-child(odd){background:#221d15 !important}
.hm-dark .goldbox-table tbody tr:nth-child(even),
.hm-dark .gp-tbl tbody tr:nth-child(even){background:#2a2419 !important}
.hm-dark .goldbox-table tbody tr:hover,
.hm-dark .gp-tbl tbody tr:hover{background:#3a3120 !important}
.hm-dark .goldbox-table td,.hm-dark .gp-tbl td{border-color:#3a3326 !important;color:#e9e1cd !important}
.hm-dark .goldbox-table tbody td:first-child,.hm-dark .gp-tbl tbody td:first-child{color:#f1e8cf !important}
/* Mua đỏ nhạt / Bán vàng nhạt cho dễ đọc trên nền tối */
.hm-dark .goldbox-table td:nth-child(2).tar,.hm-dark .gp-tbl td.buy{color:#ff8a80 !important}
.hm-dark .goldbox-table td:nth-child(3).tar,.hm-dark .gp-tbl td.sell{color:#ffd54f !important}
/* Narration */
.hm-dark .goldbox-narration{background:#1e1a13 !important;color:#d6cca8 !important;border-color:#3a3326}
.hm-dark .goldbox-narration p{color:#d6cca8 !important}
.hm-dark .goldbox-narration strong{color:#ffe9a8 !important}
.hm-dark .gp-stat,.hm-dark .gp-section,.hm-dark .gp-score{background:#2a2419;border-color:#3a3326}
.hm-dark .gp-stat-val,.hm-dark .gp-section-body{color:#e9e1cd}
.hm-dark .gp-history-note{background:#2a2419;border-color:#3a3326;color:#e0d29a}
