/* nd-dt-hanh-trinh.css — /hanh-trinh/ khổ điện thoại theo bản thiết kế màn 07 (anh Mừng 01/11/2026).
 * Khối .ndht do nd-dt-hanh-trinh.js dựng từ chữ thật của trang; body.nd-ht chỉ có khi khối đã dựng xong,
 * nên lỗi JS thì trang cũ vẫn hiện nguyên. Số đo theo da-dung.html (khổ 390). */

@media (min-width: 701px) {
	.ndht { display: none !important; }
}

@media (max-width: 700px) {
	body.nd-ht {
		--ndht-xanh: #1A582C; --ndht-xanh-dam: #133F20; --ndht-cam: #B85A2B; --ndht-vang: #F2C230;
		--ndht-chu: #1E3B27; --ndht-than: #42563F; --ndht-mo: #5F6B58;
		--ndht-vien: #ECE7DC; --ndht-vach: #F0ECE3; --ndht-be: #F2EEE4; --ndht-nen: #F7F4EC; --ndht-la: #E8F1EA;
		background: var(--ndht-nen) !important;
	}
	body.nd-ht > section.ndht-cu { display: none !important; }

	body.nd-ht .ndht {
		display: block; background: var(--ndht-nen); color: var(--ndht-chu);
		font-family: 'Be Vietnam Pro', sans-serif; padding: 0 0 16px; -webkit-text-size-adjust: 100%;
	}
	body.nd-ht .ndht :where(h1, h2, p, ol, ul, li) { margin: 0; padding: 0; font-family: inherit; }
	body.nd-ht .ndht :where(ol, ul) { list-style: none; }

	body.nd-ht .ndht-nhan {
		display: block; font-size: 12.5px !important; font-weight: 700 !important; line-height: 1.3 !important;
		letter-spacing: .08em; text-transform: uppercase; color: #23773C !important;
	}

	/* 1. Đầu trang */
	body.nd-ht .ndht-dau { padding: 16px 16px 12px; display: flex; flex-direction: column; gap: 6px; }
	body.nd-ht .ndht-dau .ndht-nhan { letter-spacing: .08em; }
	body.nd-ht .ndht-tieu {
		font-size: 24px !important; font-weight: 700 !important; line-height: 1.25 !important;
		letter-spacing: -.01em; color: #1E3B27 !important; text-wrap: balance;
	}
	body.nd-ht .ndht-dan { font-size: 14px !important; line-height: 1.6 !important; color: #42563F !important; max-width: none !important; }

	/* 2. Lộ trình 4 chặng */
	body.nd-ht .ndht-lt {
		margin: 0 12px; background: #FFFFFF; border: 1px solid var(--ndht-vien); border-radius: 20px; padding: 6px 16px;
	}
	body.nd-ht .ndht-lt-dong { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--ndht-vach); }
	body.nd-ht .ndht-lt-dong:first-child { border-top: 0; }
	body.nd-ht .ndht-lt-so {
		width: 28px; height: 28px; border-radius: 50%; font-size: 13px; font-weight: 700;
		display: flex; align-items: center; justify-content: center; background: var(--ndht-be); color: var(--ndht-xanh);
	}
	body.nd-ht .ndht-lt-dong--dang .ndht-lt-so { background: var(--ndht-xanh); color: #FFFFFF; }
	body.nd-ht .ndht-lt-chu { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
	body.nd-ht .ndht-lt-hang { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; min-height: 28px; }
	body.nd-ht .ndht-lt-ten { font-size: 15px; font-weight: 700; line-height: 1.35; color: #1E3B27; }
	body.nd-ht .ndht-lt-huy {
		font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase;
		padding: 2px 7px; border-radius: 5px; background: var(--ndht-be); color: #5F6B58; white-space: nowrap;
	}
	body.nd-ht .ndht-lt-dong--dang .ndht-lt-huy { background: var(--ndht-xanh); color: #FFFFFF; }
	body.nd-ht .ndht-lt-vung { font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--ndht-xanh); }
	body.nd-ht .ndht-lt-mo { font-size: 14px; line-height: 1.55; color: #42563F; }

	/* 3. Bốn lợi thế — ô xanh 2×2 */
	body.nd-ht .ndht-lth { margin: 8px 12px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
	body.nd-ht .ndht-lth-o {
		background: var(--ndht-xanh); color: #FFFFFF; border-radius: 16px; padding: 12px;
		display: flex; flex-direction: column; gap: 4px;
	}
	body.nd-ht .ndht-lth-so { font-size: 12.5px; font-weight: 700; line-height: 1.4; color: var(--ndht-vang); font-variant-numeric: tabular-nums; }
	body.nd-ht .ndht-lth-ten { font-size: 15px; font-weight: 700; line-height: 1.35; color: #FFFFFF; }
	body.nd-ht .ndht-lth-mo { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .75); }

	/* Thẻ trắng */
	body.nd-ht .ndht-the { margin: 8px 12px 0; background: #FFFFFF; border: 1px solid var(--ndht-vien); border-radius: 20px; padding: 14px 16px; }
	body.nd-ht .ndht-the-dau { display: flex; flex-direction: column; gap: 3px; }
	body.nd-ht .ndht-the-tieu { font-size: 18px !important; font-weight: 700 !important; line-height: 1.35 !important; color: #1E3B27 !important; }

	/* 4. Vị trí hiện tại */
	body.nd-ht .ndht-vt { display: flex; flex-direction: column; gap: 10px; }
	body.nd-ht .ndht-vt-ds { display: flex; flex-direction: column; gap: 8px; }
	body.nd-ht .ndht-vt-dong { display: flex; gap: 8px; align-items: flex-start; }
	body.nd-ht .ndht-vt-tich { flex: none; display: flex; margin-top: 2px; color: var(--ndht-xanh); }
	body.nd-ht .ndht-vt-chu { display: flex; flex-direction: column; gap: 1px; min-width: 0; font-size: 14px; line-height: 1.6; color: #42563F; }
	body.nd-ht .ndht-vt-chu strong { font-weight: 700; color: #1E3B27; }

	/* 5. Mời hợp tác */
	body.nd-ht .ndht-moi { margin: 8px 12px 0; border-radius: 20px; background: var(--ndht-la); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
	body.nd-ht .ndht-moi-chu { display: flex; flex-direction: column; gap: 3px; }
	body.nd-ht .ndht-moi-tieu { font-size: 18px !important; font-weight: 700 !important; line-height: 1.35 !important; color: var(--ndht-xanh-dam) !important; }
	body.nd-ht .ndht-moi-dan { font-size: 14px !important; line-height: 1.6 !important; color: #42563F !important; max-width: none !important; }
	body.nd-ht .ndht-moi-nut { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; }
	body.nd-ht .ndht-nut {
		height: 44px; border-radius: 12px; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center;
		text-decoration: none !important; white-space: nowrap; box-sizing: border-box;
	}
	body.nd-ht .ndht-nut--dac { background: var(--ndht-xanh); color: #FFFFFF !important; }
	body.nd-ht .ndht-nut--vien { border: 1.5px solid var(--ndht-xanh); color: var(--ndht-xanh) !important; background: transparent; }
}
