/* Styles for this documentation site only. Not part of the theme. */
.docs-section { scroll-margin-top: 5rem; padding: 3rem 0; border-top: 1px solid var(--bs-border-color); }
.docs-section:first-of-type { border-top: 0; }
.docs-section > h2 { font-size: 1.5rem; margin-bottom: .25rem; }
.docs-section > .docs-lead { color: var(--bs-secondary-color); margin-bottom: 1.75rem; max-width: 46rem; }
.docs-demo { padding: 1.5rem; border: 1px solid var(--bs-border-color); border-radius: var(--sib-radius); background: var(--bs-body-bg); }
.docs-demo + .sib-code { margin-top: .75rem; }
.docs-demo-tight > * + * { margin-top: 0; }
.docs-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.docs-toc { position: sticky; top: 5.5rem; font-size: .875rem; }
.docs-toc a { display: block; padding: .3rem .75rem; border-left: 2px solid var(--bs-border-color); color: var(--bs-secondary-color); text-decoration: none; }
.docs-toc a:hover { color: var(--sib-accent); border-left-color: var(--sib-accent); }
.docs-swatch { border-radius: var(--sib-radius); overflow: hidden; border: 1px solid var(--bs-border-color); height: 100%; }
.docs-swatch-chip { height: 5.5rem; display: flex; align-items: flex-end; padding: .75rem; font-weight: 600; font-size: .85rem; }
.docs-swatch-meta { padding: .75rem; font-size: .8rem; background: var(--bs-body-bg); }
.docs-swatch-meta code { font-size: .75rem; }
.docs-radius { width: 5rem; height: 5rem; background: rgba(var(--sib-accent-rgb), .12); border: 2px solid var(--sib-accent); }
.docs-shadow { width: 8rem; height: 5rem; background: var(--bs-body-bg); border-radius: var(--sib-radius); display: grid; place-items: center; font-size: .8rem; color: var(--bs-secondary-color); }
.docs-hero { padding: 5rem 0 4rem; }
.docs-bs-modal-static .modal { position: relative; display: block; z-index: 1; }
