/* Site guide (/guide): lessons on how to use the site. Builds on the School's styles (_SchoolStyles). */
.sg-level-tabs { gap: .5rem; flex-wrap: wrap; }
.sg-level-tabs .nav-link { border: 1px solid var(--bs-border-color); }

.sg-sticky { position: sticky; top: 90px; }
.sg-sidebar .accordion-button { font-size: .925rem; }
.sg-sidebar .list-group-item { padding-inline-start: 2.5rem; }

.sg-video { border-radius: .75rem; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.sg-video video { width: 100%; height: 100%; display: block; }

.sg-body .sg-lead { font-size: 1.1rem; color: var(--bs-secondary-color, #6b7686); margin-bottom: 1.5rem; }
.sg-body .sg-steps { counter-reset: sg-step; list-style: none; padding-inline-start: 0; }
.sg-body .sg-steps > li { counter-increment: sg-step; position: relative; padding-inline-start: 2.5rem; margin-bottom: .75rem; }
.sg-body .sg-steps > li::before {
    content: counter(sg-step); position: absolute; inset-inline-start: 0; top: .05rem;
    width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center;
    background: var(--bs-primary); color: #fff; font-weight: 600; font-size: .875rem;
}
.sg-body .sg-btn {
    display: inline-block; padding: .05rem .5rem; border-radius: .375rem; font-size: .9em; font-weight: 600;
    background: rgba(105, 108, 255, .12); color: var(--bs-primary); border: 1px solid rgba(105, 108, 255, .3); white-space: nowrap;
}
.sg-body .sg-fig { margin: 1.25rem 0 1.75rem; text-align: center; }
.sg-body .sg-fig img { max-width: 100%; height: auto; border: 1px solid var(--bs-border-color); border-radius: .5rem; box-shadow: 0 .25rem 1rem rgba(0, 0, 0, .06); }
.sg-body .sg-fig figcaption { margin-top: .5rem; font-size: .875rem; color: var(--bs-secondary-color, #6b7686); }
.sg-body .sg-tip, .sg-body .sg-note { border-radius: .5rem; padding: .85rem 1rem; margin: 1rem 0; }
.sg-body .sg-tip { background: rgba(113, 221, 55, .12); border-inline-start: 4px solid #71dd37; }
.sg-body .sg-note { background: rgba(255, 171, 0, .12); border-inline-start: 4px solid #ffab00; }
.sg-body .sg-next { list-style: none; padding-inline-start: 0; }
.sg-body .sg-next li { margin-bottom: .4rem; }
.sg-body .sg-next a::before { content: "\2190"; margin-inline-end: .4rem; }
[dir="ltr"] .sg-body .sg-next a::before { content: "\2192"; }
