/* Reusable holiday artwork. Content retains its original layout in base mode. */
.bk-seasonal-motif,.bk-seasonal-footer-motif,.bk-seasonal-reading-motif{display:none}
.bk-seasonal-heading-copy{display:contents}
html .bk-seasonal-decor-heading{display:flex;align-items:center;justify-content:space-between;gap:clamp(12px,2vw,28px)}
html .bk-seasonal-heading-copy{display:block;min-width:0;flex:1}
html .bk-seasonal-motif{display:block;position:relative;flex:0 0 clamp(90px,11vw,156px);width:clamp(90px,11vw,156px);height:clamp(90px,11vw,156px);pointer-events:none;user-select:none;contain:layout paint}
.bk-seasonal-motif>span,.bk-seasonal-motif>svg{display:none;width:100%;height:100%}
html[data-seasonal-theme="halloween"] .bk-seasonal-motif-halloween{display:block;background:center/contain no-repeat}
html[data-seasonal-theme="halloween"] .bk-seasonal-motif-0>.bk-seasonal-motif-halloween{background-image:url('/assets/seasonal/halloween-ghost-v1.webp')}
html[data-seasonal-theme="halloween"] .bk-seasonal-motif-1>.bk-seasonal-motif-halloween{background-image:url('/assets/seasonal/halloween-skeleton-v1.webp')}
html[data-seasonal-theme="halloween"] .bk-seasonal-motif-2>.bk-seasonal-motif-halloween{background-image:url('/assets/seasonal/halloween-pumpkins-v1.webp')}
html[data-seasonal-theme="newyear"] .bk-seasonal-motif-newyear,html[data-seasonal-theme="march8"] .bk-seasonal-motif-march8{display:block}
html .bk-seasonal-footer-motif{display:flex;justify-content:flex-end;max-width:1320px;margin:0 auto;padding:20px 4vw 0}
html .bk-library-hero .bk-seasonal-motif{flex-basis:180px;width:180px;height:180px}
html .bk-reading .bk-seasonal-motif{flex-basis:82px;width:82px;height:82px}
html .bk-library-grid .bk-seasonal-motif{flex-basis:76px;width:76px;height:76px}
html .bk-seasonal-reading-motif{display:flex;justify-content:flex-end;margin:10px 0}
html .bk-announcement .bk-seasonal-motif{flex-basis:92px;width:92px;height:92px}
html .bk-contact-footer .bk-seasonal-motif{flex-basis:100px;width:100px;height:100px}
@media(min-width:1600px){html .bk-seasonal-motif{flex-basis:176px;width:176px;height:176px}}
@media(max-width:900px){
 html .bk-seasonal-motif{flex-basis:100px;width:100px;height:100px}
 html .bk-library-hero .bk-seasonal-motif{flex-basis:112px;width:112px;height:112px}
}
@media(max-width:480px){
 html .bk-seasonal-decor-heading{gap:10px}
 html .bk-seasonal-motif,
 html .bk-library-hero .bk-seasonal-motif,
 html .bk-announcement .bk-seasonal-motif,
 html .bk-contact-footer .bk-seasonal-motif,
 html .bk-reading .bk-seasonal-motif{flex-basis:76px;width:76px;height:76px}
}
@media(max-width:380px){
 html .bk-seasonal-decor-heading{flex-wrap:wrap}
 html .bk-seasonal-heading-copy{flex-basis:100%}
 html .bk-seasonal-decor-heading>.bk-seasonal-motif{margin-left:auto}
}
@media(prefers-reduced-motion:no-preference){
 html[data-seasonal-theme="halloween"] .bk-seasonal-motif-halloween{animation:bk-character-arrive .65s ease-out both}
 @keyframes bk-character-arrive{from{opacity:.1;transform:translateY(8px) rotate(-3deg)}to{opacity:1;transform:none}}
}

/* Ordinary artwork reserves the same geometry as seasonal motifs. */
html[data-seasonal-theme="base"] .bk-seasonal-motif{background:url("/assets/seasonal-scenes/base-modules-v1.webp") center/contain no-repeat}
