/* v4.8.5: apply the proven document-level legal-page offset fix
   to the two custom Hanfwissen templates, without touching their content. */
html:has(body.blog),
html:has(body.single-post) {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
html body.blog,
html body.single-post {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
html body.blog > main.hf47-magazine,
html body.single-post > .hf471-post-page {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* The admin toolbar itself remains visible; sticky navigation is offset below it. */
html body.admin-bar.blog #wpadminbar,
html body.admin-bar.single-post #wpadminbar {
  position: fixed !important;
  top: 0 !important;
}
