:root { --vedic-green: #17634f; --vedic-ink: #243b42; }
html { scroll-behavior: smooth; }
body { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--vedic-ink); }
.main-header { min-height: 58px; }
.main-header .nav-link { color: #fff; min-width: 44px; min-height: 44px; }
.site-search { margin: 0 .5rem; flex: 1; max-width: 32rem; min-width: 0; }
.site-search .input-group { width: 100%; }
.site-search .form-control { min-width: 0; }
.main-header .btn-navbar { min-width: 44px; }
.main-header .site-course-link { display: inline-flex; align-items: center; flex-shrink: 0; white-space: nowrap; margin: 0 .25rem; padding: .4rem .55rem; border: 1px solid #ffffff70; border-radius: .4rem; font-size: .875rem; font-weight: 600; }
.main-header .site-course-link:hover, .main-header .site-course-link.active { background: #ffffff18; border-color: #e1c98c; text-decoration: none; }
.brand-text { font-size: 1.1rem; }
.sidebar { overflow-y: auto; }
.sidebar .nav-link { min-height: 44px; }
.home-content { max-width: 1200px; padding: 1rem; }
.home-intro { margin-bottom: 2rem; }
.home-intro h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 700; }
.home-intro p { max-width: 48rem; color: #405461; }
.home-group { margin: 1rem 0 2rem; }
.home-group h2 { font-size: 1.35rem; font-weight: 650; margin-bottom: 1rem; }
.home-card { display: flex; align-items: center; gap: 1.1rem; height: 100%; min-height: 120px; padding: 1.2rem; background: #fff; color: var(--vedic-ink); border: 1px solid #d0dbd6; border-radius: .5rem; box-shadow: 0 2px 5px #0000000b; }
.home-card:hover { color: var(--vedic-ink); background: #f1f8f4; text-decoration: none; border-color: var(--vedic-green); }
.home-card > i { width: 2.5rem; flex-shrink: 0; text-align: center; font-size: 2rem; color: var(--vedic-green); }
.home-card h3 { font-size: 1.2rem; color: var(--vedic-green); font-weight: 700; margin-bottom: .4rem; }
.home-card p { margin: 0; line-height: 1.5; color: #405461; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #8a4a00; outline-offset: 3px; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 3000; padding: .75rem 1rem; color: #fff; background: #173f35; }
.skip-link:focus { top: .5rem; color: #fff; }
.main-footer { display: flex; flex-wrap: wrap; gap: .5rem; }
.main-footer a { color: #15593e; }
@media (max-width: 575px) {
  .home-content { padding: .5rem; }
  .home-card { padding: 1rem; min-height: 112px; }
  .home-card > i { font-size: 1.7rem; width: 2rem; }
  .content-wrapper h1 { overflow-wrap: anywhere; }
  .main-header .site-search { min-width: 0; }
  .main-header.site-topbar { flex-wrap: wrap; }
  .main-header.site-topbar .site-search { order: 3; flex-basis: 100%; max-width: none; margin: .4rem .25rem 0; }
  .site-search .form-control { min-width: 0; }
}
@media (max-width: 360px) {
  .main-header .site-course-link { font-size: .8rem; padding-inline: .35rem; }
  .main-header.site-topbar > .dropdown > .nav-link { padding-inline: .5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
