@page{size:auto;margin:16mm}
.anansi-page{--ink:#3f342b;--accent:#78513a;background:#faf6ed;color:var(--ink);font-family:Georgia,'Times New Roman',serif;margin:0}
.anansi-page main{max-width:1120px;margin:0 auto;padding:48px 32px 64px;display:block}
.anansi-page a{color:#64442f;text-underline-offset:4px}
.anansi-page a:focus-visible,.anansi-page button:focus-visible,.anansi-page summary:focus-visible{outline:3px solid #38716c;outline-offset:5px}
.anansi-page .collection-heading,.anansi-page .story-heading{text-align:center;max-width:850px;margin:0 auto 30px}
.anansi-page h1{font-size:clamp(2.2rem,5vw,4rem);line-height:1.12;font-weight:500;margin:16px 0 20px;color:#45372b}
.anansi-page h2{font-size:1.75rem;line-height:1.25;color:#45372b}
.anansi-page .eyebrow{font:700 .8rem/1.5 Arial,sans-serif;text-transform:uppercase;letter-spacing:.14em;color:#78634c}
.anansi-page .deck{font-size:1.35rem;line-height:1.6}
.anansi-page p{line-height:1.8}
.anansi-page .introduction{max-width:760px;margin:0 auto;font-size:1.1rem}
.anansi-page .image-hint{text-align:center;font: .88rem/1.6 Arial,sans-serif;color:#685d4e;margin:26px 0}
.anansi-page .story-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin:32px 0 48px}
.anansi-page .story-card{background:#fffdf7;border:1px solid #ded4bf;border-radius:5px;overflow:hidden;box-shadow:0 3px 12px #45372b06}
.anansi-page figure.photo{margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;max-width:none;width:100%}
.anansi-page figure.photo a{display:block;cursor:zoom-in}
.anansi-page figure.photo img{display:block;width:100%;height:auto;object-fit:contain;max-height:none;border-radius:0}
.anansi-page figure.photo figcaption{font:italic .91rem/1.5 Georgia,serif;text-align:center;color:#655747;padding:12px 16px;background:transparent}
.anansi-page .story-card .card-copy{padding:4px 28px 28px}
.anansi-page .story-card h2{font-size:1.6rem;margin:12px 0}
.anansi-page .story-card h2 a{text-decoration:none}
.anansi-page .story-card h2 a:hover{text-decoration:underline}
.anansi-page .theme{color:#695741;font:italic 1.05rem/1.6 Georgia,serif}
.anansi-page .read-story{display:inline-block;padding:10px 0;font-weight:bold}
.anansi-page .retelling{font:.85rem/1.5 Arial,sans-serif;color:#685d4e}
.anansi-page .scene-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:14px 24px;margin:0 auto 25px;padding:20px 0;border-block:1px solid #ded4bf;font:.9rem/1.6 Arial,sans-serif}
.anansi-page .story-text{max-width:740px;margin:auto;font-size:1.15rem}
.anansi-page .scene{padding:16px 0 28px;scroll-margin-top:24px}
.anansi-page .scene h2{margin:16px 0 24px}
.anansi-page .scene p{margin:0 0 1.05em}
.anansi-page .scene figure{margin:30px 0 10px}
.anansi-page .story-end{max-width:740px;margin:24px auto 36px;display:flex;justify-content:space-between;gap:24px;border-top:1px solid #ded4bf;padding-top:24px;line-height:1.6}
.anansi-page .sources{max-width:760px;margin:35px auto 0;border-top:1px solid #ded4bf;padding-top:24px;font:.9rem/1.7 Arial,sans-serif;color:#655747;background:none}
.anansi-page .sources summary{cursor:pointer;font-weight:bold}
.anansi-page .anansi-footer{display:flex;justify-content:space-between;gap:20px;max-width:1120px;margin:0 auto;padding:24px 32px 40px;border-top:1px solid #ded4bf;font:.9rem/1.6 Arial,sans-serif}
@media(max-width:640px){.anansi-page main{padding:28px 20px 40px}.anansi-page .story-grid{grid-template-columns:1fr;gap:24px}.anansi-page .story-text{font-size:1.08rem}.anansi-page .story-heading h1{font-size:2.25rem}.anansi-page .story-end{flex-direction:column}.anansi-page .scene-nav{gap:12px 18px}}
@media print{.anansi-page{background:white;color:#111}.anansi-page main{padding:0;max-width:none}.anansi-page .site-header,.anansi-page .skip,.anansi-page .scene-nav,.anansi-page .image-hint,.anansi-page .story-end,.anansi-page .anansi-footer,.anansi-page dialog{display:none!important}.anansi-page .story-text{font-size:11pt;max-width:none}.anansi-page .story-text p{line-height:1.5;orphans:3;widows:3}.anansi-page figure.photo{break-inside:avoid;max-width:120mm;margin:15px auto}.anansi-page h2{break-after:avoid}.anansi-page .story-grid{display:block}.anansi-page .story-card{break-inside:avoid;margin-bottom:24px}.anansi-page .sources{font-size:9pt}.anansi-page h1{font-size:28pt}}
