#bb-sticky, #bb-sticky * { box-sizing: border-box; margin: 0; padding: 0; }

  #bb-sticky {
    --navy: var(--brand-navy,#0B1E3D); --black: #000; --grey: var(--brand-grey,#5B6577); --line: rgba(11, 30, 61, .14);
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background: #fff; border-top: 2px solid var(--navy);
    box-shadow: 0 -5px 24px rgba(11, 30, 61, .11);
    font-family: 'Radio Canada', system-ui, sans-serif; color: var(--black);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    transform: translateY(100%); visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
  }
  #bb-sticky.visible { transform: translateY(0); visibility: visible; transition: transform .3s ease, visibility 0s linear 0s; }

  #bb-sticky .bb-sticky-inner {
    max-width: 1200px; margin: 0 auto; padding: 12px 40px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
  }
  #bb-sticky .bb-sticky-left { min-width: 0; }
  #bb-sticky .bb-sticky-left strong {
    display: block; font-family: 'Newsreader', Georgia, serif; font-weight: 600;
    font-size: 18px; line-height: 1.18; letter-spacing: -0.015em; color: var(--black);
  }
  #bb-sticky .bb-sticky-left span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.3; color: var(--grey); }
  #bb-sticky .bb-sticky-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

  #bb-sticky .bb-sticky-btn,
  #bb-sticky .bb-sticky-btn:link,
  #bb-sticky .bb-sticky-btn:visited {
    display: inline-block; font-family: 'Radio Canada', system-ui, sans-serif; font-weight: 700;
    font-size: 14px; line-height: 1.2; padding: 12px 22px; background: #fff; color: var(--black) !important;
    border: 1.5px solid var(--navy); border-radius: 4px; text-decoration: none !important; white-space: nowrap;
    transition: background .16s ease, color .16s ease;
  }
  #bb-sticky .bb-sticky-btn:hover { background: var(--navy); color: #fff !important; }
  #bb-sticky .bb-sticky-btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

  #bb-sticky .bb-sticky-dismiss {
    width: 44px; height: 44px; flex: 0 0 44px; background: none; border: 0; border-radius: 4px; color: var(--grey);
    font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: color .16s ease, background .16s ease;
  }
  #bb-sticky .bb-sticky-dismiss svg { width: 18px; height: 18px; display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  #bb-sticky .bb-sticky-dismiss:hover { color: var(--black); background: rgba(11, 30, 61, .06); }
  #bb-sticky .bb-sticky-dismiss:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

  @media (prefers-reduced-motion: reduce) {
    #bb-sticky, #bb-sticky.visible, #bb-sticky .bb-sticky-btn, #bb-sticky .bb-sticky-dismiss { transition: none; }
  }
  /* Headline and sub-line each stay on one line. */
  #bb-sticky .bb-sticky-left strong, #bb-sticky .bb-sticky-left span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  @media (max-width: 1100px) {
    #bb-sticky .bb-sticky-inner { padding: 12px 24px; gap: 16px; }
    #bb-sticky .bb-sticky-left strong { font-size: 16px; }
    #bb-sticky .bb-sticky-left span { font-size: 12px; }
  }
  @media (max-width: 1060px) { #bb-sticky .bb-sticky-left span { display: none; } }
  /* Phones and small tablets: the button carries the message, full width, with the close button beside it. */
  @media (max-width: 960px) {
    #bb-sticky .bb-sticky-inner { padding: 10px 12px; gap: 8px; }
    #bb-sticky .bb-sticky-left { display: none; }
    #bb-sticky .bb-sticky-right { flex: 1; }
    #bb-sticky .bb-sticky-btn, #bb-sticky .bb-sticky-btn:link, #bb-sticky .bb-sticky-btn:visited { flex: 1; text-align: center; padding: 13px 12px; font-size: 15px; }
    #bb-sticky .bb-sticky-dismiss { width: 44px; height: 44px; }
  }
