/* Keep the logo, tagline, and navigation together, above the page. */
body #masthead.site-header {
  position: relative !important;
  inset: auto !important;
  height: auto !important;
  min-height: 0 !important;
  background: #fff !important;
  z-index: 1000;
}
body #masthead .ast-primary-header-bar {
  position: relative !important;
  inset: auto !important;
  width: 100%;
  min-height: 104px;
  background: #fff !important;
}
body #masthead .site-branding {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 !important;
  padding: 12px 0 !important;
}
body #masthead .site-logo-img {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}
body #masthead .custom-logo {
  position: static !important;
  transform: none !important;
  width: 150px;
  height: auto !important;
  max-height: 80px;
  object-fit: contain;
}
body #masthead .site-description {
  white-space: normal;
  line-height: 1.5;
}
body #content.site-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
@media (min-width: 922px) and (max-width: 1100px) {
  body #masthead .custom-logo { width: 120px; }
  body #masthead .site-description { max-width: 140px; font-size: 11px !important; }
  body #masthead .menu-link { padding-inline: 10px; font-size: 13px; }
}
@media (max-width: 921px) {
  body #masthead .ast-primary-header-bar {
    min-height: 80px;
    padding-inline: 16px !important;
  }
  body #masthead .site-branding {
    gap: 8px;
    padding: 10px 0 !important;
  }
  body #masthead .custom-logo { width: 100px; max-height: 60px; }
  body #masthead .site-description {
    max-width: 120px;
    font-size: 11px !important;
    letter-spacing: 0.5px;
  }
}
