/**
 * The "Not in the first release" bar below the header, on staging only.
 * See includes/raskin/release-notice.php and docs/release-notice.md.
 *
 * Charcoal across the full width, so it reads as a note about the page
 * rather than part of it; the content keeps the sections' 1400px container
 * with 16px of padding. The link follows the inline link rule (links.css)
 * turned to white text for the dark field.
 */

.sba-release-notice {
	background: var(--sba-charcoal);
	color: #fff;
	font-family: var(--sba-font-sans);
}

.sba-release-notice-inner {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	max-width: var(--sba-container-max);
	margin: 0 auto;
	padding: 14px 16px;
}

.sba-release-notice-icon {
	flex: none;
	margin-top: 2px;
	color: var(--sba-red);
}

.sba-release-notice-text {
	flex: 1;
	margin: 0;
	color: #fff;
	font-size: 15px;
	line-height: 24px;
}

.sba-release-notice-text strong {
	font-weight: 700;
}

.sba-release-notice a.sba-release-notice-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: 4px;
	color: #fff;
	font-weight: 500;
	white-space: nowrap;
	text-decoration: underline;
	text-decoration-color: hsl(var(--sba-red-hsl) / 0.5);
	text-underline-offset: 4px;
	transition: text-decoration-color var(--sba-duration-hover) ease;
}

.sba-release-notice a.sba-release-notice-link:hover,
.sba-release-notice a.sba-release-notice-link:focus {
	color: #fff;
	text-decoration-color: var(--sba-red);
}

/* One class more than the Global Kit's `.elementor-kit-22166 button`. */
.sba-release-notice .sba-release-notice-close {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: -4px -6px -4px 0;
	padding: 0;
	border: 0;
	border-radius: var(--sba-radius-md);
	background: transparent;
	color: var(--sba-slate-light);
	cursor: pointer;
	transition: color var(--sba-duration-hover) ease, background-color var(--sba-duration-hover) ease;
}

.sba-release-notice .sba-release-notice-close:hover,
.sba-release-notice .sba-release-notice-close:focus-visible {
	background: var(--sba-charcoal-light);
	color: #fff;
}

.sba-release-notice .sba-release-notice-close:focus-visible {
	outline: 2px solid var(--sba-ring);
	outline-offset: 2px;
}
