/* Announcement bar: one centred line with the full old-site message visible.
   HOME-01 (2026-11-21): desktop and phone sizes were increased so the promo
   reads at a glance without touching the nav below. */
.bb-announce {
  min-height: 52px !important;
  height: auto !important;
  padding: 6px 22px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  white-space: normal !important;
  overflow: visible !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}
.bb-announce > span,
.bb-announce > a,
.bb-announce [data-bb-announce-text] {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  margin: 0 auto;
  overflow: visible;
  text-overflow: clip;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  text-align: center !important;
}
@media (max-width: 600px) {
  /* Phones: keep the message readable and let it wrap onto a second line. */
  .bb-announce {
    width: calc(100% - 16px) !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 6px auto !important;
    padding: 10px 16px !important;
    font-size: 14.5px !important;
    letter-spacing: 0 !important;
    line-height: 1.45 !important;
    white-space: pre-wrap !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
  }
  .bb-announce > span,
  .bb-announce > a,
  .bb-announce [data-bb-announce-text] {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: pre-wrap !important;
    line-height: 1.45 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }
}

/* The static HTML is only a fallback. While the live announcement is being
   fetched, hide that fallback text so an old message cannot flash first. */
.bb-announce[data-bb-announce-pending] [data-bb-announce-text],
.bb-announce.bb-announce--pending [data-bb-announce-text] {
  visibility: hidden !important;
}

/* JS may hide the bar when the API says it is disabled. */
.bb-announce[hidden]{display:none!important}

/* Keep the announcement bar exactly aligned with the rounded nav shell. */
@media (max-width: 600px) {
  .bb-announce {
    width: calc(100% - var(--gutter) * 2) !important;
    max-width: var(--container) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
