/* BADEN BOWER EDITORIAL STYLE. Navy: var(--brand-navy,#0B1E3D), Gold: var(--brand-gold,#C9A84C), Cream: var(--brand-cream,#F7F5F0). */
  #bb *, #bb *::before, #bb *::after { box-sizing: border-box; }
  #bb h1, #bb h2, #bb h3, #bb h4, #bb p, #bb ul, #bb li { margin: 0; padding: 0; }
  #bb {
    font-family: 'Radio Canada', sans-serif;
    color: #374151; line-height: 1.75; font-size: 16px; background: #ffffff;
  }

  .bb-pw  { max-width: 1200px !important; margin: 0 auto !important; padding: 0 48px !important; }
  .bb-pw-wide  { max-width: 1200px !important; margin: 0 auto !important; padding: 0 48px !important; }
  .bb-ps  { padding: 56px 0 !important; }

  /* Eyebrow */
  .bb-eyebrow {
    font-family: 'Newsreader', sans-serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--brand-gold,#C9A84C);
    margin-bottom: 14px !important;
    display: block;
  }

  /* Headings */
  .bb-h2 {
    font-family: 'Newsreader', sans-serif;
    font-size: clamp(24px, 2.8vw, 30px); font-weight: 700;
    color: var(--brand-navy,#0B1E3D); line-height: 1.2; margin: 0 0 20px !important;
    letter-spacing: -.01em;
  }

  /* Body paragraphs */
  #bb .bb-prose p {
    font-size: 16px; color: #374151; line-height: 1.85; margin: 0 0 18px !important;
  }
  #bb .bb-prose p:last-child { margin-bottom: 0 !important; }
  #bb .bb-prose a { color: var(--brand-navy,#0B1E3D); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid rgba(201,168,76,.55); transition: color .2s, border-color .2s; }
  #bb .bb-prose a:hover { color: var(--brand-gold,#C9A84C); border-color: var(--brand-gold,#C9A84C); }
  #bb .bb-prose strong { color: var(--brand-navy,#0B1E3D); font-weight: 700; }

  /* Buttons */
  .bb-btn-gold {
    display: inline-block; background: var(--brand-gold,#C9A84C); color: #ffffff !important;
    font-family: 'Newsreader', sans-serif; font-size: 14px; font-weight: 700;
    padding: 13px 28px !important; border-radius: 8px;
    text-decoration: none !important; transition: background .2s;
  }
  .bb-btn-gold:hover { background: #b8973f; }
  .bb-btn-navy {
    display: inline-block; background: var(--brand-navy,#0B1E3D); color: #ffffff !important;
    font-family: 'Newsreader', sans-serif; font-size: 14px; font-weight: 700;
    padding: 13px 28px !important; border-radius: 8px;
    text-decoration: none !important; transition: background .2s;
  }
  .bb-btn-navy:hover { background: #122847; }

  /* KEY POINTS callout (cream box with bullets) */
  #bb-keypoints {
    background: var(--brand-cream,#F7F5F0);
    border-left: 4px solid var(--brand-gold,#C9A84C);
    border-radius: 4px;
    padding: 28px 32px !important;
    margin-top: 8px !important;
  }
  #bb-keypoints h2 {
    font-family: 'Newsreader', sans-serif;
    font-size: 17px; font-weight: 700; color: var(--brand-navy,#0B1E3D);
    margin: 0 0 16px !important;
    text-transform: uppercase; letter-spacing: .06em;
  }
  #bb-keypoints ul { list-style: none; padding: 0; margin: 0; }
  #bb-keypoints li {
    font-size: 14.5px; color: #374151; line-height: 1.7;
    padding: 8px 0 8px 26px !important;
    position: relative;
    border-bottom: 1px solid rgba(11,30,61,.07);
  }
  #bb-keypoints li:last-child { border-bottom: none; }
  #bb-keypoints li::before {
    content: "\2713"; color: var(--brand-gold,#C9A84C); font-weight: 700; font-size: 14px;
    position: absolute; left: 4px; top: 8px;
  }

  /* TABLE OF CONTENTS */
  #bb-toc {
    background: #F7F9FA;
    border: 1px solid #E7EAF0;
    border-radius: 12px;
    padding: clamp(20px, 3vw, 28px) !important;
    margin: 32px 0 44px !important;
  }
  #bb-toc h3 {
    font-family: 'Newsreader', sans-serif;
    font-size: 12px; font-weight: 700; color: var(--brand-navy,#0B1E3D);
    margin: 0 0 16px !important;
    text-transform: uppercase; letter-spacing: .12em;
  }
  #bb-toc ol {
    list-style: none; padding: 0; margin: 0;
    counter-reset: toc; display: grid; gap: 2px;
  }
  #bb-toc li {
    counter-increment: toc; position: relative;
    padding: 9px 0 9px 34px !important; line-height: 1.5;
    border-bottom: 1px solid rgba(11,30,61,.07);
  }
  #bb-toc li:last-child { border-bottom: none; }
  #bb-toc li::before {
    content: counter(toc) ".";
    position: absolute; left: 0; top: 9px;
    color: var(--brand-gold,#C9A84C); font-weight: 700; font-family: 'Newsreader', sans-serif;
    font-size: 15px;
  }
  #bb-toc a {
    color: var(--brand-navy,#0B1E3D); text-decoration: none; font-size: 15px;
    transition: color .2s;
  }
  #bb-toc a:hover { color: var(--brand-gold,#C9A84C); text-decoration: underline; }

  /* SECTION DIVIDER */
  .bb-divider { height: 1px; background: #F0EDE7; margin: 0 0 40px !important; }

  /* RANKINGS section: cream background, 10 firms as cards */
  #bb-rankings { background: #F7F9FC; padding: 60px 0 !important; }
  .bb-rank-list { display: flex; flex-direction: column; gap: 16px; margin-top: 16px !important; }
  .bb-rank-card {
    background: #ffffff;
    border: 1px solid #E2E0DA;
    border-radius: 10px; padding: 28px 32px !important;
    transition: border-color .2s, box-shadow .2s;
  }
  .bb-rank-card:hover { border-color: var(--brand-gold,#C9A84C); box-shadow: 0 4px 16px rgba(11,30,61,.06); }
  .bb-rank-card.featured {
    border: 2px solid var(--brand-gold,#C9A84C);
    box-shadow: 0 4px 20px rgba(201,168,76,.12);
  }
  .bb-rank-title {
    font-family: 'Newsreader', sans-serif;
    font-size: 22px; font-weight: 700; color: var(--brand-navy,#0B1E3D);
    margin: 0 0 4px !important; line-height: 1.2;
  }
  .bb-rank-title .bb-rank-n {
    color: var(--brand-gold,#C9A84C); margin-right: 6px;
  }
  .bb-rank-spec {
    font-family: 'Newsreader', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--brand-gold,#C9A84C);
    margin-bottom: 14px !important; display: block;
  }
  .bb-rank-desc { font-size: 15px; color: #4B5563; line-height: 1.75; }
  .bb-rank-badge {
    display: inline-block; background: var(--brand-gold,#C9A84C); color: #ffffff;
    font-family: 'Newsreader', sans-serif; font-size: 10px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    padding: 4px 12px !important; border-radius: 100px;
    margin-bottom: 10px !important;
  }

  /* STATISTICS TABLE */
  #bb-stats { background: #ffffff; }
  .bb-stats-table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    background: #ffffff; border-radius: 10px; overflow: hidden;
    border: 1px solid #E2E0DA;
    font-size: 14.5px; margin-top: 16px !important;
  }
  .bb-stats-table th, .bb-stats-table td {
    padding: 14px 18px !important; text-align: left;
    border-bottom: 1px solid #F0EDE7;
  }
  .bb-stats-table thead th {
    background: var(--brand-navy,#0B1E3D); color: #ffffff; font-weight: 700;
    font-family: 'Newsreader', sans-serif; font-size: 12px;
    letter-spacing: .04em; text-transform: uppercase;
  }
  .bb-stats-table tbody tr:last-child td { border-bottom: none; }
  .bb-stats-table tbody tr:nth-child(even) { background: #FAFAF7; }
  .bb-stats-table .bb-metric { color: var(--brand-navy,#0B1E3D); font-weight: 600; }
  .bb-stats-table .bb-figure {
    font-family: 'Newsreader', sans-serif;
    font-weight: 700; color: var(--brand-navy,#0B1E3D);
  }
  .bb-stats-table .bb-source { color: #888; font-style: italic; font-size: 13px; }

  /* INLINE NAVY CTA STRIP */
  #bb-cta-strip {
    background: var(--brand-navy,#0B1E3D);
    padding: 44px 0 !important;
    text-align: center;
  }
  #bb-cta-strip .bb-pw { max-width: 720px !important; }
  #bb-cta-strip p {
    font-size: 16px; color: rgba(255,255,255,.85); line-height: 1.65;
    margin: 0 0 22px !important;
  }
  #bb-cta-strip strong { color: var(--brand-gold,#C9A84C); font-family: 'Newsreader', sans-serif; font-weight: 700; }

  /* COMPARISON TABLE */
  #bb-tbl { background: #F7F9FC; }
  .bb-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 16px !important; }
  .bb-tbl-cmp {
    width: 100%; border-collapse: separate; border-spacing: 0;
    background: #ffffff; border-radius: 10px; overflow: hidden;
    box-shadow: 0 2px 8px rgba(11,30,61,.04);
    font-size: 14px; min-width: 720px;
  }
  .bb-tbl-cmp th, .bb-tbl-cmp td {
    padding: 14px 16px !important; text-align: left;
    border-bottom: 1px solid #F0EDE7; vertical-align: top;
  }
  .bb-tbl-cmp thead th {
    background: var(--brand-navy,#0B1E3D); color: #ffffff; font-weight: 700;
    font-family: 'Newsreader', sans-serif; font-size: 12px;
    letter-spacing: .04em;
  }
  .bb-tbl-cmp thead th.bb-col { background: var(--brand-gold,#C9A84C); color: #ffffff; }
  .bb-tbl-cmp tbody tr:last-child td { border-bottom: none; }
  .bb-tbl-cmp tbody tr:nth-child(even) { background: #FAFAF7; }
  .bb-tbl-cmp .feature {
    font-family: 'Newsreader', sans-serif;
    font-weight: 700; color: var(--brand-navy,#0B1E3D);
  }
  .bb-tbl-cmp .yes { color: #1B8A5A; font-weight: 600; }
  .bb-tbl-cmp .no  { color: #C0392B; }
  .bb-tbl-cmp .bb-col-cell { background: rgba(201,168,76,.05); }

  /* FAQ */
  #bb-faq { background: #ffffff; overflow-x: clip; }
  details.bb-faq-item {
    border-bottom: 1px solid #E2E0DA;
    padding: 20px 0 !important;
  }
  details.bb-faq-item summary {
    list-style: none; cursor: pointer;
    font-family: 'Newsreader', sans-serif;
    font-weight: 700; font-size: 16px; color: var(--brand-navy,#0B1E3D);
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px;
  }
  details.bb-faq-item summary::-webkit-details-marker { display: none; }
  details.bb-faq-item summary::after {
    content: "+"; font-size: 22px; color: var(--brand-gold,#C9A84C);
    font-weight: 400; flex-shrink: 0; transition: transform .2s;
  }
  details.bb-faq-item[open] summary::after { content: "\2212"; }
  details.bb-faq-item p {
    margin: 14px 0 0 !important; font-size: 14.5px;
    color: #4B5563; line-height: 1.8;
  }
  details.bb-faq-item a { color: var(--brand-navy,#0B1E3D); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid rgba(201,168,76,.55); transition: color .2s, border-color .2s; }
  details.bb-faq-item a:hover { color: var(--brand-gold,#C9A84C); border-color: var(--brand-gold,#C9A84C); }

  /* CLOSING CTA: full-width gold background, navy text, wider container. !important required to override Elementor parent container styles. */
  .bb-faq-end {
    background: var(--brand-gold,#C9A84C) !important;
    background-color: var(--brand-gold,#C9A84C) !important;
    text-align: center !important;
    margin-top: 56px !important;
    padding: 64px 24px !important;
    border-radius: 0 !important;
    /* Full-width breakout: escape any Elementor parent container. Uses negative margin trick. */
    position: relative !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    box-sizing: border-box !important;
  }
  .bb-faq-end-inner {
    max-width: 880px !important;
    margin: 0 auto !important;
  }
  .bb-faq-end h3 {
    font-family: 'Newsreader', sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: var(--brand-navy,#0B1E3D) !important;
    margin: 0 0 16px !important;
    line-height: 1.2 !important;
  }
  .bb-faq-end p {
    color: rgba(11,30,61,.82) !important;
    margin: 0 auto 28px !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    max-width: 720px !important;
  }
  .bb-faq-end .bb-btn-gold,
  .bb-faq-end a.bb-btn-gold {
    background: var(--brand-navy,#0B1E3D) !important;
    background-color: var(--brand-navy,#0B1E3D) !important;
    color: #ffffff !important;
    padding: 15px 36px !important;
    font-size: 15px !important;
    border: none !important;
  }
  .bb-faq-end .bb-btn-gold:hover,
  .bb-faq-end a.bb-btn-gold:hover {
    background: #122847 !important;
    background-color: #122847 !important;
  }

  @media (max-width: 900px) {
    .bb-pw, .bb-pw-wide { padding: 0 24px !important; }
    .bb-ps { padding: 44px 0 !important; }
    #bb-rankings { padding: 48px 0 !important; }
    .bb-rank-card { padding: 22px 22px !important; }
    .bb-rank-title { font-size: 19px; }
    #bb-keypoints { padding: 22px 24px !important; }
    #bb-cta-strip { padding: 36px 0 !important; }
    .bb-faq-end { padding: 48px 24px !important; }
    .bb-faq-end h3 { font-size: 24px; }
    .bb-faq-end p { font-size: 15px; }
  }
