/* Public learning shares the academy palette; the reading surface is warm and calm. */
.learning-wrap{width:min(1160px,calc(100% - 48px));margin-inline:auto}
.learning-page{padding-bottom:64px}
.learning-hero{position:relative;isolation:isolate;overflow:hidden;background:#102936;border-bottom:1px solid #65726b}
.learning-hero-art{position:absolute;inset:0;z-index:-1;pointer-events:none}
.learning-hero-art img{width:100%;height:100%;object-fit:cover;object-position:75% 35%;opacity:.4}
.learning-hero-art::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#102936 10%,#102936e6 42%,#10293635),linear-gradient(0deg,#102936,transparent 65%)}
.learning-hero-inner{padding-block:34px 58px}
.learning-crumbs{display:flex;flex-wrap:wrap;gap:10px;font-size:14px;color:#c0cccd;margin-bottom:36px}
.learning-crumbs a{color:#e7d6ab;text-underline-offset:4px}
.learning-kicker{color:#e0cb9b;font-size:14px;font-weight:600;letter-spacing:.04em;margin:0 0 14px}
.learning-hero h1{max-width:850px;font:500 clamp(2rem,4.4vw,3.5rem)/1.17 Cinzel,Georgia,serif;color:#f0e7d7;letter-spacing:-.025em;text-transform:none;margin:0 0 22px;text-wrap:balance}
.learning-lead{max-width:670px;font-size:18px;line-height:1.8;color:#dce2dc;margin:0}
.learning-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin-top:28px}
.learning-hero-actions>span{color:#d0dad6;font-size:14px}
.learning-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;align-items:start;gap:30px;padding-top:40px}
.learning-paper{min-width:0;padding:30px 38px 40px;background:#e8dfcd;color:#243941;color-scheme:light;border:1px solid #c3b597;border-radius:8px;scroll-margin-top:110px}
.learning-paper-top{display:flex;justify-content:space-between;gap:16px;padding-bottom:20px;margin-bottom:28px;border-bottom:1px solid #bdaf95;color:#536057;font-size:14px}
body.magic-theme .learning-paper .prose{color:#243941;font-size:17px;line-height:1.85;max-width:100%}
body.magic-theme .learning-paper .prose :is(h2,h3,h4,strong){color:#193440}
body.magic-theme .learning-paper .prose h2{font:700 26px/1.35 Manrope,Arial,sans-serif;letter-spacing:-.02em;margin:38px 0 16px;scroll-margin-top:110px;text-transform:none}
body.magic-theme .learning-paper .prose h2:first-child{margin-top:0}
body.magic-theme .learning-paper .prose h3{font:700 20px/1.5 Manrope,Arial,sans-serif;margin-top:26px;letter-spacing:0;text-transform:none}
body.magic-theme .learning-paper .prose :is(p,li,td,th){color:#243941}
body.magic-theme .learning-paper .prose a{color:#235c60;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
body.magic-theme .learning-paper .prose a:hover{color:#173f43}
.learning-paper .prose>p,.learning-paper .prose>ul,.learning-paper .prose>ol{margin-block:16px}
.learning-paper .prose :is(ul,ol){padding-left:24px}
.learning-paper .prose li+li{margin-top:8px}
.learning-page .learning-paper .prose img{display:block;width:min(100%,420px);height:auto;margin:24px auto;border:0;border-radius:0;box-shadow:none}
body.magic-theme .learning-paper .prose details{padding:0;margin:18px 0 30px;border:1px solid #b4a68c;border-radius:6px;background:#f3ecdf;overflow:hidden}
body.magic-theme .learning-paper .prose summary{padding:16px 18px;min-height:52px;font-weight:700;color:#21555b;cursor:pointer;background:transparent;line-height:1.5}
body.magic-theme .learning-paper .prose details[open]>summary{border-bottom:1px solid #cfc2aa}
.learning-paper .prose details> :not(summary){margin:16px 18px}
.learning-paper .prose details>ol,.learning-paper .prose details>ul{padding-left:20px}
.learning-paper .prose table{display:block;width:100%;overflow-x:auto;border-collapse:collapse;font-size:16px;margin-block:24px}
body.magic-theme .learning-paper .prose :is(th,td){padding:12px;text-align:left;border:1px solid #b5a88e;background:transparent}
body.magic-theme .learning-paper .prose th{background:#ddd2bc;font-weight:700}
.learning-paper .prose blockquote{border-left:3px solid #58847e;padding:8px 20px;margin:24px 0;background:#dedaca}
body.magic-theme .learning-paper :is(a,summary):focus-visible{outline:3px solid #235c60;outline-offset:3px}
.learning-sidebar{display:grid;gap:28px;min-width:0}
.learning-game-card{padding:26px;background:#193b45;border:1px solid #72857c;border-radius:8px}
.learning-game-card h2{font:600 25px/1.4 Cinzel,Georgia,serif;color:#f0e7d7;margin:0 0 16px;text-transform:none}
.learning-game-card>p{font-size:16px;line-height:1.7;color:#dce2dc}
.learning-game-card .btn{width:100%;margin:10px 0;white-space:normal;text-align:center}
.learning-game-card .learning-access-note{font-size:14px;line-height:1.7;color:#c5d1cc}
.learning-text-link{color:#e4d1a3;font-size:14px;text-decoration:underline;text-underline-offset:4px}
.learning-related h2{font:700 18px/1.5 Manrope,Arial,sans-serif;color:#eee8dc;margin:0 0 8px}
.learning-related>a{display:block;padding:18px 0;border-bottom:1px solid #526770;text-decoration:none;color:#eee8dc}
.learning-related strong{display:block;font-size:16px;font-weight:650}
.learning-related span{display:block;font-size:14px;line-height:1.7;color:#c0cccd;margin-top:5px}
.learning-related a:hover strong{color:#e4d1a3;text-decoration:underline;text-underline-offset:4px}
/* Existing advice uses the same readable surfaces, without changing its URLs. */
body.page-item .article-head h1{font:500 clamp(2rem,4.5vw,3.1rem)/1.25 Cinzel,Georgia,serif;text-transform:none;color:#eee8dc}
body.page-item .article-lead{color:#d2dcd6;font-size:18px;line-height:1.8}
body.page-item .post-meta{color:#c0cccd;font-size:14px;line-height:1.7;flex-wrap:wrap}
body.page-item .article-hero{max-height:260px;overflow:hidden;border-radius:8px;margin-bottom:28px}
body.page-item .article-hero img{width:100%;height:260px;object-fit:cover}
body.page-item .article-cta{background:#193b45;border:1px solid #72857c;color:#eee8dc;padding:28px;border-radius:8px}
body.page-item .article-cta :is(h3,p){color:#eee8dc}
.learning-paths{margin:30px 0 36px}
.learning-paths h2{font:600 25px/1.4 Cinzel,Georgia,serif;color:#eee8dc;margin-bottom:18px;text-transform:none}
.learning-path-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.learning-path-grid>a{display:flex;flex-direction:column;align-items:start;padding:24px;border:1px solid #60746e;border-radius:7px;background:#193440;text-decoration:none;color:#eee8dc;transition:background .15s}
.learning-path-grid>a:hover{background:#254450}
.learning-path-mark{font:500 24px/1 Cinzel,Georgia,serif;color:#e4d1a3;margin-bottom:18px}
.learning-path-grid strong{font-size:18px;line-height:1.5;color:#eee8dc}
.learning-path-grid p{font-size:15px;line-height:1.75;color:#c9d4cf;margin:12px 0 16px}
.learning-path-grid small{font-size:14px;line-height:1.5;color:#e4d1a3;margin-top:auto}
body.page-blog .post-card{background:#193440;border-color:#60746e;box-shadow:none;border-radius:8px}
body.page-blog .post-card :is(h3,.read-more){color:#eee8dc}
body.page-blog .post-card :is(p,.post-meta){color:#c9d4cf}
body.page-blog .lib-tab{font-size:15px;color:#eee8dc;background:#193440;border-color:#60746e}
body.page-blog .lib-tab.active{color:#122734;background:#d6c495}
@media(max-width:900px){.learning-layout{grid-template-columns:minmax(0,1fr)}.learning-sidebar{grid-template-columns:1fr 1fr}.learning-path-grid{grid-template-columns:1fr}.learning-hero-art::after{background:linear-gradient(90deg,#102936ed,#10293688),linear-gradient(0deg,#102936,transparent)}}
@media(max-width:600px){.learning-wrap{width:calc(100% - 32px)}.learning-hero-inner{padding-block:24px 36px}.learning-crumbs{margin-bottom:28px}.learning-hero h1{font-size:32px}.learning-lead{font-size:17px}.learning-layout{gap:28px;padding-top:24px}.learning-paper{padding:22px 20px 28px}.learning-paper-top{display:block}.learning-paper-top span{display:block}.learning-paper-top span+span{margin-top:6px}.learning-paper .prose{overflow-wrap:break-word}.learning-sidebar{grid-template-columns:1fr}.learning-game-card{padding:24px}.learning-hero-actions{gap:14px}.learning-hero-actions .btn{width:100%}body.magic-theme .learning-paper .prose h2{font-size:23px}body.page-item .wrap-narrow{width:calc(100% - 32px)}body.page-item .article-head h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){.learning-path-grid>a{transition:none}}
