/* Madison Neurology — hub bar for standalone sections (board review, neuroradiology, primary care).
   Slim dark utility bar: practice home on the left, dropdown access to every site hub on the right.
   Pure CSS (hover / focus-within) — no JavaScript required. */
.mn-hubbar{position:relative;z-index:80;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:7px clamp(14px,4vw,32px);background:#1c3a3f;background:linear-gradient(180deg,#23464b 0%,#1b383d 100%);border-bottom:1px solid rgba(255,255,255,.08);font-family:'Avenir Next','Segoe UI',Arial,sans-serif}
.mn-hubbar-brand{display:inline-flex;align-items:center;gap:9px;flex:none;text-decoration:none}
.mn-hubbar-brand img{height:25px;width:auto;display:block}
.mn-hubbar-brand span{font-size:.72rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#cfe3e2;white-space:nowrap}
.mn-hubbar-nav{display:flex;align-items:center;gap:2px;flex:none}
.mn-hubbar-group{position:relative}
.mn-hubbar-group:before{content:'';position:absolute;top:100%;left:-4px;right:-4px;height:8px}
.mn-hubbar-btn{display:inline-flex;align-items:center;gap:6px;background:none;border:0;border-radius:6px;padding:8px 12px;font:inherit;font-size:.79rem;font-weight:600;letter-spacing:.03em;color:#cfe3e2;cursor:pointer;white-space:nowrap;transition:background .14s ease,color .14s ease}
.mn-hubbar-group:hover .mn-hubbar-btn,.mn-hubbar-group:focus-within .mn-hubbar-btn{background:rgba(255,255,255,.1);color:#fff}
.mn-hubbar-btn .chev{width:8px;height:5px;flex:none;transition:transform .16s ease}
.mn-hubbar-btn .chev path{stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}
.mn-hubbar-group:hover .chev,.mn-hubbar-group:focus-within .chev{transform:rotate(180deg)}
.mn-hubbar-panel{position:absolute;top:calc(100% + 4px);right:0;min-width:248px;margin:0;background:#fff;border:1px solid #d3e0e0;border-radius:9px;box-shadow:0 22px 44px -14px rgba(10,30,32,.4),0 3px 10px rgba(10,30,32,.12);padding:7px;opacity:0;visibility:hidden;transform:translateY(5px);transition:opacity .15s ease,transform .15s ease,visibility 0s linear .15s;z-index:95;list-style:none}
.mn-hubbar-group:hover .mn-hubbar-panel,.mn-hubbar-group:focus-within .mn-hubbar-panel{opacity:1;visibility:visible;transform:translateY(0);transition:opacity .15s ease,transform .15s ease,visibility 0s}
.mn-hubbar-panel a{display:flex;align-items:center;padding:10px 12px;border-radius:6px;color:#183c3e;text-decoration:none;font-size:.86rem;line-height:1.35;transition:background .12s ease,color .12s ease}
.mn-hubbar-panel a:hover{background:#e5f0f0;color:#214f51}
@media(max-width:640px){
.mn-hubbar{padding:6px 10px;gap:8px}
.mn-hubbar-brand span{display:none}
.mn-hubbar-brand img{height:21px}
.mn-hubbar-btn{font-size:.72rem;padding:7px 8px;letter-spacing:.01em}
.mn-hubbar-panel{min-width:206px}
}
@media print{.mn-hubbar{display:none!important}}


/* ===== Hub bar v2: sticky bar with always-visible logo, address & phone ===== */
.mn-hubbar{position:sticky;top:0;z-index:100;justify-content:flex-start;height:52px;padding-top:3px;padding-bottom:3px}
.mn-hubbar-brand{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px}
.mn-hubbar-brand img{height:17px}
a.mn-hubbar-logo{display:inline-flex;text-decoration:none;line-height:0}
a.mn-hubbar-addr{font-size:.6rem;line-height:1.25;font-weight:600;letter-spacing:.02em;color:#9fc4c3;text-decoration:none;white-space:nowrap}
a.mn-hubbar-addr:hover{color:#fff;text-decoration:underline;text-underline-offset:2px}
a.mn-hubbar-phone{display:inline-flex;align-items:center;gap:6px;margin-left:16px;padding:6px 10px;border-radius:6px;color:#eaf3f3;text-decoration:none;font-size:.8rem;font-weight:700;white-space:nowrap;transition:background .14s ease,color .14s ease}
a.mn-hubbar-phone:hover{background:rgba(255,255,255,.1);color:#fff}
a.mn-hubbar-phone svg{width:12px;height:12px;fill:#9fc4c3;flex:none}
a.mn-hubbar-phone:hover svg{fill:#fff}
.mn-hubbar-nav{margin-left:auto}
/* section-native sticky bars must sit below the now-sticky hub bar */
.topbar{top:52px}
nav.toc{top:52px}
.sidebar{inset:52px auto 0 0}
.lightbox{z-index:200}
@media(max-width:640px){
  .mn-hubbar{height:74px;flex-wrap:wrap;align-content:center;row-gap:2px;column-gap:8px;padding:3px 10px}
  .mn-hubbar-brand img{height:14px}
  a.mn-hubbar-addr{font-size:.52rem}
  a.mn-hubbar-phone{margin-left:auto;padding:5px 7px;font-size:.72rem;gap:4px}
  a.mn-hubbar-phone svg{width:10px;height:10px}
  .mn-hubbar-nav{margin-left:0;flex-basis:100%;justify-content:space-between}
  .mn-hubbar-btn{font-size:.72rem;padding:5px 8px}
  .topbar{top:74px}
  nav.toc{top:74px}
  .sidebar{inset:74px auto 0 0}
}
