/**
 * Site-wide alert bar
 *
 * Plain CSS on purpose: the theme's LESS sources in /styles compile to
 * style.min.css, and that build is not runnable in this repo (no node_modules).
 * This file is enqueued after style.min.css so it does not depend on a rebuild.
 *
 * Sizes are in px, not rem: the theme sets html { font-size: 12px } below
 * 700px, which would drop rem-based type under the 16px minimum on mobile.
 */

.alert-bar {
	background-color: #003660;
	color: #ffffff;
	font-family: 'Lato', sans-serif;
	flex-shrink: 0; /* body is a flex column; keep the bar at full height */
}

.alert-bar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 24px;
	padding-top: 12px;
	padding-bottom: 12px;
}

.alert-bar__text {
	margin: 0;
	color: #ffffff;
	font-size: 17px;
	line-height: 1.4;
	font-weight: 700;
	text-align: center;
}

.alert-bar__cta {
	display: inline-block;
	padding: 8px 20px;
	background-color: #ffa400;
	border: 1px solid #ffa400;
	color: #003660;
	font-size: 16px;
	line-height: 1.4;
	font-weight: 400;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.alert-bar__cta:hover,
.alert-bar__cta:focus {
	background-color: #ffffff;
	color: #003660;
	border-color: #ffffff;
	text-decoration: none;
}

.alert-bar__cta:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

@media screen and (max-width: 699px) {
	.alert-bar__inner {
		gap: 10px 16px;
	}

	.alert-bar__text {
		font-size: 16px;
	}
}
