/* TPJC Mobile Menu: only below 860px, where the theme hides its header. */

.tpjc-mbar,.tpjc-msheet{display:none}

@media (max-width:860px){
	html.tpjc-has-mbar body{padding-top:60px}

	.tpjc-mbar{
		display:flex;align-items:center;justify-content:space-between;
		position:fixed;left:0;right:0;top:0;z-index:97;height:60px;box-sizing:border-box;
		padding:0 8px 0 16px;
		background:rgba(251,252,254,.96);
		-webkit-backdrop-filter:saturate(1.4) blur(10px);backdrop-filter:saturate(1.4) blur(10px);
		border-bottom:1px solid rgba(20,28,46,.08);
	}
	.tpjc-mbar[hidden]{display:none}
	.tpjc-mbar__logo{display:flex;align-items:center;text-decoration:none;color:#141c2e;
		font-family:Archivo,sans-serif;font-size:11px;letter-spacing:.18em;transition:opacity .2s}
	.tpjc-mbar__logo img{display:block;height:37px;width:auto}
	.tpjc-mbar-home .tpjc-mbar:not(.is-scrolled) .tpjc-mbar__logo{opacity:0;pointer-events:none}

	.tpjc-mbar__actions{display:flex;align-items:center;gap:2px}
	.tpjc-mbar__btn{
		display:inline-flex;align-items:center;gap:10px;min-width:44px;height:44px;justify-content:center;
		background:none;border:0;padding:0 10px;margin:0;cursor:pointer;color:#141c2e;
		font-family:Archivo,sans-serif;font-size:11px;letter-spacing:.18em;text-transform:uppercase;
	}
	.tpjc-mbar__btn[hidden]{display:none}
	.tpjc-mbar__btn:focus-visible{outline:2px solid #0a7cff;outline-offset:-2px;border-radius:8px}
	.tpjc-mbar__btn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}
	.tpjc-mbar__lines{display:inline-flex;flex-direction:column;gap:6px;width:20px}
	.tpjc-mbar__lines i{display:block;height:1.5px;background:currentColor;transition:transform .2s}
	.tpjc-msheet-open .tpjc-mbar__lines i:first-child{transform:translateY(3.75px) rotate(45deg)}
	.tpjc-msheet-open .tpjc-mbar__lines i:last-child{transform:translateY(-3.75px) rotate(-45deg)}

	.tpjc-msheet{
		display:flex;flex-direction:column;justify-content:space-between;
		position:fixed;left:0;right:0;bottom:0;top:60px;z-index:96;overflow:auto;
		background:#fbfcfe;padding:12px 24px 32px;box-sizing:border-box;
	}
	.tpjc-msheet[hidden]{display:none}
	.tpjc-msheet__links{list-style:none;margin:0;padding:0}
	.tpjc-msheet__links li{margin:0;border-bottom:1px solid rgba(20,28,46,.08)}
	.tpjc-msheet__links a{
		display:block;padding:20px 0;text-decoration:none;color:#141c2e;
		font-family:Archivo,sans-serif;font-weight:300;font-size:24px;letter-spacing:.02em;
	}
	.tpjc-msheet__links a[aria-current="page"]{color:#0a7cff}
	.tpjc-msheet__foot{display:flex;flex-direction:column;gap:14px;padding-top:28px}
	.tpjc-msheet__cta{
		display:block;text-align:center;padding:16px;background:#141c2e;color:#fff;text-decoration:none;
		font-family:Archivo,sans-serif;font-size:12px;letter-spacing:.18em;text-transform:uppercase;
	}
	.tpjc-msheet__line{color:#3c5a82;text-decoration:none;font-family:Manrope,sans-serif;font-size:15px;text-align:center}

	html.tpjc-msheet-open,html.tpjc-msheet-open body{overflow:hidden}

	/* The homepage's own in-page menu below the hero is now redundant on phones. */
	.tpjc-has-mbar .tpjc-nav__links--mobile{display:none !important}
}

/* Keep the "Ask our AI expert" chat button from covering the open menu. */
html.tpjc-msheet-open .tpjc-chat-widget{display:none !important}
