/* The full bookshelf, using the same header, footer and covers as the homepage. */
.books-page main{overflow:hidden}.books-page nav a[aria-current=page]{color:#d82e75;text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:8px}.books-intro{position:relative;isolation:isolate;overflow:hidden;padding:44px 6% 39px;background:#fff9e9;text-align:center;border-bottom:5px solid white}.books-eyebrow{font:900 11px/1.4 Adventure,'Trebuchet MS',sans-serif;color:#008c89;letter-spacing:1.7px;text-transform:uppercase}.books-intro>.books-eyebrow{display:inline-block;background:white;border-radius:30px;padding:7px 17px;margin-bottom:15px}.books-intro h1{font:800 clamp(48px,5.2vw,78px)/1.02 Clubhouse,'Trebuchet MS',sans-serif;letter-spacing:-1.6px;color:#103657}.books-intro h1 em{font-style:normal;color:#e73680}.books-welcome{font:700 18px/1.6 Adventure,'Trebuchet MS',sans-serif;color:#4d6c80;max-width:650px;margin:14px auto 0}.books-intro-tags{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:21px;font:900 12px/1.4 Adventure,'Trebuchet MS',sans-serif}.books-intro-tags span{padding:9px 15px;border-radius:15px;background:#ffe0eb;color:#b72f6d}.books-intro-tags span:nth-child(2){background:#ffebaa;color:#94701c}.books-intro-tags span:nth-child(3){background:#cbf1e8;color:#087a73}.books-spark{position:absolute;z-index:-1;font-size:53px;color:#ffcd4d;line-height:1;pointer-events:none}.books-spark-left{left:9%;top:74px;transform:rotate(-12deg)}.books-spark-right{right:10%;bottom:45px;transform:rotate(14deg);color:#b59ae0;font-size:41px}.books-collection{padding:42px 5% 57px}.books-collection-inner{max-width:1280px;margin:auto}.books-collection-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:25px}.books-collection-heading .books-eyebrow{font-size:10px;margin-bottom:7px;color:#d8568b}.books-collection-heading h2{font:800 clamp(31px,3vw,43px)/1.1 Clubhouse,'Trebuchet MS',sans-serif;letter-spacing:-.5px;color:#103657}.books-collection-heading>p{max-width:310px;font:600 14px/1.7 Adventure,'Trebuchet MS',sans-serif;color:#5e7786}.books-page .book-series{gap:25px}.books-page .series-card{scroll-margin-top:24px;border-radius:28px;box-shadow:0 7px 0 #bbddd9;position:relative}.books-page .series-card:focus{outline:0}.books-page .series-card:focus-visible{outline:4px solid #e73680;outline-offset:7px}.books-page .series-cover{padding:24px 30px;background:#caf2e8}.books-page .series-card:nth-child(2) .series-cover{background:#ffe7ac}.books-page .series-card:nth-child(3) .series-cover{background:#dce6ff}.books-page .series-cover img{aspect-ratio:621/810;object-fit:cover;box-shadow:7px 8px 0 #23456828}.books-page .series-copy{padding:23px 24px 26px}.books-page .series-copy .pill{font:900 10px/1.4 Adventure,'Trebuchet MS',sans-serif;letter-spacing:1px;background:#fff5d8;padding:6px 12px;margin-bottom:12px}.books-page .series-copy h3{font:800 30px/1.1 Clubhouse,'Trebuchet MS',sans-serif;letter-spacing:-.4px;color:#234568}.books-page .series-copy p{font:600 15px/1.75 Adventure,'Trebuchet MS',sans-serif;color:#577185;margin:15px 0 20px}.books-page .series-copy .tags{font:900 10px/1.4 Adventure,'Trebuchet MS',sans-serif;word-spacing:1px;color:#008c89;margin-top:auto;padding-top:8px}.books-page .series-copy .button{font:900 14px/1.4 Adventure,'Trebuchet MS',sans-serif;padding:12px 19px;min-height:49px;margin-top:22px;border-radius:15px}.books-next{padding:0 6% 60px}.books-next>div{max-width:1050px;margin:auto;text-align:center;background:#ffdf87;border:5px solid white;border-radius:28px;box-shadow:0 7px 0 #e4c46c;padding:30px 25px 35px}.books-next>div>span{display:block;font:800 37px/1 Clubhouse,sans-serif;color:#df4080;margin-bottom:10px}.books-next h2{font:800 38px/1.05 Clubhouse,'Trebuchet MS',sans-serif;letter-spacing:-.5px;color:#103657}.books-next p{font:600 16px/1.6 Adventure,'Trebuchet MS',sans-serif;color:#57717d;margin:13px auto 22px;max-width:610px}.books-next-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:17px}.books-next-actions .button{font:900 15px/1.4 Adventure,'Trebuchet MS',sans-serif;min-height:51px}.books-page dialog{max-width:470px;font-family:Adventure,'Trebuchet MS',sans-serif;color:#234568;border:4px solid white;box-shadow:0 7px 0 #b9dcd8}.books-page dialog h3{font:800 31px/1.05 Clubhouse,'Trebuchet MS',sans-serif;letter-spacing:-.5px}.books-page dialog p{font-size:15px;line-height:1.7}.books-page dialog .button{min-height:49px;font:900 14px/1.4 Adventure,'Trebuchet MS',sans-serif}.books-page #book-preview h3{font-size:31px}.books-page #book-preview .status{font-size:12px}.books-page #book-preview img{max-height:290px}
@media(max-width:980px) and (min-width:761px){.books-page .book-series{gap:16px}.books-page .series-cover{padding:20px}.books-page .series-copy{padding:20px 18px 24px}.books-page .series-copy h3{font-size:26px}.books-page .series-copy p{font-size:14px}.books-page .series-copy .tags{font-size:9px}.books-collection-heading>p{max-width:255px}.books-spark-left{left:5%}.books-spark-right{right:5%}}
@media(max-width:760px){.books-intro{padding:31px 5% 28px}.books-intro h1{font-size:49px;letter-spacing:-1px;max-width:370px;margin:auto}.books-intro>.books-eyebrow{font-size:8px;letter-spacing:1px;padding:7px 12px;margin-bottom:13px}.books-welcome{font-size:15px;max-width:330px;margin-top:12px}.books-intro-tags{gap:8px;font-size:10px;margin-top:18px}.books-intro-tags span{padding:8px 10px;border-radius:12px}.books-spark-left{left:3%;top:58px;font-size:29px}.books-spark-right{right:3%;bottom:90px;font-size:27px}.books-collection{padding:31px 5% 43px}.books-collection-heading{display:block;text-align:center;margin-bottom:23px}.books-collection-heading h2{font-size:34px;max-width:330px;margin:auto}.books-collection-heading .books-eyebrow{font-size:9px;margin-bottom:9px}.books-collection-heading>p{font-size:14px;max-width:320px;margin:12px auto 0}.books-page .book-series{gap:30px}.books-page .series-card{border-radius:25px;scroll-margin-top:20px}.books-page .series-cover{padding:24px 45px}.books-page .series-copy{padding:24px}.books-page .series-copy h3{font-size:31px}.books-page .series-copy p{font-size:15px}.books-page .series-copy .tags{font-size:10px}.books-page .series-copy .button{font-size:14px}.books-next{padding:0 5% 44px}.books-next>div{padding:27px 18px 30px;border-radius:25px;border-width:4px}.books-next h2{font-size:32px;max-width:270px;margin:auto}.books-next p{font-size:14px;max-width:300px}.books-next-actions{gap:13px}.books-next-actions .button{font-size:13px;padding:12px 18px}.books-page dialog{width:90vw;padding:26px 22px}}

/* Learn with Yaqub is a separate illustrated learning collection. */
.learn-collection{background:#e8f6ed;border-bottom:5px solid white}
.learn-collection .books-collection-heading .books-eyebrow{color:#087a73}
.books-page .learn-series-books{grid-template-columns:1fr;max-width:1080px;margin:auto}
.books-page .learn-collection .series-card{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
.books-page .learn-collection .series-cover{padding:28px;background:#f9e8b8;text-decoration:none;align-items:center}
.books-page .learn-collection .series-cover img{aspect-ratio:1;object-fit:contain;max-width:410px;display:block}
.books-page .learn-collection .series-copy{justify-content:center;padding:34px}
.learn-availability{display:block;font:900 12px/1.5 Adventure,'Trebuchet MS',sans-serif;color:#906623;margin-top:19px}
.learn-book-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:20px}
.books-page .learn-book-actions .button{margin-top:0}
.learn-cover-link{padding:8px 0;border:0;background:none;color:#087a73;text-decoration:underline;text-underline-offset:4px;font:900 13px/1.5 Adventure,'Trebuchet MS',sans-serif}
@media(max-width:700px){.books-page .learn-collection .series-card{grid-template-columns:1fr}.books-page .learn-collection .series-cover{padding:24px 35px}.books-page .learn-collection .series-copy{padding:26px}.learn-book-actions{gap:14px 20px}.learn-availability{font-size:12px}}

/* Yaqub and His Cousins has its own storybook collection. */
.cousins-collection .series-cover{background:#deecd0;text-decoration:none}
.cousins-collection .series-cover:focus-visible{outline:4px solid #d82e75;outline-offset:-5px}
.treasure-page{color:#103657;font:600 17px/1.6 Adventure,'Trebuchet MS',sans-serif;background:#f0fbff}
.treasure-page main{overflow:hidden}.treasure-wrap{max-width:1180px;margin:auto}.treasure-page h1,.treasure-page h2,.treasure-page h3{font-family:Clubhouse,'Trebuchet MS',sans-serif;font-weight:800;letter-spacing:-.8px}
.treasure-page h1{font-size:clamp(48px,5.4vw,76px);line-height:1.02;color:#103657;margin:0 0 20px}.treasure-page h2{font-size:clamp(33px,3.5vw,45px);line-height:1.1}.treasure-page h3{font-size:30px;line-height:1.15}.treasure-page p{margin:0}.treasure-page section{padding:54px 6%}.treasure-hero{background:#fff9e9;border-bottom:5px solid white}.treasure-back{display:inline-block;color:#44657d;text-decoration:none;font-size:13px;font-weight:900;margin:0 0 29px}.treasure-back:hover{text-decoration:underline}
.treasure-hero-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:65px;align-items:center}.treasure-cover{padding:28px 35px;background:#deecd0;border:5px solid white;border-radius:29px;box-shadow:0 7px 0 #bededb}.treasure-cover img{display:block;width:100%;height:auto;max-width:350px;margin:auto;border-radius:3px;box-shadow:7px 9px 0 #264f4325}.treasure-intro .books-eyebrow{margin-bottom:16px}.treasure-intro>p:not(.books-eyebrow){color:#4c6a82;max-width:580px;font-size:17px;line-height:1.75}.treasure-intro .treasure-tagline{color:#008c89!important;font-weight:900;font-size:21px!important;margin-bottom:15px}
.treasure-facts{list-style:none;display:flex;gap:9px;flex-wrap:wrap;padding:0;margin:22px 0 27px}.treasure-facts li{font-size:11px;font-weight:900;line-height:1.5;border:2px solid white;border-radius:18px;background:#e2f0dd;padding:6px 11px;color:#4d6b44}.treasure-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.treasure-text-link{font-size:14px;font-weight:900;text-underline-offset:5px;color:#147c79}
.treasure-section-heading{margin:0 0 26px}.treasure-section-heading .books-eyebrow{margin:0 0 12px}.treasure-section-heading>p:last-child:not(.books-eyebrow){color:#4c6a82;margin-top:12px}.treasure-reading-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.treasure-reading-card{display:flex;align-items:flex-start;flex-direction:column;padding:31px;background:#fff9e9;border:5px solid white;border-radius:27px;box-shadow:0 7px 0 #bededb}.treasure-reading-card:nth-child(2){background:#e6edff}.treasure-reading-mark{display:block;font-size:33px;line-height:1;color:#008c89;margin-bottom:15px}.treasure-reading-card p{color:#4c6a82;font-size:16px;line-height:1.7;margin:15px 0 25px;flex:1}.treasure-reading-card .button{font-size:14px}.treasure-reading-note{font-size:13px;color:#526c82;margin-top:27px!important}.treasure-reading-note a{text-underline-offset:4px}
.treasure-cover-preview{background:#fff9e9;border-block:5px solid white}.treasure-full-cover{margin:0;background:white;border:5px solid white;border-radius:17px;overflow:hidden;box-shadow:0 7px 0 #e2d5af}.treasure-full-cover img{display:block;width:100%;height:auto}.treasure-family{text-align:center}.treasure-family p{color:#4c6a82;margin:15px 0 25px}.treasure-family .treasure-actions{justify-content:center}
@media(max-width:950px){.treasure-hero-grid{gap:35px;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}.treasure-cover{padding:24px}.treasure-intro>p:not(.books-eyebrow){font-size:16px}.treasure-page h1{font-size:55px}.treasure-reading-card{padding:25px}}
@media(max-width:700px){.treasure-page section{padding:35px 6%}.treasure-back{margin-bottom:25px}.treasure-hero-grid{grid-template-columns:1fr;gap:31px}.treasure-cover{max-width:350px;width:100%;margin:auto;padding:23px 35px}.treasure-intro{text-align:center}.treasure-page h1{font-size:52px}.treasure-intro .books-eyebrow{font-size:9px}.treasure-intro .treasure-tagline{font-size:19px!important}.treasure-facts{justify-content:center;margin:20px 0 24px}.treasure-actions{flex-direction:column;gap:19px}.treasure-actions .button{width:100%;max-width:330px;text-align:center}.treasure-reading-grid{grid-template-columns:1fr;gap:25px}.treasure-reading-card{padding:25px}.treasure-reading-card h3{font-size:29px}.treasure-reading-card .button{width:100%;text-align:center}.treasure-section-heading .books-eyebrow{font-size:9px}.treasure-page h2{font-size:35px}.treasure-section-heading>p:last-child:not(.books-eyebrow){font-size:14px}.treasure-full-cover{border-width:3px;border-radius:10px}}
