.slg-books{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.slg-book-card{min-width:0;overflow:hidden;border:1px solid var(--line,var(--v2-border));border-radius:20px;background:var(--paper-strong,var(--v2-card));box-shadow:0 12px 32px #173a6010}.slg-book-stage{position:relative;isolation:isolate;height:340px;display:grid;place-items:center;perspective:1100px;overflow:hidden;background:radial-gradient(circle at 50% 35%,#fff 1%,#eaf2f9 56%,#dce9f4)}.slg-book-card:nth-child(2) .slg-book-stage{background:radial-gradient(circle at 50% 35%,#fff 1%,#edf4f2 56%,#deebe8)}.slg-book-halo{position:absolute;width:290px;height:290px;border:1px solid #cbdceb;border-radius:50%;box-shadow:0 0 0 37px #fff6,0 0 0 76px #fff3;z-index:-1}.slg-book-ground{position:absolute;bottom:26px;left:25%;width:55%;height:28px;border-radius:50%;background:#263d6255;filter:blur(15px);z-index:-1}.slg-book-object{position:relative;display:block;width:190px;height:246px;transform-style:preserve-3d;transform:rotateY(-23deg) rotateZ(-3deg);filter:drop-shadow(18px 17px 14px #314e6750);transition:transform .45s cubic-bezier(.22,1,.36,1),filter .45s;outline-offset:8px}.slg-book-card:nth-child(2) .slg-book-object{transform:rotateY(-24deg) rotateZ(3deg)}.slg-book-object:hover,.slg-book-object:focus-visible,.slg-book-card:nth-child(2) .slg-book-object:hover,.slg-book-card:nth-child(2) .slg-book-object:focus-visible{transform:rotateY(-7deg) rotateZ(0) translateY(-9px) scale(1.04);filter:drop-shadow(20px 22px 17px #314e6760)}.slg-book-object:focus-visible,.slg-book-copy a:focus-visible{outline:3px solid #4e8bca}.slg-book-spine{position:absolute;top:0;left:-25px;width:27px;height:100%;transform-origin:right center;transform:rotateY(-90deg);background:linear-gradient(90deg,#112b4e,#2b557c 72%,#0e284a);border-radius:2px}.slg-book-pages{position:absolute;top:5px;right:-15px;width:17px;height:237px;transform-origin:left center;transform:rotateY(90deg);background:repeating-linear-gradient(180deg,#fff 0,#fff 2px,#d6d8d8 3px);border-right:1px solid #9aabb5}.slg-book-front{position:absolute;inset:0;transform:translateZ(15px);overflow:hidden;border-radius:2px 5px 5px 2px;background:#fff;box-shadow:inset 5px 0 8px #fff6,inset -6px 0 9px #0c234444}.slg-book-front::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fff7 0,#fff0 9%,#09294825 12%,#fff0 18%);pointer-events:none}.slg-book-fallback{position:absolute;inset:0;display:grid;place-content:center;text-align:center;padding:15px;background:linear-gradient(160deg,#f7faff,#dcebf5);color:#133e69;font:800 17px/1.6 ui-sans-serif,system-ui,sans-serif}.slg-book-front img{position:relative;width:100%;height:100%;object-fit:fill;display:block}.slg-book-index{position:absolute;top:18px;right:18px;border:1px solid #cad8e4;border-radius:999px;background:#ffffffd9;color:#405870;padding:5px 9px;font-size:11px;font-weight:800}.slg-book-copy{padding:20px 23px 24px}.slg-book-copy>span{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted,var(--v2-muted));font-weight:850}.slg-book-copy h3{font-size:21px;line-height:1.2;letter-spacing:-.035em;margin:7px 0;color:var(--ink,var(--v2-ink))}.slg-book-copy p{color:var(--muted,var(--v2-muted));font-size:13px;line-height:1.6;margin:0 0 17px;min-height:40px}.slg-book-copy a{display:inline-flex;border:1px solid #245d9d;background:#245d9d;color:#fff;padding:10px 14px;border-radius:10px;text-decoration:none;font-size:12px;font-weight:800}.slg-book-copy a:hover{background:#174879}
:root[data-theme="dark"] .slg-book-card{background:#142338;border-color:#354960}:root[data-theme="dark"] .slg-book-stage,:root[data-theme="dark"] .slg-book-card:nth-child(2) .slg-book-stage{background:radial-gradient(circle at 50% 35%,#35506a,#1a3048 64%,#14263a)}:root[data-theme="dark"] .slg-book-halo{border-color:#53718c;box-shadow:0 0 0 37px #ffffff0b,0 0 0 76px #ffffff06}:root[data-theme="dark"] .slg-book-index{background:#1b3047;color:#e4f0fc;border-color:#526a83}
@media(max-width:850px){.slg-books{grid-template-columns:1fr}.slg-book-stage{height:320px}}@media(max-width:520px){.slg-book-stage{height:290px}.slg-book-object{width:166px;height:215px}.slg-book-pages{height:206px}.slg-book-copy p{min-height:0}}
@media(prefers-reduced-motion:reduce){.slg-book-object{transition:none}}
/* The signed-in Year 1 shelf uses the same covers in a compact layout. */
.hub-textbooks .slg-books{gap:12px}.hub-textbooks .slg-book-card{display:grid;grid-template-columns:minmax(145px,42%) minmax(0,1fr)}.hub-textbooks .slg-book-stage{height:235px}.hub-textbooks .slg-book-halo{width:190px;height:190px}.hub-textbooks .slg-book-object{width:115px;height:149px}.hub-textbooks .slg-book-spine{left:-18px;width:20px}.hub-textbooks .slg-book-pages{right:-11px;width:12px;height:140px}.hub-textbooks .slg-book-index{top:10px;right:9px;font-size:9px}.hub-textbooks .slg-book-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:15px}.hub-textbooks .slg-book-copy h3{font-size:17px}.hub-textbooks .slg-book-copy p{min-height:0;font-size:11px;margin-bottom:11px}.hub-textbooks .slg-book-copy a{font-size:11px;padding:8px 10px}.hub-textbooks .slg-book-fallback{font-size:11px}
@media(max-width:520px){.hub-textbooks .slg-book-card{grid-template-columns:1fr}.hub-textbooks .slg-book-stage{height:225px}.hub-textbooks .slg-book-copy{padding:15px 18px 18px}}
/* A deeper paper block, with the contact shadow below the last page. */
.slg-book-stage{--slg-book-depth:40px;--slg-book-half-height:123px}
.slg-book-ground{top:calc(50% + var(--slg-book-half-height) + 15px);bottom:auto;left:23%;width:58%;height:18px;background:#263d6266;filter:blur(10px);z-index:0}
.slg-book-object{z-index:1;filter:drop-shadow(1px 3px 2px #314e6722)}
.slg-book-object:hover,.slg-book-object:focus-visible,.slg-book-card:nth-child(2) .slg-book-object:hover,.slg-book-card:nth-child(2) .slg-book-object:focus-visible{filter:drop-shadow(2px 5px 3px #314e6728)}
.slg-book-spine{left:calc(2px - var(--slg-book-depth));width:var(--slg-book-depth);transform:translateZ(15px) rotateY(-90deg)}
.slg-book-pages{right:calc(2px - var(--slg-book-depth));width:var(--slg-book-depth);height:calc(100% - 10px);transform:translateZ(15px) rotateY(90deg);background:repeating-linear-gradient(180deg,#fcfcfa 0,#fcfcfa 2px,#d5d8d6 3px,#f6f7f4 4px);border-right:2px solid #aab6bc;box-shadow:inset 4px 0 5px #6a788333}
.home-book-feature .slg-book-stage{--slg-book-depth:44px;--slg-book-half-height:142.5px}
.hub-textbooks .slg-book-stage{--slg-book-depth:29px;--slg-book-half-height:74.5px}
:root[data-theme="dark"] .slg-book-ground{background:#071c32a6}
@media(max-width:650px){.home-book-feature .slg-book-stage{--slg-book-depth:38px;--slg-book-half-height:120px}}
@media(max-width:520px){.slg-book-stage{--slg-book-half-height:107.5px}}
