/* Papermunch holiday banner. Pairs with papermunch-holidays.js.
   Each holiday sets its own colours; every text/background pair passes WCAG AA. */
.pm-hb {
  --hb-bg: #1E1438; --hb-ink: #FFFFFF; --hb-link: #FF9A3C; --hb-focus: #FFD23F; --hb-hover: rgba(255, 255, 255, .14);
  position: relative; z-index: 50;
  display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 16px;
  background: var(--hb-bg); color: var(--hb-ink);
  font: 600 15px/1.4 "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, sans-serif;
}
.pm-hb__otto { width: 40px; height: 40px; flex: none; display: block; }
.pm-hb__text { margin: 0; flex: 1; min-width: 0; }
.pm-hb__text strong {
  font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800; font-size: 1.12em;
  letter-spacing: -0.01em; margin-right: .3em;
}
.pm-hb__link { color: var(--hb-link); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; margin-left: .35em; white-space: nowrap; }
.pm-hb__link:hover { text-decoration-thickness: 2px; }
.pm-hb__close {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 999px; background: transparent; color: inherit; cursor: pointer;
}
.pm-hb__close:hover { background: var(--hb-hover); }
.pm-hb__close svg { width: 18px; height: 18px; }
.pm-hb a:focus-visible, .pm-hb button:focus-visible { outline: 3px solid var(--hb-focus); outline-offset: 2px; }

.pm-hb--halloween  { --hb-bg: #1E1438; --hb-ink: #FFFFFF; --hb-link: #FF9A3C; --hb-focus: #FFD23F; }
.pm-hb--christmas  { --hb-bg: #14513C; --hb-ink: #FFFFFF; --hb-link: #FFD23F; --hb-focus: #FFFFFF; }
.pm-hb--newyear    { --hb-bg: #12162B; --hb-ink: #FFFFFF; --hb-link: #FFD23F; --hb-focus: #FF5C93; }
.pm-hb--valentines { --hb-bg: #FFE3EC; --hb-ink: #1B2238; --hb-link: #B01E50; --hb-focus: #2556D6; --hb-hover: rgba(27, 34, 56, .08); }
.pm-hb--easter     { --hb-bg: #CFF5E3; --hb-ink: #1B2238; --hb-link: #17603F; --hb-focus: #2556D6; --hb-hover: rgba(27, 34, 56, .08); }

@media (max-width: 520px) {
  .pm-hb { font-size: 14px; gap: 10px; padding-left: 12px; }
  .pm-hb__otto { width: 34px; height: 34px; }
}
@media print { .pm-hb { display: none; } }
