/*
 * Site-wide touches for the membership subdomain (Astra theme):
 * brand fonts, a crisp header and menu, and a navy footer.
 */

body {
	font-family: "F2AN Mulish", Mulish, system-ui, -apple-system, "Segoe UI", sans-serif;
}

h1, h2, h3, h4, h5, h6,
.entry-title {
	font-family: "F2AN Oswald", Oswald, "Arial Narrow", sans-serif;
}

/* Header */
.site-header .ast-primary-header-bar,
.site-header .main-header-bar {
	background: #fff;
	border-bottom: 1px solid #dfe7f1;
	box-shadow: 0 6px 24px -18px rgba(15, 53, 87, 0.45);
}

.site-header .main-header-menu > .menu-item > .menu-link,
.site-header .ast-builder-menu .menu-item > .menu-link {
	font-family: "F2AN Mulish", Mulish, system-ui, sans-serif;
	font-weight: 700;
	font-size: 15px;
	color: #0f3557;
}

.site-header .main-header-menu > .menu-item > .menu-link:hover,
.site-header .main-header-menu > .menu-item.current-menu-item > .menu-link,
.site-header .main-header-menu > .menu-item.current_page_item > .menu-link {
	color: #e26123;
}

.site-header .main-header-menu > .menu-item.current-menu-item > .menu-link {
	box-shadow: inset 0 -3px 0 #e26123;
}

/* Sign out sits apart from the navigation, as a quiet pill. */
.site-header .main-header-menu > .f2an-menu-signout > .menu-link {
	margin-left: 8px;
	padding: 6px 16px !important;
	border: 2px solid #1c6aac;
	border-radius: 999px;
	color: #1c6aac;
	line-height: 1.4;
}

.site-header .main-header-menu > .f2an-menu-signout > .menu-link:hover {
	background: #1c6aac;
	color: #fff;
}

.site-header .main-header-menu > .f2an-menu-apply > .menu-link {
	margin-left: 8px;
	padding: 6px 18px !important;
	border-radius: 999px;
	background: #e26123;
	color: #fff !important;
	line-height: 1.4;
}

.site-header .main-header-menu > .f2an-menu-apply > .menu-link:hover {
	background: #c24f17;
}

.ast-mobile-header-wrap .menu-toggle,
.ast-mobile-header-wrap .menu-toggle .ast-mobile-svg {
	color: #1c6aac;
	fill: #1c6aac;
}

/* Footer */
.site-footer,
.site-footer .site-below-footer-wrap,
.site-footer .site-primary-footer-wrap,
.site-footer .ast-builder-grid-row-container {
	background: #0f3557 !important;
	border: 0 !important;
}

.site-footer,
.site-footer p,
.site-footer .ast-footer-copyright {
	color: #c9dbeb !important;
	font-size: 14px;
}

.site-footer a {
	color: #fff !important;
}

.site-footer a:hover {
	color: #f4a679 !important;
}

/* Below the footer, a thin line in the three brand colours. */
.site-footer::before {
	content: "";
	display: block;
	height: 4px;
	background: linear-gradient(90deg, #e26123 0 50%, #1c6aac 50% 85%, #36a4dd 85% 100%);
}

/* The portal pages draw their own spacing. */
body.f2an-portal-page .site-content > .ast-container,
body.f2an-portal-page #primary,
body.f2an-portal-page .site-main,
body.f2an-portal-page .entry-content,
body.f2an-portal-page article {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.f2an-portal-page .entry-content > :last-child {
	margin-bottom: 0;
}
