/* HC text roles. Rem units respect the reader's default font size and zoom.
 * Mobile first; tablet and desktop changes are shared by every block.
 * Do not set a fixed root font-size or disable browser text scaling.
 */
:root {
	--hc-font-heading: 'Mogathe-Spurs', serif;
	--hc-font-body: 'Zilla Slab', serif;
	--hc-type-display: 1.875rem;
	--hc-type-page: 1.75rem;
	--hc-type-feature: 2rem;
	--hc-type-section: 1.75rem;
	--hc-type-card: 1.375rem;
	--hc-type-lead: 1.25rem;
	--hc-type-body: 1.125rem;
	--hc-type-copy: 1.125rem;
	--hc-type-question: 1.125rem;
	--hc-type-answer: 1.125rem;
	--hc-type-ui: 1rem;
	--hc-type-small: 1rem;
}

@media (min-width: 48em) {
	:root {
		--hc-type-display: 2.5rem;
		--hc-type-page: 2.25rem;
		--hc-type-feature: 2.5rem;
		--hc-type-section: 2rem;
	}
}

@media (min-width: 64em) {
	:root {
		--hc-type-display: 3.25rem;
		--hc-type-page: 3rem;
		--hc-type-feature: 3rem;
		--hc-type-section: 2.5rem;
		--hc-type-card: 1.5rem;
		--hc-type-lead: 1.375rem;
		--hc-type-body: 1.25rem;
		--hc-type-question: 1.25rem;
	}
}

/* A fallback for block controls without a component-specific focus style.
 * The two colours remain distinguishable on light and dark surfaces.
 */
:where([class*='wp-block-hc-blocks-'], .hc-lunch) :is(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
	box-shadow: 0 0 0 4px #2c1810;
}
