:root { --sn-h: 44px; }                      /* fallback until JS measures the real height */
@media (max-width: 640px) { :root { --sn-h: 80px; } }

/* Push the whole page below the banner */
html {
  padding-top: var(--sn-h);
  scroll-padding-top: var(--sn-h);           /* anchor links don't hide under the banner */
}

#static-notice {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 2147483647;
  box-sizing: border-box;
  padding: 10px 16px;
  text-align: center;
  background: #fff3cd;
  color: #664d03;
  border-bottom: 1px solid #ffecb5;
  font: 14px/1.4 system-ui, sans-serif;
}

/* Hide functionality that no longer works */
.search-form, .wp-block-search, #respond, .comment-form { display: none !important; }
