.rimis-paths.rimis-paths-three{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:1.25rem}.rimis-paths-three .rimis-path{flex-direction:column;min-width:0;height:100%;display:flex}.rimis-paths-three .rimis-path-bottom{flex-wrap:wrap;gap:.6rem;margin-top:auto;padding-top:1.5rem}.rimis-path-foundations{background:linear-gradient(145deg,#edf3e7,#f7f6ee);border-color:#d3dfc7}.foundation-page{padding-bottom:4rem}.foundation-hero{grid-template-columns:minmax(0,1fr) 260px;align-items:center;gap:3rem;padding:2.5rem 0 3rem;display:grid}.foundation-hero h1{font-family:var(--font-heading,Georgia,serif);letter-spacing:-.035em;max-width:16ch;margin:.8rem 0 1.25rem;font-size:clamp(2.1rem,4vw,3.7rem);line-height:1.1}.foundation-hero p{max-width:60ch;line-height:1.8}.foundation-reassurance{color:#596451;margin-top:1rem;font-size:.96rem}.foundation-hero-model{color:#426144;background:#eef3e6;border:1px solid #dce5d1;border-radius:40% 40% 2rem 2rem;flex-wrap:wrap;place-content:center;align-items:center;gap:1rem;min-height:230px;display:flex}.foundation-hero-model>span{font:600 2.5rem Georgia,serif}.foundation-hero-model small{text-align:center;flex-basis:100%;padding-top:1rem;font-size:.85rem}.foundation-subject-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;margin-top:1.5rem;display:grid}.foundation-subject{background:#fffef8;border:1px solid #dce3d2;border-radius:1.4rem;flex-direction:column;min-width:0;padding:1.7rem;display:flex}.foundation-subject h3{margin:.6rem 0;font-size:1.8rem;line-height:1.2}.foundation-subject>p{line-height:1.75}.foundation-subject-footer{flex-wrap:wrap;align-items:center;gap:1.25rem;margin-top:auto;padding-top:1.5rem;display:flex}.foundation-next{background:#eef3e7;border:1px solid #dce5d1;border-radius:1.25rem;align-items:center;gap:1.5rem;margin-top:2rem;padding:1.5rem;display:flex}.foundation-next h2,.foundation-next h3{font:600 1.25rem var(--font-heading,Georgia,serif);margin-bottom:.5rem}.foundation-next p{max-width:65ch;line-height:1.75}.foundation-next>.rimis-text-link{white-space:nowrap;margin-inline-start:auto}.foundation-outline{margin-top:2rem}.foundation-outline-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1.25rem;display:flex}.foundation-outline h2{margin:.5rem 0;font-size:1.8rem}.foundation-outline-heading p{max-width:65ch;line-height:1.75}.foundation-chapter{margin-top:2.2rem}.foundation-chapter>h3{align-items:center;gap:.8rem;margin-bottom:.75rem;font-size:1.05rem;font-weight:650;display:flex}.foundation-chapter>h3>span{color:#63745a;font-size:.8rem}.foundation-chapter ol{gap:.6rem;padding:0;list-style:none;display:grid}.foundation-lesson-row{background:#fffef8;border:1px solid #dbe3d2;border-radius:.9rem;align-items:center;gap:1rem;min-height:80px;padding:1.1rem 1.2rem;transition:background .15s;display:flex}.foundation-lesson-row:hover{background:#edf3e6}.foundation-lesson-row>span:nth-child(2){flex:1;min-width:0}.foundation-lesson-row strong{font-size:1.05rem;line-height:1.5;display:block}.foundation-lesson-label{color:#5e6d54;font-size:.78rem;display:block}.foundation-lesson-number{color:#496541;flex-shrink:0;width:2rem;font:600 1.3rem Georgia,serif}.foundation-lesson-row.is-unavailable{opacity:.7}.foundation-resource{background:#edf3e6;border-radius:1rem;padding:1.5rem}.foundation-resource p{margin-bottom:1rem;line-height:1.75}@media (width<=1000px){.rimis-paths.rimis-paths-three{grid-template-columns:1fr}.rimis-paths-three .rimis-path{height:auto}.foundation-hero{grid-template-columns:1fr 200px;gap:1.5rem}}@media (width<=640px){.foundation-hero{grid-template-columns:1fr;padding-top:1.5rem}.foundation-hero-model{display:none}.foundation-subject-grid{grid-template-columns:1fr}.foundation-subject{padding:1.25rem}.foundation-next{flex-direction:column;align-items:flex-start;gap:.75rem}.foundation-next>.rimis-text-link{white-space:normal;margin-inline-start:0}.foundation-lesson-row{gap:.6rem;padding:.9rem}.foundation-outline-heading{align-items:flex-start}.foundation-lesson-row strong{font-size:1rem}}
