/* Header link colors, one set for every page (2026-11-11).
   Three colors only: link, hover, and the page you are on. */
.bbmain a:not(.bbcta),
.bbmain a:not(.bbcta):visited,
.bbmain a:not(.bbcta):active {
  color: #E9EEF2 !important;
  text-decoration: none !important;
  opacity: 1 !important;
  -webkit-tap-highlight-color: transparent;
}
.bbmain a:not(.bbcta):hover,
.bbmain a:not(.bbcta):focus-visible {
  color: #9DBCCF !important;
}
.bbmain a:not(.bbcta)[aria-current="page"],
.bbmain a:not(.bbcta)[aria-current="page"]:visited,
.bbmain a:not(.bbcta)[aria-current="page"]:hover {
  color: #D2B26A !important;
}

/* Header bar: real navy on every page, matching the home page footer (2026-11-12).
   One rule here so no page can drift. */
header:has(.bbmain),
.bbnav,
body > nav.bbmain {
  background: #233746 !important;
}

/* Laptop and wider: logo and menu stay on one row (2026-11-12). */
@media (min-width: 1180px) {
  header.bbnav { flex-wrap: nowrap !important; padding: 16px 28px !important; }
  header.bbnav .bbmain { flex-wrap: nowrap !important; gap: 8px 15px !important; white-space: nowrap; }
}
@media (min-width: 1180px) {
  div.bbnav { flex-wrap: nowrap !important; }
  div.bbnav .bbmain, header.top .bbmain, .bbnav__wrap .bbmain { flex-wrap: nowrap !important; white-space: nowrap; }
  .bbnav__wrap, header.top > .wrap { flex-wrap: nowrap !important; }
  header.top .brand { flex-shrink: 0; white-space: nowrap; margin-right: 28px; }
}
@media (min-width: 1180px) {
  header.top > .wrap { max-width: none !important; width: auto !important; padding-left: 28px !important; padding-right: 28px !important; }
  header.top .bbmain { gap: 8px 15px !important; font-size: .85rem !important; align-items: center; }
  header.top .bbmain a { font-size: .85rem !important; }
}

/* The Law pull-down: two hints, FERPA and Disabilities (2026-11-17).
   Laptop: opens on hover, keyboard focus, or a tap on the small arrow.
   Phone menu: the two hints sit indented under The Law, always showing. */
