/* Table of Contents Styles
   Ported from hatch/sm plugin (Fase 9 of migration).
*/
.hatch-toc {
    border: 1px solid #CCCCCC;
    background-color: #F4F4F4;
    padding: 10px;
    margin-bottom: 20px;
    font-family: Verdana, sans-serif;
    font-size: 16px;
    border-radius: 5px;
    position: relative;
}

.hatch-toc-title {
    margin-bottom: 10px;
    font-weight: 500;
    position: relative;
}

.hatch-toc-toggle {
    font-size: 12px;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.hatch-toc-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.hatch-toc-item {
    padding: 5px 0;
    color: #313131;
}

.hatch-toc-item a {
    text-decoration: none;
    color: #313131;
    transition: color 0.2s ease;
}

.hatch-toc-item a:hover {
    color: #ff5100;
}
