/* Christmas theme. Everything here only applies while christmas.js adds the .xmas class. */
.xmas-snow{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:35}

/* Festive strip */
.xmas-strip{background:linear-gradient(90deg,#7d0a24,#c4123a 50%,#7d0a24);color:#fff;font-size:14px;border-bottom:1px solid #ffffff22}
.xmas-strip .n-wrap{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding-top:9px;padding-bottom:9px;text-align:center}
.xmas-strip a{color:#fff;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.xmas-strip span:not(.xmas-tree){color:#ffe0e8}
.xmas-tree{font-size:17px}

/* Santa hats */
.xmas .n-site-header .n-logo{position:relative}
.xmas-hat{position:absolute;pointer-events:none;z-index:2}
.xmas-hat svg{display:block;width:100%;height:auto;filter:drop-shadow(0 3px 6px #0008)}
.n-logo .xmas-hat{left:38.5%;top:-7%;width:19%;transform:rotate(-12deg)}
.xmas .n-hero .n-badge{overflow:visible}
.xmas-hat-badge{left:-8%;top:-30%;width:62%;transform:rotate(-22deg)}

/* Fairy lights under the header */
.xmas .n-site-header{overflow:visible}
.xmas-lights{position:absolute;left:0;right:0;bottom:-11px;height:22px;display:flex;justify-content:space-between;padding:0 12px;pointer-events:none;z-index:3;overflow:hidden}
.xmas-lights::before{content:"";position:absolute;left:0;right:0;top:3px;height:12px;border-bottom:2px solid #2d4a32;border-radius:0 0 50% 50%/0 0 100% 100%;opacity:.9}
.xmas-lights i{position:relative;width:8px;height:12px;margin-top:8px;border-radius:50% 50% 45% 45%;background:var(--c);box-shadow:0 0 8px 2px var(--c);animation:xmas-twinkle 2.4s ease-in-out infinite;animation-delay:calc(var(--i) * -.37s)}
.xmas-lights i::before{content:"";position:absolute;left:2px;top:-4px;width:4px;height:4px;background:#3a3a3a;border-radius:1px}
.xmas-lights i:nth-child(5n+1){--c:#fb1d79}
.xmas-lights i:nth-child(5n+2){--c:#ffd54a}
.xmas-lights i:nth-child(5n+3){--c:#2fd36b}
.xmas-lights i:nth-child(5n+4){--c:#ff3b3b}
.xmas-lights i:nth-child(5n+5){--c:#7fd6ff}
@keyframes xmas-twinkle{0%,100%{opacity:1}50%{opacity:.35;box-shadow:0 0 2px 0 var(--c)}}
@media (max-width:700px){.xmas-lights i:nth-child(n+23){display:none}}

/* Homepage Christmas card */
.xmas-card{display:flex;gap:14px;align-items:center;margin-top:22px;max-width:560px;padding:14px 18px;border-radius:16px;background:linear-gradient(135deg,#3a0715,#16080d);border:1px solid #c4123a88;color:#f1e9ee;text-decoration:none;font-size:15px;line-height:1.45;box-shadow:0 10px 30px -14px #c4123a}
.xmas-card:hover{border-color:#ff4d97}
.xmas-card b{color:#fff}
.xmas-card em{font-style:normal;font-weight:700;color:#ff4d97;white-space:nowrap}
.xmas-card-ico{font-size:30px;flex:none}

/* Footer greeting */
.xmas-greet{color:#ff4d97;font-weight:700}

@media (prefers-reduced-motion:reduce){.xmas-lights i{animation:none}}
.xmas .n-dropdown{z-index:10}
@media (max-width:600px){.xmas-strip{font-size:13px}.xmas-strip .n-wrap{gap:4px 10px;padding-top:7px;padding-bottom:7px}.xmas-strip span:not(.xmas-tree){display:none}}
