/* Hide the "Navigating This Website" entry anywhere in the TAG RESULTS MODAL */

/* 1) Remove the whole row (works in modern browsers via :has) */
.modal :is(.tree-item, .search-result, li, div)
  :has(> a.internal-link[href="https://padh.ai/Navigating+This+Website"]) {
  display: none !important;
}
/* catch relative/variant hrefs just in case */
.modal :is(.tree-item, .search-result, li, div)
  :has(> a.internal-link[href="/Navigating+This+Website"]),
.modal :is(.tree-item, .search-result, li, div)
  :has(> a.internal-link[href$="Navigating+This+Website" i]) {
  display: none !important;
}

/* 2) Fallback if :has doesn’t apply for some viewers: hide just the link */
.modal a.internal-link[href="https://padh.ai/Navigating+This+Website"],
.modal a.internal-link[href="/Navigating+This+Website"],
.modal a.internal-link[href$="Navigating+This+Website" i] {
  display: none !important;
}

/* 3) If a row becomes empty after hiding the link, collapse empty rows */
.modal :is(.tree-item, .search-result, li, div):empty {
  display: none !important;
}
