/* Learning Degree section. Every rule is scoped under .ldg-section so nothing leaks into the rest of the site. */
.ldg-section{--g:#0e3b2d;--g2:#14684c;--teal:#1fa88a;--gold:#d9961c;--gold2:#c68512;--peach:#fdecd2;--grey:#eceeed;--ink:#17231d;--line:#e3ddd1;color:var(--ink);font-family:inherit;line-height:1.65;background:#fff;padding-bottom:3.5rem}
.ldg-section *,.ldg-section *::before,.ldg-section *::after{box-sizing:border-box}
.ldg-section a{color:inherit}
.ldg-section .ldg-wrap{max-width:64rem;margin:0 auto;padding:0 1rem}
.ldg-section svg{flex:none}
.ldg-section .ldg-badge,.ldg-section .ldg-tag{display:inline-block;padding:.28rem .85rem;border-radius:999px;font-size:.78rem;font-weight:700;letter-spacing:.05em}
.ldg-section .ldg-badge{background:var(--gold);color:#1d1604}
.ldg-section .ldg-tag{background:var(--g);color:#fff}
/* hub */
.ldg-section .ldg-hero{background:#f3f2ee;padding:2.2rem 0 2rem;border-bottom:3px solid var(--gold)}
.ldg-section .ldg-h1{margin:.8rem 0 .6rem;font-family:Georgia,'Times New Roman',serif;font-size:2.2rem;line-height:1.15;font-weight:700;color:var(--g);max-width:36rem}
.ldg-section .ldg-lead{margin:0;font-size:1.05rem;color:#222;max-width:36rem}
.ldg-section .ldg-bar{background:#e7e8e6;padding:1.2rem 0 1.1rem}
.ldg-section .ldg-search{display:flex;align-items:center;gap:.6rem;background:#fff;border:1px solid #cfd3cf;border-radius:.5rem;padding:.35rem .5rem .35rem .8rem;color:#6a746e;max-width:36rem}
.ldg-section .ldg-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:1rem;color:var(--ink);padding:.4rem 0}
.ldg-section .ldg-search button{border:0;border-radius:.4rem;background:var(--g);color:#fff;font:inherit;font-weight:700;font-size:.9rem;padding:.45rem 1rem;cursor:pointer}
.ldg-section .ldg-search button:hover{background:var(--g2)}
.ldg-section .ldg-pills{display:flex;flex-wrap:wrap;gap:.55rem;margin:1rem 0 0}
.ldg-section .ldg-pill{display:inline-flex;align-items:center;padding:.4rem 1.1rem;border-radius:999px;background:#fff;border:1px solid #cfd3cf;color:var(--g);font-size:.92rem;font-weight:600;text-decoration:none}
.ldg-section .ldg-pill:hover{border-color:var(--g)}
.ldg-section .ldg-pill.is-on{background:var(--g);border-color:var(--g);color:#fff}
.ldg-section .ldg-headrow{display:flex;align-items:baseline;justify-content:space-between;margin:1.8rem 0 1rem}
.ldg-section .ldg-headrow h2{margin:0;font-size:1.05rem;letter-spacing:.03em;font-weight:800;color:#14201a}
.ldg-section .ldg-headrow a{font-weight:700;color:var(--g2);text-decoration:none}
.ldg-section .ldg-empty{padding:1.5rem 0}
.ldg-section .ldg-empty a{color:var(--g2);font-weight:700}
.ldg-section .ldg-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1.1rem}
.ldg-section .ldg-card{border-radius:.8rem;background:#fff;border:1px solid #d9ddd8;overflow:hidden;box-shadow:0 1px 3px rgba(14,59,45,.1);transition:box-shadow .15s,transform .15s}
.ldg-section .ldg-card:hover{box-shadow:0 8px 20px rgba(14,59,45,.16);transform:translateY(-2px)}
.ldg-section .ldg-art{position:relative;text-decoration:none;display:flex;align-items:center;justify-content:flex-end;height:7.2rem;padding:0 1.6rem;color:var(--g);background:var(--grey)}
.ldg-section .ldg-card{display:flex;flex-direction:column}
.ldg-section .ldg-card.t1 .ldg-art{background:var(--peach)}
.ldg-section .ldg-card.t2 .ldg-art{background:#dcefe8}
.ldg-section .ldg-art .ldg-tag{position:absolute;left:1rem;top:1rem}
.ldg-section .ldg-art svg{width:3.4rem;height:3.4rem;stroke-width:1.3}
.ldg-section .ldg-card-body{display:flex;flex-direction:column;gap:.5rem;padding:.9rem 1rem 1.1rem;flex:1}
.ldg-section .ldg-card-title{margin:0;font-size:1.18rem;line-height:1.3;color:var(--g)}
.ldg-section .ldg-card-title a{text-decoration:none;color:var(--g)}
.ldg-section .ldg-card-title a:hover{text-decoration:underline}
.ldg-section .ldg-meta{display:flex;gap:.5rem;margin:0;font-size:.8rem;font-weight:700;color:var(--g2)}
.ldg-section .ldg-meta span{padding:.12rem .6rem;border-radius:999px;background:#e9f3ef}
.ldg-section .ldg-snip{margin:0}
.ldg-section .ldg-btns{display:grid;grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:.6rem;margin-top:.5rem}
.ldg-section .ldg-snip{font-size:.92rem;line-height:1.5;color:#3d4a43;flex:1}
.ldg-section .ldg-go{display:flex;align-items:center;justify-content:center;gap:.4rem;width:100%;min-height:2.8rem;margin:0;padding:.5rem 1rem;border:2px solid var(--gold);border-radius:.6rem;background:var(--gold);color:#1d1604;font-family:inherit;font-size:.9rem;font-weight:700;letter-spacing:.04em;line-height:1.2;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer;box-shadow:0 1px 2px rgba(14,59,45,.18);transition:background .15s,border-color .15s,color .15s,box-shadow .15s,transform .15s;-webkit-appearance:none;appearance:none}
.ldg-section .ldg-go:hover{background:var(--gold2);border-color:var(--gold2);box-shadow:0 4px 10px rgba(14,59,45,.2);transform:translateY(-1px)}
.ldg-section .ldg-go:focus-visible{outline:3px solid var(--teal);outline-offset:2px}
.ldg-section .ldg-go-o{background:#fff;border-color:var(--g);color:var(--g);letter-spacing:.02em;box-shadow:none}
.ldg-section .ldg-go-o::after{content:"\2192";font-size:1.05em;line-height:1}
.ldg-section .ldg-go-o:hover{background:var(--g);border-color:var(--g);color:#fff;box-shadow:0 4px 10px rgba(14,59,45,.2)}
.ldg-section .ldg-pager{display:flex;gap:1rem;align-items:center;justify-content:flex-end;margin:1.6rem 0 0;font-weight:600}
.ldg-section .ldg-pager a{display:inline-flex;align-items:center;justify-content:center;width:2.2rem;height:2.2rem;border-radius:50%;border:1.5px solid var(--g);text-decoration:none;color:var(--g)}
.ldg-section .ldg-pager a:hover{background:var(--g);color:#fff}
/* individual page */
.ldg-section .ldg-crumbs{display:inline-block;margin:1rem 0 .5rem;padding:.35rem .9rem;border-radius:999px;background:#f1efea;font-size:.8rem;color:#4b5a53;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ldg-section .ldg-crumbs a{text-decoration:none}
.ldg-section .ldg-phead{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin:.4rem 0 1.4rem}
.ldg-section .ldg-kicker{margin:0 0 .5rem;font-size:.8rem;font-weight:800;letter-spacing:.12em;color:var(--g2)}
.ldg-section .ldg-logo{flex:none;width:5.2rem;height:5.2rem}
.ldg-section .ldg-num{color:var(--gold2)}
.ldg-section .ldg-title{margin:0 0 .8rem;font-family:Georgia,'Times New Roman',serif;font-size:2.1rem;line-height:1.15;font-weight:700;color:#14201a}
.ldg-section .ldg-sub{margin:0;font-size:1.02rem;display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}
.ldg-section .ldg-sub a{color:var(--g);font-weight:700;text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:.2em;text-decoration-thickness:2px}
.ldg-section .ldg-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:1.4rem}
.ldg-section .ldg-sec{margin:0 0 1.5rem}
.ldg-section .ldg-sec h2{margin:0 0 .45rem;font-size:1.4rem;line-height:1.3;font-weight:700;color:#14201a}
.ldg-section .ldg-text p{margin:0 0 .8rem;font-size:1rem;color:#1d2a24}
.ldg-section .ldg-anchor{color:var(--g2);font-weight:600;text-decoration:underline;text-underline-offset:.2em}
.ldg-section .ldg-apply{border-radius:.8rem;background:var(--g);color:#fff;padding:1.2rem 1.2rem 1.3rem;text-align:center}
.ldg-section .ldg-apply strong{display:block;font-family:Georgia,serif;font-size:1.5rem;color:var(--gold);margin-bottom:.3rem}
.ldg-section .ldg-apply p{margin:0 0 1rem;font-size:.92rem;color:#e6efe9}
.ldg-section .ldg-apply input{width:100%;margin:0 0 .7rem;padding:.6rem .8rem;border:0;border-radius:.4rem;font:inherit;color:var(--ink)}
.ldg-section .ldg-apply .ldg-go{width:100%}
.ldg-section .ldg-apply .ldg-know{display:block;margin-top:.8rem;color:#fff;font-weight:700;font-size:.9rem;text-decoration:underline}
.ldg-section .ldg-diagram{margin:1.2rem 0 1rem;padding:1.3rem 1.2rem 1.5rem;border-radius:1rem;background:var(--peach);border:1px solid #f0d6a8}
.ldg-section .ldg-diagram h2{margin:0 0 1.2rem;font-size:1.3rem;line-height:1.3;font-weight:700;color:#14201a;text-align:center}
.ldg-section .ldg-flow{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1.2rem}
.ldg-section .ldg-node{position:relative;display:flex;flex-direction:column;border-radius:.5rem;background:#fff;border:1px solid #d9c9a8;box-shadow:0 2px 6px rgba(0,0,0,.08);min-width:0}
.ldg-section .ldg-node-tag{display:block;padding:.3rem .6rem;border-radius:.5rem .5rem 0 0;background:#d8d7d2;font-size:.82rem;font-weight:800;text-align:center;color:#2b3631}
.ldg-section .ldg-node.n3 .ldg-node-tag{background:var(--gold);color:#1d1604}
.ldg-section .ldg-node.n5 .ldg-node-tag{background:var(--g);color:#fff}
.ldg-section .ldg-node-t{display:flex;align-items:center;justify-content:center;flex:1;padding:.8rem .7rem;text-align:center;font-weight:700;font-size:.98rem;line-height:1.3}
.ldg-section .ldg-node:not(:last-child)::after{content:"";position:absolute;left:50%;bottom:-.95rem;margin-left:-.45rem;border:.45rem solid transparent;border-top:.6rem solid var(--teal)}
.ldg-section .ldg-foot{margin:1.2rem 0 0;padding:1.2rem 0 .5rem;border-top:1px solid var(--line)}
.ldg-section .ldg-btn-o{display:inline-flex;align-items:center;padding:.45rem 1rem;border-radius:999px;border:1.5px solid var(--g);font-weight:700;font-size:.88rem;color:var(--g);text-decoration:none}
.ldg-section .ldg-btn-o:hover{background:var(--g);color:#fff}
@media (min-width:640px){
.ldg-section .ldg-h1{font-size:2.7rem}
.ldg-section .ldg-title{font-size:2.6rem}
.ldg-section .ldg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:900px){
.ldg-section .ldg-layout{grid-template-columns:minmax(0,1fr) 17rem;gap:2.2rem;align-items:start}
.ldg-section .ldg-side{position:sticky;top:1.2rem}
.ldg-section .ldg-flow{flex-direction:row;align-items:stretch;gap:1.4rem}
.ldg-section .ldg-node{flex:1 1 0}
.ldg-section .ldg-node:not(:last-child)::after{left:auto;right:-1.15rem;bottom:auto;top:50%;margin:-.45rem 0 0;border:.45rem solid transparent;border-left:.65rem solid var(--teal)}
}

/* Learn Degree form (dialog sits outside .ldg-section, so its rules are scoped to .ldg-dialog) */
.ldg-dialog{border:0;border-radius:.9rem;padding:0;width:min(26rem,92vw);box-shadow:0 20px 50px rgba(0,0,0,.3);color:#17231d;font-family:inherit}
.ldg-dialog::backdrop{background:rgba(10,25,20,.55)}
.ldg-dialog .ldg-form{position:relative;display:flex;flex-direction:column;gap:.35rem;padding:1.5rem 1.4rem 1.4rem;background:#fff}
.ldg-dialog h2{margin:0 0 .2rem;font-family:Georgia,'Times New Roman',serif;font-size:1.5rem;color:#0e3b2d}
.ldg-dialog .ldg-form-for{margin:0 0 .6rem;font-size:.9rem;color:#4b5a53}
.ldg-dialog label{font-size:.85rem;font-weight:700;margin-top:.4rem}
.ldg-dialog input[type=text],.ldg-dialog input[type=email]{width:100%;padding:.6rem .75rem;border:1px solid #cfd3cf;border-radius:.4rem;font:inherit;font-size:1rem}
.ldg-dialog input:focus{outline:2px solid #14684c;outline-offset:1px}
.ldg-dialog .ldg-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.ldg-dialog .ldg-x{position:absolute;right:.7rem;top:.5rem;border:0;background:transparent;font-size:1.7rem;line-height:1;cursor:pointer;color:#4b5a53}
.ldg-dialog .ldg-form-msg{min-height:1.2rem;margin:.4rem 0 0;font-size:.9rem}
.ldg-dialog .ldg-form-msg.is-ok{color:#14684c;font-weight:700}
.ldg-dialog .ldg-form-msg.is-err{color:#b3261e}
.ldg-dialog .ldg-submit{display:block;margin-top:.4rem;border:2px solid #d9961c;border-radius:.4rem;background:#d9961c;color:#1d1604;font:inherit;font-weight:800;padding:.65rem 1rem;cursor:pointer}
.ldg-dialog .ldg-submit:hover{background:#c68512;border-color:#c68512}
.ldg-dialog .ldg-submit:disabled{opacity:.6;cursor:default}
@media (min-width:900px){.ldg-section .ldg-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
