/* ==========================================================================
   NFCR base: site-wide defaults. Scoped to body.nfcr-site (added by the
   plugin) so it outranks Goodwish's element-level styles.
   ========================================================================== */

html { scroll-behavior: smooth; }

body.nfcr-site {
	background: var(--nfcr-bg);
	color: var(--nfcr-text);
	font-family: var(--nfcr-font);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.nfcr-site ::selection { background: var(--nfcr-orange); color: #fff; }

/* Keyboard focus, as in the design */
body.nfcr-site a:focus-visible,
body.nfcr-site button:focus-visible,
body.nfcr-site [tabindex]:focus-visible {
	outline: var(--nfcr-focus);
	outline-offset: 2px;
	border-radius: 6px;
}

/* Anchor jumps land below the sticky section nav */
body.nfcr-site [id] { scroll-margin-top: calc(var(--nfcr-anchor-offset) + var(--wp-admin--admin-bar--height, 0px)); }

/* Skip link: hidden until focused */
.nfcr-skip-link {
	position: absolute;
	left: -9999px;
	top: 10px;
	z-index: 1000;
	background: var(--nfcr-navy);
	color: #fff !important;
	padding: 12px 22px;
	border-radius: var(--nfcr-r-pill);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
}
.nfcr-skip-link:focus { left: var(--nfcr-gutter); }

/* Two-tone heading highlight: *word* in any NFCR heading field */
.nfcr-hl { color: var(--nfcr-navy); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	body.nfcr-site *,
	body.nfcr-site *::before,
	body.nfcr-site *::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}
