/* css/nav.css - the header of every business page except the home page and
   Contract Review: the matte black bar and the phone and tablet drawer.

   Both halves are copies of what the home page already does. The bar comes
   from css/home.css ("Black header bar, white logo"), the drawer from
   css/mobile.css; contract-review.html carries the drawer inline. Keep them
   in step.

   Load it LAST in <head>, after the page's own <style>. The pages it lands
   on each paste in their own header rules - a white bar on some, a glass
   bar over a dark hero on others - so the colours here are !important:
   this file exists to override them.

   Nothing but colour changes above 992px. The drawer rules all sit inside
   max-width: 991.98px. */


/* ---------------------------------------------------------------
   THE BAR  (2026-11-19: black on every page, as on the home page)
   Matte black in both states, at every width, with the white logo,
   white links and matte panels.
   ------------------------------------------------------------- */

#header .wsmainfull,
#header .wsmainfull.scroll,
#header.tra-menu .wsmainfull:not(.scroll),
#header.tra-menu .wsmainfull.scroll {	/* the glass pages clear the scrolled bar with !important */
	background-color: #121212 !important;
	box-shadow: none !important;
}

/* The glass layer some pages hang behind a transparent bar. */
#header .wsmainfull::before {
	display: none !important;
}

/* Phone bar: black with the white logo and a white burger */
.wsmobileheader {
	background-color: #121212 !important;
	box-shadow: none !important;
}
.wsanimated-arrow span,
.wsanimated-arrow span:before,
.wsanimated-arrow span:after {
	background: #fff !important;
}
.wsactive .wsanimated-arrow span {
	background: transparent !important;
}

@media (min-width: 992px) {

	#header .desktoplogo .logo-black { display: none !important; }
	#header .desktoplogo .logo-white { display: block !important; }

	#header .wsmenu > .wsmenu-list > li > a.h-link {
		color: #fff !important;
	}
	#header .wsmenu > .wsmenu-list > li > a.h-link:hover {
		color: rgba(255, 255, 255, 0.72) !important;
	}

	/* White outline, solid white with dark text on hover. */
	#header .wsmenu > .wsmenu-list a.last-link {
		color: #fff !important;
		background-color: transparent !important;
		border-color: rgba(255, 255, 255, 0.55) !important;
	}
	#header .wsmenu > .wsmenu-list a.last-link:hover,
	#header .wsmenu > .wsmenu-list a.last-link:focus {
		color: #121212 !important;
		background-color: #fff !important;
		border-color: #fff !important;
	}

	/* Matte black dropdown panels */
	#header .wsmenu > .wsmenu-list > li.has-dropdown > ul.sub-menu {
		background-color: #121212 !important;
		border: 1px solid rgba(255, 255, 255, 0.08) !important;
		box-shadow: none !important;
	}
	#header .wsmenu > .wsmenu-list > li.has-dropdown > ul.sub-menu > li > a {
		background-color: transparent !important;
		color: rgba(255, 255, 255, 0.85) !important;
	}
	#header .wsmenu > .wsmenu-list > li.has-dropdown > ul.sub-menu > li > a:hover {
		background-color: #1c1c1c !important;
		color: #fff !important;
	}

	/* Matte black mega-menu panels (Platform and Resources) */
	#header .wsmenu > .wsmenu-list > li.mg_link > .wsmegamenu.mm-platform,
	#header .wsmainfull.scroll .wsmenu > .wsmenu-list > li.mg_link > .wsmegamenu.mm-platform {
		background-color: #121212 !important;
		box-shadow: none !important;
		-webkit-backdrop-filter: none !important;
		backdrop-filter: none !important;
	}
	#header .wsmegamenu.mm-platform h6.title,
	#header .wsmegamenu.mm-platform p.title {
		color: rgba(255, 255, 255, 0.45) !important;
	}
	#header .wsmegamenu.mm-platform ul.link-list > li > a {
		background-color: transparent !important;
		color: #fff !important;
	}
	#header .wsmegamenu.mm-platform ul.link-list > li > a:hover {
		background-color: #1c1c1c !important;
	}
	#header .wsmegamenu.mm-platform .mm-desc {
		color: rgba(255, 255, 255, 0.6) !important;
	}
	#header .wsmegamenu.mm-platform .mm-foot {
		border-top-color: rgba(255, 255, 255, 0.14) !important;
	}
	#header .wsmegamenu.mm-platform .mm-foot a {
		color: #fff !important;
	}
}


