/* Small overrides that should not require rebuilding styles.css */

/* Anchor scrolling is controlled by JS in index.html.
   Neutralize any CSS-based offsets coming from styles.css so there are no
   competing scroll-padding/scroll-margin rules. */
html {
	scroll-padding-top: 0 !important;
}

section[id],
[id] {
	scroll-margin-top: 0 !important;
}

/* Keep the contact form visible even when BasinJS tries to hide it on success.
	BasinJS typically sets display:none on the form; override that so we can
	show a success message *below* the form instead of replacing it. */
#contact-form,
#contact-form[hidden],
#contact-form[style*="display:none"],
#contact-form[style*="display: none"] {
	display: grid !important;
}

/* Hide the reCAPTCHA badge (floating Privacy/Terms box).
   When hiding the badge, we display the required reCAPTCHA notice in the
   contact section on the home page. */
.grecaptcha-badge {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	pointer-events: none !important;
}
