/*
 * NEW (2026-12-02, audit #2): header + footer like leverageedu.com (markup: includes/header/site-chrome.php).
 * Sizes, colours and font measured on leverageedu.com on 2026-12-02.
 */

/* Main site font (same domain, served by leverageedu.com) */
@font-face { font-family: "Proxima Nova"; src: url("https://leverageedu.com/fonts/proxima-nova/Proxima%20Nova%20Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Proxima Nova"; src: url("https://leverageedu.com/fonts/proxima-nova/Proxima%20Nova%20Semibold.otf") format("opentype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Proxima Nova"; src: url("https://leverageedu.com/fonts/proxima-nova/Proxima%20Nova%20Bold.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
	--le-font: "Proxima Nova", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--le-ink: rgba(0, 0, 0, .8);
	--le-navy: #0b2b4c;
	--le-line: rgba(212, 212, 212, .5);
	--le-hover-bg: #eef3f9;
	--le-wrap: 1140px;
}

/* Whole header stays at the top while scrolling.
   css/style.css sets overflow-x:hidden on html/body, which turns them into scroll boxes and breaks
   position:sticky; overflow-x:clip still cuts off sideways overflow but keeps sticky working. */
html, body { overflow-x: clip !important; }
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: #fff;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* ---------- Main bar ---------- */
.le-mhdr {
	background: #fff;
	border-bottom: 1px solid var(--le-line);
	font-family: var(--le-font);
}
.le-mhdr-inner {
	max-width: var(--le-wrap);
	margin: 0 auto;
	padding: 0 20px;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.le-mhdr-logo { display: inline-flex; flex: 0 0 auto; }
.le-mhdr-logo img { height: 54px; width: auto; display: block; }

.le-mnav { flex: 1 1 auto; display: flex; justify-content: center; height: 100%; }
.le-mnav ul { list-style: none; margin: 0; padding: 0; }
.le-mnav-list { display: flex; align-items: stretch; height: 100%; }
.le-mnav-list > li { position: relative; display: flex; align-items: center; }
.le-mnav-list > li + li::before {
	content: "/";
	margin: 0 16px;
	color: var(--le-ink);
	font-size: 14px;
	font-weight: 600;
}
.le-mnav-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-family: var(--le-font);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--le-ink);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}
.le-mnav-link:hover, .le-mnav-link:focus-visible { color: #000; }
/* theme button styles (coloured background on hover/focus) must not apply to our menu buttons */
.le-mnav-link, .le-mnav-link:hover, .le-mnav-link:focus, .le-mnav-link:active,
.le-mhdr-burger, .le-mhdr-burger:hover, .le-mhdr-burger:focus, .le-mhdr-burger:active,
.le-mftr-head, .le-mftr-head:hover, .le-mftr-head:focus, .le-mftr-head:active {
	background-color: transparent !important;
	box-shadow: none !important;
}

/* Dropdowns */
.le-mnav-sub {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 224px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(16, 24, 40, .12);
	z-index: 20;
}
.le-mnav-sub .le-mnav-sub { top: 0; left: 100%; border-left: 1px solid #ececec; box-shadow: 8px 8px 24px rgba(16, 24, 40, .10); }
.le-mnav-sub > li { position: relative; }
.le-mnav-sub .le-mnav-link { height: auto; width: 100%; padding: 14px 24px; text-align: left; }
.le-mnav-sub .le-mnav-link:hover, .le-mnav-sub .le-has-sub:hover > .le-mnav-link, .le-mnav-sub .le-has-sub.is-open > .le-mnav-link { background: var(--le-hover-bg); }
.le-mnav-sub .le-has-sub > .le-mnav-link::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-45deg);
	flex: 0 0 auto;
}
/* Icon before a link (country flags, like leverageedu.com) */
.le-mnav-icon { display: block; width: 36px; height: 24px; object-fit: cover; flex: 0 0 auto; }
.le-mnav-sub .le-mnav-link.le-has-icon { justify-content: flex-start; gap: 24px; color: var(--le-navy); letter-spacing: .4px; }
.le-mmenu-list a.le-has-icon { display: flex; align-items: center; gap: 16px; }

.le-has-sub:hover > .le-mnav-sub,
.le-has-sub:focus-within > .le-mnav-sub,
.le-has-sub.is-open > .le-mnav-sub { display: block; }

/* Phone + burger */
.le-mhdr-actions { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.le-mhdr-phone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--le-navy);
	border-radius: 6px;
	color: var(--le-navy);
}
.le-mhdr-phone svg { width: 18px; height: 18px; }
.le-mhdr-burger { display: none; width: 32px; height: 32px; padding: 6px 4px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: space-between; }
.le-mhdr-burger span { display: block; height: 2px; background: #333; border-radius: 2px; }

/* Phone menu panel */
.le-mmenu {
	border-top: 1px solid var(--le-line);
	background: #fff;
	max-height: calc(100vh - 71px);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	font-family: var(--le-font);
}
.le-mmenu[hidden] { display: none; }
.le-mmenu-list { list-style: none; margin: 0; padding: 0; }
.le-mmenu-list .le-mmenu-list, .le-mmenu-list .sub-menu { list-style: none; margin: 0; padding: 0 0 0 16px; }
.le-mmenu-list a, .le-mmenu-list summary {
	display: block;
	padding: 14px 20px;
	border-bottom: 1px solid #f0f0f0;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--le-ink);
	text-decoration: none;
	cursor: pointer;
	list-style: none;
}
.le-mmenu-list summary::-webkit-details-marker { display: none; }
.le-mmenu-list summary { position: relative; }
.le-mmenu-list summary::after {
	content: "";
	position: absolute;
	right: 24px;
	top: 50%;
	width: 7px;
	height: 7px;
	margin-top: -6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}
.le-mmenu-list details[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.le-mmenu-title {
	margin: 0;
	padding: 18px 20px 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: #8a94a6;
}
.le-mmenu-blog a { text-transform: none; letter-spacing: 0; font-weight: 500; }

/* ---------- Secondary menu (this site's "Primary" menu) ---------- */
.le-subnav {
	background: #fff;
	border-bottom: 1px solid var(--le-line);
	font-family: var(--le-font);
}
.le-subnav-inner {
	max-width: var(--le-wrap);
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 48px;
}
.le-subnav-menu { flex: 1 1 auto; min-width: 0; }
.le-subnav .navbar-nav { display: flex !important; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.le-subnav .navbar-nav > li { position: relative; }
.le-subnav .navbar-nav > li > a {
	display: block;
	padding: 14px 14px;
	font-family: var(--le-font);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .4px;
	text-transform: uppercase;
	color: rgba(0, 0, 0, .75);
	text-decoration: none;
	white-space: nowrap;
}
.le-subnav .navbar-nav > li:first-child > a { padding-left: 0; }
.le-subnav .navbar-nav > li > a:hover,
.le-subnav .navbar-nav > li.current-menu-item > a,
.le-subnav .navbar-nav > li.current-menu-ancestor > a { color: #4080bd; }
.le-subnav-search { flex: 0 0 auto; display: flex; align-items: center; }
.le-subnav-search .navbar-toggle-search { background: none; border: 0; padding: 8px; cursor: pointer; color: #333; }

/* ---------- Tablet / phone ---------- */
@media (max-width: 1019.98px) {
	.le-mnav { display: none; }
	.le-mhdr-burger { display: inline-flex; }
	.le-mhdr-inner { height: 64px; padding: 0 16px; }
	.le-mhdr-logo img { height: 44px; }

	/* secondary menu: one row, swipe sideways; dropdowns live in the ☰ menu instead */
	.le-subnav-inner { padding: 0 0 0 16px; min-height: 44px; }
	.le-subnav-menu { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.le-subnav-menu::-webkit-scrollbar { display: none; }
	.le-subnav .navbar-nav { flex-wrap: nowrap; }
	.le-subnav .navbar-nav > li { flex: 0 0 auto; white-space: nowrap; }
	.le-subnav .navbar-nav > li > a { display: flex; align-items: center; padding: 12px 12px; font-size: 12px; white-space: nowrap; }
	.le-subnav .navbar-nav .sub-menu,
	.le-subnav .navbar-nav .expanded,
	.le-subnav .navbar-nav > li.menu-item-has-children > a::after { display: none !important; }
	.le-subnav-search { padding-right: 8px; box-shadow: -8px 0 8px -6px rgba(0, 0, 0, .12); }
	html.le-mmenu-open, html.le-mmenu-open body { overflow: hidden; }
}

/* ---------- Footer (main-site style) ---------- */
/* Like the main site: white footer + skyline image at the bottom + 80% black layer on top (= #333),
   text above both. */
.le-mftr {
	position: relative;
	isolation: isolate;
	background: #fff url("https://publicassets.leverageedu.com/homepage/homepageV4/footer/footerBgWeb.webp") no-repeat center bottom / 100% auto;
	color: #fff;
	font-family: var(--le-font);
	padding: 90px 0 48px;
}
.le-mftr::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .8);
	z-index: -1;
}
.le-mftr-inner { position: relative; max-width: var(--le-wrap); margin: 0 auto; padding: 0 20px; }
.le-mftr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 64px 40px; }
.le-mftr-head {
	display: block;
	width: 100%;
	margin: 0 0 20px;
	padding: 0;
	border: 0;
	background: none;
	text-align: left;
	font-family: var(--le-font);
	font-size: 20px;
	font-weight: 600;
	text-transform: uppercase;
	color: #fff;
	cursor: default;
}
.le-mftr-links { list-style: none; margin: 0; padding: 0; }
.le-mftr-links li { margin: 0 0 16px; }
.le-mftr-links a { color: #fff; font-size: 16px; line-height: 1.5; text-decoration: none; }
.le-mftr-links a:hover { text-decoration: underline; }
.le-mftr-copy { margin: 96px 0 0; font-size: 16px; color: #fff; }

@media (max-width: 767.98px) {
	.le-mftr {
		background: #fff url("https://publicassets.leverageedu.com/homepage/homepageV4/footer/Skyline.png") no-repeat center bottom / 100% auto;
		padding: 40px 0 120px;
	}
	.le-mftr-inner { padding: 0 16px; }
	.le-mftr-grid { grid-template-columns: 1fr; gap: 0; }
	.le-mftr-col { border-bottom: 1px solid rgba(255, 255, 255, .18); }
	.le-mftr-head {
		position: relative;
		margin: 0;
		padding: 22px 32px 22px 0;
		font-size: 16px;
		font-weight: 500;
		letter-spacing: .5px;
		cursor: pointer;
	}
	.le-mftr-head::after {
		content: "";
		position: absolute;
		right: 6px;
		top: 50%;
		width: 8px;
		height: 8px;
		margin-top: -7px;
		border-right: 2px solid #fff;
		border-bottom: 2px solid #fff;
		transform: rotate(45deg);
	}
	.le-mftr-col.is-open .le-mftr-head::after { transform: rotate(-135deg); margin-top: -2px; }
	.le-mftr-links { display: none; padding-bottom: 12px; }
	.le-mftr-col.is-open .le-mftr-links { display: block; }
	.le-mftr-copy { margin-top: 40px; }
}