/* ---------------------------------------------------------------
   THE DRAWER
   ------------------------------------------------------------- */

/* The drawer's logo and contact block exist only in the drawer. */
#header .wsmenu > .wsmenu-list > li.nav-drawer-head,
#header .wsmenu > .wsmenu-list > li.nav-drawer-foot {
	display: none;
}


/* ---------------------------------------------------------------
   SLIDE-IN NAV DRAWER
   The drawer replaces the bar from 991px down, not 767px, so these
   reach tablets too - hence the wider query.
   ------------------------------------------------------------- */

@media (max-width: 991.98px) {

	/* The drawer is a white panel, so its call to action follows the
	   page's near-black like every other button on the site, rather than
	   the theme's slate. */
	#header .wsmenu > .wsmenu-list a.btn {
		background-color: #121212 !important;
		border-color: #121212 !important;
		color: #fff !important;
	}

	/* White on the black panel. */
	#header .wsmenu > .wsmenu-list > li > a.h-link {
		color: #fff;
	}

	/* The call to action. The theme renders it as one more full-width row,
	   flush to the drawer edges with square corners, so it reads as a menu
	   item rather than something to press. Inset the row and give the
	   button back its padding and rounded corners, so it looks like the
	   one in the header. */
	/* The bar's single button belongs to the wide layout only. */
	#header .wsmenu > .wsmenu-list > li.mobile-last-link {
		display: none;
	}

	/* ---- The drawer itself ----
	   Black panel, white type, with the logo at the top and the contact
	   details and social links at the foot. */
	#header .wsmenu > .wsmenu-list {
		background-color: #121212;
	}

	#header .wsmenu > .wsmenu-list > li {
		border-bottom-color: rgba(255, 255, 255, 0.10);
	}

	#header .wsmenu > .wsmenu-list > li > a.h-link {
		border-bottom-color: rgba(255, 255, 255, 0.10);
	}

	/* the chevron on the items that open */
	#header .wsmenu > .wsmenu-list > li > .wsmenu-click > i {
		border-color: rgba(255, 255, 255, 0.55);
	}

	/* sub-panels sit on the same black rather than the theme's white */
	#header .wsmenu > .wsmenu-list > li > ul.sub-menu,
	#header .wsmenu > .wsmenu-list > li > .wsmegamenu {
		background-color: #121212;
		border-bottom-color: rgba(255, 255, 255, 0.10);
	}

	#header .wsmenu > .wsmenu-list > li > ul.sub-menu > li > a,
	#header .wsmenu > .wsmenu-list > li > .wsmegamenu ul.link-list > li > a {
		color: rgba(255, 255, 255, 0.82);
	}

	#header .wsmenu > .wsmenu-list > li > .wsmegamenu .mm-desc {
		color: rgba(255, 255, 255, 0.55);
	}

	/* The column titles inside the Platform panel. index.html still marks
	   these up as h6; the insight template uses p. Both are matched, and
	   both need !important because responsive.css paints them the deep
	   purple --header-color, which is invisible on the black drawer. */
	#header .wsmegamenu h6.title,
	#header .wsmegamenu p.title {
		color: rgba(255, 255, 255, 0.45) !important;
	}

	/* ---- Logo at the top of the drawer ---- */
	#header .wsmenu > .wsmenu-list > li.nav-drawer-head {
		display: block;
		padding: 26px 20px 22px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.10);
		/* the drawer centres its contents; the logo sits left, on the same
		   edge as the menu labels and the contact block below */
		text-align: left;
	}

	/* The link wraps the image and is inline by default, so it picks up
	   that centring unless it is made a block of its own. The theme also
	   pads every li > a in the drawer by 20px on the left, which pushed
	   the logo in past the menu labels - so that comes off here. */
	#header .wsmenu > .wsmenu-list > li.nav-drawer-head > a {
		display: block;
		padding: 0;
	}

	/* 40% up from the 44px it was. The logo file carries about 4% of
	   transparent space down its left edge, so the negative margin pulls
	   the mark itself onto the same line as the labels below rather than
	   leaving it looking indented. */
	#header .wsmenu > .wsmenu-list > li.nav-drawer-head img {
		display: block;
		width: auto;
		max-height: 62px;
		margin-left: -8px;
	}

	/* ---- Contact details and socials at the foot ---- */
	#header .wsmenu > .wsmenu-list > li.nav-drawer-foot {
		display: block;
		padding: 30px 20px 40px;
		border-bottom: none;
		text-align: left;
	}

	.drawer-foot-title {
		margin: 0 0 18px;
		font-family: var(--main-font);
		font-size: 1.25rem;
		font-weight: 600;
		line-height: 1.2;
		color: #fff;
	}

	.drawer-foot-title--follow {
		margin-top: 34px;
	}

	.drawer-foot-label {
		margin: 0 0 2px;
		font-size: 0.8125rem;
		font-weight: 300;
		line-height: 1.4;
		color: rgba(255, 255, 255, 0.5);
	}

	.drawer-foot-value {
		margin: 0 0 16px;
		font-size: 0.9375rem;
		font-weight: 400;
		line-height: 1.4;
	}

	.drawer-foot-value a {
		color: #fff;
	}

	.drawer-foot-socials {
		display: flex;
		gap: 14px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.drawer-foot-socials > li {
		margin: 0;
		padding: 0;
		border: none;
	}

	.drawer-foot-socials a {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 38px;
		height: 38px;
		border: 1px solid rgba(255, 255, 255, 0.28);
		border-radius: 50%;
		color: #fff;
	}

	.drawer-foot-socials [class*="flaticon-"]::before {
		font-size: 0.9375rem;
		line-height: 1;
	}

	/* ---- The page behind the drawer ----
	   #header holds the drawer, so everything except the header is
	   blurred; blurring #page itself would blur the drawer with it. */
	body.wsactive #page > *:not(#header) {
		filter: blur(5px);
	}
}


