/* Public course pages (/learn/). Scoped under .learn so it never touches the
   shared Home-page header/footer (public_base.html, Tailwind). Tailwind's
   preflight strips heading sizes, list bullets and margins, so they are
   restored here. */
.learn{--ink:#0f172a;--muted:#475569;--line:#e2e8f0;--card:#fff;--brand:#4f46e5;--brand-dark:#3730a3;--soft:#eef2ff;font-size:17px;line-height:1.7;color:var(--ink);padding-bottom:24px}
.learn a{color:var(--brand)}.learn a:hover{color:var(--brand-dark)}
.learn h1{font-size:clamp(28px,4vw,40px);line-height:1.15;margin:.8em 0 .3em;font-weight:800;letter-spacing:-.02em}
.learn h2{font-size:24px;line-height:1.3;margin:1.9em 0 .6em;font-weight:700;display:flex;align-items:center;gap:12px}
.learn h2::before{content:"";width:5px;height:1.1em;border-radius:4px;background:linear-gradient(180deg,#6366f1,#312e81);flex:none}
.learn h3{font-size:19px;margin:1.3em 0 .4em;font-weight:700}.learn h4{font-size:17px;font-weight:700}
.learn p{margin:.7em 0}
.learn ul{list-style:disc}.learn ol{list-style:decimal}
.learn ul,.learn ol{padding-left:24px;margin:.7em 0}
.learn .lead{font-size:19px;color:var(--muted);max-width:720px}
.learn .crumbs{font-size:14px;color:var(--muted);padding:20px 0 0}.learn .crumbs a{color:var(--muted);text-decoration:none}.learn .crumbs a:hover{color:var(--brand)}
.learn .meta{font-size:14px;color:var(--muted);display:flex;gap:14px;flex-wrap:wrap;margin:6px 0 18px;align-items:center}
.learn .pill{display:inline-block;padding:2px 10px;border-radius:99px;background:var(--soft);color:var(--brand-dark);font-size:13px;font-weight:600}
.learn .layout{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;padding:8px 0 32px}
@media(min-width:1000px){.learn .layout.has-rail{grid-template-columns:minmax(0,1fr) 300px}}
.learn .rail{position:sticky;top:84px;align-self:start;display:none}
@media(min-width:1000px){.learn .rail{display:block}}
.learn .card{display:block;background:var(--card);border:1px solid var(--line);border-radius:18px;padding:22px 24px;box-shadow:0 1px 2px rgba(15,23,42,.04);transition:transform .18s,box-shadow .18s,border-color .18s}
.learn a.card:hover{transform:translateY(-3px);box-shadow:0 14px 30px -12px rgba(79,70,229,.35);border-color:#c7d2fe}
.learn .grid{display:grid;gap:18px;grid-template-columns:repeat(auto-fill,minmax(270px,1fr))}
.learn .card h3{margin:.5em 0 .2em;font-size:18px;line-height:1.35}.learn .card p{margin:.4em 0;color:var(--muted);font-size:14.5px}
.learn .tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.learn .tabs a{padding:6px 14px;border:1px solid var(--line);border-radius:99px;background:#fff;text-decoration:none;font-size:14px;color:var(--muted)}
.learn .tabs a:hover{border-color:#a5b4fc;color:var(--brand)}
.learn .tabs a.on{background:var(--brand);border-color:var(--brand);color:#fff}
.learn .toc{background:var(--soft);border:1px solid #e0e7ff;border-radius:14px;padding:14px 18px;margin:16px 0;font-size:15px}
.learn .toc summary{cursor:pointer;font-weight:700}.learn .toc ol{margin:8px 0 0}
.learn .article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:8px 28px 20px;margin:12px 0}
.learn .article h2{border-top:0}
.learn .article p,.learn .article li{max-width:75ch}
.learn .article code,.learn .article pre{font-family:ui-monospace,Consolas,monospace;font-size:14.5px}
.learn .article pre{background:#0f172a;color:#e2e8f0;padding:16px;border-radius:12px;overflow:auto}
.learn .article :not(pre)>code{background:var(--soft);color:var(--brand-dark);padding:1px 6px;border-radius:6px}
.learn .article img{max-width:100%;height:auto}
.learn .article a{text-decoration:underline}
.learn .table-wrap{overflow-x:auto;margin:14px 0;-webkit-overflow-scrolling:touch}
.learn .article table{border-collapse:collapse;min-width:100%;font-size:15px;background:#fff}
.learn .article th,.learn .article td{border:1px solid var(--line);padding:8px 10px;vertical-align:top;text-align:left}
.learn .article th{background:var(--soft)}
.learn .article .slide{background:#f8fafc;border:1px solid var(--line);border-left:4px solid var(--brand);border-radius:12px;padding:6px 18px 12px;margin:14px 0}
.learn .article .slide h3{margin:.7em 0 .3em;font-size:18px;color:var(--brand-dark)}
.learn .article .slide p,.learn .article .slide li{margin:.25em 0}
.learn .unit-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;font-size:15px}
.learn .unit-table th,.learn .unit-table td{padding:11px 14px;border-bottom:1px solid var(--line);text-align:left}
.learn .unit-table tr:last-child td{border-bottom:0}
.learn .unit-table th{background:var(--soft);color:var(--brand-dark);font-weight:700}
.learn .unit-table tbody tr:hover td{background:#f8fafc}
.learn .pager{display:flex;justify-content:space-between;gap:12px;margin:28px 0 8px;flex-wrap:wrap}
.learn .pager a{flex:1 1 240px;border:1px solid var(--line);background:#fff;border-radius:14px;padding:12px 16px;text-decoration:none;font-size:15px;transition:.15s}
.learn .pager a:hover{border-color:#a5b4fc;box-shadow:0 8px 20px -12px rgba(79,70,229,.4)}
.learn .pager small{display:block;color:var(--muted)}
/* Ads: reserve height up front so the page does not jump when an ad loads. */
.learn .ad-slot{margin:26px 0;min-height:280px;text-align:center;overflow:hidden}
.learn .ad-label{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#94a3b8;margin-bottom:4px}
/* Free tools: GPA calculator and MCQ practice */
.learn .tool{padding:22px}
.learn .field{display:block;font-size:14px;font-weight:600;color:var(--muted);margin:0 0 14px}
.learn .tool input,.learn .tool select{display:block;width:100%;margin-top:4px;padding:9px 11px;border:1px solid #cbd5e1;border-radius:10px;font-size:16px;background:#fff;color:var(--ink);font-weight:400}
.learn .tool input:focus,.learn .tool select:focus{outline:2px solid #a5b4fc;border-color:var(--brand)}
.learn .rows-head,.learn .tool .row{display:grid;grid-template-columns:minmax(0,1.6fr) 90px minmax(0,1fr) 34px;gap:8px;align-items:center}
.learn .rows-head{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);margin-bottom:6px}
.learn .tool .row{margin-bottom:8px}.learn .tool .row input,.learn .tool .row select{margin-top:0}
.learn .tool .x{border:0;background:#f1f5f9;border-radius:8px;height:36px;font-size:20px;line-height:1;cursor:pointer;color:var(--muted)}
.learn .tool .x:hover{background:#fee2e2;color:#b91c1c}
@media(max-width:560px){.learn .rows-head,.learn .tool .row{grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr) 30px;gap:6px}}
.learn .btn{display:inline-block;border:1px solid var(--brand);background:var(--brand);color:#fff;padding:9px 16px;border-radius:10px;font-size:15px;font-weight:600;cursor:pointer}
.learn .btn:hover{background:var(--brand-dark)}
.learn .btn.ghost{background:#fff;color:var(--brand)}.learn .btn.ghost:hover{background:var(--soft)}
.learn .tool-actions{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0 16px}
.learn .cgpa-box{border:1px dashed #c7d2fe;border-radius:12px;padding:12px 14px;margin-bottom:16px;background:#fafaff}
.learn .cgpa-box summary{cursor:pointer;font-weight:600;color:var(--brand-dark)}
.learn .cgpa-box .two{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.learn .results{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.learn .result{background:var(--soft);border-radius:14px;padding:14px 16px}
.learn .result[hidden]{display:none}
.learn .result small{display:block;color:var(--muted);font-size:13px}.learn .result b{font-size:30px;color:var(--brand-dark);line-height:1.2}
.learn .note{font-size:14px;color:var(--muted)}
.learn .scorebar{position:sticky;top:64px;z-index:5;display:flex;gap:18px;align-items:center;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 16px;margin:14px 0;font-size:15px}
.learn .scorebar .btn{margin-left:auto;padding:6px 12px;font-size:14px}
.learn fieldset.q{border:1px solid var(--line);background:#fff;border-radius:16px;padding:16px 20px 14px;margin:0 0 16px;min-width:0}
.learn fieldset.q legend{font-weight:700;font-size:17px;padding:0 6px;max-width:100%}
.learn .qn{display:inline-block;min-width:26px;height:26px;line-height:26px;text-align:center;border-radius:99px;background:var(--brand);color:#fff;font-size:13px;margin-right:6px}
.learn .opt{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin:8px 0;cursor:pointer}
.learn .opt:hover{border-color:#a5b4fc;background:#fafaff}
.learn .opt input{margin-top:5px;accent-color:var(--brand)}
.learn .ltr{font-weight:700;color:var(--brand-dark);min-width:18px}
.learn .opt.correct{border-color:#16a34a;background:#f0fdf4}.learn .opt.wrong{border-color:#dc2626;background:#fef2f2}
.learn .why{margin-top:10px;padding:10px 14px;border-left:4px solid var(--brand);background:var(--soft);border-radius:8px;font-size:15px}
.learn .why[hidden],.learn .result-card[hidden]{display:none}
.learn .tool .two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:560px){.learn .tool .two{grid-template-columns:1fr}}
.learn .results.conv .result b{font-size:20px;word-break:break-all;font-family:ui-monospace,Consolas,monospace}
.learn .tt{width:auto;min-width:50%}.learn .tt th,.learn .tt td{text-align:center}
.learn .tt td.t1{background:#f0fdf4;font-weight:700;color:#166534}.learn .tt td.t0{color:#991b1b}
.learn .table-wrap .unit-table{min-width:100%}
.learn .unit-table td b{white-space:nowrap}
.learn .cs td:first-child{width:46%}.learn .cs code{font-family:ui-monospace,Consolas,monospace;font-size:14px;background:var(--soft);color:var(--brand-dark);padding:2px 6px;border-radius:6px;word-break:break-word}
.learn .rows-head.sched,.learn .tool .row.sched{grid-template-columns:70px minmax(0,1fr) minmax(0,1fr) 34px}
.learn .pname{font-weight:700;color:var(--brand-dark)}
.learn .gantt-wrap{overflow-x:auto;padding-bottom:6px}
.learn .gantt{min-width:520px;padding:6px 0 26px}
.learn .gantt .bar{display:flex;height:44px;border-radius:10px;overflow:hidden;border:1px solid var(--line)}
.learn .gantt .seg{display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:14px;border-right:1px solid rgba(255,255,255,.6);min-width:0;overflow:hidden}
.learn .gantt .seg.idle{background:repeating-linear-gradient(45deg,#e2e8f0,#e2e8f0 6px,#f1f5f9 6px,#f1f5f9 12px);color:var(--muted);font-weight:500}
.learn .gantt .ticks{position:relative;height:18px;font-size:12px;color:var(--muted)}
.learn .gantt .ticks span{position:absolute;top:2px}
.learn #out th{width:42%;text-align:left}
.learn #out td{font-family:ui-monospace,Consolas,monospace;word-break:break-all}
.learn .tool [hidden]{display:none}
@media print{header,footer,.ad-slot,.rail,.tabs,.pager,.toc{display:none!important}}
/* Coursera-style course pages */
.learn .hero{background:linear-gradient(135deg,#eef2ff,#fff);border:1px solid #e0e7ff;border-radius:20px;padding:28px 30px;margin:14px 0}
.learn .hero h1{margin-top:.2em}
.learn .hero .stats{display:flex;gap:26px;flex-wrap:wrap;margin:16px 0 0;font-size:14px;color:var(--muted)}
.learn .hero .stats b{display:block;font-size:18px;color:var(--ink)}
.learn .btn.big{padding:13px 28px;font-size:17px;border-radius:12px}
.learn .facts{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin:18px 0}
.learn .fact{border:1px solid var(--line);border-radius:14px;padding:14px 16px;background:#fff;font-size:14.5px}
.learn .fact b{display:block;font-size:16px}
.learn .tag{display:inline-block;margin:3px 4px 3px 0;padding:4px 12px;border:1px solid var(--line);border-radius:99px;font-size:14px;background:#fff}
.learn details.mod{border:1px solid var(--line);border-radius:14px;background:#fff;margin:10px 0;padding:0}
.learn details.mod>summary{cursor:pointer;padding:14px 18px;font-weight:700;list-style:none;display:flex;justify-content:space-between;gap:12px}
.learn details.mod>summary::-webkit-details-marker{display:none}
.learn details.mod .inner{padding:0 18px 14px;font-size:15px}
.learn details.mod ul{list-style:none;padding:0}.learn details.mod li{padding:6px 0;border-top:1px solid var(--line)}
.learn .bar{height:8px;border-radius:99px;background:#e2e8f0;overflow:hidden}.learn .bar i{display:block;height:100%;background:linear-gradient(90deg,#6366f1,#16a34a)}
.learn .player{display:grid;gap:22px;grid-template-columns:minmax(0,1fr)}
@media(min-width:1000px){.learn .player{grid-template-columns:300px minmax(0,1fr)}}
.learn .side{border:1px solid var(--line);border-radius:16px;background:#fff;padding:14px 16px;align-self:start;font-size:14.5px}
@media(min-width:1000px){.learn .side{position:sticky;top:84px;max-height:calc(100vh - 110px);overflow:auto}}
.learn .side h4{margin:14px 0 4px;font-size:14px;color:var(--brand-dark)}
.learn .side ul{list-style:none;padding:0;margin:0}.learn .side li{padding:3px 0;line-height:1.4}
.learn .side li.cur a{font-weight:800;color:var(--ink)}.learn .side a{text-decoration:none}
.learn .tick{display:inline-block;width:16px;color:#16a34a;font-weight:700}
.learn .celebrate{background:#f0fdf4;border:1px solid #86efac;border-radius:16px;padding:18px 22px;margin:14px 0}
.learn .tabbar{display:flex;gap:6px;border-bottom:1px solid var(--line);margin:16px 0}
.learn .tabbar a{padding:8px 16px;text-decoration:none;color:var(--muted);border-bottom:3px solid transparent}
.learn .tabbar a.on{color:var(--brand);border-color:var(--brand);font-weight:700}
.learn .faq details{border-bottom:1px solid var(--line);padding:10px 0}.learn .faq summary{cursor:pointer;font-weight:600}
/* Learn sections: sub-navigation, section heroes, tiles, course cards */
.subnav{position:sticky;top:64px;z-index:30;background:#fff;border-bottom:1px solid #e2e8f0;box-shadow:0 1px 0 rgba(15,23,42,.03)}
.subnav-in{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.subnav-in::-webkit-scrollbar{display:none}
.subnav a{flex:none;padding:14px 16px;font-size:15px;font-weight:600;color:#475569;text-decoration:none;border-bottom:3px solid transparent;white-space:nowrap}
.subnav a:hover{color:#4f46e5}
.subnav a.on{color:#4f46e5;border-bottom-color:#4f46e5}
.sechero{--a:#4f46e5;--b:#312e81;background:linear-gradient(135deg,#e0e7ff 0%,#f5f3ff 60%,#fff 100%);border-bottom:1px solid #e0e7ff;padding:48px 0 42px;color:#0f172a}
.sechero.home{background:linear-gradient(135deg,#1e1b4b 0%,#4338ca 60%,#7c3aed 100%);color:#fff;padding:72px 0 76px;border-bottom:0}
.sechero .kicker{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:4px 12px;border-radius:99px;background:rgba(79,70,229,.1);color:#3730a3}
.sechero.home .kicker{background:rgba(255,255,255,.14);color:#e0e7ff}
.sechero h1{font-size:clamp(28px,4.5vw,46px);line-height:1.12;font-weight:800;letter-spacing:-.02em;margin:16px 0 10px;max-width:820px;color:inherit}
.sechero p{font-size:18px;line-height:1.65;max-width:700px;color:#475569;margin:0}
.sechero.home p{color:#c7d2fe}
.sechero .herostats{display:flex;gap:28px;flex-wrap:wrap;margin-top:26px;font-size:14px;color:#64748b}
.sechero .herostats b{font-size:22px;color:#0f172a;margin-right:2px}
.sechero.home .herostats{color:#c7d2fe}.sechero.home .herostats b{color:#fff}
.sechero.home .btn.ghost{background:transparent;border-color:rgba(255,255,255,.5);color:#fff}
.sechero.home .btn.ghost:hover{background:rgba(255,255,255,.12)}
.learn .tiles{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));margin:-28px 0 8px;position:relative}
.learn .tile{display:block;background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;text-decoration:none;color:var(--ink);box-shadow:0 10px 30px -14px rgba(15,23,42,.25);transition:transform .18s,box-shadow .18s}
.learn .tile:hover{transform:translateY(-4px);box-shadow:0 18px 38px -14px rgba(79,70,229,.4)}
.learn .tile h3{margin:.6em 0 .2em;font-size:19px}.learn .tile p{margin:0 0 .8em;font-size:14.5px;color:var(--muted);line-height:1.55}
.learn .ticon{display:inline-flex;width:48px;height:48px;align-items:center;justify-content:center;border-radius:14px;font-size:24px}
.learn .t-courses .ticon{background:#e0e7ff}.learn .t-scholar .ticon{background:#ffedd5}.learn .t-guides .ticon{background:#d1fae5}.learn .t-tools .ticon{background:#fef3c7}.learn .t-notes .ticon{background:#e0f2fe}
.learn .go{font-size:14px;font-weight:700;color:var(--brand)}
.learn .sechead{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:2.2em 0 .8em}
.learn .sechead h2{margin:0}.learn .sechead a{font-size:14.5px;font-weight:600;text-decoration:none}
.learn .cgrid{display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.learn .cwrap[hidden]{display:none}
.learn .ccard{display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;text-decoration:none;color:var(--ink);transition:transform .18s,box-shadow .18s}
.learn .ccard:hover{transform:translateY(-4px);box-shadow:0 18px 38px -14px rgba(79,70,229,.4)}
.learn .cbanner{position:relative;height:120px;display:flex;align-items:center;justify-content:center}
.learn .cbanner.a0{background:linear-gradient(135deg,#4f46e5,#7c3aed)}.learn .cbanner.a1{background:linear-gradient(135deg,#0891b2,#2563eb)}
.learn .cbanner.a2{background:linear-gradient(135deg,#059669,#0d9488)}.learn .cbanner.a3{background:linear-gradient(135deg,#ea580c,#db2777)}
.learn .cicon{font-size:54px;font-weight:800;color:rgba(255,255,255,.9)}
.learn .cbadge{position:absolute;top:10px;left:10px;background:#fff;color:#3730a3;font-size:12px;font-weight:700;padding:2px 10px;border-radius:99px}
.learn .cbody{padding:16px 18px 14px;display:flex;flex-direction:column;gap:2px;flex:1}
.learn .cprov{font-size:12.5px;color:var(--muted);font-weight:600}
.learn .cbody h3{margin:.2em 0;font-size:18px;line-height:1.3}
.learn .cbody p{margin:.2em 0 .5em;font-size:14px;color:var(--muted);line-height:1.5}
.learn .cfoot{margin-top:auto;padding-top:10px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:8px;font-size:12.5px;color:var(--muted)}
.learn .chips{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:22px 0 18px}
.learn .chip{border:1px solid var(--line);background:#fff;border-radius:99px;padding:6px 16px;font-size:14px;font-weight:600;color:var(--muted);cursor:pointer}
.learn .chip:hover{border-color:#a5b4fc;color:var(--brand)}.learn .chip.on{background:var(--brand);border-color:var(--brand);color:#fff}
.learn .steps{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.learn .step{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px}
.learn .step b{display:inline-flex;width:32px;height:32px;border-radius:99px;background:var(--soft);color:var(--brand-dark);align-items:center;justify-content:center}
.learn .step h4{margin:.6em 0 .2em}.learn .step p{margin:0;font-size:14.5px;color:var(--muted)}
.learn .gcard .go{display:block;margin-top:8px}
.learn .cta{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;margin:2.4em 0 1em;padding:26px 30px;border-radius:20px;background:linear-gradient(135deg,#312e81,#4f46e5);color:#fff}
.learn .cta h3{margin:0 0 .2em;color:#fff}.learn .cta p{margin:0;color:#c7d2fe}
.learn .cta .btn{background:#fff;color:#3730a3!important;border-color:#fff}
.learn .btn.big{padding:13px 28px;font-size:17px;border-radius:12px}
.sechero .btn{display:inline-block;border:1px solid #4f46e5;background:#4f46e5;color:#fff;padding:9px 16px;border-radius:10px;font-size:15px;font-weight:600;text-decoration:none;cursor:pointer}
.sechero .btn.ghost{background:#fff;color:#4f46e5}.sechero .btn.ghost:hover{background:#eef2ff}
.sechero .btn.big{padding:13px 28px;font-size:17px;border-radius:12px}
.sechero.home .btn{background:#fff;border-color:#fff;color:#3730a3!important}
.sechero.home .btn.ghost{background:transparent;border-color:rgba(255,255,255,.55);color:#fff!important}
/* Scholarships, Features and About landing pages */
.learn .scard{display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid var(--line);border-top:4px solid #6366f1;border-radius:16px;padding:18px 20px;text-decoration:none;color:var(--ink);transition:transform .18s,box-shadow .18s}
.learn .scard:hover{transform:translateY(-4px);box-shadow:0 18px 38px -14px rgba(217,119,6,.35)}
.learn .scard .stop{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:13px;color:var(--muted);font-weight:600}
.learn .scard .fund{background:#fef3c7;color:#92400e;border-radius:99px;padding:2px 10px;font-size:12px;font-weight:700}
.learn .scard h3{margin:.5em 0 .2em;font-size:18px;line-height:1.3}
.learn .scard p{margin:.3em 0;font-size:14px;color:var(--muted);line-height:1.55}
.learn .scard .smeta{margin-top:auto;padding-top:12px;border-top:1px solid var(--line);display:grid;gap:4px;font-size:13px;color:var(--muted)}
.learn .scard .smeta b{color:var(--ink)}
.learn .dot{display:inline-block;width:8px;height:8px;border-radius:99px;background:#16a34a;margin-right:6px}.learn .dot.off{background:#94a3b8}
.learn .notice{background:#fffbeb;border:1px solid #fde68a;border-radius:14px;padding:12px 16px;font-size:14.5px;color:#78350f;margin:22px 0 4px}
.learn .filters{display:grid;gap:10px;margin:18px 0 20px}
.learn .filters .row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.learn .filters .lab{font-size:13px;font-weight:700;color:var(--muted);min-width:64px}
.learn .chip.gold.on{background:#d97706;border-color:#d97706}
.learn .pillars{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.learn .pillar{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px}
.learn .pillar .ic{display:inline-flex;width:46px;height:46px;border-radius:14px;background:var(--soft);align-items:center;justify-content:center;font-size:22px}
.learn .pillar h3{margin:.7em 0 .2em;font-size:18px}.learn .pillar p{margin:0;font-size:14.5px;color:var(--muted)}
.learn .rolebar{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--line)}
.learn .twocol{display:grid;gap:28px;grid-template-columns:minmax(0,1fr)}
@media(min-width:900px){.learn .twocol{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}}

/* Shared hero action row and small strip used on every landing page */
.sechero .actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.learn .strip{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;background:#f1f5f9;border-radius:16px;padding:14px 20px;font-size:15px;color:var(--muted);margin:2.4em 0 0}
.learn .strip a{font-weight:700;text-decoration:none}

/* Card pictures (static/img/cards/*.svg, made by scripts/make_card_art.py) */
.learn .cimg{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:#e0e7ff}
.learn a.card.has-img{padding:0;overflow:hidden}
.learn .card.has-img .cb{padding:16px 22px 20px}
.learn .card.has-img .cb h3{margin-top:.55em}
.learn .cbanner{height:auto;aspect-ratio:16/9;overflow:hidden}
.learn .cbanner .cimg{position:absolute;inset:0;height:100%}
.learn .cbanner .cbadge{z-index:1;box-shadow:0 2px 8px rgba(15,23,42,.18)}
.learn .scard{padding:0;overflow:hidden;border-top-width:1px;border-top-color:var(--line)}
.learn .scard .sbody{padding:16px 20px 18px;display:flex;flex-direction:column;flex:1}
.learn .tile{padding:0;overflow:hidden}
.learn .tile .cimg{aspect-ratio:2/1}
.learn .tile .tb{padding:16px 22px 20px}
.learn .tile .tb h3{margin-top:.2em}

/* Provider row on course cards (logo + name, like a course marketplace) */
.learn .cprov{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--ink)}
.learn .cprov-logo{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:7px;background:#e0e7ff;flex:none}
.learn .cprov-logo img{width:16px;height:16px}
