/* Shared header on every page. The square logo has transparent space around it;
   frame it without changing its visible size or stretching the artwork. */
.site-header.navbar {
  padding-block: 6px;
  flex-shrink: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #f8f9fa !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .075) !important;
  --bs-navbar-color: #555;
  --bs-navbar-hover-color: #3a0ca3;
  --bs-navbar-active-color: #171717;
}

.site-header .site-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 54px;
  overflow: hidden;
  margin-block: 0;
  padding: 0;
  flex-shrink: 0;
}

.site-header .site-brand img {
  display: block;
  width: 150px;
  height: 150px;
  max-width: none;
  max-height: none;
  flex-shrink: 0;
  /* Page-level image hover effects must not change the shared logo. */
  transform: none !important;
  transition: none !important;
}

.site-header .nav-link,
.site-header .dropdown-item {
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.site-header .dropdown-menu {
  font-family: inherit;
  --bs-dropdown-link-active-bg: #3a0ca3;
}

@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    padding-block: 8px;
  }
}
