/* Tử Vi Số Mệnh – CSS dùng cho mọi trang (tải sau CSS của SmartMag) */

/* Màu nhận diện: son đỏ + vàng đồng (theo biểu tượng la bàn 12 con giáp) */
:root {
	--c-main: #9b2d20;
	--c-main-rgb: 155, 45, 32;
	--tvsm-do: #9b2d20;
	--tvsm-do-dam: #7a2015;
	--tvsm-vang: #b8892f;
	--tvsm-vang-nhat: #f3e7cc;
	--tvsm-muc: #1f1a14;
	--tvsm-giay: #fbf8f2;
	--tvsm-vien: #e6dccb;
	--tvsm-chu: #2b2620;
	--tvsm-chu-phu: #6b6256;
	--tvsm-tieu-de: "Noto Serif", Georgia, "Times New Roman", serif;
}
html.s-dark {
	--tvsm-giay: #1b1814;
	--tvsm-vien: #3a332a;
	--tvsm-chu: #ece6dc;
	--tvsm-chu-phu: #b3aa9c;
	--tvsm-vang-nhat: #3a2f1c;
}

/* Bỏ quảng cáo "Demo" của nhà bán theme ở đầu trang */
a[href*="theme-sphere.com"],
.h-text:has(> a[href*="theme-sphere.com"]) { display: none !important; }

/* Logo chế độ tối đang lấy ảnh "Newstime" của trang demo → ẩn, dùng logo chính */
img.logo-image-dark[src*="theme-sphere.com"] { display: none !important; }
.logo-link:has(img.logo-image-dark[src*="theme-sphere.com"]) img.logo-image:not(.logo-image-dark) { display: inline-block !important; }
.logo-link .logo-h { display: contents; }
.smart-head .logo-image { max-height: 64px; width: auto; height: auto; }

/* Nút mạng xã hội chưa có địa chỉ (href="#") → ẩn để khách không bấm vào nút chết */
a.service[href="#"] { display: none !important; }

/* Khung đăng ký nhận tin của bản demo (không nối dịch vụ email nào, gửi đi không tới đâu) → ẩn */
.widget:has(.spc-newsletter form[action=""]),
.block-newsletter:has(form[action=""]) { display: none !important; }

/* Tiêu đề bài, khối */
.post-title, .entry-title, .block-head .heading, .ts-heading, .the-post-header .post-title {
	font-family: var(--tvsm-tieu-de);
	letter-spacing: 0;
}
