/* Reduce vertical spacing in the left sidebar navigation */
.bd-links li > a,
.bd-links li > label {
    padding-top: 0.3rem !important;
    padding-bottom: 0.3rem !important;
    line-height: 1.3 !important;
}

.bd-links .nav-link {
    padding-top: 0.3rem !important;
    padding-bottom: 0.3rem !important;
}

/* Adjust the spacing between sections in the sidebar */
.bd-links .caption {
    margin-top: 0.75rem !important;
    margin-bottom: 0.25rem !important;
}

/* Soften the look of sphinx-design badges (used as tags on examples cards). */
.sd-badge.sd-bg-secondary {
    background-color: rgba(108, 117, 125, 0.12) !important;
    color: var(--pst-color-text-base) !important;
    font-weight: 500;
}
