.notification-banner {
	position: relative;
	display: flex;
	min-height: 57px;
	padding: 0 4rem;
	color: #fff;
	background-color: #40865c;
	align-items: center;
	justify-content: center;
}

.notification-banner__content {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5625rem;
}

.notification-banner .notification-banner__message {
	margin: 0;
	color: inherit;
	font-weight: 600;
	line-height: 1.4;
}

.notification-banner__status {
	width: 0.625rem;
	height: 0.625rem;
	border: 2px solid rgba(255, 255, 255, 0.65);
	border-radius: 50%;
	background-color: #fff;
	box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
	flex: 0 0 auto;
	animation: notification-banner-pulse 1.8s ease-out infinite;
}

.notification-banner__link {
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.notification-banner__link:hover,
.notification-banner__link:focus {
	color: #fff;
	text-decoration-thickness: 2px;
}

.notification-banner__link:focus-visible,
.notification-banner__close:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.notification-banner__close {
	position: absolute;
	top: 50%;
	right: 0.75rem;
	display: inline-flex;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	color: #fff;
	background: transparent;
	cursor: pointer;
	transform: translateY(-50%);
	align-items: center;
	justify-content: center;
}

.notification-banner__close svg {
	display: block;
}

.notification-banner__close path {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 1.5;
}

.notification-banner[hidden] {
	display: none;
}

body.has-notification-banner.notification-banner-dismissed #primary-content {
	padding-top: 90px;
}

@keyframes notification-banner-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
	}

	70%,
	100% {
		box-shadow: 0 0 0 0.5rem rgba(255, 255, 255, 0);
	}
}

@media (max-width: 600px) {
	.notification-banner {
		min-height: 72px;
		padding: 0.625rem 3.75rem 0.625rem 1rem;
	}

	.notification-banner__content {
		flex-wrap: wrap;
		align-items: flex-start;
		justify-content: flex-start;
		column-gap: 0.75rem;
		row-gap: 0.125rem;
	}

	/* Sit on the optical center of the message's first line. */
	.notification-banner__status {
		margin-top: 0.3125rem;
	}

	/* Flex wrapping measures each item's basis rather than its shrunk width, so
	   an `auto` basis sends this long paragraph to a line of its own. A zero
	   basis keeps it beside the dot and wraps the text inside the paragraph. */
	.notification-banner .notification-banner__message {
		min-width: 0;
		font-size: 1rem !important;
		flex: 1 1 0;
	}

	/* A full basis keeps the CTA on its own line now that the message no longer
	   fills one; shrinking prevents the basis from causing overflow. */
	.notification-banner__link {
		flex: 0 1 100%;
		margin-left: 1.3125rem;
	}

	.notification-banner__close {
		top: 0;
		right: 0;
		transform: none;
	}

	body.has-notification-banner #primary-content {
		padding-top: 162px;
	}

	body.has-notification-banner.notification-banner-dismissed #primary-content {
		padding-top: 90px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.notification-banner__status {
		animation: none;
	}
}