/* ============================================================
   Holiday banner (v3.34.0) — only loaded while a theme is on.
   Greeting bar on top, real-photo decorations, falling items
   that sit behind the page text. Built by assets/js/holiday.js.
   ============================================================ */
@font-face{
  font-family:'TMR Festive';
  src:url('../fonts/dancing-script.woff2') format('woff2');
  font-weight:400 700;font-display:swap;
}

body.tmr-hol-on{--hol-h:46px;padding-top:var(--hol-h)}
body.tmr-hol-on .site-header{top:var(--hol-h)}

/* ---------- greeting bar ---------- */
.tmr-hol-bar{
  position:fixed;top:0;left:0;right:0;z-index:90;height:var(--hol-h);
  display:flex;align-items:center;justify-content:center;gap:16px;padding:0 16px;
  background:var(--hol-bar,#EF8F35);color:var(--hol-ink,#14293C);
  font-family:'TMR Festive',cursive;white-space:nowrap;overflow:hidden;
  box-shadow:0 1px 0 rgba(20,41,60,.10);
}
.tmr-hol-bar b{font-size:27px;font-weight:700;line-height:1;overflow:hidden;text-overflow:ellipsis}
.tmr-hol-bar span{font-size:23px;font-weight:500;line-height:1;opacity:.9;overflow:hidden;text-overflow:ellipsis}
.tmr-hol-bar i{font-style:normal;font-size:20px;opacity:.6}

/* ---------- decorations (top corners + booking panel) ---------- */
.tmr-hol-top{position:absolute;left:0;right:0;top:var(--hol-h);height:0;z-index:79;pointer-events:none}
.tmr-hol-dec{position:absolute;display:block;height:auto;pointer-events:none;user-select:none;
  filter:drop-shadow(4px 8px 7px rgba(0,0,0,.30))}
.tmr-hol-dec.is-corner{filter:drop-shadow(2px 5px 6px rgba(0,0,0,.28))}
/* photo cut-outs that end at the photo's edge fade out instead of stopping in a straight line */
.tmr-hol-dec.is-glow{filter:drop-shadow(0 0 1px rgba(255,255,255,.9)) drop-shadow(0 0 8px rgba(255,255,255,.45)) drop-shadow(4px 8px 7px rgba(0,0,0,.30))}  /* dark item on a dark photo */
.tmr-hol-dec.is-soft{filter:drop-shadow(0 -2px 6px rgba(0,0,0,.18))}  /* photo with its own sea: no hard shadow under the water */
.tmr-hol-dec.is-fade{-webkit-mask:linear-gradient(to bottom,#000 62%,transparent 98%);mask:linear-gradient(to bottom,#000 62%,transparent 98%)}
.tmr-hol-thread{position:absolute;width:2px;background:#C9A55A;pointer-events:none}
.tmr-hol-hang{transform-origin:50% 0;animation:tmrHolSwing 6s ease-in-out infinite alternate}
@keyframes tmrHolSwing{from{rotate:-2.5deg}to{rotate:2.5deg}}

body.tmr-hol-on .book-bar{position:relative}
.tmr-hol-panel{position:absolute;left:0;right:0;top:0;height:0;z-index:3;pointer-events:none}

/* icicles: a glint runs down them and a drop now and then */
.tmr-hol-ice{position:absolute;pointer-events:none}
.tmr-hol-ice img{display:block;width:100%;height:auto;filter:drop-shadow(1px 3px 3px rgba(20,60,100,.25))}
.tmr-hol-ice .glint{position:absolute;inset:0;
  -webkit-mask:var(--ice) center/100% 100% no-repeat;mask:var(--ice) center/100% 100% no-repeat;
  background:linear-gradient(180deg,transparent 0%,rgba(255,255,255,.95) 50%,transparent 100%) 0 -120%/100% 60% no-repeat;
  animation:tmrHolGlint 4.5s ease-in-out infinite}
@keyframes tmrHolGlint{0%{background-position:0 -120%}55%,100%{background-position:0 220%}}
.tmr-hol-ice .drop{position:absolute;width:5px;height:7px;border-radius:50% 50% 50% 50%/60% 60% 40% 40%;
  background:radial-gradient(circle at 35% 35%,#fff 0,#cfe9fb 45%,rgba(120,180,230,.7) 100%);
  opacity:0;animation:tmrHolDrip 5s ease-in infinite}
@keyframes tmrHolDrip{0%,62%{opacity:0;transform:translateY(0) scale(.6)}68%{opacity:1;transform:translateY(0) scale(1)}100%{opacity:0;transform:translateY(70px) scale(1)}}

/* ---------- falling layer: behind the text ---------- */
/* On a photo hero it sits between the photo's shade (z -1) and the content. */
.tmr-hol-fall{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
/* Pages without a photo hero: the first section hosts the layer. */
.tmr-hol-host{position:relative;isolation:isolate}
.tmr-hol-fall .it{position:absolute;top:-100px;will-change:transform;animation:tmrHolFall linear infinite}
.tmr-hol-fall .it img{display:block;width:100%;height:auto;filter:drop-shadow(0 3px 4px rgba(0,0,0,.28));
  animation:tmrHolSway ease-in-out infinite alternate}
.tmr-hol-fall .sn{position:absolute;top:-20px;border-radius:50%;will-change:transform;
  background:radial-gradient(circle,#fff 0,rgba(255,255,255,.85) 40%,rgba(255,255,255,0) 72%);
  animation:tmrHolFall linear infinite}
@keyframes tmrHolFall{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,var(--hol-drop,110vh),0)}}
@keyframes tmrHolSway{from{transform:translateX(-14px) rotate(-14deg)}to{transform:translateX(14px) rotate(12deg)}}

/* ---------- phones ---------- */
@media (max-width:760px){
  body.tmr-hol-on{--hol-h:38px}
  .tmr-hol-bar{gap:0}
  .tmr-hol-bar b{font-size:20px}
  .tmr-hol-bar i,.tmr-hol-bar span{display:none}
  .tmr-hol-hang,.tmr-hol-thread{display:none}
}

/* ---------- visitors who prefer less motion ---------- */
@media (prefers-reduced-motion:reduce){
  .tmr-hol-fall{display:none}
  .tmr-hol-hang,.tmr-hol-ice .glint,.tmr-hol-ice .drop{animation:none}
}
