/* Mirrors .v2 .notification-banner on highspeedtraining.co.uk */
.hst-hub-banner.notification-banner {
	align-items: center;
	background-color: #c5d4fc;
	border-left: none;
	display: flex;
	justify-content: center;
	padding: 15px;
}

/* Sizes in px: the Hub's root font size is 17px, the main site's is 16px. */
.hst-hub-banner .notification-banner__title {
	color: #000;
	font-family: sharp-grotesk, "Trebuchet MS", sans-serif;
	font-size: 16px;
	line-height: 24px;
	max-width: 1140px;
	text-align: center;
}

/* The main site's lead-in is a <b> at 700, and the editor saves bold as <strong>. */
.hst-hub-banner .notification-banner__title strong,
.hst-hub-banner .notification-banner__title b {
	font-weight: 700;
}

/* The Hub theme antialiases all text, which looks thinner on macOS than the main site. */
.hst-hub-banner,
.hst-hub-banner * {
	-webkit-font-smoothing: auto;
}

.hst-hub-banner .notification-banner__title p {
	line-height: inherit;
	margin: 0;
}

.hst-hub-banner .notification-banner__title a {
	color: #0f1422;
	display: inline;
	font-weight: 500;
	position: relative;
	text-decoration: underline;
}

.hst-hub-banner .notification-banner__title a:hover {
	text-decoration: none;
}

.hst-hub-banner .notification-banner__title a::before {
	animation: hstHubBannerFadeIn 0.3s ease-in;
	background: #7396f7;
	bottom: 0;
	content: "";
	display: none;
	height: 0.0625rem;
	left: 0;
	position: absolute;
	right: 0;
}

.hst-hub-banner .notification-banner__title a:hover::before {
	display: block;
}

/* From 1200px the header grows to 176px inside its fixed 160px and overlaps whatever follows. */
@media (min-width: 1200px) {
	.hst-hub-banner.notification-banner {
		margin-top: 16px;
	}
}

@keyframes hstHubBannerFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}
