/* October refresh: only the library home, never the church or adult library. */
.header{position:relative;z-index:12}
.main-nav{gap:34px;font-size:15px;align-self:stretch}
.main-nav>a{display:flex;align-items:center;padding:0;white-space:nowrap}
.main-nav a::after{content:none}
.nav-group{position:relative;display:flex;align-content:center}
.nav-group>summary{cursor:pointer;list-style:none;min-height:48px;display:flex;align-items:center;gap:6px;white-space:nowrap}
.nav-group>summary::-webkit-details-marker{display:none}
.nav-group>summary::after{content:none}
.nav-group[open]>summary{color:var(--green)}
.nav-group:not([open])>.nav-panel{display:none}
.nav-group>summary:focus-visible{outline:3px solid #ec8665;outline-offset:4px}
.nav-panel{position:absolute;top:calc(50% + 25px);left:-20px;min-width:200px;padding:13px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 35px #2341331c;display:grid;gap:2px}
.nav-group:last-child .nav-panel{left:auto;right:-15px;min-width:265px}
.nav-group:nth-child(3) .nav-panel{min-width:300px}
.nav-panel a,.nav-panel button{display:block;text-align:left;padding:10px 12px;font-size:14px;line-height:1.6;font-weight:400;border-radius:5px;white-space:normal}
.nav-panel a:hover,.nav-panel button:hover{background:#f0f7f3;color:#176957}
.nav-panel a span{display:block;color:#7b8d83;font-size:11px}
.club-links{border-left:2px solid #dcece4;margin:0 0 4px 12px;padding-left:3px}
.club-links button{font-size:12px}
.nav-subgroup>summary{cursor:pointer;list-style:none;padding:10px 12px;min-height:44px;border-radius:5px;font-size:14px;line-height:1.6}
.nav-subgroup>summary::-webkit-details-marker{display:none}
.nav-subgroup>summary::after{content:none}
.nav-subgroup>summary:focus-visible{outline:3px solid #ec8665;outline-offset:2px}
.nav-subgroup[open]>summary{color:var(--green);background:#f0f7f3}
.nav-subgroup:not([open])>.club-links{display:none}
.nav-panel button{min-height:44px}
.mobile-nav .nav-group{display:block}
.mobile-nav .nav-panel{position:static;min-width:0!important;box-shadow:none;border:0;border-radius:0;border-left:2px solid #deebe3;margin:2px 0 12px;padding:3px 10px}
.mobile-nav .nav-group>summary{justify-content:space-between}
.mobile-nav{max-height:calc(100dvh - 115px);overflow-y:auto;overscroll-behavior:contain;gap:8px}
.mobile-nav>a,.mobile-nav>button{padding:10px 0;min-height:44px}
.hero-gallery{position:absolute;inset:0;overflow:hidden;background:#ede6d6}
.hero-notice-carousel[hidden],.hero-notice-controls[hidden],.closure-card[hidden],.hero-showcase[hidden],.hero[hidden],.hero-notice[hidden]{display:none}
.hero-showcase.no-featured-notices,.hero-showcase.no-hero-photos{grid-template-columns:minmax(0,1fr)}
.new-books-and-closure.no-closure>.new-books-content{grid-column:1/-1}
.program-poster{position:relative;overflow:hidden}
.program-custom-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}
.hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:65% 55%;opacity:0;transition:opacity 1.4s ease-in-out}
.hero-photo.is-active{opacity:1}
.hero-photo:nth-child(2){object-position:70% 57%}
.hero-photo:nth-child(3){object-position:70% 62%}
body:not([data-design]) .hero-art{display:none}
.hero-showcase{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(300px,1fr);gap:24px;width:min(90%,1320px);margin:24px auto;align-items:stretch}
body:not([data-design]) .hero{height:auto;min-height:420px;background:#faf5e7;border-radius:18px}
body:not([data-design]) .hero::after{content:none}
.hero-notice{min-width:0;align-self:stretch;display:flex;flex-direction:column;background:#fff}
.hero-notice-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
.hero-notice-head h2{font:23px/1.4 var(--round)}
.hero-notice-head>a{display:flex;align-items:center;gap:4px;font-size:12px;color:#55776a;white-space:nowrap}
.hero-notice-head svg{width:16px;height:16px}
.hero-notice-poster{display:block;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.hero-notice-poster img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#fff}
.hero-notice-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0 0;font-size:13px;line-height:1.6;word-break:keep-all}
.hero-notice-caption>span{display:flex;align-items:center;gap:3px;font-size:11px;color:#55776a;white-space:nowrap}
.hero-notice-caption svg{width:15px;height:15px}
.hero-notice-window{overflow:hidden}
.hero-notice-track{display:flex;align-items:start;transition:transform .65s ease}
.hero-notice-slide{flex:0 0 100%;min-width:0}
@media(prefers-reduced-motion:reduce){.hero-notice-track{transition:none}}
body[data-design] .hero-showcase{display:block;width:100%;margin:0}
body[data-design] .hero-notice{display:none}
.library-search{padding:24px 5%;background:#fbfaf5;border-bottom:1px solid var(--line)}
.library-search #search-form{max-width:700px;height:65px;margin:0 auto;border-width:2px;box-shadow:0 7px 18px #46593f12}
.quick-links{grid-template-columns:repeat(4,minmax(0,1fr))}
.quick-links strong{word-break:keep-all}
.book-controls{justify-content:flex-end}
#book-grid .book-cover+h3{margin-top:16px}
.new-books-and-closure{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:26px;align-items:start}
.new-books-content{grid-column:span 4;min-width:0}
.closure-card{grid-column:span 2;min-width:0;padding:24px;border:1px solid #e8ddcb;border-radius:20px;background:#fffaf2;box-shadow:0 8px 28px #6d57370a;word-break:keep-all;display:flex;flex-direction:column}
.closure-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.closure-heading>div{min-width:0}
.closure-eyebrow{display:flex;align-items:center;gap:8px;font-size:10px;line-height:1.5;color:#746657;margin:0 0 9px}
.closure-eyebrow time{border:1px solid #e4d9c7;border-radius:99px;padding:2px 7px;font-size:9px;color:#776149;white-space:nowrap}
.closure-icon{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:14px;background:#e5eee5;color:#3e7563;transform:rotate(7deg)}
.closure-icon svg{width:23px;height:23px;transform:rotate(-7deg)}
.closure-heading h3{font:30px/1.25 var(--round);letter-spacing:-.025em;white-space:nowrap}
.closure-heading h3>span{color:#e96c40}
.closure-dates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0;margin:20px 0 0;list-style:none}
.closure-dates>li{min-width:0;border:1px solid #e8dfd0;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 3px 0 #eadecb55}
.closure-dates time{display:flex;flex-direction:column;align-items:center;text-align:center;padding:0 5px 13px;min-width:0}
.closure-weekday{display:block;align-self:stretch;margin:0 -5px 9px;padding:6px 3px;background:#f3e9da;color:#765c42;font-size:11px;font-weight:700}
.closure-number{font:700 42px/1.15 Pretendard,sans-serif;color:#29483b;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.closure-reason{font-size:11px;line-height:1.6;font-weight:700;color:#b35d3d;margin-top:6px;white-space:nowrap}
.closure-special{display:flex;align-items:center;gap:10px;margin-top:16px;border:1px dashed #dfbaa0;border-radius:11px;padding:11px 12px;background:#fff3e7}
.closure-special-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#f8dfc9;color:#b3623f;flex:none}
.closure-special-icon svg{width:16px;height:16px}
.closure-special p{margin:0;display:grid;gap:3px}
.closure-special strong{font-size:12px;line-height:1.5;color:#8d5134}
.closure-special p>span{font-size:10px;line-height:1.6;color:#896349}
.closure-weekly{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:16px;padding:0 1px;color:#577363}
.closure-weekly p{display:flex;align-items:center;gap:5px;font-size:10px;margin:0}
.closure-weekly svg{width:13px;height:13px}
.closure-weekly>strong{font-size:12px;line-height:1.6;font-weight:700;white-space:nowrap}
.closure-link{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding-top:13px;border-top:1px solid #e8ddcb;margin-top:16px;font-size:12px;font-weight:700;color:#3d6e5c}
.closure-link svg{width:18px;height:18px}
.closure-link:hover{color:#c45c35}
@media(min-width:1100px) and (max-width:1160px){.new-books-and-closure{gap:18px}.closure-card{padding:20px}.closure-heading h3{font-size:28px}.closure-icon{width:34px;height:34px}}
@media(max-width:1099px){.new-books-and-closure{grid-template-columns:1fr;gap:28px}.new-books-content{grid-column:1}.closure-card{grid-column:1;width:100%;max-width:520px;justify-self:center;padding:26px}.closure-heading h3{font-size:32px}.closure-dates{gap:12px}.closure-number{font-size:46px}}
@media(max-width:600px){.closure-card{padding:22px}.closure-heading h3{font-size:30px}.closure-dates{gap:8px}.closure-number{font-size:42px}}
.new-books-controls{display:flex;gap:8px;flex-shrink:0}
.new-books-controls[hidden]{display:none}
.new-books-controls button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #c7ddd1;border-radius:50%;background:#f1f7f2;color:#24765e;font-size:26px;line-height:1}
.new-books-controls button:hover:not(:disabled){background:#24765e;color:#fff}
.new-books-controls button:disabled{opacity:.35;cursor:default}
.new-books-grid{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 72px)/4);gap:24px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#b6cfc1 transparent;padding-bottom:12px}
.new-books-grid:focus-visible{outline:2px solid #24765e;outline-offset:4px}
.new-books-grid>.new-book-card{scroll-snap-align:start}
@media(min-width:1251px){.new-books-and-closure.no-closure .new-books-grid{grid-auto-columns:calc((100% - 120px)/6)}}
.new-books-grid:empty{display:none}
.new-books-month-picker{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-bottom:12px;color:#346253;font-weight:700}
.new-books-month-picker[hidden]{display:none}
.new-books-month-picker select{min-height:44px;max-width:100%;padding:6px 12px;border:1px solid #c7ddd1;border-radius:9px;background:#fff;color:inherit;font:inherit}
.new-books-month-picker select:focus-visible{outline:2px solid #24765e;outline-offset:3px}
.new-books-status{padding:24px;margin-bottom:24px;background:#f1f7f2;border-radius:12px;color:#557267;font-size:14px;line-height:1.8;word-break:keep-all}
.new-books-retry[hidden]{display:none}
.new-books-status button{margin-left:12px;color:#176957;font-weight:700;text-decoration:underline;min-height:44px}
.new-book-card{min-width:0;display:flex;flex-direction:column;gap:16px}
.new-book-cover{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:4/5;background:#f4f7ef;border-radius:12px;overflow:hidden;padding:15px}
.new-book-cover img{position:absolute;inset:0;display:block;width:100%;height:100%;padding:inherit;object-fit:contain}
.new-book-cover-empty{font:20px/1.5 var(--round);text-align:center;color:#729382;padding:12px;word-break:keep-all}
.new-book-body{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px;flex:1}
.new-book-title{font-size:18px;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere}
.new-book-meta{font-size:12px;line-height:1.8;color:#698075;word-break:keep-all;overflow-wrap:anywhere}
.new-book-summary{font-size:13px;line-height:1.8;color:#596d62;word-break:keep-all;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.new-book-detail{font-size:13px;color:#24765e;font-weight:700;padding:8px 0;margin-top:auto;min-height:40px}
.new-book-dialog{padding:36px;max-height:90dvh;overflow:auto}
.new-book-dialog-content{display:grid;grid-template-columns:minmax(110px,180px) minmax(0,1fr);gap:28px}
.new-book-dialog .new-book-summary{display:block;overflow:visible;-webkit-line-clamp:unset;white-space:pre-wrap}
.new-book-dialog .new-book-title{font:30px/1.4 var(--round)}
.new-book-dialog button{min-height:44px}
.library-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:26px 0}
.library-gallery-item{margin:0;min-width:0}
.library-gallery-item>a{display:block}
.library-gallery-image{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:10px;background:#f1f4ef}
.library-gallery-item figcaption{font-size:13px;line-height:1.6;color:#4f6253;margin-top:8px;word-break:keep-all}
body[data-design] .hero-gallery{display:none}
.periodicals{border-top:1px solid var(--line);padding-bottom:48px}
.periodical-controls{display:flex;gap:10px}
.periodical-controls button{width:48px;height:48px;border-radius:50%;border:1px solid #b8cde1;background:#eff7ff;color:#2464b7;font-size:24px}
.periodical-controls button:last-child{background:#2e78bf;color:#fff;border-color:#2e78bf}
.periodical-controls button:disabled{opacity:.35}
.periodical-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 84px)/4);gap:28px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:10px 0 18px;scrollbar-width:thin;scrollbar-color:#b9ccc0 transparent}
.periodical-track:focus-visible{outline:3px solid #ec8665;outline-offset:4px}
.periodical-card{min-width:0;scroll-snap-align:start;padding:16px 25px 20px;background:#f6f8f3;border-radius:8px}
.periodical-cover{display:block;width:100%;height:auto;aspect-ratio:165/220;object-fit:contain;background:#fff;box-shadow:4px 7px 12px #2335291a}
/* The bookstore's square Golf Journal image has white side gutters. */
.periodical-cover.cover-golf{object-fit:cover}
.periodical-card h3{font-size:17px;margin-top:18px}
.periodical-card p{font-size:12px;color:#6e7f72;margin-top:5px;line-height:1.7}
.periodical-help{display:grid;align-content:center;background:#edf6f2}
.periodical-help svg{color:#3f8d7b;width:35px;height:35px}
.periodical-help h3{font:29px/1.4 var(--round);margin:20px 0}
.periodical-help a{display:inline-block;margin-top:20px;font-size:14px;color:#267661;text-decoration:underline}
body:not([data-design]) .program-section{background:#fff}
.program-and-hours{display:block;padding-top:24px}
.program-and-hours .section-head{align-items:center}
.program-and-hours .section-head h2{font-size:30px}
.program-and-hours .month-label{font-size:11px;white-space:nowrap}
.program-and-hours .program-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}
.program-and-hours .program-card{display:flex;flex-direction:column;min-width:0}
.program-and-hours .program-poster{height:206px;padding:22px 18px}
.program-and-hours .poster-title{font-size:26px}
.program-and-hours .poster-eyebrow{font-size:8px}
.program-and-hours .program-body{padding:18px 16px;flex:1;display:flex;flex-direction:column}
.program-and-hours .program-body h3{font-size:17px;min-height:51px}
.program-and-hours .program-body>p{font-size:12px;align-items:flex-start}
.program-and-hours .program-bottom{gap:4px;flex-wrap:wrap;margin-top:auto}
.program-and-hours .program-bottom>span{display:none}
.program-bottom>.program-apply-link{display:flex;align-items:center;gap:14px;font-size:14px;font-weight:700;color:#267967}
.program-and-hours .program-meta{flex-wrap:wrap}
.program-and-hours .visit{padding:28px 24px;min-height:350px;margin-top:0;min-width:0;display:flex;flex-direction:column;align-self:stretch;height:auto}
.program-and-hours .visit>.text-button{margin-top:auto;align-self:flex-start}
.program-and-hours .visit h2{font-size:26px}
.program-and-hours .visit dl{grid-template-columns:minmax(70px,.9fr) minmax(0,1.1fr);gap:16px 9px;font-size:12px}
.program-and-hours .visit dd{font-size:12px}
.visit-location{font-size:12px;color:#756d3c;position:relative;z-index:1;margin:22px 0 12px}
.program-and-hours .visit-book{width:120px;height:120px;opacity:.25}
.info-section{grid-template-columns:1fr;padding-top:10px}
@media(max-width:1250px){.main-nav{gap:25px;font-size:14px}.header{gap:15px}.header .bag-link>span{display:none}}
@media(min-width:900px) and (max-width:1160px){
 .program-and-hours .program-grid{gap:14px}
 .program-and-hours .program-poster{padding:18px 14px;height:195px}
 .program-and-hours .poster-title{font-size:24px}
 .program-and-hours .program-body{padding:16px 13px}
 .program-and-hours .program-body h3{font-size:16px;min-height:72px}
 .program-and-hours .visit{padding:20px 15px;min-height:0}
 .program-and-hours .visit h2{font-size:22px}
 .program-and-hours .visit dl{grid-template-columns:1fr;gap:5px;margin:18px 0 12px}
 .program-and-hours .visit dd{margin-bottom:9px}
 .program-and-hours .visit .section-kicker{font-size:11px}
 .program-and-hours .visit .text-button{font-size:12px;gap:6px}
 .visit-location{margin-top:12px}
}
@media(min-width:600px) and (max-width:899px){.program-and-hours .program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.program-and-hours .visit{min-height:0}}
@media(max-width:1050px){.main-nav{display:none}.menu-toggle{display:grid}}
@media(max-width:900px){.hero-showcase{grid-template-columns:1fr;gap:22px}body:not([data-design]) .hero{min-height:0;height:auto;aspect-ratio:16/9}.hero-notice{width:100%;max-width:480px;justify-self:center}.periodical-track{grid-auto-columns:calc((100% - 48px)/3);gap:24px}.periodical-card{padding:16px}.new-books-grid{grid-auto-columns:calc((100% - 40px)/3);gap:20px}}
@media(max-width:600px){
 .hero-showcase{margin:16px auto 22px;gap:18px}
 body:not([data-design]) .hero{border-radius:12px;aspect-ratio:3/2}
 .hero-notice-head h2{font-size:21px}
 .library-search{padding:20px 5%}
 .library-search #search-form{height:58px;margin:0 auto}
 .quick-links{grid-template-columns:repeat(2,minmax(0,1fr))}
 .quick-links>*:nth-child(odd){border-left:0}
 .quick-links>*:nth-child(even){border-left:1px dashed var(--line)}
 .library-gallery{grid-template-columns:1fr}
 .new-books-grid{grid-auto-columns:calc((100% - 16px)/2);gap:16px}
 .new-book-cover{padding:12px}
 .new-book-title{font-size:16px}
 .new-book-dialog{padding:32px 23px}
 .new-book-dialog-content{grid-template-columns:1fr;gap:20px}
 .new-book-dialog-content>.new-book-cover{width:min(180px,70%);justify-self:center}
 .hero-photo{object-position:50% 65%}.hero-photo:nth-child(2),.hero-photo:nth-child(3){object-position:50% 65%}
 .periodical-track{grid-auto-columns:calc((100% - 18px)/2);gap:18px}.periodical-card{padding:12px}.periodical-card h3{font-size:15px}.periodical-card p{font-size:11px}
 .periodical-controls{gap:7px}.periodical-controls button{width:43px;height:43px}
 .periodicals .section-head h2{font-size:29px}.periodical-help h3{font-size:22px}
 .program-and-hours{padding-top:12px}
 .program-and-hours .program-poster{height:210px;padding:25px}.program-and-hours .poster-title{font-size:32px}.program-and-hours .poster-eyebrow{font-size:10px}
 .program-and-hours .program-body{padding:22px}.program-and-hours .program-body h3{font-size:20px;min-height:0}
 .program-and-hours .section-head{align-items:flex-start;gap:8px}
}
@media(max-width:599px){.program-and-hours .program-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.hero-photo,.periodical-track{transition:none;scroll-behavior:auto}}
