body.page-learning{margin:0;background:#f7f5ed;overflow-x:clip;color:#203e35}
.page-learning .navbar.custom-navbar{position:fixed}
.page-learning .main-content-wrapper{padding-top:100px;overflow:visible}
.learn-page{--green:#235b49;--ink:#203e35;max-width:1140px;margin:auto;padding:28px 24px 60px;font-family:"Segoe UI",Arial,sans-serif;line-height:1.65;color:var(--ink)}
.learn-page [hidden]{display:none!important}.learn-page *{box-sizing:border-box}
.learn-page h1,.learn-page h2,.learn-page h3{color:var(--ink);line-height:1.2;font-weight:750}
.learn-page h2{font-size:clamp(1.45rem,3vw,2rem);margin:28px 0 16px}
.learn-back{display:inline-block;color:var(--green);font-weight:700;margin:0 0 22px}
.learn-hero{display:grid;grid-template-columns:1fr 1fr;background:#e7efe0;border:1px solid #d2dfcb;border-radius:28px;overflow:hidden}
.learn-hero>div{padding:36px;align-self:center}.learn-hero img{width:100%;height:100%;min-height:320px;object-fit:cover}.learn-hero h1{font-size:clamp(2.1rem,4.5vw,3.5rem);margin:16px 0 22px}.learn-hero p{font-size:1.1rem}
.learn-eyebrow{display:block;font-weight:700;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:#36684e}.learn-pill{display:inline-block;border-radius:12px;background:#fff9e8;padding:8px 12px;font-size:.9rem}
.learn-settings{margin:20px 0 28px;border:1px solid #ccdace;border-radius:20px;background:#fffdf5;padding:24px;min-width:0}.learn-settings legend{float:none;width:auto;font-size:1.1rem;font-weight:700;padding:0 8px}.learn-settings label{display:block;font-weight:700}.learn-settings select{max-width:100%;width:100%;min-height:48px;padding:12px;border:1px solid #a5bbaa;border-radius:10px;background:#fff;color:var(--ink);font:inherit;font-size:16px}.learn-settings p{margin:16px 0}.learn-tables{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.learn-tables label{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #b2c6b8;border-radius:12px;background:#fff;cursor:pointer;min-height:52px}.learn-tables label:has(input:checked){background:#e4f0da;border-color:#38674c}.learn-tables input{width:20px;height:20px;accent-color:var(--green);flex:none}
.learn-page button{font:inherit;font-weight:700;line-height:1.4;min-height:48px;padding:12px 18px;white-space:normal;overflow-wrap:anywhere;border:2px solid transparent;border-radius:12px;background:var(--green);color:#fff;cursor:pointer;max-width:100%}.learn-page button:hover:not(:disabled){background:#17432f}.learn-page button:disabled{cursor:default;opacity:.55}.learn-page .learn-secondary{color:var(--green);background:#fff;border-color:#aec5b5}.learn-page .learn-secondary:hover:not(:disabled){background:#e7f0e5}.learn-page :is(button,a,select,input):focus-visible{outline:3px solid #a36500;outline-offset:4px}
.learn-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.learn-card{padding:28px;border:1px solid #d6dfd1;border-radius:22px;background:#fffdf5;display:flex;flex-direction:column;align-items:flex-start}.learn-card:nth-child(2){background:#eaf3fb}.learn-card:nth-child(3){background:#f1eafb}.learn-card:nth-child(4){background:#fff0e2}.learn-card>img{width:90px;height:90px;margin-bottom:20px}.learn-card h3{font-size:1.5rem;margin:12px 0}.learn-card p{margin-bottom:24px}.learn-card button{margin-top:auto}
.learn-panel{padding:30px;border:1px solid #d6dfd1;border-radius:24px;background:#fffdf7;margin-top:16px}.learn-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}.learn-panel progress{width:100%;height:12px;accent-color:var(--green);margin:20px 0 10px}.learn-trail{display:flex;gap:6px}.learn-trail span{width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:.75rem;background:#e5ebdf;color:#476b53}.learn-trail .done{background:#235b49;color:#fff}.learn-trail .current{outline:2px solid #ad6c12;outline-offset:1px}
#learn-play,#learn-result,#learn-menu{scroll-margin-top:88px}.learn-picture{display:block;width:140px;height:140px;padding:12px;background:#f0f2df;border-radius:24px;margin:0 auto 20px}.learn-scene{display:block;width:100%;height:150px;object-fit:cover;border-radius:16px;margin-bottom:20px}.learn-question{font-size:clamp(2rem,8vw,3.7rem);font-weight:800;text-align:center;margin:20px 0;color:var(--ink)}
.learn-options{display:grid;gap:12px}.learn-math-options{grid-template-columns:repeat(2,minmax(0,1fr))}.learn-page .learn-choice{background:#fff;border-color:#b4cbbb;color:var(--ink);width:100%;text-align:left}.learn-page .learn-choice:hover:not(:disabled){background:#e7f2df}.learn-page .learn-choice.correct{opacity:1;background:#e0efcf;border-color:#487a3b}.learn-page .learn-choice.wrong{opacity:1;background:#fff0e0;border-color:#a97137}.learn-math-options .learn-choice{font-size:1.6rem;text-align:center}.learn-feedback{margin:22px 0;padding:18px 20px;background:#e8f1df;border-left:4px solid #6e9455;border-radius:12px;line-height:1.7}.learn-actions{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.learn-hint{margin:0 0 18px}.learn-hints{padding-left:24px;margin:0 0 20px}.learn-hints li{margin:10px 0}
.learn-slots,.learn-bank{display:flex;flex-wrap:wrap;gap:9px;min-height:68px;padding:14px;border-radius:14px;margin:16px 0}.learn-slots{border:2px dashed #a4bba6;background:#edf2e5}.learn-bank{background:#f6eddf}.learn-page .learn-token{min-width:48px;background:#fff;color:var(--ink);border-color:#adc3b2;text-align:center;padding:10px 14px}.learn-page .learn-token:hover:not(:disabled){background:#dfecd8}.learn-slots>p{margin:4px;color:#53684e}.learn-solution{font-weight:750;font-size:1.2rem;margin:18px 0;overflow-wrap:anywhere}.learn-count{border:1px solid #c5d6bd;border-radius:16px;background:#f3f5e8;padding:16px;margin:18px 0}.learn-count-grid{display:grid;gap:7px}.learn-count-row{display:flex;flex-wrap:wrap;gap:5px;border-bottom:1px dashed #a4bea0;padding-bottom:5px}.learn-count-row img{width:22px;height:22px}.learn-count p{margin:12px 0 0}
.learn-result{text-align:center}.learn-result>img{display:block;width:100%;max-width:420px;height:auto;border-radius:18px;margin:0 auto 22px}.learn-result>button{display:block;margin:14px auto}.learn-note{color:#506754;font-size:.9rem;margin-top:26px}
@media(max-width:760px){.learn-hero{grid-template-columns:1fr}.learn-hero>div{padding:26px}.learn-hero img{min-height:0;max-height:260px;aspect-ratio:3/2}.learn-grid{grid-template-columns:1fr}.learn-tables{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.learn-page{padding:18px 16px 40px}.learn-panel{padding:20px 14px}.learn-settings,.learn-card{padding:20px 16px}.learn-toolbar{align-items:flex-start;flex-direction:column}.learn-picture{width:110px;height:110px}.learn-slots,.learn-bank{padding:10px;gap:7px}.learn-page .learn-token{padding:10px;min-width:44px}.learn-trail{gap:4px}.learn-trail span{width:20px;height:20px}.learn-count{padding:10px}.learn-count-row{gap:2px}.learn-count-row img{width:19px;height:19px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}

.learn-choice-note{display:block;font-size:.85rem;font-weight:500;margin-top:4px}

/* A new question starts at the exercise, keeping the answers within reach. */
#learn-play{overflow-anchor:none}
.learn-math-round .learn-scene{width:140px;height:88px;margin:0 auto 12px}
.learn-math-round .learn-question{font-size:clamp(2rem,6vw,3rem);line-height:1.25;margin:12px 0 18px}
.learn-question:focus,#learn-title:focus{outline:none}
.learn-math-round .learn-choice{padding:10px 14px;min-height:56px}
.learn-scene{height:auto;object-fit:contain}.learn-math-round .learn-scene{height:auto}

/* Dropdown 'Kies je niveau' smaller maken */
.learn-settings #learn-level {
    display: block;
    width: 400px;
    max-width: 100%;
}