/* The public "learn" pages (routers/learn.py): sample solved pages for search engines and students. Uses home.css for the header, hero and store buttons. */
.hero.slim { padding: 44px 0 52px; }
.hero.slim h1 { max-width: 18em; }
.learn { padding: 34px 0 10px; }
.learn h2 { font-size: 26px; margin: 34px 0 12px; }
.learn p, .learn li { max-width: 46em; }
.pages { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 18px 0 8px; }
.pages figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: 0 8px 22px rgba(31, 63, 120, .1); }
.pages img { display: block; width: 100%; height: auto; border-radius: 8px; background: #fff; }
.pages figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 30px; padding-bottom: 40px; }
.page-text { margin: 14px 0 6px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; max-width: 52em; }
.page-text summary { cursor: pointer; font-weight: 600; }
.page-text h3 { font-size: 17px; margin: 16px 0 6px; }
.page-text p { font-size: 15px; line-height: 1.6; }
.page-text .fine-print { color: var(--muted); font-size: 14px; }
