/* Homepage library: scoped so the rest of the homepage is unaffected. */
.home-library{background:#e7e5da;color:#243a30;padding:6.5rem 1.25rem 3rem;overflow:hidden}
.home-library-cover.has-cover{padding:0;border:0;background:transparent}
.home-library-cover.has-cover .home-library-cover-image{background:transparent}
.home-library-inner{max-width:1100px;margin:0 auto}
.home-library-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:3rem;padding-bottom:3.25rem}
.home-library-eyebrow{display:block;color:#9a6a4d;font-size:.75rem;font-weight:800;letter-spacing:.04em}
.home-library-eyebrow span{color:#bca893;padding:0 .4rem}
.home-library h2{color:#1c382a;font-size:clamp(2.5rem,4.5vw,4.4rem);line-height:1.45;letter-spacing:-.055em;margin:1rem 0 0}
.home-library h2 em{font-style:normal;color:#80917d}
.home-library-heading>p{max-width:19rem;color:#647267;line-height:2.2;margin:0 0 .7rem;font-size:.95rem}
.home-library-tools{border-top:1px solid #b6bfb0;border-bottom:1px solid #b6bfb0;padding:1.5rem 0}
.home-library-search{display:flex;align-items:center;min-height:65px;background:#f8f7f0;border:1px solid #cdd2c5;padding:.5rem}
.home-library-search-icon{font:2.2rem Georgia,serif;line-height:1;margin:0 1.1rem;color:#697a6d;transform:rotate(-35deg)}
.home-library-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#243a30;font:inherit;font-size:.94rem;padding:1rem 1rem}
.home-library-search input::placeholder{color:#879187;opacity:1}
.home-library-search:focus-within{outline:2px solid #947755;outline-offset:2px}
.home-library-search button{font:inherit;font-size:.88rem;font-weight:800;border:0;background:#284b38;color:#fff;padding:.85rem 1.4rem;cursor:pointer;white-space:nowrap;transition:background .2s}
.home-library-search button:hover{background:#3c654c}.home-library-search button span{margin-right:1.5rem}
.home-library-topics{display:flex;align-items:flex-start;gap:1.5rem;margin-top:1.25rem;font-size:.8rem}
.home-library-topics>span{color:#7c897c;white-space:nowrap}.home-library-topics>div{display:flex;gap:.5rem;flex-wrap:wrap}
.home-library-topics a{display:inline-block;border:1px solid #c5cbbd;color:#43594a;padding:.35rem .8rem;transition:background .2s,border-color .2s}.home-library-topics a:hover{background:#d7ddcf;border-color:#8b9d88;text-decoration:none}
.home-library-shelf-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;padding:4.5rem 0 1.75rem}
.home-library-shelf-heading h3{font-size:1.6rem;color:#263e30;margin:.6rem 0 0}.home-library-shelf-heading>a{color:#355640;font-weight:800;font-size:.86rem;border-bottom:1px solid #9cae99;padding-bottom:.45rem;white-space:nowrap}.home-library-shelf-heading>a:hover{text-decoration:none;border-color:#355640}.home-library-shelf-heading>a span{margin-right:1rem}
.home-library-shelf{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3rem 1.6rem}
.home-library-item{position:relative;min-width:0;text-align:center}.home-library-book-link{display:flex;align-items:flex-end;justify-content:center;height:245px;padding:0 1rem 1px;position:relative}.home-library-book-link:after{content:'';position:absolute;bottom:-8px;right:0;left:0;height:9px;background:linear-gradient(#a88f6d,#765b40 45%,#604b36);box-shadow:0 8px 11px #3b3e2b22;pointer-events:none}
.home-library-cover{position:relative;display:flex;flex-direction:column;justify-content:space-between;text-align:start;width:150px;max-width:100%;height:220px;padding:1rem .85rem;background:#536e5a;color:#f4ead3;border-right:5px solid #0002;box-shadow:-7px 6px 10px #26342835,inset 3px 0 5px #ffffff16;transform-origin:bottom center;transition:transform .35s ease,box-shadow .35s ease}
.home-library-item:nth-child(3n+2) .home-library-cover{height:233px}.home-library-item:nth-child(4n) .home-library-cover{height:208px}.home-library-book-link:hover .home-library-cover,.home-library-book-link:focus-visible .home-library-cover{transform:translateY(-12px) rotate(2deg);box-shadow:-10px 15px 15px #26342835}
.home-library-tone-1 .home-library-cover{background:#a16e55}.home-library-tone-2 .home-library-cover{background:#435c5c}.home-library-tone-3 .home-library-cover{background:#b29a70;color:#243c30}.home-library-tone-4 .home-library-cover{background:#755b55}.home-library-tone-5 .home-library-cover{background:#778571}
.home-library-cover-top,.home-library-cover-bottom{display:flex;justify-content:space-between;align-items:center;direction:ltr;font:8px Arial,sans-serif;letter-spacing:.13em;border-bottom:1px solid currentColor;padding-bottom:.55rem;opacity:.8}.home-library-cover-top i{font-style:normal}.home-library-cover-bottom{border:0;border-top:1px solid currentColor;padding:.55rem 0 0}.home-library-cover-bottom b{font-size:17px;font-weight:normal}.home-library-cover-title{font-family:Georgia,serif;font-size:1.02rem;font-weight:bold;line-height:1.35;overflow:hidden;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow-wrap:anywhere}
.home-library-book-info{padding:1.55rem .25rem 0}.home-library-book-info h4{font-size:.95rem;line-height:1.7;margin:0 0 .3rem;overflow-wrap:anywhere}.home-library-book-info h4 a{color:#263d30}.home-library-book-info p{color:#748175;font-size:.78rem;margin:0 0 .3rem}.home-library-book-info>span{color:#879285;font-size:.73rem}.home-library-mobile-link{display:none}
.home-library-empty{padding:3rem 0;border-top:1px solid #b6bfb0;color:#617062}.home-library-empty a{color:#355640;font-weight:bold}
.home-library-foot{display:flex;justify-content:space-between;gap:1rem;border-top:1px solid #b6bfb0;margin-top:4rem;padding-top:1.6rem;color:#7b8a7b;font-size:.76rem}.home-library-foot span:last-child{font:10px Arial,sans-serif;letter-spacing:.15em;direction:ltr}
.home-library a:focus-visible,.home-library button:focus-visible{outline:2px solid #96714e;outline-offset:4px}
@media(max-width:760px){.home-library{padding:4rem 1.25rem 2.5rem}.home-library-heading{display:block;padding-bottom:2rem}.home-library h2{font-size:2.5rem}.home-library-heading>p{margin:1.3rem 0 0}.home-library-search-icon{margin:0 .75rem}.home-library-search input{font-size:.8rem}.home-library-search button{padding:.75rem;font-size:.8rem}.home-library-search button span{margin-right:.4rem}.home-library-topics{display:block}.home-library-topics>div{margin-top:.7rem}.home-library-shelf-heading{padding:3rem 0 1.5rem;align-items:start;flex-direction:column}.home-library-shelf{display:block}.home-library-item{display:flex;align-items:center;gap:1.4rem;text-align:right;padding:1.4rem 0;border-top:1px solid #c4cbbd}.home-library-book-link{flex:0 0 112px;height:158px;padding:0 4px 1px}.home-library-book-link:after{bottom:-6px;height:7px}.home-library-cover,.home-library-item:nth-child(3n+2) .home-library-cover,.home-library-item:nth-child(4n) .home-library-cover{height:150px;width:102px;padding:.65rem .55rem}.home-library-cover-title{font-size:.75rem;-webkit-line-clamp:4}.home-library-cover-top,.home-library-cover-bottom{font-size:6px}.home-library-book-info{padding:0;min-width:0}.home-library-book-info h4{font-size:1rem}.home-library-mobile-link{display:block;color:#49664e;font-size:.77rem;font-weight:800;margin-top:.8rem}.home-library-foot{margin-top:2rem}.home-library-foot span:last-child{font-size:8px}}
@media(max-width:360px){.home-library-book-link{flex-basis:96px}.home-library-search input::placeholder{font-size:.7rem}}
@media(prefers-reduced-motion:reduce){.home-library-cover,.home-library-topics a,.home-library-search button{transition:none}}
.home-library-dialog[hidden]{display:none}.home-library-dialog-open{overflow:hidden}.home-library-dialog{position:fixed;inset:0;z-index:9999;background:rgba(20,32,24,.72);display:flex;align-items:center;justify-content:center;padding:1.25rem}.home-library-dialog-card{position:relative;display:grid;grid-template-columns:40% 60%;width: min(850px,100%);max-height:calc(100vh - 2.5rem);overflow:auto;background:#f5f3eb;box-shadow:0 22px 70px #1117;animation:library-enter .35s ease both}.home-library-dialog-art{display:flex;align-items:center;justify-content:center;min-height:420px;background:#bac2af;padding:3rem}.home-library-dialog-art .home-library-cover{width:190px;max-width:100%;height:270px;box-shadow:-12px 16px 25px #27372844}.home-library-dialog-copy{padding:4.5rem 3rem 3rem}.home-library-dialog-copy h3{color:#243c2e;font-size:clamp(1.6rem,3vw,2.6rem);line-height:1.5;margin:1rem 0}.home-library-dialog-copy p{color:#69786c;line-height:2;white-space:pre-line}.home-library-dialog-author{font-weight:700}.home-library-dialog-pages{border-top:1px solid #d1d7cb;padding-top:1rem;color:#7d8a7d;font-size:.85rem}.home-library-dialog-link{display:inline-block;margin-top:2rem;color:#2c503a;font-weight:bold;border-bottom:1px solid #9aaa9f;padding-bottom:.5rem}.home-library-dialog-close{position:absolute;top:.9rem;left:1rem;border:0;background:transparent;color:#425749;font-size:2rem;line-height:1;cursor:pointer;padding:.5rem;z-index:1}.home-library-dialog-close:focus-visible{outline:2px solid #96714e}.home-library-dialog-link span{margin-right:1rem}@keyframes library-enter{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}@media(max-width:650px){.home-library-dialog-card{display:block}.home-library-dialog-art{min-height:210px;padding:1.5rem}.home-library-dialog-art .home-library-cover{height:180px;width:125px}.home-library-dialog-copy{padding:2rem 1.5rem}.home-library-dialog-copy h3{font-size:1.5rem}.home-library-dialog-copy p{margin:.6rem 0}.home-library-dialog-link{margin-top:1rem}}@media(prefers-reduced-motion:reduce){.home-library-dialog-card{animation:none}}
.home-library-custom{max-width:22rem;color:#647267;line-height:2}.home-library-custom p{margin:0 0 1rem}.home-library-custom a{display:inline-block;background:#284b38;color:#fff;padding:.8rem 1.25rem;font-size:.88rem;font-weight:800}.home-library-custom a:hover{background:#3c654c;text-decoration:none}.home-library-custom a span{margin-right:1rem}
@media(max-width:760px){.home-library-custom{margin-top:1.5rem}}
.home-library-search-status{min-height:1.5em;margin:.75rem 0 0;color:#647267;font-size:.8rem}.home-library-search-status:empty{display:none}.home-library-topics a[aria-current]{background:#284b38;border-color:#284b38;color:#fff}.home-library-pagination{display:flex;align-items:center;justify-content:center;gap:1.25rem;margin:3rem 0 0;color:#647267;font-size:.85rem}.home-library-pagination button{font:inherit;color:#284b38;background:transparent;border:1px solid #afbdad;padding:.7rem 1.1rem;cursor:pointer}.home-library-pagination button:disabled{opacity:.4;cursor:default}.home-library-cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#e7e5da}
.home-library-dialog-actions{display:flex;align-items:center;flex-wrap:wrap;gap:1rem 1.5rem;margin-top:2rem}.home-library-dialog-actions .home-library-dialog-link{margin-top:0}.home-library-dialog-order{display:inline-block;background:#284b38;color:#fff;font-size:.88rem;font-weight:700;padding:.8rem 1.15rem}.home-library-dialog-order:hover{background:#3c654c;color:#fff;text-decoration:none}.home-library-dialog-order span{margin-right:.7rem}@media(max-width:650px){.home-library-dialog-actions{margin-top:1.2rem}}

.home-library-more-topics summary{display:inline-block;border:1px solid #9eaf9e;color:#355640;background:transparent;font:inherit;font-weight:700;padding:.35rem .8rem;cursor:pointer;list-style:none}.home-library-more-topics summary::-webkit-details-marker{display:none}.home-library-more-topics summary:after{content:" +"}.home-library-more-topics[open]{flex-basis:100%}.home-library-more-topics[open] summary:after{content:" −"}.home-library-more-topics>div{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.home-library-more-topics summary:hover{background:#d7ddcf}.home-library-more-topics summary:focus-visible{outline:2px solid #96714e;outline-offset:4px}
.home-library-item .home-library-cover.has-cover,.home-library-dialog-art .home-library-cover.has-cover{padding:0;border:0;background:transparent}
.home-library-book-info>span{display:inline-block;margin-top:.35rem;color:#244a36;font-size:.95rem;font-weight:800}
.home-library-item{cursor:pointer}
