/* aieo/toc — the table of contents. Inherits the theme's text and link colours; only layout and the small details are set here. */
.aieo-toc{box-sizing:border-box;margin:0 0 1.5em;padding:1em 1.25em;border:1px solid rgba(0,0,0,.12);border-radius:6px;background:rgba(0,0,0,.025);font-size:.95em;line-height:1.5}
.aieo-toc__title{margin:0 0 .5em;font-weight:600;font-size:1em;display:flex;align-items:center;justify-content:space-between;gap:.5em}
.aieo-toc__list,.aieo-toc__list ol{margin:0;padding:0;list-style:none}
.aieo-toc__list ol{margin:.25em 0 .25em 1.1em}
.aieo-toc__item{margin:.3em 0}
.aieo-toc__item a{text-decoration:none;border-bottom:1px solid transparent}
.aieo-toc__item a:hover,.aieo-toc__item a:focus{border-bottom-color:currentColor}
.aieo-toc__item.is-active>a{font-weight:600}
.aieo-toc.is-numbered .aieo-toc__list{counter-reset:aieo-toc}
.aieo-toc.is-numbered .aieo-toc__list>.aieo-toc__item{counter-increment:aieo-toc}
.aieo-toc.is-numbered .aieo-toc__list>.aieo-toc__item>a::before{content:counter(aieo-toc) ". ";opacity:.7}
.aieo-toc.is-sticky{position:sticky;top:var(--aieo-toc-top,90px)}
/* In a sidebar the wrapper is the sticky box: a flex row stretches the theme's column, so the nav alone cannot stick. */
.aieo-toc-block:has(> .aieo-toc.is-sticky){align-self:flex-start;position:sticky;top:var(--aieo-toc-top,90px)}
.aieo-toc__toggle{appearance:none;background:none;border:0;padding:0;cursor:pointer;font:inherit;color:inherit;opacity:.75}
.aieo-toc.is-collapsed .aieo-toc__list{display:none}
@media (max-width:767px){.aieo-toc.is-sticky,.aieo-toc-block:has(> .aieo-toc.is-sticky){position:static}}
@media print{.aieo-toc{display:none}}
/* Layout "inline" (11.3.11; the Aurenne designer's text page, page-b: «ON THIS PAGE» between two rules, the sections as underlined links in one row). The theme's tokens; no colour of its own. */
.aieo-toc.is-inline{margin:0;padding:var(--wp--preset--spacing--4,1em) 0;border:0;border-block:1px solid var(--wp--preset--color--line,currentColor);border-radius:0;background:none;font-size:inherit}
.aieo-toc.is-inline .aieo-toc__title{margin:0 0 6px;color:var(--wp--preset--color--muted,currentColor);font-size:var(--wp--preset--font-size--xs,.75rem);font-weight:600;letter-spacing:var(--wp--custom--rooster--tracking--wide,.04em);line-height:1.5;text-transform:uppercase}
.aieo-toc.is-inline .aieo-toc__list{display:flex;flex-wrap:wrap;gap:0 var(--wp--preset--spacing--5,1.5em);font-size:var(--wp--preset--font-size--md,1rem)}
.aieo-toc.is-inline .aieo-toc__item{margin:0}
.aieo-toc.is-inline .aieo-toc__item a{display:inline-flex;align-items:center;min-height:36px;border:0;color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em}
.aieo-toc.is-inline .aieo-toc__item a:hover,.aieo-toc.is-inline .aieo-toc__item a:focus-visible{text-decoration-thickness:2px}
