/* bcp-header-footer.css -- Understrap Child v3.66.0 */

/* Force hidden elements invisible (Understrap may override) */
[hidden] { display: none !important; }

/* Override any Understrap sticky wrappers */
#wrapper-navbar,
#wrapper-navbar.sticky-top,
.sticky-top:not(.cmvp-band3),
.navbar.sticky-top,
.navbar.fixed-top {
  position: static !important;
  top: auto !important;
}

:root {
  --bcp-night:  #0a0418;
  --bcp-purple: #361E54;
  --bcp-sky:    #07CAFF;
  --bcp-teal:   #085a72;
  --bcp-navy:   #1a2a5e;
  --bcp-red:    #8B0000;
}

/* Skip link */
.bcp-skip-link {
  position: absolute; top: -100%; left: 0;
  background: var(--bcp-purple); color: #fff;
  padding: .5rem 1rem; font-size: .875rem; font-weight: 700;
  z-index: 9999; border-radius: 0 0 6px 0;
}
.bcp-skip-link:focus { top: 0; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute; width: 1px;
}

/* BAND 1 */
.cmvp-band1 {
  background: var(--bcp-night);
  display: flex; align-items: center;
  height: 44px; padding: 0 10px;
  position: static;
}
.cmvp-band1__logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; text-decoration: none;
}
.cmvp-band1__crosshair { width: 24px; height: 24px; position: relative; flex-shrink: 0; }
.cmvp-band1__title {
  font-size: 11px; font-weight: 700; color: #fff;
  letter-spacing: .08em; white-space: nowrap;
}
.cmvp-band1__burger {
  margin-left: auto; display: flex; flex-direction: column;
  gap: 5px; cursor: pointer; padding: 4px;
  background: none; border: none;
}
.cmvp-band1__burger span {
  display: block; width: 22px; height: 2.5px;
  background: rgba(255,255,255,.8); border-radius: 2px;
}
.cmvp-band1__nav {
  position: absolute; top: 44px; left: 0; right: 0;
  background: #462D68; z-index: 99; padding: 8px 12px;
}
.cmvp-band1__nav ul { list-style: none; display: flex; gap: 1rem; margin: 0; padding: 0; }
.cmvp-band1__nav a { color: #fff; font-size: .8rem; text-decoration: none; }
.cmvp-band1__nav a:hover { color: var(--bcp-sky); }

/* BAND 3 wrapper (contains row2 then row1) */
.cmvp-band3 {
  background: var(--bcp-purple);
  display: flex; flex-direction: column;
  position: sticky;
  top: 0;
  z-index: 90;
}

/* ROW 2 — sky blue strip */
.cmvp-band3__row2 {
  background: var(--bcp-sky);
  padding: 8px 10px;
  display: flex !important; align-items: center;
  gap: 6px; flex-wrap: nowrap !important; overflow-x: auto;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.cmvp-band2__welcome {
  font-size: 14px; font-weight: 900;
  color: #361E54;
  letter-spacing: .04em;
  flex-shrink: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ROW 1 — purple BCP bar */
.cmvp-band3__row1 {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 6px 14px; min-height: 48px;
  flex-wrap: wrap; gap: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.cmvp-band3__logo-wrap {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; flex-shrink: 0;
}
.cmvp-band3__logo-img { height: 31px; width: auto; border-radius: 4px; }
.cmvp-band3__logo-text {
  font-size: 13px; font-weight: 700; color: #fff; line-height: 1.2;
  text-transform: none;
  letter-spacing: normal;
}
.cmvp-band3__right {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0; flex-wrap: wrap;
}
.cmvp-band3__login {
  display: flex; align-items: center; gap: 5px;
  color: #fff; font-size: 9px; font-weight: 900;
  text-decoration: none;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 5px; padding: 4px 8px; transition: background .12s; flex-shrink: 0;
}
.cmvp-band3__login:hover { background: rgba(255,255,255,.2); }
.cmvp-band3__translate-wrap { position: relative; flex-shrink: 0; z-index: 100; }
.cmvp-band3__translate {
  display: flex; align-items: center; gap: 4px;
  background: none; border: none; cursor: pointer;
  font-family: inherit; color: #fff; font-size: 9px; font-weight: 900;
  padding: 4px 6px; border-radius: 5px; transition: background .12s;
  text-transform: uppercase; letter-spacing: .04em;
}
.cmvp-band3__translate:hover { background: rgba(255,255,255,.12); }
.cmvp-band3__translate .aw { font-family: Georgia,serif; font-size: 14px; font-weight: 700; }
.cmvp-band3__translate .wz { font-size: 12px; opacity: .75; }
.cmvp-band3__translate .divider { width: 1px; height: 14px; background: rgba(255,255,255,.3); margin: 0 2px; }
.cmvp-band3__flag { border-radius: 2px; flex-shrink: 0; width: 20px; height: 13px; }
.cmvp-band3__en { font-size: 9px; font-weight: 900; opacity: .8; }
.cmvp-translate-drop {
  position: absolute; top: calc(100% + 4px); right: 0;
  background: #fff; border: 1px solid var(--bcp-purple);
  border-radius: 8px; list-style: none; padding: 4px;
  min-width: 140px; z-index: 300;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.cmvp-translate-drop__item {
  display: flex; align-items: center; gap: 7px;
  width: 100%; padding: 7px 10px;
  background: none; border: none; cursor: pointer;
  font-size: 10px; font-weight: 900; font-family: inherit;
  color: var(--bcp-purple); border-radius: 5px;
  text-align: left; transition: background .12s;
  text-transform: uppercase; letter-spacing: .04em;
}
.cmvp-translate-drop__item:hover { background: #f0ecf8; }
.cmvp-translate-drop__item--active { font-weight: 700; background: #f0ecf8; }

.cmvp-band3__help {
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  border-radius: 6px; color: #fff; font-size: 9px; font-weight: 900;
  padding: 5px 10px; display: flex; align-items: center; gap: 5px;
  cursor: pointer; font-family: inherit; transition: background .12s; flex-shrink: 0;
  text-transform: uppercase; letter-spacing: .04em;
}
.cmvp-band3__help:hover { background: rgba(255,255,255,.28); }

/* Emergency tab buttons (in row2) */
.cmvp-emg-tab {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border-radius: 6px; padding: 0 10px; min-height: 36px;
  text-decoration: none; flex-shrink: 0;
  transition: opacity .12s; opacity: .9;
}
.cmvp-emg-tab:hover { opacity: 1; }
.cmvp-emg-tab--teal   { background: #0f766e; }
.cmvp-emg-tab--red    { background: #8B0000; }
.cmvp-emg-tab--navy   { background: #1e3a5f; }
.cmvp-emg-tab--purple { background: #361E54; }
.cmvp-emg-tab__l1 {
  font-size: 9px; font-weight: 900; color: #fff;
  letter-spacing: .03em; line-height: 1.2;
}
.cmvp-emg-tab__l2 {
  font-size: 9px; font-weight: 900;
  color: #fff; letter-spacing: .03em; line-height: 1.2;
}

/* Page wrapper */
.bcp-page-wrap { min-height: 60vh; }

/* Rate toggle (on emergency pages) */
.cmvp-rate-toggle { background: #fff; border-top: 2px solid #e2ddf0; }
.cmvp-rate-toggle__btn {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; background: none; border: none;
  cursor: pointer; text-align: left; font-family: inherit;
}
.cmvp-rate-toggle__btn:hover { background: #f5f4fa; }
.cmvp-rate-toggle__icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: #361E54; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; color: #fff;
}
.cmvp-rate-toggle__text { flex: 1; }
.cmvp-rate-toggle__title { font-size: 13px; font-weight: 700; color: #361E54; }
.cmvp-rate-toggle__sub   { font-size: 10px; color: #6b6580; margin-top: 1px; }
.cmvp-rate-toggle__chevron {
  width: 20px; height: 20px; color: #6b6580;
  transition: transform .25s; flex-shrink: 0;
}
.cmvp-rate-toggle--open .cmvp-rate-toggle__chevron { transform: rotate(180deg); }
.cmvp-rate-toggle__body {
  overflow: hidden; max-height: 0;
  transition: max-height .35s cubic-bezier(.4,0,.2,1);
}
.cmvp-rate-toggle--open .cmvp-rate-toggle__body { max-height: 1400px; }

/* Footer */
.bcp-footer { background: #1a2a5e; padding: 24px 16px 16px; }
.bcp-footer__credits {
  font-family: Georgia,serif; font-style: italic;
  font-size: 11px; color: rgba(255,255,255,.55);
  text-align: left; margin-bottom: 10px;
}

/* A11y toolbar */
.bcp-a11y { display: flex; gap: 6px; padding: 6px 10px; background: #f5f4fa; }
.bcp-a11y button {
  background: #fff; border: 1px solid #c4b5d4; border-radius: 4px;
  padding: 4px 8px; font-size: 12px; cursor: pointer; font-family: inherit;
}
.bcp-a11y button.active { background: #361E54; color: #fff; border-color: #361E54; }

/* Footer social + legal */
.bcp-footer__social-heading {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.bcp-footer__social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.sf-fb, .sf-x, .sf-yt, .sf-ig, .sf-li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  text-decoration: none;
  transition: background .15s;
  flex-shrink: 0;
}
.sf-fb:hover { background: #1877f2; border-color: #1877f2; }
.sf-x:hover  { background: #000;    border-color: #000; }
.sf-yt:hover { background: #ff0000; border-color: #ff0000; }
.sf-ig:hover { background: #e1306c; border-color: #e1306c; }
.sf-li:hover { background: #0077b5; border-color: #0077b5; }
.sf-fb svg, .sf-x svg, .sf-yt svg, .sf-ig svg, .sf-li svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.bcp-footer__divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.12);
  margin: 16px 0;
}
.bcp-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  font-size: 10px;
  color: rgba(255,255,255,.4);
  line-height: 1.6;
}
.bcp-footer__legal a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
}
.bcp-footer__legal a:hover {
  color: #fff;
  text-decoration: underline;
}
.bcp-footer__copyright {
  font-size: 10px;
  color: rgba(255,255,255,.35);
  margin-top: 6px;
}

/* Band 2 mobile — ensure uppercase and font sizes apply */
@media (max-width: 767px) {
  .cmvp-band3__row1 {
    height: auto !important;
    padding: 6px 10px;
    flex-wrap: wrap !important;
    justify-content: space-between;
  }
  .cmvp-band3__right {
    flex-wrap: wrap !important;
    justify-content: flex-end;
    gap: 6px;
  }
  .cmvp-band3__search-input {
    width: 90px;
  }
  .cmvp-band3__row2 {
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
  }
  .cmvp-band2__welcome {
    font-size: 14px !important;
    white-space: normal;
  }
  .cmvp-emg-tab__l1,
  .cmvp-emg-tab__l2 {
    font-size: 9px !important;
    font-weight: 900 !important;
    color: #fff !important;
  }
}

/* Search box */
.cmvp-band3__search {
  display: flex; align-items: center;
  background: #fff;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 6px; overflow: hidden; flex-shrink: 0;
}
.cmvp-band3__search-input {
  background: #fff; border: none; outline: none;
  color: #0a0a0a; font-size: 9px; font-weight: 700;
  font-family: inherit; padding: 5px 8px;
  width: 120px; text-transform: uppercase; letter-spacing: .04em;
}
.cmvp-band3__search-input::placeholder {
  color: rgba(10,10,10,.45); text-transform: uppercase;
}
.cmvp-band3__search-btn {
  background: #e8e0f0; border: none;
  border-left: 1px solid rgba(54,30,84,.2);
  color: #0a0a0a; padding: 5px 8px;
  cursor: pointer; display: flex; align-items: center;
  transition: background .12s;
}
.cmvp-band3__search-btn:hover { background: #d4c8e8; }

/* Help & FAQ button */
.cmvp-band3__faq {
  display: flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  border-radius: 6px; color: #fff; font-size: 9px; font-weight: 900;
  padding: 5px 10px; text-decoration: none; flex-shrink: 0;
  text-transform: uppercase; letter-spacing: .04em; transition: background .12s;
}
.cmvp-band3__faq:hover { background: rgba(255,255,255,.28); color: #fff; }

/* Force band3 row1 to wrap — override Bootstrap navbar flex-nowrap */
.cmvp-band3 .cmvp-band3__row1,
.cmvp-band3__row1 {
  flex-wrap: wrap !important;
  height: auto !important;
}
.cmvp-band3 .cmvp-band3__right,
.cmvp-band3__right {
  flex-wrap: wrap !important;
  flex-shrink: 1 !important;
  min-width: 0 !important;
}
/* Remove fixed height from band3 that prevents wrapping */
.cmvp-band3 {
  height: auto !important;
  min-height: unset !important;
}

/* Force search input text colour — override Bootstrap form-control */
.cmvp-band3__search .cmvp-band3__search-input,
.cmvp-band3__search input[type="search"],
.cmvp-band3__search input {
  color: #000000 !important;
  background-color: #fff !important;
  -webkit-text-fill-color: #000000 !important;
}
.cmvp-band3__search .cmvp-band3__search-input::placeholder {
  color: rgba(0,0,0,.45) !important;
  -webkit-text-fill-color: rgba(0,0,0,.45) !important;
}

/* Info pages (Help, FAQ) */
.bcp-info-page { max-width: 100%; }
.bcp-info-page__hero {
  background: #361E54;
  padding: 32px 20px;
}
.bcp-info-page__hero--faq { background: #1e3a5f; }
.bcp-info-page__hero-inner {
  max-width: 800px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  color: #fff;
}
.bcp-info-page__title {
  font-size: 28px; font-weight: 900;
  color: #fff; margin: 0;
  text-transform: uppercase; letter-spacing: .06em;
}
.bcp-info-page__subtitle {
  font-size: 13px; color: rgba(255,255,255,.75);
  margin: 4px 0 0;
}
.bcp-info-page__body {
  max-width: 800px; margin: 32px auto;
  padding: 0 20px;
}
.bcp-info-page__placeholder {
  font-size: 15px; line-height: 1.7;
  color: #4a4060; margin-bottom: 24px;
}
.bcp-info-page__links { margin-top: 16px; }
.bcp-info-page__link-btn {
  display: inline-block;
  background: #361E54; color: #fff;
  padding: 10px 20px; border-radius: 6px;
  font-size: 13px; font-weight: 700;
  text-decoration: none; transition: background .15s;
}
.bcp-info-page__link-btn:hover { background: #1e3a5f; color: #fff; }

/* Full width — no sidebar */
.no-sidebar #wrapper-navbar + div > .container,
.no-sidebar .wrap,
.no-sidebar #content,
body.no-sidebar #page .container {
  max-width: 100% !important;
}
body.no-sidebar #sidebar-primary,
body.no-sidebar .widget-area,
body.no-sidebar aside,
body.full-width #sidebar-primary,
body.full-width .widget-area,
body.full-width aside {
  display: none !important;
}
body.no-sidebar #content .col-md-8,
body.no-sidebar #content .col-md-9,
body.full-width #content .col-md-8,
body.full-width #content .col-md-9 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}


.cmvp-band3__myaccount:hover { background: #05a8d8; color: #361E54; }

/* Contact tab in band 2 */
.cmvp-emg-tab--contact { background: #065f46; }

/* Footer bottom row — legal links left, social right */
.bcp-footer__bottom {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  margin-bottom: 12px;
}
.bcp-footer__bottom .bcp-footer__social {
  display: flex; gap: 10px; flex-wrap: wrap; margin: 0;
}

/* Login button in band 2 */
.cmvp-band3__login-btn {
  display: flex !important; flex-direction: row !important;
  align-items: center !important; gap: 6px;
  background: #361E54; border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 5px; color: #fff;
  font-size: 9px; font-weight: 900;
  padding: 5px 10px; text-decoration: none;
  margin-left: auto; flex-shrink: 0 !important; white-space: nowrap !important;
  text-transform: uppercase; letter-spacing: .04em;
  transition: background .12s;
}
.cmvp-band3__login-btn:hover { background: #4a2d6e; color: #fff; }

.bcp-info-page__hero--contact { background: #065f46; }

.cmvp-band3__login-l1 {
  font-size: 9px; font-weight: 900; color: #fff;
  letter-spacing: .03em; line-height: 1.2;
}
.cmvp-band3__login-l2 {
  font-size: 9px; font-weight: 900; color: #fff;
  letter-spacing: .03em; line-height: 1.2;
}

.cmvp-band3__login-text {
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 0;
}

.bcp-info-page__hero--login { background: #1e3a5f; }
