/*
Theme Name:   EHC-OD (Hello Elementor Child)
Description:  Child theme for עץ הדעת – פיתוח ארגוני. Self-hosted fonts and base accessibility styles. Layout and design live in Elementor Global Settings.
Template:     hello-elementor
Version:      1.0.0
Text Domain:  ehc-od-child
License:      GPL-2.0-or-later
*/

/* Brand tokens (mirror of Elementor Global Colors — Elementor is the source of truth). */
:root {
	--ehc-deep: #0F5C63;
	--ehc-button: #0B7A80;
	--ehc-logo-teal: #10A8B0; /* lines/icons only, never text */
	--ehc-light: #D9F1F0;
	--ehc-ink: #14282B;
	--ehc-muted: #4A5E61;
	--ehc-bg: #FBFAF8;
	--ehc-sand: #B08D57; /* thin lines and numbering only */
}

body {
	background: var(--ehc-bg);
	color: var(--ehc-ink);
}

/* Visible keyboard focus everywhere (IS 5568 / WCAG 2.4.7). */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--ehc-button);
	outline-offset: 2px;
	border-radius: 2px;
}

/* Make Hello Elementor's skip link visible on focus. */
.skip-link.screen-reader-text:focus {
	clip: auto;
	clip-path: none;
	width: auto;
	height: auto;
	inset-inline-start: 1rem;
	top: 1rem;
	z-index: 100000;
	background: var(--ehc-deep);
	color: #fff;
	padding: .75rem 1.25rem;
	border-radius: 4px;
	font-weight: 600;
}

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