/* Shared frontend/editor details. Design tokens live in theme.json. */
.wp-site-blocks {
	--mw-focus: var(--wp--preset--color--blue);
}

.wp-site-blocks > * {
	margin-block-start: 0;
}

:where(.wp-site-blocks, .editor-styles-wrapper) {
	font-optical-sizing: auto;
	font-synthesis: none;
}

:where(.wp-site-blocks, .editor-styles-wrapper) :where(h1, h2, h3, p) {
	overflow-wrap: anywhere;
}

:where(.wp-site-blocks, .editor-styles-wrapper) :where(h1, h2, h3) {
	text-wrap: balance;
}

:where(.wp-site-blocks, .editor-styles-wrapper) :where(a, button, input, textarea, select, [tabindex]):focus-visible {
	outline: 2px solid var(--mw-focus, var(--wp--preset--color--blue));
	outline-offset: 5px;
}

.wp-block-group.is-style-dark-section {
	--mw-focus: var(--wp--preset--color--chalk);
	background-color: var(--wp--preset--color--deep);
	color: var(--wp--preset--color--chalk);
}

.has-deep-background-color,
.has-ink-background-color,
.has-fern-background-color,
.has-blue-background-color {
	--mw-focus: var(--wp--preset--color--chalk);
}

.is-style-dark-section a:where(:not(.wp-element-button)) {
	color: inherit;
}

.is-style-dark-section .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--wp--preset--color--chalk);
	color: var(--wp--preset--color--deep);
}

.wp-block-paragraph.is-style-eyebrow,
p.is-style-eyebrow {
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
	letter-spacing: var(--wp--custom--typography--label-tracking);
	line-height: 1.5;
	text-transform: uppercase;
}

.mw-hero-title {
	font-stretch: 90%;
	line-height: 0.95;
}

.mw-site-header {
	border-bottom: var(--wp--custom--border--width) solid color-mix(in srgb, currentColor 25%, transparent);
}

.wp-block-button__link {
	min-height: 44px;
	box-sizing: border-box;
}

.wp-block-navigation .wp-block-navigation-item__content {
	padding-block: 0.625rem;
}

.wp-block-navigation__responsive-container.is-menu-open {
	padding: var(--wp--custom--gutter);
}

.wp-block-separator {
	opacity: 0.25;
}

@media (prefers-reduced-motion: reduce) {
	:where(.wp-site-blocks, .editor-styles-wrapper) *,
	:where(.wp-site-blocks, .editor-styles-wrapper) *::before,
	:where(.wp-site-blocks, .editor-styles-wrapper) *::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