/* ---------------------------------------------------------------
   DRAWER TYPE
   The drawer follows the same scale as the rest of the phone layout
   (see CLAUDE.md): titles at weight 500, descriptions at 300, with
   1.15 / 1.25 / 1.5 line heights. Colour is the one thing that does
   not carry over - this panel is black, so the type is white rather
   than the #121212 used on the page.
   ------------------------------------------------------------- */

@media (max-width: 991.98px) {

	/* Top-level items: title weight and line height. The theme built the
	   row height out of a 46px line, so with a 1.25 line the padding has
	   to carry it instead - otherwise the rows collapse to about 33px and
	   stop being comfortable to tap. */
	#header .wsmenu > .wsmenu-list > li > a.h-link {
		font-weight: 500;
		line-height: 1.25;
		padding-top: 17px;
		padding-bottom: 17px;
	}

	/* Column titles inside the Platform panel */
	#header .wsmegamenu h6.title,
	#header .wsmegamenu p.title {
		font-weight: 500;
		line-height: 1.25;
	}

	/* Module and dropdown links */
	#header .wsmenu > .wsmenu-list > li > .wsmegamenu ul.link-list > li > a,
	#header .wsmenu > .wsmenu-list > li > ul.sub-menu > li > a,
	#header .wsmegamenu .mm-foot a {
		font-weight: 500;
		line-height: 1.25;
	}

	/* The line under each module name is description copy */
	#header .wsmenu > .wsmenu-list > li > .wsmegamenu .mm-desc {
		font-weight: 300;
		line-height: 1.5;
	}

	/* "Contact Info" and "Follow Us" are section headings */
	.drawer-foot-title {
		font-weight: 500;
		line-height: 1.15;
	}

	/* The labels and the addresses under them are description copy */
	.drawer-foot-label,
	.drawer-foot-value {
		font-weight: 300;
		line-height: 1.5;
	}
}


