/* v1.97: The header must stay sticky as in the original theme.
   Only remove the blank space before the first header template-part. */
body .wp-site-blocks {
  padding-block-start: 0 !important;
  padding-top: 0 !important;
}
body .wp-site-blocks > .wp-block-template-part:has(> .at-header),
body .wp-site-blocks > header:has(> .at-header) {
  margin-block-start: 0 !important;
  margin-top: 0 !important;
  padding-block-start: 0 !important;
  padding-top: 0 !important;
  position: sticky !important;
  top: 0;
  z-index: 1002;
}
/* Existing shadow, border, header dimensions and mobile menu are untouched. */
body.admin-bar .wp-site-blocks > .wp-block-template-part:has(> .at-header),
body.admin-bar .wp-site-blocks > header:has(> .at-header) { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .wp-site-blocks > .wp-block-template-part:has(> .at-header),
  body.admin-bar .wp-site-blocks > header:has(> .at-header) { top: 46px; }
}
@media (max-width: 600px) {
  body.admin-bar .wp-site-blocks > .wp-block-template-part:has(> .at-header),
  body.admin-bar .wp-site-blocks > header:has(> .at-header) { top: 0; }
}
