/* article-toc.css — runmotoapparel.com table of contents.
 * ERP contract: #toc-nav-container / .toc-nav / #toc-list-content (shell TOC) and
 * .article-toc / .article-toc-title / .article-toc-list / .article-toc-item / .article-toc-link (generated TOC).
 * Default state = collapsed; clicking the title toggles .expanded on the container. */
#toc-nav-container,.article-toc,.toc-nav{background:#F3F4F6;border:1px solid #D9DCE1;border-left:4px solid #FF4C00;border-radius:0;padding:16px 20px;margin:0 auto 36px;max-width:720px}

.article-toc-title,.toc-title{font-family:'Barlow Condensed','Inter',sans-serif;font-size:16px;font-weight:700;text-transform:uppercase;letter-spacing:.14em;color:#0B0C10;margin:0;display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;user-select:none;line-height:1.4}

.article-toc-list,.toc-list{list-style:none;margin:0;padding:0;counter-reset:none}
.article-toc-item{margin:0}
.article-toc-link,.toc-list li a{display:block;padding:7px 12px;border-left:2px solid #D9DCE1;color:#2A2E35;font-size:16px;font-weight:500;line-height:1.45;text-decoration:none;transition:border-color .18s ease,color .18s ease,background .18s ease}
.article-toc-link:hover,.toc-list li a:hover{border-left-color:#FF4C00;color:#0B0C10;background:#fff}

.toc-toggle-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:4px;background:#fff;border:1px solid #D9DCE1;color:#0B0C10;font-size:13px;flex:none;transition:transform .3s ease}
#toc-nav-container.expanded .toc-toggle-icon{transform:rotate(180deg)}

#toc-list-content{max-height:0;overflow:hidden;transition:max-height .35s ease}
#toc-nav-container.expanded #toc-list-content{max-height:1500px;margin-top:14px;transition:max-height .5s ease}

@media (prefers-reduced-motion:reduce){#toc-list-content,#toc-nav-container.expanded #toc-list-content,.toc-toggle-icon{transition:none}}
.toc-list li.toc-sub a,.article-toc-item.toc-sub .article-toc-link{padding-left:26px;font-size:13px;color:#5C636D}
