/* WordPress-only adjustments. academy.css is generated from the Cloudflare project
   (tools/build-assets.mjs), so plugin-specific styles live here instead. */

/* Signed-in editors see the WordPress admin bar: keep the sticky header below it. */
body.admin-bar .site-header { top: 32px; }
body.admin-bar .toc { top: calc(var(--hz-header-h) + 52px); max-height: calc(100vh - var(--hz-header-h) - 72px); }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
  /* the admin bar scrolls away on small screens */
  body.admin-bar .site-header { top: 0; }
}
@media (max-width: 1000px) {
  body.admin-bar .toc { top: 0; max-height: none; }
}

/* Lists made in the block editor carry a class, which academy.css's list rule skips. */
.prose ol.wp-block-list, .prose ul.wp-block-list { padding-left: 1.3em; }
