/* Trang Văn bản pháp quy + Dự án (Henry 10/11/2026 tối):
   1) Link trích yếu trong bảng văn bản: bỏ gạch chân, giữ xanh, rê chuột/tab tới thì ĐỎ — cùng quy tắc link nội dung (v5-link-noidung.css).
      Bảng nằm trong .tdc-vbwrap (template archive-van-ban.php), ngoài vùng nội dung mà luật chung phủ, nên phải nêu riêng.
   2) Số đếm trên nút lọc ("Chỉ thị1", "Nghị định13") dính chữ: nút là khung flex nên khoảng trắng giữa chữ và <span> số bị nuốt.
      Đổi số thành huy hiệu tròn nhỏ có khoảng cách. Dùng chung cho nút lọc trang Văn bản và trang Dự án. */
#the7-body .tdc-vbtable a {
	color: var(--tdc-blue-ink, #0374A8);
	text-decoration: none !important;
	transition: color .15s ease;
}
#the7-body .tdc-vbtable a:is(:hover, :focus-visible) {
	color: var(--tdc-red, #EA232A) !important;
	text-decoration: none !important;
}

#the7-body .tdc-filter__item > span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 22px; height: 20px; padding: 0 7px; margin-left: 8px;
	border-radius: 999px;
	background: var(--tdc-sky, #DFF3FE);
	color: var(--tdc-blue-ink, #0374A8);
	font-size: 12px; font-weight: 700; line-height: 1;
	font-variant-numeric: tabular-nums;
}
#the7-body .tdc-filter__item.is-active > span {
	background: rgba(255, 255, 255, .22);
	color: #fff;
}

/* 3) Nút "← Về danh sách văn bản pháp quy" ở đầu + cuối trang chi tiết văn bản (inc/v5-vanban-ve.php). */
#the7-body .tdc-ve-ds { margin: 0 0 18px; text-align: left; }
#the7-body .tdc-ve-ds--cuoi { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--tdc-line, #e6e9ec); }
#the7-body .tdc-ve-ds__a {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
	color: var(--tdc-blue-ink, #0374A8); font-weight: 700; text-decoration: none !important;
	transition: color .15s ease;
}
#the7-body .tdc-ve-ds__a span { font-size: 1.15em; line-height: 1; transition: transform .15s ease; }
#the7-body .tdc-ve-ds__a:is(:hover, :focus-visible) { color: var(--tdc-red, #EA232A); }
#the7-body .tdc-ve-ds__a:is(:hover, :focus-visible) span { transform: translateX(-3px); }
