/* Article TOC policy 1. Evaluate actual rendered content, including Elementor cache hits.
 * Unsupported browsers keep both TOCs. No JS, template mutation or hidden empty widget box.
 * Only template TOCs in the same single document are suppressed; embedded body widgets stay.
 */
body:not(.elementor-editor-active):not(.elementor-editor-preview)
[data-elementor-type="single-post"]:has(.elementor-widget-theme-post-content nav.lemonai-article-toc:not([data-elementor-type="single-post"] [data-elementor-type="single-post"] *):not([data-elementor-type="loop-item"] *):not([data-elementor-type="header"] *):not([data-elementor-type="footer"] *):not([data-elementor-type="popup"] *):not([hidden]):not([aria-hidden="true"]):not([hidden] *):not([aria-hidden="true"] *) > ul > li > a[href^="#"]:not([href="#"]))
.elementor-widget-table-of-contents:not([data-elementor-type="single-post"] [data-elementor-type="single-post"] *):not(.elementor-widget-theme-post-content *):not([data-elementor-type="loop-item"] *):not([data-elementor-type="header"] *):not([data-elementor-type="footer"] *):not([data-elementor-type="popup"] *) {
  display: none !important;
}
