/* The festive bar (#570): site/festive-bar.js puts it above the header. Kept plain for Codex's pass. */
.festive-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 4px 0 16px;
  background: var(--green-deep);
  color: #fff;
}
.festive-bar-text {
  flex: 1 1 auto;
  margin: 0;
  padding: 10px 0;
  font: 500 14px/1.4 var(--text);
  text-align: center;
}
.festive-bar-link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.festive-bar-link:hover { text-decoration-thickness: 2px; }
.festive-bar-close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: none;
  color: #fff;
  font: 400 24px/1 var(--text);
  cursor: pointer;
}
.festive-bar-close:hover { background: rgba(255, 255, 255, 0.12); }
.festive-bar-link:focus-visible,
.festive-bar-close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
/* The phone menu, moved down by as much of the bar as is in view when it opens. */
.has-festive-bar .nav-links[popover]:popover-open { translate: 0 var(--festive-bar-offset, 0px); }
@media print {
  .festive-bar { display: none; }
}
