/* Jurnified site navigation (shared by every page) */
.wm-link { display: block; flex: none; border-radius: 8px; }
.wm-link:focus-visible { outline: 3px solid rgba(255,255,255,.6); outline-offset: 4px; }
.sitenav { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); margin-right: auto; margin-left: 40px; }
.snav { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; color: #fff; text-decoration: none; font: 600 14px var(--font-display); white-space: nowrap; transition: background .15s var(--ease); }
.snav .i { font-size: 14px; opacity: .9; }
@media (hover: hover) and (pointer: fine) { .snav:hover { background: rgba(255,255,255,.14); } }
.snav.on { background: #fff; color: #275b72; box-shadow: var(--shadow-pill); }
.snav.on .i { color: #0e859f; opacity: 1; }
.snav-badge { min-width: 38px; height: 22px; padding: 0 8px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--accent); color: #fff; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) {
  .topbar { flex-wrap: wrap; row-gap: 20px; }
  .sitenav { order: 3; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; }
  .sitenav::-webkit-scrollbar { display: none; }
  .snav { flex: none; }
}
@media (max-width: 640px) {
  .snav { height: 36px; padding: 0 12px; font-size: 14px; }
  .back { margin-top: 28px; }
}
@media print { .sitenav { display: none; } }

/* Neutral avatar in the header (no personal name or photo) */
.avatar-generic { display: inline-grid; place-items: center; flex: none; background: rgba(255,255,255,.18); color: #fff; }
.avatar-generic svg { width: 58%; height: 58%; }
a.avatar-generic { text-decoration: none; transition: background .15s ease-out, box-shadow .15s ease-out; }
@media (hover: hover) and (pointer: fine) { a.avatar-generic:hover { background: rgba(255,255,255,.3); } }
a.avatar-generic:focus-visible { outline: 3px solid rgba(255,255,255,.7); outline-offset: 3px; }
a.avatar-generic[aria-current="page"] { background: #fff; color: #0e859f; }
a.avatar-generic.has-photo { background: none; overflow: hidden; }
a.avatar-generic.has-photo svg { display: none; }
a.avatar-generic img { width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; }
.snav-badge[hidden] { display: none !important; }
