/* Learn uses the authored reading sequence, never learner progress. */
.dux-learn{color:var(--dux-ink,#18262d);padding-bottom:3rem;overflow-wrap:anywhere}
.dux-learn-header{padding-block:2.5rem 1.75rem;max-width:75rem;margin-inline:auto}
.dux-learn-header h1{font-size:clamp(1.8rem,3.5vw,2.8rem);line-height:1.35;letter-spacing:0;margin:.5rem 0 1rem;max-width:28ch}
.dux-learn-header p{max-width:72ch;line-height:1.8}
.dux-learn-kicker{font-weight:700;color:#52616a;margin:0}
.dux-learn-header nav{display:flex;flex-wrap:wrap;gap:1rem 2rem}
.dux-learn a{color:#174fb9;text-underline-offset:.2em}
.dux-learn-header nav a,.dux-learn summary{min-height:44px;display:inline-flex;align-items:center}
.dux-learn summary{display:list-item;padding-block:.65rem;cursor:pointer}
.dux-learn section[id]{scroll-margin-top:6rem;margin-block:1.5rem 3rem}
.dux-learn h2{font-size:1.5rem;line-height:1.5;margin-block:0 1.25rem}
.dux-path-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}
.dux-path-card{min-width:0;border:1px solid #c6cfce;border-radius:12px;padding:1.5rem;background:#fff;display:flex;flex-direction:column;scroll-margin-top:6rem}
.dux-path-card h3{font-size:1.35rem;line-height:1.5;margin:.75rem 0}
.dux-path-card h3 a{text-decoration:none}
.dux-path-card h3 a:hover{text-decoration:underline}
.dux-path-counts{display:flex;flex-wrap:wrap;gap:.5rem 1rem;font-size:.85rem;line-height:1.7;margin:0;color:#52616a}
.dux-path-goal{line-height:1.8;margin:.25rem 0 1rem}
.dux-path-card details{margin-top:auto;border-top:1px solid #dce1df}
.dux-path-card details p{line-height:1.8}
.dux-path-actions{border-top:1px solid #dce1df;padding-top:1rem;display:flex;flex-direction:column;align-items:flex-start;gap:.6rem}
.dux-path-actions>span{font-size:.9rem;line-height:1.6}
.dux-learn a.dux-path-start{display:inline-flex;align-items:center;min-height:44px;max-width:100%;border-radius:6px;padding:.65rem 1rem;background:#2459d3;color:#fff;font-weight:700;text-decoration:none;line-height:1.6}
.dux-learn a.dux-path-start:hover{background:#1746af}
.dux-learn-help{margin-block:2rem;background:#f5f4ef;border:1px solid #dce1df;border-radius:8px;padding:1rem 1.5rem}
.dux-learn-help li{line-height:1.8;margin-bottom:1rem}
.dux-path-content{padding-block:1.5rem}
.dux-learn-path .dux-learn-header{background:#f5f4ef;max-width:none}
.dux-learn-path .dux-learn-header .dux-path-counts{margin-block:1rem}
.dux-learn-path .learning-steps{max-width:900px;margin:1.5rem 0;padding-left:1.75rem}
.dux-learn-path .learning-steps>li{padding:1.25rem;margin-bottom:1rem;border:1px solid #c6cfce;border-radius:8px}
.dux-learn-path .learning-steps h2{font-size:1.25rem;margin:.5rem 0}
.dux-learn-path .learning-steps p{line-height:1.8}
.dux-learn-path .learning-steps li::marker{font-weight:700;color:#52616a}
.dux-learn .curriculum-contents{padding:1rem 1.5rem;background:#f5f4ef;border-radius:8px}
.dux-learn .curriculum-contents ol{display:flex;flex-wrap:wrap;gap:.5rem 2rem;padding-left:1.5rem}
.dux-learn .curriculum-contents a{display:inline-flex;align-items:center;min-height:44px}
.dux-learn .curriculum-units{max-width:960px}
.dux-learn .curriculum-units>li{padding:1.5rem;border-color:#c6cfce;background:white}
.dux-learn .curriculum-articles>li{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,3fr);gap:1rem;border-top:1px solid #dce1df;padding-block:.8rem;line-height:1.7}
.dux-learn .curriculum-articles a{display:inline-flex;align-items:center;min-height:44px}
.dux-learn .curriculum-articles .article-kind{font-size:.85rem;white-space:normal}
.dux-learn .reader-guide{max-width:900px;background:#f5f4ef;border:1px solid #dce1df;padding:1rem 1.25rem;line-height:1.8}
.dux-learn :is(a,summary):focus-visible{outline:3px solid #b45309;outline-offset:4px}
@media(max-width:700px){.dux-path-grid{grid-template-columns:minmax(0,1fr)}.dux-path-card{padding:1.1rem}.dux-learn-header{padding-block:1.5rem}.dux-learn .curriculum-units{padding-left:1.25rem}.dux-learn .curriculum-units>li{padding:1rem}.dux-learn .curriculum-articles>li{grid-template-columns:minmax(0,1fr);gap:.25rem}.dux-learn .curriculum-contents ol{display:block}.dux-learn-path .learning-steps>li{padding:1rem}.dux-learn .curriculum-contents{padding:1rem}}
@media print{.dux-path-grid{display:block}.dux-path-card{break-inside:avoid;margin-bottom:1rem}.dux-learn a.dux-path-start{background:white;color:black;border:1px solid}.dux-learn details::details-content{display:block;content-visibility:visible}}

/* Keep contextual navigation identifiable without relying on link color. */
.dux-learn-header .wrap > a { text-decoration: underline; text-underline-offset: .2em; }
