#header {
    height: 96px;
}

#logo {
    display: flex;
    column-gap: 15px;
    align-items: center;
}

#logo > img{
    height: 66px;
}

#logo > span {
    line-height: 1.3em;
}

.docutils.container {
    max-width: initial;
    padding: initial;
    margin: initial;
}

.docutils.container.right-text {
    text-align: right;
}

.cs-nav-toc li.toctree-l2 > a::before,
.cs-nav-toc li.toctree-l3 > a::before,
.cs-nav-toc li.toctree-l4 > a::before,
.cs-nav-toc li.toctree-l5 > a::before,
.cs-nav-toc li.toctree-l6 > a::before,
.cs-nav-toc li.toctree-l7 > a::before {
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -0.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\f285";
    margin-right: 0.2rem;
    color: var(--bs-gray-800);
}

.cs-nav-toc li.toctree-l2 > a.current::before, .cs-nav-toc li.toctree-l2 > a.expanded::before,
.cs-nav-toc li.toctree-l3 > a.current::before, .cs-nav-toc li.toctree-l3 > a.expanded::before,
.cs-nav-toc li.toctree-l4 > a.current::before, .cs-nav-toc li.toctree-l4 > a.expanded::before,
.cs-nav-toc li.toctree-l5 > a.current::before, .cs-nav-toc li.toctree-l5 > a.expanded::before,
.cs-nav-toc li.toctree-l6 > a.current::before, .cs-nav-toc li.toctree-l6 > a.expanded::before,
.cs-nav-toc li.toctree-l7 > a.current::before, .cs-nav-toc li.toctree-l7 > a.expanded::before {
    content: "\f282";
}

.cs-local-toc nav li {
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.cs-nav-toc li[class^='toctree-'] {
    line-height: 1.1;
    margin: 8px 0;
}

.modal-header {
    flex-direction: column;
}

.modal-header .btn-close {
    position: absolute;
    top: 25px;
    right: 20px;
}

.modal-body a {
    font-weight: bold;
}

/* Article list on index pages */
ul.article-list {
    list-style: none;
    padding-left: 0;
}

ul.article-list > li {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--bs-gray-300);
}

ul.article-list > li:last-child {
    border-bottom: none;
}

.article-list-title a {
    font-size: 1.1rem;
    font-weight: 600;
}

.article-list-excerpt {
    margin-top: 0.25rem;
    margin-bottom: 0;
    color: var(--bs-gray-700);
    font-size: 0.95rem;
}