#site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid #dce5f0;
  box-shadow: 0 3px 0 rgb(40 120 208 / 10%);
  backdrop-filter: blur(14px);
}
#site-header .bar {
  width: min(1120px, calc(100% - 2rem));
  max-width: none;
  min-height: 76px;
  margin: 0 auto;
  padding: .5rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem 1rem;
}
#site-header .logo { display: inline-flex; flex: 0 0 auto; align-items: center; margin: 0; text-decoration: none; }
#site-header .logo img { display: block; width: 78px; height: auto; }
#site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
#site-header nav a {
  padding: .55rem .8rem;
  border-radius: 999px;
  color: #4e5b70;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}
#site-header nav a:hover, #site-header nav a.active { background: #eaf2fc; color: #b31f30; }
#site-header a:focus-visible, #site-footer a:focus-visible { outline: 3px solid #ffd12f; outline-offset: 3px; }
#site-footer {
  padding: 1.5rem 0;
  background: linear-gradient(110deg, #082a58, #0b3b78 78%, #b31f30 145%);
  color: #e4eaf3;
  text-align: center;
  font-size: .85rem;
}
#site-footer p { margin: .35rem 0; }
#site-footer a { color: #ffd12f; text-decoration: none; }
#site-footer a:hover { text-decoration: underline; }
@media (max-width: 620px) {
  #site-header .bar { min-height: 68px; gap: .35rem .75rem; }
  #site-header .logo img { width: 68px; }
  #site-header nav { justify-content: center; gap: .1rem; }
  #site-header nav a { padding: .45rem .55rem; font-size: .84rem; }
}
@media (max-width: 420px) {
  #site-header nav { width: 100%; justify-content: space-between; }
}
