/* Tocletty — option-derived rules ezTOC generated inline, plus own additions. */

/* Values ezTOC emitted as inline CSS from its settings on our sites. */
div#ez-toc-container .ez-toc-title { font-size: 120%; font-weight: 500; }
div#ez-toc-container ul li,
div#ez-toc-container ul li a { font-size: 95%; font-weight: 500; }
div#ez-toc-container nav ul ul li { font-size: 90%; }
div#ez-toc-container { width: 100%; }

/* Collapse state toggled by tocletty.js. */
#ez-toc-container.toc_close nav { display: none; }

/* Anchor targets sit inside headings; keep them clear of sticky headers.
   Override per site: :root { --tocletty-scroll-offset: 140px; } */
span.ez-toc-section { scroll-margin-top: var(--tocletty-scroll-offset, 110px); }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}
