/* Shared by profiles, resume libraries and articles. Links remain usable without JS. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: #111827;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #dce3e7;
  backdrop-filter: blur(14px);
}
.site-header__inner {
  position: relative;
  width: min(100% - 48px, 1180px);
  min-height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header .site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #111827;
  font-size: 0.95rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.site-header .site-brand__mark { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 7px; }
.site-header .site-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; font-size: 0.9rem; }
.site-header .site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #374151; text-decoration: none; }
.site-header .site-nav a:hover, .site-header .site-nav a[aria-current="page"] { color: #0e7490; text-decoration: underline; text-underline-offset: 5px; }
.site-header .language-link, .site-header .menu-toggle {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #dce3e7;
  border-radius: 4px;
  color: #374151;
  background: #fff;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.site-header .language-link { display: inline-flex; }
.site-header .menu-toggle { display: none; }
.site-header :focus-visible { outline: 3px solid #0e7490; outline-offset: 3px; }
@media (max-width: 900px) {
  .site-header__inner { flex-wrap: wrap; gap: 8px; padding-block: 8px; }
  .site-header .site-brand { margin-right: auto; }
  .site-header .site-nav { order: 4; flex-basis: 100%; flex-wrap: wrap; gap: 8px 20px; }
  .site-header.navigation-ready .menu-toggle { display: inline-flex; }
  .site-header.navigation-ready .site-nav { display: none; }
  .site-header.navigation-ready .menu-toggle[aria-expanded="true"] ~ .site-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    background: #fff;
    border: 1px solid #dce3e7;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.12);
  }
  .site-header .site-nav a { padding: 8px 12px; }
}
@media (max-width: 640px) {
  .site-header__inner { width: calc(100% - 32px); min-height: 62px; }
  .site-header .site-brand { font-size: 0.8rem; gap: 8px; }
  .site-header .site-brand__mark { width: 28px; height: 28px; }
}
@media (max-width: 350px) {
  .site-header__inner { gap: 4px; width: calc(100% - 24px); }
  .site-header .site-brand { font-size: 0.72rem; gap: 5px; }
}
