body.documentation #main {
    padding-top: 0;
    margin-bottom: 0;
}

body.documentation #main section {
    padding: 40px 0;
    margin: 20px auto;
}

body.documentation #main section:last-of-type {
    margin: 20px auto 0;
}

/*--------------------------------------------------------------
# Alignment helpers
--------------------------------------------------------------*/
.bp-align-top { align-self: flex-start; }

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
.bp-hero {
    padding: 76px 0 64px;
    background:
        radial-gradient(ellipse 80% 120% at 15% 0%, rgba(148, 192, 69, .30), transparent 62%),
        linear-gradient(160deg, #2f3529 0%, #3c4133 55%, #2a2f24 100%);
    color: #fff;
}

.bp-hero .hero-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .82);
}

.bp-hero h1 {
    margin: 0 0 16px;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
    color: #fff;
}

.bp-hero h1 em { font-style: normal; color: var(--bp-accent); }

.bp-hero p {
    max-width: 660px;
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .78);
}

.bp-hero .hero-meta {
    margin-top: 24px;
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
}

.bp-hero .hero-meta span + span::before {
    content: "\00b7";
    margin: 0 10px;
    opacity: .6;
}

/*--------------------------------------------------------------
# Search box
--------------------------------------------------------------*/
.bp-doc-search {
    margin-top: 28px;
    max-width: 520px;
}

.bp-doc-search input {
    width: 100%;
    padding: 13px 18px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 14px;
}

.bp-doc-search input::placeholder { color: rgba(255, 255, 255, .5); }
.bp-doc-search input:focus {
    outline: none;
    border-color: var(--bp-accent);
    background: rgba(255, 255, 255, .12);
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/
/* The theme sets `section { overflow: hidden }` to contain floats, which
   makes the section a scroll container and stops `position: sticky` from
   working inside it. `overflow-x: clip` still clips the negative side
   margins Bootstrap rows use, but does not create a scroll container, so
   the sidebar can stick. */
.bp-docs {
    padding: 56px 0 72px;
    overflow-x: clip;
    overflow-y: visible;
}

.bp-docs__side {
    position: sticky;
    top: 70px;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    padding-right: 6px;
}

.bp-docs__side h4 {
    font-family: "Raleway", sans-serif;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #9aa392;
    margin: 0 0 12px;
}

.bp-docs__side ul {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
}

.bp-docs__side li { margin-bottom: 2px; }

.bp-docs__side a {
    display: block;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13.5px;
    color: var(--bp-body);
    text-decoration: none;
    transition: .15s;
}

.bp-docs__side a:hover {
    background: var(--bp-accent-soft);
    color: var(--bp-accent-dark);
}

/*--------------------------------------------------------------
# Section blocks
--------------------------------------------------------------*/
.bp-doc-group { margin-bottom: 44px; scroll-margin-top: 80px; }

.bp-doc-group h2 {
    font-family: "Poppins", sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #646c55;
    margin: 0 0 6px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--bp-line);
}

.bp-doc-group > p {
    color: var(--bp-muted);
    font-size: 14px;
    margin: 12px 0 20px;
    line-height: 1.7;
}

.bp-doc-list { list-style: none; margin: 0; padding: 0; }

.bp-doc-list li {
    border-bottom: 1px solid var(--bp-line);
}

.bp-doc-list li:last-child { border-bottom: 0; }

.bp-doc-list a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 4px;
    text-decoration: none;
    transition: .15s;
}

.bp-doc-list a:hover { background: var(--bp-accent-soft); }

.bp-doc-list i {
    flex: 0 0 auto;
    margin-top: 2px;
    font-size: 15px;
    color: var(--bp-accent-dark);
}

.bp-doc-list b {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--bp-ink);
    margin-bottom: 2px;
}

.bp-doc-list span {
    display: block;
    font-size: 13px;
    color: var(--bp-muted);
    line-height: 1.6;
}

.bp-doc-list em {
    flex: 0 0 auto;
    margin-left: auto;
    align-self: center;
    font-style: normal;
    font-size: 10.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #b3bbaa;
    white-space: nowrap;
}

/*--------------------------------------------------------------
# Note
--------------------------------------------------------------*/
.bp-note {
    padding: 16px 20px;
    border-radius: 8px;
    background: var(--bp-accent-soft);
    border: 1px solid var(--bp-line);
    font-size: .9rem;
    color: var(--bp-body);
    line-height: 1.7;
}

.bp-note b { color: var(--bp-ink); }

/*--------------------------------------------------------------
# Band
--------------------------------------------------------------*/
.bp-band {
    background:
        radial-gradient(ellipse 70% 130% at 50% 0%, rgba(148, 192, 69, .22), transparent 68%),
        linear-gradient(160deg, #2f3529, #3c4133);
    border-radius: 14px;
    padding: 48px 40px;
    text-align: center;
    color: #fff;
}

.bp-band h2 {
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 14px;
}

.bp-band p { color: #dfe4d6; max-width: 62ch; margin: 0 auto; line-height: 1.75; }

.bp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 12px 26px;
    border: 0;
    border-radius: 10px;
    background: var(--bp-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: .2s;
}

.bp-btn:hover { background: var(--bp-accent-dark); color: #fff; }

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 991px) {
    .bp-hero { padding: 56px 0 48px; }
    .bp-hero h1 { font-size: 32px; }
    .bp-docs__side { position: static; margin-bottom: 32px; }
}

@media (max-width: 575px) {
    .bp-band { padding: 34px 22px; }
    .bp-hero h1 { font-size: 27px; }
    .bp-doc-list em { display: none; }
}