.wiki-sidebar-col {
    flex: 0 0 auto;
    width: 100%;
    max-width: 320px;
}
.wiki-toc-col {
    flex: 0 0 auto;
    width: 100%;
    max-width: 320px;
}
.wiki-markdown-col {
    min-width: 0;
    padding: 80px;
}
@media (max-width: 991.98px) {
    .wiki-sidebar-col {
        max-width: 100%;
    }
}
@media (max-width: 1399.98px) {
    .wiki-toc-col {
        display: none !important;
    }
}
.wiki-book-actions .dropdown-toggle::after,
.wiki-chapter-actions .dropdown-toggle::after,
.wiki-page-actions .dropdown-toggle::after,
.wiki-space-actions .dropdown-toggle::after,
.wiki-category-actions .dropdown-toggle::after {
    display: none;
}

.wiki-book-actions .dropdown-menu,
.wiki-chapter-actions .dropdown-menu,
.wiki-page-actions .dropdown-menu,
.wiki-space-actions .dropdown-menu,
.wiki-category-actions .dropdown-menu {
    font-size: 0.875rem;
    min-width: 10rem;
}

.wiki-page-item,
.wiki-book-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wiki-chapter-item strong:has(.dropdown-toggle:hover) span,
.wiki-category-item strong:has(.dropdown-toggle:hover) span {
    color: var(--bs-primary);
}

.wiki-page-item:has(.dropdown-toggle:hover) .wiki-page-link,
.wiki-book-item:has(.dropdown-toggle:hover) .wiki-page-link {
    color: var(--bs-primary);
}

/* Activity Timeline */
.wiki-activity-timeline {
    position: relative;
}
.wiki-activity-timeline .timeline-group {
    position: relative;
    padding-left: 115px;
    margin-bottom: 1.5rem;
}
.wiki-activity-timeline .timeline-group::before {
    content: '';
    position: absolute;
    left: 94px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--bs-border-color);
}
.wiki-activity-timeline .timeline-date-sticky {
    position: sticky;
    top: 0;
    float: left;
    margin-left: -115px;
    width: 70px;
    padding: 0.25rem 0;
    background: var(--bs-body-bg);
    z-index: 2;
    display: flex;
    flex-direction: column;
    text-align: right;
    line-height: 1.3;
}
.wiki-activity-timeline .timeline-item {
    position: relative;
    padding-bottom: 1rem;
    padding-left: 30px;
}
.wiki-activity-timeline .timeline-item:last-child {
    padding-bottom: 0;
}
.wiki-activity-timeline .timeline-marker {
    position: absolute;
    left: -30px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    z-index: 1;
}
