/* Concise learning routes; uses the site's existing theme and typography. */
.learning-paths { max-width:1120px; }
.learning-paths .lp-heading { margin-bottom:24px; }
.learning-paths .lp-heading h1 { font-size:clamp(28px,3.3vw,42px); }
.learning-paths .lp-heading .site-lead { max-width:810px; font-size:16px; }
.learning-paths .lp-start { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:24px; margin-bottom:24px; border:1px solid var(--line); border-radius:20px; background:linear-gradient(115deg,rgba(34,104,237,.1),rgba(38,180,161,.05)); }
.learning-paths .lp-start > div:first-child { flex:1; }
.learning-paths .lp-start h2,.learning-paths .lp-books h2 { margin:0 0 6px; font-size:18px; line-height:1.7; }
.learning-paths .lp-start p,.learning-paths .lp-books p { margin:0; color:var(--muted); font-size:14px; line-height:1.9; }
.learning-paths .lp-start .site-actions { flex-direction:column; align-items:stretch; flex:0 1 275px; }
.learning-paths .lp-path-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.learning-paths .lp-path { display:flex; flex-direction:column; min-width:0; padding:28px; border:1px solid var(--line); border-radius:22px; background:var(--surface); scroll-margin-top:28px; }
.learning-paths .lp-path-top { display:flex; justify-content:space-between; align-items:center; gap:14px; margin-bottom:22px; }
.learning-paths .lp-icon { width:56px; height:56px; flex:none; display:grid; place-items:center; border-radius:13px; background:rgba(34,143,219,.12); color:var(--cyan); }
.learning-paths .lp-icon svg { width:32px; height:32px; }
.learning-paths .lp-science .lp-icon { color:#b6a2fb; background:rgba(146,112,229,.12); }
html[data-theme="light"] .learning-paths .lp-science .lp-icon { color:#6743bc; }
.learning-paths .lp-count { margin:0 0 6px; color:var(--cyan); font-size:12px; font-weight:700; }
.learning-paths .lp-path h2 { margin:0 0 12px; font-size:23px; line-height:1.7; }
.learning-paths .lp-path > p:not(.lp-count) { color:var(--muted); font-size:14px; line-height:2; margin:0 0 20px; }
.learning-paths .lp-subjects { display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:0; margin:8px 0 12px; }
.learning-paths .lp-subjects li { display:inline-flex; align-items:center; gap:10px; min-height:46px; box-sizing:border-box; padding:9px 12px; border:1px solid var(--line); border-radius:9px; color:var(--text); font-size:13px; line-height:1.7; }
.learning-paths .lp-subject-details { margin-bottom:14px; }
.learning-paths .lp-subject-details summary { color:var(--text); font-size:14px; cursor:pointer; padding:8px 0; min-height:40px; }
.learning-paths .lp-grade-note { color:var(--muted); font-size:12px !important; line-height:1.9; }
.learning-paths .lp-path > .lp-status-note { margin-top:auto !important; margin-bottom:0 !important; padding-top:18px; border-top:1px solid var(--line); font-size:13px !important; }
.learning-paths .lp-books { display:flex; align-items:center; justify-content:space-between; gap:22px; margin-top:24px; padding:26px 0 0; border-top:1px solid var(--line); scroll-margin-top:28px; }
.learning-paths .lp-books .site-actions { flex-shrink:0; }
@media(max-width:900px) {
  .learning-paths .lp-books { align-items:flex-start; flex-direction:column; }
  .learning-paths .lp-path { padding:22px; }
}

/* Separate, compact subject routes. */
.compact-learning .lp-path-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.compact-learning .lp-path{padding:20px;border-radius:16px}
.compact-learning .lp-path-top{margin-bottom:10px;gap:10px;flex-wrap:wrap}
.compact-learning .lp-path h2{font-size:21px;margin-bottom:8px}
.compact-learning .lp-path>p:not(.lp-count){margin-bottom:10px;font-size:15px;line-height:1.9}
.compact-learning .lp-count{font-size:14px;margin:0}
.compact-learning .lp-subjects{gap:8px;margin:6px 0 12px}
.compact-learning .lp-subjects li{font-size:15px;padding:9px 12px}
.compact-learning .lp-grade-note{font-size:14px!important}
.compact-learning .lp-path>.lp-status-note{font-size:14px!important;padding-top:12px}
.compact-learning .lp-books{gap:14px;margin-top:18px;padding-top:16px}
.compact-learning .site-badge{font-size:13px}
@media(max-width:700px){.compact-learning .lp-path-grid{grid-template-columns:minmax(0,1fr)}.compact-learning .lp-path{padding:16px}.compact-learning .lp-books .site-actions{flex-wrap:wrap}.compact-learning .lp-books .site-button{font-size:14px}}
@media(max-width:650px) {
  .learning-paths .lp-start { flex-direction:column; align-items:stretch; padding:20px; }
  .learning-paths .lp-start .site-actions { flex:auto; }
  .learning-paths .lp-path-grid { grid-template-columns:1fr; }
  .learning-paths .lp-path h2 { font-size:21px; }
  .learning-paths .lp-path-top { margin-bottom:16px; }
  .learning-paths .lp-books .site-actions { width:100%; }
  .learning-paths .lp-books .site-button { flex:1; white-space:nowrap; padding:10px 12px; }
}

/* Subject artwork shares the same local icon set as the homepage. */
.learning-paths .lp-subjects .mc-icon{width:26px;height:26px;flex:none;color:var(--cyan)}
