.announcement { position: relative; }
.holiday-garland { position: absolute; top: 100%; inset-inline: 0; z-index: 2; width: 100%; max-width: none; margin: 0; overflow: visible; clip-path: inset(-3px 0 0); pointer-events: none; }
.holiday-garland svg { display: block; width: 100%; height: auto; overflow: visible; transform: translateY(calc(clamp(-14px, -.7vw, -4px) - 26px)); }
.holiday-garland .lit { animation: holiday-garland-glow 5.2s ease-in-out infinite; }
.holiday-garland .green .lit { animation-delay: -2.6s; }
@keyframes holiday-garland-glow {
  0%, 32%, 100% { opacity: 1; }
  50%, 82% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .holiday-garland .lit { animation: none; opacity: .55; }
}

/* The decoration must not add height above the original header. */
.announcement + .header { position: relative; z-index: 1; }

.holiday-garland [data-garland-bulb] { visibility: hidden; }
.holiday-garland[data-lights-ready] [data-garland-bulb] { visibility: visible; }
.holiday-garland [data-garland-branches] { visibility: hidden; }
.holiday-garland[data-branches-ready] [data-garland-branches] { visibility: visible; }

/* Keep the small-screen lights below the strip instead of lifting them out of view. */
@media(max-width:650px) {
  .holiday-garland svg { transform:translateY(-2px); }
}

/* Seasonal decorations stay visible on desktop only. */
@media(max-width:650px) { .holiday-garland { display:none; } }
