.angie-toc-9a80e581-container {
    background-color: #0C1014;
    padding: 20px;
    border-radius: 6px;
    font-family: inherit;
    border: 1px solid #272727;
}

.toc-main-title-9a80e581 {
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
    color: #FFFFFF;
    font-size: 16px;
}

.toc-h2-block {
    margin-bottom: 12px;
    border-bottom: 1px solid #17181E;
    padding-bottom: 10px;
}

.toc-level-h3 {
    margin-left: 15px; /* indent h3 slightly in portrait mode */
}

.toc-h2-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.toc-h2-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.toc-h2-link {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    flex-grow: 1;
    transition: color 0.2s ease;
}

.toc-h2-link:hover {
    color: #FF4122;
}

.toc-empty-msg {
    color: #888;
    font-style: italic;
    font-size: 14px;
}

/* Landscape orientation styles */
.angie-toc-9a80e581-dir-landscape .angie-toc-9a80e581-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.angie-toc-9a80e581-dir-landscape .toc-main-title-9a80e581 {
    margin-bottom: 0;
    flex-shrink: 0;
    margin-right: 15px;
}

.angie-toc-9a80e581-dir-landscape .toc-dynamic-content-9a80e581 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-grow: 1;
    align-items: center;
}

.angie-toc-9a80e581-dir-landscape .toc-h2-block {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    margin-left: 0; /* remove indent for landscape */
}

.angie-toc-9a80e581-dir-landscape .toc-h2-block::after {
    content: "|";
    color: #888;
    margin-left: 10px;
    font-weight: 300;
}

.angie-toc-9a80e581-dir-landscape .toc-h2-block:last-child::after {
    content: "";
    margin-left: 0;
}