.gp-help-page {
    scroll-behavior: smooth;
}

.gp-help-page section[id] {
    scroll-margin-top: 1.25rem;
}

.gp-help-content {
    border-top: 1px solid var(--gp-border);
}

.gp-help-content-section {
    border-bottom: 1px solid var(--gp-border);
}

.gp-help-content-body {
    padding: 2rem 0;
}

.gp-help-content-section:first-child .gp-help-content-body {
    padding-top: 0;
}

.gp-help-content-section:last-child {
    border-bottom: 0;
}

.gp-help-sidebar {
    overflow: hidden;
}

.gp-help-sidebar .card-body {
    display: flex;
    flex-direction: column;
    max-height: inherit;
    min-height: 0;
}

.gp-help-mobile-toggle-icon {
    width: 1.25rem;
    height: 1.25rem;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #eaf2ff;
    font-weight: 800;
    line-height: 1;
}

.gp-help-mobile-toggle[aria-expanded="true"] .gp-help-mobile-toggle-icon {
    background: #0d6efd;
    color: #ffffff;
}

.gp-help-mobile-toggle[aria-expanded="true"] .gp-help-mobile-toggle-icon::before {
    content: "-";
}

.gp-help-mobile-toggle[aria-expanded="true"] .gp-help-mobile-toggle-icon {
    font-size: 0;
}

.gp-help-mobile-toggle[aria-expanded="true"] .gp-help-mobile-toggle-icon::before {
    font-size: 1rem;
}

.gp-help-nav {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 0.25rem;
}

.gp-help-nav .list-group-item {
    background: transparent;
    border-color: var(--gp-border);
}

.gp-help-nav .list-group-item:first-child {
    border-top: 0;
}

.gp-help-nav .list-group-item:hover,
.gp-help-nav .list-group-item:focus {
    background: #f8fafc;
    color: var(--gp-dark);
}

@media (min-width: 992px) {
    .gp-help-page section[id] {
        scroll-margin-top: 1.25rem;
    }

    .gp-help-sidebar-col {
        position: -webkit-sticky;
        position: sticky;
        top: 1rem;
        z-index: 1010;
        align-self: flex-start;
    }

    .gp-help-sidebar {
        max-height: calc(100vh - 2rem);
    }
}

@media (max-width: 991.98px) {
    .gp-help-page section[id] {
        scroll-margin-top: 1rem;
    }

    .gp-help-mobile-nav {
        border-radius: 8px;
    }

    .gp-help-nav-mobile {
        max-height: 60vh;
    }

    .gp-help-content-body {
        padding: 1.5rem 0;
    }
}
