/*
 * Under-construction banner and section notice (States and Components sheet: the amber banner under the
 * header, and the smaller inline notice). The markup comes from the Unicus Core plugin, which enqueues this
 * stylesheet (handle 'unicus-notices') only on pages that show either. Amber is used for nothing else.
 */

.ucb-uc-banner {
	color: var(--wp--preset--color--notice-text);
	background: var(--wp--preset--color--notice-bg);
	border-bottom: var(--wp--custom--border-width--hairline) solid var(--wp--preset--color--notice-border);
}

.ucb-uc-banner__inner {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--3);
	padding-top: var(--wp--preset--spacing--3);
	padding-bottom: var(--wp--preset--spacing--3);
}

.ucb-uc-banner__icon {
	flex: 0 0 auto;
}

.ucb-uc-banner .ucb-uc-banner__text {
	margin: 0;
	font-size: var(--wp--preset--font-size--body);
	line-height: var(--wp--custom--line-height--body);
	color: var(--wp--preset--color--notice-text);
}

/*
 * Section level (board 05): a smaller notice at the top of the section's own container, above the eyebrow.
 * Some containers are a grid or a wrapping flex row (text-image, text, accordion, cta-band, form): there the
 * notice takes a whole row of its own, ahead of any reordered column.
 */
.ucb-uc-notice {
	grid-column: 1 / -1;
	flex: 0 0 100%;
	order: -2;
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--2);
	margin-bottom: var(--wp--preset--spacing--6);
	padding: var(--wp--preset--spacing--2) var(--wp--preset--spacing--4);
	color: var(--wp--preset--color--notice-text);
	background: var(--wp--preset--color--notice-bg);
	border: var(--wp--custom--border-width--hairline) solid var(--wp--preset--color--notice-border);
	border-radius: var(--wp--custom--radius--card);
}

.ucb-uc-notice__icon {
	flex: 0 0 auto;
}

.ucb-uc-notice .ucb-uc-notice__text {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	line-height: var(--wp--custom--line-height--small);
	color: var(--wp--preset--color--notice-text);
}
