/* Shared front-end/editor foundation. Values come from theme.json. */
*, *::before, *::after { box-sizing: border-box; }
body {
	margin: 0;
	font-family: var(--wp--preset--font-family--noto-sans);
	font-size: var(--wp--preset--font-size--body);
	font-weight: 400;
	line-height: 1.5;
	color: var(--wp--preset--color--text);
	background: var(--wp--preset--color--background);
}
h1, h2, h3, h4, h5, h6 { font-weight: 700; overflow-wrap: anywhere; }
h1 { font-size: var(--wp--preset--font-size--heading-1); line-height: 1.18; }
h2 { font-size: var(--wp--preset--font-size--heading-2); line-height: 1.25; }
h3 { font-size: var(--wp--preset--font-size--heading-3); line-height: 1.36; }
p, li, a { overflow-wrap: anywhere; }
img, video { max-width: 100%; height: auto; }
iframe { max-width: 100%; }
a { color: var(--wp--preset--color--action); text-underline-offset: 0.18em; }
a:hover { color: var(--wp--preset--color--action-hover); }
a:active { color: var(--wp--preset--color--action-pressed); }
:focus-visible {
	outline: 2px solid var(--wp--preset--color--action);
	outline-offset: 3px;
	box-shadow: 0 0 0 3px var(--wp--preset--color--background);
}
.tm-button, button, input[type="submit"], .wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	max-width: 100%;
	padding: 12px 24px;
	border: 1px solid transparent;
	border-radius: var(--wp--custom--radius--control);
	background: var(--wp--preset--color--action);
	color: var(--wp--preset--color--background);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	cursor: pointer;
}
.tm-button:hover, button:hover, input[type="submit"]:hover, .wp-element-button:hover {
	background: var(--wp--preset--color--action-hover);
	color: var(--wp--preset--color--background);
}
.tm-button:active, button:active, input[type="submit"]:active, .wp-element-button:active {
	background: var(--wp--preset--color--action-pressed);
}
button:disabled, input:disabled {
	background: var(--wp--preset--color--section);
	color: var(--wp--preset--color--muted);
	border-color: var(--wp--preset--color--separator);
	cursor: default;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]), select, textarea {
	min-height: 48px;
	max-width: 100%;
	padding: 12px;
	border: 1px solid var(--wp--preset--color--control-border);
	border-radius: var(--wp--custom--radius--control);
	background: var(--wp--preset--color--background);
	color: var(--wp--preset--color--text);
	font: inherit;
	font-size: 1rem;
}
input[type="checkbox"], input[type="radio"] { accent-color: var(--wp--preset--color--action); }
/* Match the text-input selector so the error border overrides its shorthand. */
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"])[aria-invalid="true"],
[aria-invalid="true"] { border-color: var(--wp--preset--color--error); }
pre { max-width: 100%; overflow: auto; }
.wp-block-table { overflow-x: auto; }
@media (min-width: 768px) {
	body { line-height: 1.55556; }
	h1 { line-height: 1.16667; }
	h3 { line-height: 1.33333; }
}
