.container {
    margin: 0;
    padding: 2rem;
    display: none;
    max-width: none;
}

.docs-sidebar {
    padding: 1rem;
}
.docs-sidebar-title {
    border-bottom: none;
}
.docs-sidebar-item {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.doc-title {
    margin-left: 2rem;
}
.doc-desc {
    font-style: italic;
    font-weight: 300;
    color: var(--bc-clr-text-600);
}
.doc-desc + hr {
    background: var(--bc-clr-dark-400);
    border: none;
    margin: 1rem 0 3rem 0;
    display: block;
    height: 1px;
    width: 100%;
}

.author-avatar {
    border-radius: 1rem;
    max-height: 5.5rem;
}
.author-username {
    font-weight: 600;
    color: var(--bc-clr-primary-400);
}
.author-date {
    font-size: var(--bc-fs-300);
    font-weight: 300;
    color: var(--bc-clr-text-800);
}

.doc-sidebar {
    position: sticky;
    top: 0;
    height: fit-content;
}

.contents-list li {
    margin-left: 2rem;
    color: var(--bc-clr-secondary-400);
    list-style-position: outside;
}
.contents-list a {
    font-weight: 400;
    color: var(--bc-clr-text-100);
}

.completion-bar {
    background: var(--bc-clr-dark-900);
    border: .1rem solid var(--bc-clr-dark-100);
    border-radius: .5rem;
    appearance: none;
    width: 100%;
    height: 2rem;
}
.completion-bar::-moz-progress-bar,
progress::-webkit-progress-value {
    background: linear-gradient(90deg, var(--bc-clr-primary-200), var(--bc-clr-primary-400), var(--bc-clr-primary-600), var(--bc-clr-primary-800));
}
.completion-title {
    font-weight: 600;
    font-size: var(--bc-fs-300);
    color: var(--bc-clr-text-100);
}
.completion-value {
    font-family: var(--bc-ff-mono);
    color: var(--bc-clr-primary-400);
}


.doc-footer {
    border-top: 1px solid var(--bc-clr-dark-100);
    margin-top: 1rem;
    padding: 1rem;
}
.doc-modified {
    font-size: var(--bc-fs-300);
    color: var(--bc-clr-text-600);
}
.doc-helpful-btn {
    font-size: var(--bc-fs-500);
    color: var(--bc-clr-text-100);
    transition: .3s;
}
.doc-helpful-btn.filled {
    font-size: var(--bc-fs-600);
    color: var(--bc-clr-primary-400);
}
.doc-helpful-title {
    text-align: end;
    font-size: var(--bc-fs-300);
    font-family: var(--bc-ff-heading);
}
.doc-helpful-agree {
    font-size: var(--bc-fs-200);
    color: var(--bc-clr-text-200);
    font-family: var(--bc-ff-body);
}

article h2 {
    border-bottom: none;
    color: var(--bc-clr-primary-400);
}
article h3 {
    color: var(--bc-clr-primary-200);
}

figure img {
    margin-inline: auto;
    display: block;
    max-width: 100%;
    max-height: 30rem;
}
figcaption {
    text-align: center;
    font-style: italic;
    color: var(--bc-clr-text-600);
    font-size: var(--bc-fs-500);
}

table {
    margin: 2rem auto;
    min-width: 60%;
    border-collapse: collapse;
}
table thead {
    background: var(--bc-clr-dark-900);
}
table thead th {
    padding: 1rem;
    text-align: center !important;
    color: var(--bc-clr-text-100);
}
table tbody tr:nth-child(2n) {
    background: var(--bc-clr-dark-600);
}
table tbody td {
    padding: 1rem;
}

li.task-list-item input[type="checkbox"] {
    margin: initial !important;
}

pre {
    position: relative;
    height: fit-content;
    white-space: normal;
}
pre code {
    white-space: pre;
}
.copy-code-button {
	background: transparent;
	border: none;
	margin-block: .62rem;
	position: absolute;
	inset: 1rem 1rem 1rem auto;
	display: block;
	height: fit-content;
	color: var(--bc-clr-text-100);
	cursor: pointer;
}

.expandable {
    background: var(--bc-clr-dark-800);
    border: 1px solid var(--bc-clr-dark-400);
    border-radius: .5rem;
    padding: 1rem;
    cursor: pointer;
}
.expandable-title {
    margin: .5rem;
    font-size: var(--bc-fs-700);
    font-family: var(--bc-ff-heading);
    font-weight: 900;
    color: var(--bc-clr-text-100);
}
.expandable-content {
    margin-inline: .5rem;
    height: 0px;
    overflow: hidden;
    transition: .3s;
}

.expandable.expanded .expandable-title {
    border-bottom: 1px solid var(--bc-clr-dark-400);
    padding-bottom: .5rem;
    transition: .3s;
}
.expandable.expanded .expandable-content {
    margin-block: .5rem;
}