/* Halvermere Press: WINTER-HOLIDAY layer. Used by books with seasonTag "holiday" (their pages and carousel slides),
   instead of the global SEASON. Decoration only, aria-hidden; text colors keep AA. Assets: /img/season/holiday/. */
.season-holiday{--h-green:#1E5A3A;--h-red:#9E1F2B;--h-gold:#C9A227}
.season-decor,.season-decor[hidden]{display:block;position:absolute;inset:0;pointer-events:none;z-index:1;overflow:hidden}
/* Slide decor: snowflakes, a string of lights along the top, an evergreen sprig */
.decor-holiday .flake{position:absolute;top:-40px;width:22px;height:22px;background:url(/img/season/holiday/snowflake.svg) no-repeat center/contain;opacity:.75;animation:snow-fall 14s linear infinite;will-change:transform}
.decor-holiday .flake:nth-child(odd){width:14px;height:14px;animation-duration:11s;opacity:.6}
.decor-holiday .flake:nth-child(3n){width:28px;height:28px;animation-duration:18s}
.decor-holiday .flake:nth-child(1){left:3%;animation-delay:-1s}.decor-holiday .flake:nth-child(2){left:10%;animation-delay:-7s}.decor-holiday .flake:nth-child(3){left:17%;animation-delay:-12s}
.decor-holiday .flake:nth-child(4){left:25%;animation-delay:-4s}.decor-holiday .flake:nth-child(5){left:33%;animation-delay:-9s}.decor-holiday .flake:nth-child(6){left:41%;animation-delay:-2s}
.decor-holiday .flake:nth-child(7){left:49%;animation-delay:-14s}.decor-holiday .flake:nth-child(8){left:57%;animation-delay:-6s}.decor-holiday .flake:nth-child(9){left:64%;animation-delay:-10s}
.decor-holiday .flake:nth-child(10){left:71%;animation-delay:-3s}.decor-holiday .flake:nth-child(11){left:78%;animation-delay:-13s}.decor-holiday .flake:nth-child(12){left:85%;animation-delay:-8s}
.decor-holiday .flake:nth-child(13){left:91%;animation-delay:-5s}.decor-holiday .flake:nth-child(14){left:97%;animation-delay:-11s}
@keyframes snow-fall{0%{transform:translate(0,0) rotate(0)}50%{transform:translate(16px,260px) rotate(90deg)}100%{transform:translate(-6px,560px) rotate(180deg)}}
.lights{position:absolute;left:0;right:0;top:0;height:34px;display:flex;justify-content:space-around;
  background:radial-gradient(ellipse 60% 16px at 50% 0,transparent 92%,rgba(40,40,40,.6) 93% 97%,transparent 98%) 0 0/120px 34px repeat-x}
.lights i{display:block;width:10px;height:14px;margin-top:12px;border-radius:50% 50% 45% 45%;background:#E5484D;box-shadow:0 0 10px 3px rgba(229,72,77,.7);animation:glow 1.6s ease-in-out infinite}
.lights i:nth-child(3n+2){background:#3FB37F;box-shadow:0 0 10px 3px rgba(63,179,127,.7);animation-delay:.5s}
.lights i:nth-child(3n){background:#F2C94C;box-shadow:0 0 10px 3px rgba(242,201,76,.7);animation-delay:1s}
@keyframes glow{0%,100%{opacity:.55}50%{opacity:1}}
.decor-holiday .sprig{position:absolute;right:2%;bottom:8px;width:150px;height:auto;filter:drop-shadow(0 4px 4px rgba(0,0,0,.3))}

/* Holiday book pages */
.season-holiday .site-header{border-bottom:3px solid var(--h-green)}
.season-holiday .btn-primary{background:var(--h-green);color:#FFF9EE}
.season-holiday .btn-primary:hover{background:#163F29;color:#fff}
.season-holiday .btn-quiet{border-color:var(--h-red)}
.season-holiday .kicker{color:var(--h-red)}
.season-holiday .band{background:linear-gradient(180deg,#EEF3EC,#F7F1E3)}
.season-holiday .section-head{border-bottom:2px solid var(--h-gold)}
.season-holiday .display-sm::after,.season-holiday .section-head h2::after{content:"";display:inline-block;width:46px;height:23px;margin-left:12px;vertical-align:middle;background:url(/img/season/holiday/evergreen.svg) no-repeat center/contain}
.season-holiday .book-hero{position:relative}
.season-holiday .book-hero::before{content:"";position:absolute;left:0;right:0;top:-6px;height:34px;pointer-events:none;
  background:radial-gradient(circle 5px at 30px 20px,#E5484D 90%,transparent),radial-gradient(circle 5px at 90px 22px,#3FB37F 90%,transparent),radial-gradient(circle 5px at 150px 20px,#F2C94C 90%,transparent) 0 0/180px 34px repeat-x;opacity:.85}
.season-holiday .site-footer{position:relative;border-top:4px solid var(--h-green)}
.season-holiday .site-footer::after{content:"";position:absolute;right:3%;top:-30px;width:150px;height:40px;background:url(/img/season/holiday/evergreen.svg) no-repeat center/contain;pointer-events:none}
.season-drift{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden}
.season-holiday main{position:relative;z-index:1}
.season-holiday .season-drift span{position:absolute;top:-40px;width:18px;height:18px;opacity:.5;background:url(/img/season/holiday/snowflake.svg) no-repeat center/contain;
  filter:drop-shadow(0 0 1px #6C8299) brightness(.85);animation:drift-snow 24s linear infinite}
.season-holiday .season-drift span:nth-child(odd){width:12px;height:12px;animation-duration:30s}
.season-holiday .season-drift span:nth-child(1){left:4%;animation-delay:-3s}.season-holiday .season-drift span:nth-child(2){left:14%;animation-delay:-15s}.season-holiday .season-drift span:nth-child(3){left:25%;animation-delay:-8s}
.season-holiday .season-drift span:nth-child(4){left:36%;animation-delay:-20s}.season-holiday .season-drift span:nth-child(5){left:47%;animation-delay:-11s}.season-holiday .season-drift span:nth-child(6){left:58%;animation-delay:-2s}
.season-holiday .season-drift span:nth-child(7){left:69%;animation-delay:-18s}.season-holiday .season-drift span:nth-child(8){left:79%;animation-delay:-6s}.season-holiday .season-drift span:nth-child(9){left:88%;animation-delay:-13s}.season-holiday .season-drift span:nth-child(10){left:96%;animation-delay:-9s}
@keyframes drift-snow{0%{transform:translate(0,0)}50%{transform:translate(30px,55vh)}100%{transform:translate(-10px,110vh)}}
@media (max-width:700px){.decor-holiday .flake:nth-child(n+9){display:none}.decor-holiday .sprig{width:90px}.lights i:nth-child(n+11){display:none}}
@media (prefers-reduced-motion:reduce){.decor-holiday .flake,.lights i,.season-holiday .season-drift span{animation:none}.decor-holiday .flake:nth-child(odd){top:18%}.decor-holiday .flake:nth-child(even){top:58%}.season-holiday .season-drift{display:none}}
@media print{.season-decor,.season-holiday .season-drift,.season-holiday .book-hero::before,.season-holiday .site-footer::after{display:none}}

.slide{position:relative;overflow:hidden}
.slide-holiday .decor-fall,.slide-holiday .leaf{display:none!important}
