/* Shared BAM wordmark: public headers, mobile menus, and both workspaces. */
html body :is(.portal-brand,.site-brand,.mobile-menu-brand) > span {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  gap: 10px !important;
  margin: 0 !important;
  min-width: 0 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
html body :is(.portal-brand,.site-brand,.mobile-menu-brand) > span strong {
  color: #efc66a !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 1.18rem !important;
  font-weight: 900 !important;
  letter-spacing: .045em !important;
  line-height: 1 !important;
  overflow: visible !important;
}
html body :is(.portal-brand,.site-brand,.mobile-menu-brand) > span small {
  color: #fff !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: .54rem !important;
  font-weight: 700 !important;
  letter-spacing: .16em !important;
  line-height: 1 !important;
  margin: 0 !important;
  overflow: visible !important;
}
@media (max-width: 760px) {
  html body :is(.portal-brand,.site-brand,.mobile-menu-brand) > span strong { font-size: clamp(1.4rem, 7vw, 1.85rem) !important; }
  html body :is(.portal-brand,.site-brand,.mobile-menu-brand) > span small {
    font-size: clamp(.52rem, 2.6vw, .68rem) !important;
    letter-spacing: .14em !important;
  }
  .workspace-header, .admin-header { flex-wrap: wrap; }
  .admin-header .portal-brand { flex: 0 0 auto; }
  .workspace-header-links, .admin-header-actions { margin-left: auto; }
}

/* Maintain contrast against the public website's cream theme. */
html[data-theme="light"] body :is(.site-brand,.mobile-menu-brand)>span strong { color:#765300!important; }
html[data-theme="light"] body :is(.site-brand,.mobile-menu-brand)>span small { color:#20201d!important; }
html body :is(.site-brand,.mobile-menu-brand) { flex:0 0 auto!important; max-width:100%; }
html body .mobile-menu-header { flex-wrap:wrap; gap:12px; }