.lawdd { position: relative; display: inline-flex; align-items: center; gap: 2px; }
.lawdd__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; padding: 0; margin: 0;
  border: none; border-radius: 6px; background: transparent; cursor: pointer;
  color: #E9EEF2; -webkit-tap-highlight-color: transparent;
}
.lawdd__btn:hover { color: #9DBCCF; }
.lawdd__btn:focus-visible { outline: 2px solid #D2B26A; outline-offset: 2px; }
.lawdd__chev {
  width: 7px; height: 7px; margin-top: -3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .15s cubic-bezier(.22,.61,.36,1);
}
.lawdd__menu {
  position: absolute; top: 100%; left: -14px; z-index: 60;
  display: flex; flex-direction: column; min-width: 170px;
  margin-top: 8px; padding: 8px 0;
  background: #233746; border: 1px solid rgba(228,233,237,.16); border-radius: 12px;
  box-shadow: 0 14px 30px rgba(10,18,26,.35);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s cubic-bezier(.22,.61,.36,1), transform .15s cubic-bezier(.22,.61,.36,1), visibility 0s linear .15s;
}
.lawdd__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.lawdd:hover .lawdd__menu,
.lawdd:focus-within .lawdd__menu,
.lawdd.lawdd--open .lawdd__menu {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .15s cubic-bezier(.22,.61,.36,1), transform .15s cubic-bezier(.22,.61,.36,1), visibility 0s;
}
.lawdd:hover .lawdd__chev, .lawdd:focus-within .lawdd__chev, .lawdd.lawdd--open .lawdd__chev { transform: translateY(3px) rotate(225deg); }
.bbmain .lawdd__menu a {
  display: block; padding: 9px 18px !important; margin: 0 !important;
  font-size: .9rem !important; white-space: nowrap; border: none !important; min-height: 0 !important;
}
@media (prefers-reduced-motion: reduce) {
  .lawdd__menu, .lawdd__chev { transition: none !important; }
}

/* Phone menus (the Menu button pages and the Clarity Guide style pages).
   The four hints stay folded under The Law; the arrow beside it opens and closes them (Rhonda, 2026-11-17). */
@media (max-width: 780px) {
  .bbnavpanel > .lawdd { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0; }
  .bbnavpanel > .lawdd > a { flex: 1 1 auto; display: flex; align-items: center; min-height: 46px; padding: 11px 2px !important; border-bottom: 1px solid rgba(228,233,237,.16); }
}
@media (max-width: 900px) {
  .menu .lawdd { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0; }
  .menu .lawdd > a { flex: 1 1 auto; }
}
@media (max-width: 780px) {
  .bbnavpanel .lawdd__btn { display: inline-flex; width: 52px; height: auto; min-height: 46px; border-radius: 0; border-bottom: 1px solid rgba(228,233,237,.16); }
  .bbnavpanel .lawdd__menu {
    position: static; display: none; opacity: 1; visibility: visible; transform: none; transition: none;
    flex-basis: 100%; margin: 0; padding: 0; min-width: 0; background: none; border: none; border-radius: 0; box-shadow: none;
  }
  .bbnavpanel .lawdd.lawdd--open .lawdd__menu { display: flex; }
  .bbnavpanel .lawdd__menu::before { display: none; }
  .bbnavpanel .lawdd .lawdd__chev { transform: rotate(45deg); }
  .bbnavpanel .lawdd.lawdd--open .lawdd__chev { transform: translateY(3px) rotate(225deg); }
  .bbnavpanel .lawdd .lawdd__menu a {
    display: flex !important; align-items: center; min-height: 46px !important;
    padding: 11px 2px 11px 24px !important; font-size: .88rem !important;
    border-bottom: 1px solid rgba(228,233,237,.16) !important;
  }
}
@media (max-width: 900px) {
  .menu .lawdd__btn { display: inline-flex; width: 52px; height: auto; min-height: 46px; border-radius: 0; border-bottom: 1px solid rgba(228,233,237,.16); }
  .menu .lawdd__menu {
    position: static; display: none; opacity: 1; visibility: visible; transform: none; transition: none;
    flex-basis: 100%; margin: 0; padding: 0; min-width: 0; background: none; border: none; border-radius: 0; box-shadow: none;
  }
  .menu .lawdd.lawdd--open .lawdd__menu { display: flex; }
  .menu .lawdd__menu::before { display: none; }
  .menu .lawdd .lawdd__chev { transform: rotate(45deg); }
  .menu .lawdd.lawdd--open .lawdd__chev { transform: translateY(3px) rotate(225deg); }
  .menu .bbmain .lawdd__menu a {
    display: flex !important; align-items: center; min-height: 46px !important;
    padding: 6px 0 6px 24px !important; font-size: .88rem !important;
    border-bottom: 1px solid rgba(228,233,237,.16) !important;
  }
}

/* 11/25: Merch added to the top menu. On laptop widths the row was one link too long on the pages with the larger menu type
   (Walk With Me pushed its Free Call button off the edge). Tighter spacing and the standard .85rem type there. */
@media (min-width: 1180px) and (max-width: 1600px) {
  div.bbnav .bbmain, .bbnav__wrap .bbmain { gap: 8px 14px !important; }
  div.bbnav .bbmain a:not(.bbcta), .bbnav__wrap .bbmain a:not(.bbcta) { font-size: .85rem !important; }
}
@media (min-width: 1180px) and (max-width: 1600px) {
  .bbmain { gap: 8px 14px !important; }
  header.bbnav .bbmain a:not(.bbcta), header:has(> .bbmain) .bbmain a:not(.bbcta) { font-size: .85rem !important; }
  .oldtop .navlinks.bbmain { gap: 4px 15px !important; font-size: .9rem !important; }
}
/* Some pages set a larger base type size, so ".85rem" came out bigger there. Pixels keep the menu the same size everywhere. */
@media (min-width: 1180px) and (max-width: 1600px) {
  header.bbnav .bbmain, div.bbnav .bbmain,
  header.bbnav .bbmain a:not(.bbcta), div.bbnav .bbmain a:not(.bbcta) { font-size: 13.6px !important; }
  header.bbnav .bbmain .bbcta, div.bbnav .bbmain .bbcta { font-size: 13.6px !important; }
}
/* Small laptops (1180 to 1320 wide): nine links plus the button need a little less air to stay on one row. */
@media (min-width: 1180px) and (max-width: 1320px) {
  header.bbnav, div.bbnav { padding-left: 16px !important; padding-right: 16px !important; gap: 12px !important; }
  header.bbnav .bbmain, div.bbnav .bbmain { gap: 8px 10px !important; }
  header.bbnav .bbmain, div.bbnav .bbmain,
  header.bbnav .bbmain a:not(.bbcta), div.bbnav .bbmain a:not(.bbcta) { font-size: 13px !important; }
  header.bbnav .bbmain .bbcta, div.bbnav .bbmain .bbcta { padding: 8px 14px !important; font-size: 13px !important; }
  header.bbnav > div:first-child a, div.bbnav > a:first-child { font-size: 1.25rem !important; gap: 8px !important; }
  header.bbnav > div:first-child img { height: 44px !important; }
}

/* Dark footer, smaller (Rhonda, 2026-11-30): smaller type, tighter spacing, smaller logos. */
footer[style*="52px 40px 26px"]{font-size:.82rem !important;padding:30px 32px 16px !important}
footer[style*="52px 40px 26px"] > div:first-child{gap:20px 28px !important}
footer[style*="52px 40px 26px"] > div:first-child > div > div:first-child{font-size:.82rem !important;margin-bottom:4px !important}
footer[style*="52px 40px 26px"] > div:first-child a,
footer[style*="52px 40px 26px"] > div:first-child span{padding:2px 0 !important}
footer[style*="52px 40px 26px"] > div:nth-child(2){margin-top:22px !important;gap:18px !important}
footer[style*="52px 40px 26px"] > div:nth-child(2) img{height:auto !important;max-height:54px !important;width:auto !important;max-width:42vw}
footer[style*="52px 40px 26px"] > div:nth-child(3){margin-top:14px !important;padding-top:12px !important}
footer[style*="52px 40px 26px"] > div:nth-child(3) div{font-size:.74rem !important;line-height:1.5 !important}
footer[style*="52px 40px 26px"] > div:nth-child(3) > div + div{margin-top:6px !important}
@media(max-width:640px){
  footer[style*="52px 40px 26px"]{padding:26px 20px 14px !important}
  footer[style*="52px 40px 26px"] > div:first-child a{padding:6px 0 !important}
}
/* The Mind Measures AI wordmark is wide, so it sits smaller than the two round marks (Rhonda, 2026-11-30). */
footer[style*="52px 40px 26px"] > div:nth-child(2) img[src*="mmai-wordmark"]{max-height:26px !important}
/* The Mind Measures tree mark on the left sits larger so its name can be read (Rhonda, 2026-11-30). */
footer[style*="52px 40px 26px"] > div:nth-child(2) img[src*="tree-mark"]{max-height:84px !important}

/* Email signup band above the footer (Rhonda, 2026-11-30) */
.bb-signup{background:#233746;color:#EEF2F5;padding:34px 24px 36px;font-family:'Figtree',system-ui,sans-serif}
.bb-signup__in{max-width:1000px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px 36px}
.bb-signup__txt{flex:1 1 320px;min-width:0}
.bb-signup h2{margin:0 0 6px;font:600 1.6rem/1.2 'Cormorant Garamond',Georgia,serif;color:#D2B26A;text-align:left}
.bb-signup p{margin:0;font-size:.95rem;line-height:1.55;color:#EEF2F5}
.bb-signup form{flex:1 1 340px;display:flex;flex-wrap:wrap;gap:10px;margin:0}
.bb-signup input[type=email]{flex:1 1 200px;min-width:0;min-height:48px;padding:12px 16px;border:0;border-radius:10px;font:1rem 'Figtree',system-ui,sans-serif;color:#16222C;background:#fff}
.bb-signup input[type=email]:focus-visible,.bb-signup button:focus-visible{outline:3px solid #9DBBC9;outline-offset:2px}
.bb-signup button{min-height:48px;padding:12px 24px;border:0;border-radius:12px;cursor:pointer;background:#B08A3E;color:#16222C;font:700 1rem 'Figtree',system-ui,sans-serif;box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 4px 0 #7A5C1E,0 12px 18px -6px rgba(0,0,0,.4)}
.bb-signup button:hover{transform:translateY(2px);box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 2px 0 #7A5C1E,0 8px 12px -6px rgba(0,0,0,.4)}
/* One footer color everywhere: the same deep navy as the Walk With Me pages (Rhonda, 2026-11-30). */
footer[style*="52px 40px 26px"]{background:#16222C !important}

/* The golden thread: one gold line under the top menu on every page, as on the Walk With Me pages (Rhonda, 2026-11-30). */
.bbnavhost,header.bbnav,header.nav,.oldtop .nav,header.top,.cgnav{border-bottom:4px solid #B08A3E !important}
header.nav .bbnavhost,header.bbnav .bbnavhost,.oldtop .nav .bbnavhost{border-bottom:0 !important}
