/*
 * Fixed desktop navbar (components/header.html) — reserve space under the bar.
 * Uses :has() so only pages with <div id="header"> get offset (not person-details).
 * Load this stylesheet LAST (end of <body>) so it wins over page inline CSS.
 */
@media (min-width: 768px) {
  body:has(> #header) {
    padding-top: 160px !important;
  }

  html:has(body > #header) {
    scroll-padding-top: 160px;
  }
}
