/* The course layout comes unchanged from the original Kanbritech Academy.
   Only the school subject heading and measured navigation offset differ. */
.school-subject-learning .kb-course-sidebar {
    top: calc(var(--kb-main-nav-height, 81px) + var(--kb-subject-nav-height, 60px));
    height: calc(100dvh - var(--kb-main-nav-height, 81px) - var(--kb-subject-nav-height, 60px));
    max-height: calc(100dvh - var(--kb-main-nav-height, 81px) - var(--kb-subject-nav-height, 60px));
}
.school-subject-content { min-width: 0; }
.school-subject-learning .kb-course-rail-inner { top: calc(var(--kb-main-nav-height, 81px) + var(--kb-subject-nav-height, 60px)); }
.school-subject-content h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.2; margin: 0 0 0.75rem; }
.school-subject-content p { line-height: 1.7; }
.school-subject-content .school-breadcrumb { margin-bottom: 2rem; }
.school-topic-lesson { margin-top: 2rem; }
.school-topic-lesson h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.school-topic-text { white-space: pre-wrap; line-height: 1.8; margin-top: 1.5rem; }
.school-subject-learning .kb-course-topic-link:focus-visible { outline: 2px solid #d4af37; outline-offset: -2px; }
@media (max-width: 900px) {
    .school-subject-learning .kb-course-mobile-toggle-row { top: calc(var(--kb-main-nav-height, 81px) + var(--kb-subject-nav-height, 60px)); }
    .school-subject-learning .kb-course-sidebar { height: auto; max-height: none; }
}
.school-lesson-image{margin:24px 0}.school-lesson-image img{display:block;width:auto;max-width:100%;height:auto;max-height:650px;object-fit:contain}.school-lesson-image figcaption{margin-top:10px;font-size:14px;color:#64748b}.dark .school-lesson-image figcaption{color:#b4bfc8}
