/* BoardQBank MCCQE1 canonical brand layer — shared by every rendered route. */
:root{
  --bq-navy:#0b2c4d;--bq-navy-deep:#061a3a;--bq-blue:#dff3ff;--bq-blue-soft:#eef9ff;
  --bq-gold:#c79424;--bq-gold-dark:#8a6418;--bq-gold-soft:#fff4d6;--bq-white:#ffffff;
  --bq-ink:#17233a;--bq-muted:#667085;--bq-line:rgba(199,148,36,.28);
  --bq-brand-shadow:0 10px 30px rgba(6,26,58,.12);
}
body.bq-brand-system{
  --navy:var(--bq-navy);--navy2:#15577f;--gold:var(--bq-gold);--gold2:#e3b94e;
  --gold-soft:var(--bq-gold-soft);--gold-pale:#fff9e9;--white:#fff;--ink:var(--bq-ink);
  --muted:var(--bq-muted);--line:var(--bq-line);
  background-color:#fff!important;
  background-image:
    radial-gradient(circle at 6% 0%,rgba(229,185,78,.17),transparent 24rem),
    radial-gradient(circle at 94% 3%,rgba(112,196,238,.16),transparent 27rem),
    linear-gradient(180deg,#fffdf7 0%,#f5fbff 32%,#fff 68%,#fffaf0 100%)!important;
  color:var(--bq-ink);
}
.bq-global-brandbar,.bq-global-brandbar *{box-sizing:border-box}
.bq-global-brandbar{
  position:relative;z-index:2147483000;width:100%;min-height:58px;
  background:linear-gradient(90deg,#fffaf0 0%,#fff 34%,#eef9ff 70%,#fffaf0 100%);
  border-top:4px solid var(--bq-gold);border-bottom:1px solid var(--bq-line);
  box-shadow:0 4px 18px rgba(6,26,58,.07);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
}
.bq-global-brandbar__inner{width:min(1220px,calc(100% - 28px));min-height:54px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px}
.bq-global-brandbar__brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none!important;min-width:max-content}
.bq-global-brandbar__brand img{width:44px!important;height:44px!important;display:block!important;object-fit:cover!important;border-radius:50%!important;border:2px solid #d7aa3e!important;box-shadow:0 5px 14px rgba(138,100,24,.17)!important}
.bq-global-brandbar__brand strong{display:block;color:var(--bq-navy)!important;font:800 1.08rem/1.02 Inter,system-ui,sans-serif;letter-spacing:.005em}
.bq-global-brandbar__brand small{display:block;color:var(--bq-gold-dark)!important;font:800 .66rem/1.2 Inter,system-ui,sans-serif;letter-spacing:.075em;text-transform:uppercase;margin-top:3px}
.bq-global-brandbar__nav{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:wrap}
.bq-global-brandbar__nav a{display:inline-flex;align-items:center;min-height:36px;padding:7px 10px;border-radius:10px;color:var(--bq-navy)!important;text-decoration:none!important;font:800 .8rem/1 Inter,system-ui,sans-serif}
.bq-global-brandbar__nav a:hover,.bq-global-brandbar__nav a:focus-visible{background:var(--bq-gold-soft);color:var(--bq-gold-dark)!important}
body.bq-brand-system :focus-visible{outline:3px solid rgba(199,148,36,.42);outline-offset:2px}
body.bq-brand-system img[src*="mccqe1-official-logo-2026"]{object-fit:cover}
body.bq-brand-system .brand img[src*="mccqe1-official-logo-2026"],
body.bq-brand-system .brand-logo[src*="mccqe1-official-logo-2026"],
body.bq-brand-system .sidebar-brand img[src*="mccqe1-official-logo-2026"],
body.bq-brand-system img.mark[src*="mccqe1-official-logo-2026"]{
  border-radius:50%!important;border:2px solid #d7aa3e!important;box-shadow:0 6px 18px rgba(138,100,24,.18)!important;
}
body.bq-brand-system .mark:not(img),body.bq-brand-system .logo-mark:not(img){
  width:48px!important;height:48px!important;min-width:48px!important;border-radius:50%!important;
  background:#fff url('/assets/mccqe1-official-logo-2026.jpg') center/cover no-repeat!important;
  border:2px solid #d7aa3e!important;box-shadow:0 6px 18px rgba(138,100,24,.18)!important;
  color:transparent!important;font-size:0!important;overflow:hidden!important;
}
body.bq-brand-system header.site-header,body.bq-brand-system header.top,
body.bq-brand-system .site-header,body.bq-brand-system .topbar,body.bq-brand-system .top-bar{
  border-color:var(--bq-line)!important;
}
body.bq-brand-system footer{border-color:var(--bq-line)}
@media(max-width:760px){
  .bq-global-brandbar__inner{width:min(100% - 18px,1220px);gap:10px}
  .bq-global-brandbar__brand small{display:none}
  .bq-global-brandbar__nav{gap:1px}
  .bq-global-brandbar__nav a{font-size:.72rem;padding:7px 7px}
  .bq-global-brandbar__nav a:nth-child(2){display:none}
}
@media(max-width:470px){
  .bq-global-brandbar__brand strong{font-size:.95rem}.bq-global-brandbar__brand img{width:40px!important;height:40px!important}
  .bq-global-brandbar__nav a:nth-child(3){display:none}
}
@media print{.bq-global-brandbar{display:none!important}}