/* ---------------------------------------------------------------
   DRAWER: THE PLATFORM PANEL
   Each group gets a label with a short rule under it, and the modules
   below are separated by hairlines, so the panel reads as two labelled
   groups rather than one long list.
   ------------------------------------------------------------- */

@media (max-width: 991.98px) {

	/* Group label: small, muted, with the accent rule beneath it. */
	#header .wsmenu > .wsmenu-list > li > .wsmegamenu h6.title,
	#header .wsmenu > .wsmenu-list > li > .wsmegamenu p.title {
		position: relative;
		margin: 0 0 22px 10px !important;
		padding-bottom: 12px;
		font-size: 0.9375rem !important;
		letter-spacing: 0.01em;
	}

	#header .wsmenu > .wsmenu-list > li > .wsmegamenu h6.title::after,
	#header .wsmenu > .wsmenu-list > li > .wsmegamenu p.title::after {
		content: "";
		position: absolute;
		left: 0;
		bottom: 0;
		width: 26px;
		height: 2px;
		background-color: rgba(255, 255, 255, 0.45);
	}

	/* The second group needs air above it, so the two read apart. */
	#header .wsmenu > .wsmenu-list > li > .wsmegamenu .col-lg-6 + .col-lg-6 h6.title,
	#header .wsmenu > .wsmenu-list > li > .wsmegamenu .col-lg-6 + .col-lg-6 p.title {
		margin-top: 30px !important;
	}

	/* A hairline between modules, none under the last of a group. */
	#header .wsmenu > .wsmenu-list > li > .wsmegamenu ul.link-list > li {
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	#header .wsmenu > .wsmenu-list > li > .wsmegamenu ul.link-list > li:last-child {
		border-bottom: none;
	}

	/* Module name over its description, with room to breathe. */
	#header .wsmenu > .wsmenu-list > li > .wsmegamenu ul.link-list > li > a {
		padding: 16px 20px 16px 10px !important;
	}

	/* home.css hides the descriptor under 991px, on the assumption the
	   accordion has no room for it. The drawer is a full-height panel now,
	   so the line comes back: it is what makes each module readable. */
	#header .wsmenu > .wsmenu-list > li > .wsmegamenu .mm-desc {
		display: block;
		margin-top: 6px;
		font-size: 0.8125rem;
	}

	/* The bottom strip sits on the same left edge as everything else.
	   It lives outside the Bootstrap row, so it never gets the row's
	   negative gutter that pulls the two columns left; -12px hands it
	   the same start, and the 10px matches the links' padding. */
	#header .wsmenu > .wsmenu-list > li > .wsmegamenu .mm-foot {
		margin: 14px 20px 0 -2px;
	}
}


/* ---------------------------------------------------------------
   FOOTER FINE PRINT  (2026-11-19)
   Not the nav, but this is the one stylesheet every one of these
   pages shares. The copyright line and the legal note under it are
   11px small print, as on the home page (css/home.css is the
   original). !important because each page sets its own footer <p>
   size.
   ------------------------------------------------------------- */

#page footer .footer-copyright p,
#page footer .footer-legal {
	font-size: 11px !important;
	line-height: 1.5 !important;
	color: #121212 !important;	/* some pages paint footer copy grey */
}
#page footer .footer-legal {
	margin: 6px 0 0 !important;
}
