:root {
  --bc-navy: #061B33;
  --bc-gold: #E6B447;
  --bc-text: #172033;
  --bc-muted: #5F6B7A;
  --bc-bg: #F5F7FB;
  --bc-surface: #FFFFFF;
  --bc-border: #D8E0EA;
  --bc-link: #1F5FBF;
}

.bc-site-header,
.bc-site-footer {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

html:has(body.bc-shell-page),
body.bc-shell-page {
  overflow-x: clip;
}

.bc-site-header {
  position: relative;
  left: 0;
  width: 100%;
  max-width: none;
  margin: 0 0 28px;
  background: var(--bc-navy);
  color: #fff;
  border-bottom: 3px solid var(--bc-gold);
}

body.bc-content-page {
  padding-top: 220px;
}

body.bc-content-page > .bc-site-header {
  position: fixed;
  top: 0;
  z-index: 1000;
}

.bc-header-inner {
  width: min(1120px, 100%);
  min-height: 192px;
  margin: 0 auto;
  padding: 10px 24px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.bc-brand {
  display: inline-flex;
  align-items: center;
  min-height: 170px;
  color: #fff;
  text-decoration: none;
  flex: 0 0 auto;
}

.bc-brand-lockup {
  display: block;
  width: min(500px, 46vw);
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.bc-split-brand.bc-content-page {
  padding-top: 193px;
}

.bc-split-brand .bc-header-inner {
  min-height: 165px;
}

.bc-split-brand .bc-brand {
  min-height: 142px;
}

.bc-brand-assets {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}

.bc-brand-passport,
.bc-brand-wordmark {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  flex: 0 0 auto;
}

.bc-brand-passport { height: 140px; }
.bc-brand-wordmark { width: 380px; height: auto; }

.bc-primary-nav,
.bc-footer-nav,
.bc-footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.bc-primary-nav {
  justify-content: flex-end;
  gap: 4px;
}

.bc-primary-nav a {
  min-height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  color: #fff;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  text-decoration: none;
}

.bc-primary-nav a:hover,
.bc-primary-nav a[aria-current="page"] {
  color: var(--bc-gold);
  background: rgba(255, 255, 255, .08);
}

.bc-site-header a:focus-visible,
.bc-site-footer a:focus-visible {
  outline: 3px solid var(--bc-gold);
  outline-offset: 3px;
}

.bc-site-footer {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin: 44px 0 0 -50vw;
  padding: 28px 24px 30px;
  background: var(--bc-surface);
  color: var(--bc-muted);
  border-top: 1px solid var(--bc-border);
}

.bc-footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.bc-footer-nav,
.bc-footer-legal {
  justify-content: center;
  gap: 4px 18px;
}

.bc-site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--bc-link);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  text-decoration: none;
}

.bc-site-footer a:hover { text-decoration: underline; }

/* Retire legacy site-navigation blocks while preserving article content. */
#content > .footer-links,
#content > .footer,
.page > .brand,
.page > .site-footer,
#footerLinks {
  display: none !important;
}

/* The homepage keeps its explanatory brand panel, but not a duplicate wordmark. */
.topbar .brand-header { display: none; }

body.bc-shell-page[style*="max-width"] {
  box-sizing: border-box;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

@media (max-width: 1024px) {
  body.bc-content-page { padding-top: 199px; }
  .bc-header-inner { min-height: 171px; }
  .bc-brand { min-height: 150px; }
  .bc-brand-lockup { width: min(440px, 50vw); }

  .bc-split-brand.bc-content-page { padding-top: 182px; }
  .bc-split-brand .bc-header-inner { min-height: 154px; }
  .bc-split-brand .bc-brand { min-height: 131px; }
  .bc-split-brand .bc-brand-passport { height: 128px; }
  .bc-split-brand .bc-brand-wordmark { width: 350px; }
}

@media (max-width: 760px) {
  body.bc-content-page {
    padding-top: 201px;
  }

  .bc-header-inner {
    min-height: 0;
    min-height: 173px;
    padding: 5px 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .bc-brand { align-self: flex-start; width: 100%; min-height: 119px; }
  .bc-brand-lockup { width: min(340px, 100%); }

  .bc-split-brand.bc-content-page { padding-top: 190px; }
  .bc-split-brand .bc-header-inner { min-height: 162px; }
  .bc-split-brand .bc-brand { min-height: 108px; }
  .bc-split-brand .bc-brand-assets { gap: 4px; width: 100%; }
  .bc-split-brand .bc-brand-passport { height: 106px; }
  .bc-split-brand .bc-brand-wordmark { width: min(260px, calc(100% - 86px)); }
  .bc-primary-nav { justify-content: flex-start; }
  .bc-primary-nav a { flex: 1 1 auto; justify-content: center; padding: 0 9px; }
  .bc-site-footer { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 420px) {
  .bc-primary-nav { display: grid; grid-template-columns: 1fr 1fr; }
  .bc-primary-nav a { width: 100%; }
}
