/*
Theme Name: Essex Allergy
Author: Coopa
Description: A lightweight block theme for Essex Allergy, with full site editing, brand styles, reusable patterns, and custom Gutenberg blocks.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: essex-allergy
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, editor-style, wide-blocks, translation-ready
*/

/* Shared by the front end and the editor. Global design tokens live in theme.json. */
:where(.wp-site-blocks, .editor-styles-wrapper) {
	overflow-wrap: break-word;
}

:where(.wp-site-blocks, .editor-styles-wrapper) :where(a, button, input, textarea, select, [tabindex]):focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 4px;
}

.wp-site-blocks > main {
	min-height: 45vh;
}

.wp-block-site-title a,
.wp-block-navigation a {
	text-decoration: none;
}

.wp-block-site-title a:hover,
.wp-block-navigation a:hover {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.wp-block-button__link {
	transition: filter 160ms ease;
}

.wp-block-button__link:hover {
	filter: brightness(0.92);
}

@media (prefers-reduced-motion: reduce) {
	.wp-block-button__link { transition: none; }
}
