/* Shared by the WordPress theme and the React entry: one brand source. */
:root {
	--brand-ink: #070707;
	--brand-paper: #efefef;
	--brand-green: #16a085;
	--brand-green-strong: #096657;
	--brand-green-soft: color-mix(in srgb, var(--brand-green) 10%, var(--brand-paper));
	/* Amber is a reference, not an alert surface. Filled actions use soft honey. */
	--brand-amber: #fcba04;
	--brand-accent: #f2d58a;
	--brand-accent-hover: #e7c46f;
	--brand-accent-on-dark: #f2d58a;
	--brand-accent-strong: #785100;
	--brand-on-accent: #070707;
	--brand-accent-soft: color-mix(in srgb, var(--brand-accent) 18%, var(--brand-paper));
	--brand-focus: #070707;
	--brand-focus-on-dark: #f2d58a;
	/* Semantic danger is deliberately independent of the decorative accent. */
	--brand-danger: #b42318;
	--brand-danger-soft: color-mix(in srgb, var(--brand-danger) 12%, var(--brand-paper));
	--brand-line-height-display: 1.06;
	--brand-line-height-body: 1.5;
	--brand-line-height-ui: 1.35;
	--tvc-color-focus: var(--brand-focus);
}

/* Legacy plugin controls keep their existing layout and semantic colors. */
/* Editorial paragraphs share an alignment rule; controls and metadata do not. */
:is(.legal-document, .legal-content, .legal-article, .entry-content, .tvc-project-description, .tvc-message-body) p {
	text-align: justify;
	text-align-last: start;
	hyphens: auto;
}

body.wp-child-theme-torrelles-studio .tvc-external-content :is(.tvc-external-content__load, .tvc-external-content__actions a):focus-visible,
body.wp-child-theme-torrelles-studio .tvc-site-footer-nav a:focus-visible {
	outline-color: var(--brand-focus);
}
body.wp-child-theme-torrelles-studio :is(.tvc-mobile-account-link, .tvc-mobile-search input, .tvc-mobile-search button):focus-visible,
body.wp-child-theme-torrelles-studio .fusion-main-menu .tvc-menu-cta > a:focus-visible .menu-text,
body.wp-child-theme-torrelles-studio .fusion-main-menu :is(.tvc-account-menu > a, .tvc-account-menu > .sub-menu a):focus-visible {
	outline-color: var(--brand-focus-on-dark);
}
