.shelves{margin-top:48px;padding-block:3px 28px;border-bottom:1px solid var(--line)}
.shelf-title h2{font-size:clamp(25px,3vw,38px)}.shelf-grid,.film-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:19px}.shelf-grid>a,.film-grid article,.player-grid article,.student-work{background:#fffef9;border:1px solid var(--line);border-radius:13px;overflow:hidden}.shelf-grid>a:hover,.student-work:hover{border-color:var(--green)}.shelf-grid img,.film-grid img{width:100%;aspect-ratio:2.1;object-fit:cover;display:block}.shelf-grid>a:first-child img{object-position:center 51%}.shelf-grid>a:nth-child(3) img{object-position:50% 40%}.shelf-grid a>div,.film-grid article div,.player-grid article div,.student-work>div{padding:14px 17px 18px}.shelf-grid small,.play{font-weight:700;color:#913b23}.shelf-grid h3,.film-grid h3{margin:4px 0 2px;font-size:1.25rem;line-height:1.45}.shelf-grid h3 span{float:right}.shelf-grid p,.film-grid p,.player-grid p,.student-work p{margin:5px 0;font-size:.9rem;color:var(--muted)}
.find-row{display:flex;gap:12px;align-items:center;margin:-7px 0 22px;flex-wrap:wrap}.find-row label{font-weight:700;font-size:.9rem}.find-row input{border:1px solid #aeb6a7;border-radius:7px;background:#fffefa;font:inherit;max-width:100%;padding:7px 11px;width:290px;color:var(--ink)}.find-row span{margin-left:auto;font-size:.85rem;color:var(--muted)}.empty{padding:1.2rem;border:1px dashed var(--line);border-radius:8px}.empty[hidden]{display:none}
.hub,.resource-page{padding-bottom:48px}.hub .eyebrow,.resource-page .eyebrow{margin:26px 0 9px}.hub .lead,.resource-page .lead{max-width:53em}.hub section,.resource-page section,.detail .resources{margin-top:30px}.hub h1,.resource-page h1{font-size:clamp(32px,4vw,52px)}.jump{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:16px}.jump a{border:1px solid var(--line);background:#fffef9;padding:5px 12px;font-size:.9rem;border-radius:18px}.jump a:hover,.catalog a:hover{background:#edf2e6}
.library-subject h2 small{font-size:.85rem;font-weight:500;letter-spacing:0;color:var(--muted);padding-left:12px}.catalog{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 0;padding:0}.catalog li{display:flex}.catalog a{background:#fffef8;border:1px solid var(--line);border-radius:10px;display:block;width:100%;padding:12px 15px}.catalog span,.catalog strong{display:block}.catalog span{font-size:.76rem;color:#635f52}.catalog p{font-size:.86rem;margin:4px 0;color:var(--muted)}.scroll-table{overflow-x:auto;max-width:100%;margin:10px 0}.scroll-table td,.scroll-table th{vertical-align:top;font-size:.91rem}.resource-page table{min-width:420px}.printbar{display:flex;align-items:center;gap:15px;justify-content:space-between}.printbar h2{margin:0}.worksheet{margin:12px 0;border:1px solid var(--line);background:#fffef9;border-radius:10px;padding:16px 22px}.worksheet header{border:0}.worksheet header p{font-size:.83rem;color:var(--muted)}.worksheet .prompt{font-weight:700}.writing{padding-left:1.5em}.writing li{margin:12px 0}.writing li span{display:block;border-bottom:1px solid #b8c4b7;height:26px}
.poster-grid,.player-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:25px 0}.student-work{display:grid;grid-template-columns:43% 1fr}.student-work>a{background:#eeeade;display:flex;align-items:center;justify-content:center;padding:8px}.student-work img{display:block;width:100%;max-height:280px;object-fit:contain}.student-work>div{align-self:center}.student-work div a,.player-grid div a{font-size:.85rem;text-decoration:underline;text-underline-offset:4px;font-weight:700}.player-grid video{width:100%;display:block;background:#edeee4;aspect-ratio:1.78;object-fit:contain}.extract{display:flex;gap:12px;align-items:center;padding:8px 14px 8px 8px;border:1px solid var(--line);border-radius:10px;background:#fffef9}.extract img{width:70px;height:88px;object-fit:contain;background:#f0eee6}.extract span,.extract b{display:block;font-size:.9rem}.extract b{color:var(--muted);font-size:.77rem;font-weight:500}
@media(max-width:850px){.student-work{display:block}.student-work img{height:280px}.catalog{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){header nav>div{gap:10px;font-size:.76rem}nav .brand{font-size:.91rem;white-space:nowrap}nav .brand b{width:25px;height:25px;font-size:21px}.shelves{margin-top:30px;padding-bottom:20px}.shelf-grid,.film-grid,.player-grid,.poster-grid,.catalog{grid-template-columns:1fr;gap:12px}.shelf-grid>a{display:grid;grid-template-columns:32% 1fr}.shelf-grid img{width:100%;height:100%;min-height:100px}.shelf-grid a>div{padding:10px 12px}.shelf-grid h3{font-size:1.06rem}.shelf-grid p{font-size:.8rem}.find-row{gap:7px}.find-row input{width:55%;min-width:100px}.find-row span{font-size:.78rem}.student-work{display:grid;grid-template-columns:36% 1fr}.student-work img{height:auto}.hub .lead{font-size:1rem}.catalog a{padding:10px 12px}.player-grid h2,.student-work h2{font-size:1.07rem}.student-work>div{padding:12px}.resources .voices{display:grid}.scroll-table td,.scroll-table th{font-size:.82rem}}
@media print{body:has(.worksheet){background:white}body:has(.worksheet)>header,body:has(.worksheet)>footer,.resource-page:has(.worksheet)>:not(section:has(.worksheet)),.resource-page:has(.worksheet)>section:not(:has(.worksheet)),.resource-page .printbar,.skip{display:none}.resource-page,.resource-page section{margin:0!important;padding:0!important;max-width:none}.worksheet{border:0}.worksheet .writing li{break-inside:avoid}.worksheet .writing li span{height:17mm}}
