/* ===== BuildBin Christmas theme (seasonal, removable) =====
   Remove the CHRISTMAS THEME snippets from each page and delete this file to turn off. */
:root{--xm-red:#c8102e;--xm-green:#15803d;--xm-gold:#f2c14e}
header{position:relative;overflow:hidden;background:
 radial-gradient(700px 300px at 12% 115%,rgba(21,128,61,.28),transparent 70%),
 radial-gradient(700px 320px at 88% 115%,rgba(200,16,46,.24),transparent 70%),
 radial-gradient(1200px 400px at 50% -10%,#1e293b 0%,var(--brand) 70%)}
header .wrap{position:relative;z-index:2}
header .banner{box-shadow:0 0 0 1px rgba(242,193,78,.25),0 12px 40px rgba(200,16,46,.18)}
.xm-deco{position:absolute;pointer-events:none}
/* Falling snow over the header */
.xm-snow{left:0;top:0;width:100%;height:100%;z-index:1}
.xm-flake{position:absolute;top:-12px;width:7px;height:7px;border-radius:50%;background:#fff;opacity:.85;box-shadow:0 0 4px rgba(255,255,255,.7)}
.xm-flake.s{width:4px;height:4px;opacity:.65}.xm-flake.b{width:9px;height:9px;opacity:.9}
/* String of lights along the header bottom */
.xm-lights{left:0;bottom:0;width:100%;height:26px;display:flex;overflow:hidden;z-index:1}
.xm-bulb{flex:0 0 34px;width:34px;height:26px;display:block}
.xm-bulb .g{transform-box:fill-box;transform-origin:50% 50%}
/* Walking characters: a little robot in a Santa hat and a penguin in a scarf */
.xm-walker{bottom:3px;left:6%;width:43px;height:48px;z-index:3}
.xm-walker.w2{left:56%;width:38px;height:43px}
.xm-walker svg{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 2px 2px rgba(0,0,0,.4))}
@media (prefers-reduced-motion:no-preference){
 .xm-flake{animation:xm-fall 11s linear infinite}
 @keyframes xm-fall{from{transform:translate(0,0)}50%{transform:translate(14px,220px)}to{transform:translate(-6px,440px)}}
 .xm-bulb .g{animation:xm-twinkle 1.8s ease-in-out infinite alternate}
 .xm-bulb:nth-child(3n+1) .g{animation-delay:-.6s}.xm-bulb:nth-child(3n+2) .g{animation-delay:-1.2s}
 .xm-bulb:nth-child(4n) .g{animation-duration:2.4s}
 @keyframes xm-twinkle{from{opacity:1}to{opacity:.35}}
 .xm-walker{animation:xm-walk 36s linear infinite}
 .xm-walker.w2{animation-duration:44s;animation-delay:-24s}
 @keyframes xm-walk{0%{left:-60px;scale:1 1}49.99%{left:calc(100% + 10px);scale:1 1}50%{left:calc(100% + 10px);scale:-1 1}100%{left:-60px;scale:-1 1}}
 .xm-walker svg{animation:xm-bob .45s ease-in-out infinite alternate;transform-origin:50% 100%}
 @keyframes xm-bob{from{translate:0 0;rotate:-4deg}to{translate:0 -3px;rotate:4deg}}
 .xm-leg{transform-box:fill-box;transform-origin:50% 0;animation:xm-step .45s ease-in-out infinite alternate}
 .xm-leg.b{animation-direction:alternate-reverse}
 @keyframes xm-step{from{rotate:-16deg}to{rotate:16deg}}
 .xm-pom{transform-box:fill-box;transform-origin:50% 50%;animation:xm-pom .9s ease-in-out infinite alternate}
 @keyframes xm-pom{to{translate:-2px 2px}}
 .xm-eye{transform-box:fill-box;transform-origin:50% 50%;animation:xm-blink 4s infinite}
 @keyframes xm-blink{0%,92%,100%{scale:1 1}95%{scale:1 .1}}}
@media (max-width:600px){header{padding-bottom:3.9rem}.xm-flake:nth-child(n+13){display:none}.xm-bulb{flex-basis:28px;width:28px;height:22px}.xm-lights{height:22px}}
/* Holly in the header's top corners, baubles hanging from the top, little trees in the bottom corners */
.xm-holly{z-index:1;width:64px;height:44px}
.xm-holly.hl{left:-6px;top:-4px;rotate:-12deg}.xm-holly.hr{right:-6px;top:-4px;scale:-1 1;rotate:12deg}
.xm-banner .xm-holly{position:static;display:inline-block;vertical-align:-4px;width:26px;height:18px;margin:0 .15rem;pointer-events:none}
.xm-orn{top:0;width:24px;z-index:1;transform-origin:50% 0}
.xm-orn.o1{left:8%}.xm-orn.o2{left:13%;width:28px}.xm-orn.o3{left:19%;width:20px}
.xm-orn.o4{right:9%}.xm-orn.o5{right:14.5%;width:20px}.xm-orn.o6{right:19.5%;width:28px}
.xm-trees{bottom:0;width:clamp(72px,calc((100vw - 760px)/2),196px);height:auto;aspect-ratio:104/80;z-index:1}
.xm-trees.tl{left:1%}.xm-trees.tr{right:1%;scale:-1 1}
.xm-tl,.xm-star{transform-box:fill-box;transform-origin:50% 50%}
@media (prefers-reduced-motion:no-preference){
 .xm-orn{animation:xm-sway 4.5s ease-in-out infinite alternate}
 .xm-orn.o2,.xm-orn.o5{animation-duration:5.5s;animation-delay:-2s}.xm-orn.o3,.xm-orn.o6{animation-duration:3.8s;animation-delay:-1s}
 @keyframes xm-sway{from{rotate:-7deg}to{rotate:7deg}}
 .xm-tl{animation:xm-twinkle 1.4s ease-in-out infinite alternate}.xm-tl.k1{animation-delay:-.5s}.xm-tl.k2{animation-delay:-1s;animation-duration:1.9s}
 .xm-star{animation:xm-shine 2.2s ease-in-out infinite alternate}
 @keyframes xm-shine{to{scale:1.18;filter:drop-shadow(0 0 3px #fde68a)}}}
@media (prefers-reduced-motion:reduce){.xm-walker{left:22%}.xm-walker.w2{left:64%}}
@media (max-width:600px){.xm-holly{width:44px;height:30px}.xm-trees{width:72px;height:56px;aspect-ratio:auto}.xm-orn{scale:.8}.xm-orn.o2,.xm-orn.o3,.xm-orn.o5,.xm-orn.o6{display:none}.xm-orn.o1{left:6px}.xm-orn.o4{right:6px}}
.xm-banner{display:flex;gap:.5rem;align-items:center;justify-content:center;flex-wrap:wrap;background:linear-gradient(90deg,#14532d,#9b1c1c 50%,#14532d);color:#fdf6e3;font-size:.92rem;padding:.55rem 2.5rem .55rem 1rem;position:relative;text-align:center}
.xm-banner a{color:#fcd77f;font-weight:600;text-decoration:none}.xm-banner a:hover{text-decoration:underline}
.xm-banner button{position:absolute;right:.5rem;top:50%;transform:translateY(-50%);background:none;border:0;color:#fdf6e3;font-size:1.1rem;cursor:pointer;padding:.25rem .5rem;border-radius:6px}
.xm-banner button:hover,.xm-banner button:focus-visible{background:rgba(255,255,255,.14)}
@media (max-width:600px){.xm-banner{font-size:.85rem}}
main>h2::before,.news h2::before{content:"🎄 ";}
