/* =====================================================================
   Full-screen navy mobile menu (see inc/mobile-menu.php)
   Everything is scoped under #tc-mm so theme / Elementor button and
   link styles can't leak in.
   ===================================================================== */

/* Once the script is running, never show Elementor's own mobile
   dropdown. Target only the dropdown <nav> container: the desktop
   menu's sub-menus (<ul class="sub-menu elementor-nav-menu--dropdown">)
   share the class and must keep working. */
.tc-mm-ready .elementor-location-header nav.elementor-nav-menu--dropdown.elementor-nav-menu__container {
	display: none !important;
}

html.tc-mm-open,
html.tc-mm-open body {
	overflow: hidden !important;
}

#tc-mm {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	flex-direction: column;
	height: 100vh;
	height: 100dvh;
	box-sizing: border-box;
	padding-top: env(safe-area-inset-top);
	background: #212A75;
	color: #FFFFFF;
	font-family: "Calibril", Carlito, Calibri, sans-serif;
	font-size: 16px;
	line-height: 1.3;
	text-align: left;
	opacity: 0;
	transform: translateY(-12px);
	transition: opacity .22s ease, transform .22s ease;
}
#tc-mm[hidden] {
	display: none;
}
#tc-mm.is-open {
	opacity: 1;
	transform: none;
}
#tc-mm *,
#tc-mm *::before,
#tc-mm *::after {
	box-sizing: border-box;
}

#tc-mm a,
#tc-mm a:hover,
#tc-mm a:focus,
#tc-mm a:visited {
	color: #FFFFFF;
	text-decoration: none;
	box-shadow: none;
}
#tc-mm a:hover {
	color: #FBB040;
}
#tc-mm button,
#tc-mm button:hover,
#tc-mm button:focus {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: #FFFFFF;
	font: inherit;
	line-height: inherit;
	letter-spacing: normal;
	text-transform: none;
	white-space: normal;
	box-shadow: none;
	cursor: pointer;
	transition: none;
}
#tc-mm a:focus-visible,
#tc-mm button:focus-visible {
	outline: 2px solid #FBB040;
	outline-offset: 2px;
}
#tc-mm ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#tc-mm svg {
	display: block;
	flex: none;
}

/* Content column – full width on phones, centred on tablets. */
#tc-mm .tc-mm__wrap {
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
}

/* ---- Header ---- */
#tc-mm .tc-mm__head {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 20px 12px 24px;
}
#tc-mm .tc-mm__brand {
	display: flex;
	align-items: center;
	gap: 12px;
}
#tc-mm .tc-mm__brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}
#tc-mm .tc-mm__brand-1 {
	font-family: "Montserrat Heading", Montserrat, sans-serif;
	font-weight: 700;
	font-size: 19px;
	color: #FFFFFF;
}
#tc-mm .tc-mm__brand-2 {
	margin-top: 3px;
	font-family: "Montserrat Heading", Montserrat, sans-serif;
	font-weight: 500;
	font-size: 14px;
	color: #FF5A61;
}
#tc-mm .tc-mm__close,
#tc-mm .tc-mm__close:hover,
#tc-mm .tc-mm__close:focus {
	width: 48px;
	height: 48px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	display: flex;
	align-items: center;
	justify-content: center;
}
#tc-mm .tc-mm__close:hover {
	background: rgba(255, 255, 255, .2);
}

/* ---- Nav ---- */
#tc-mm .tc-mm__nav {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding: 12px 24px 8px;
}
#tc-mm .tc-mm__label {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #B9BEE6;
}
#tc-mm .tc-mm__item {
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}
#tc-mm .tc-mm__item:last-child {
	border-bottom: 0;
}
#tc-mm .tc-mm__link,
#tc-mm .tc-mm__link:hover,
#tc-mm .tc-mm__link:focus {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 56px;
	font-family: "Montserrat Heading", Montserrat, sans-serif;
	font-weight: 600;
	font-size: 24px;
	line-height: 1.2;
	text-align: left;
}
#tc-mm .tc-mm__link:hover {
	color: #FBB040;
}
#tc-mm .tc-mm__link.is-current,
#tc-mm .tc-mm__item--group.is-current > .tc-mm__toggle {
	font-weight: 700;
	color: #FBB040;
}
#tc-mm .tc-mm__dot {
	width: 10px;
	height: 10px;
	border-radius: 99px;
	flex: none;
}
#tc-mm .tc-mm__text {
	flex: 1;
}
#tc-mm .tc-mm__chev {
	display: flex;
	color: #FBB040;
	transition: transform .2s;
}
#tc-mm .tc-mm__toggle[aria-expanded="true"] .tc-mm__chev {
	transform: rotate(180deg);
}

/* Sponsorship sub-menu */
#tc-mm .tc-mm__sub {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0 0 14px;
	padding: 6px;
	background: rgba(255, 255, 255, .07);
	border-radius: 18px;
}
#tc-mm .tc-mm__toggle[aria-expanded="false"] + .tc-mm__sub {
	display: none;
}
#tc-mm .tc-mm__sublink {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 52px;
	padding: 6px 14px;
	border-radius: 14px;
}
#tc-mm .tc-mm__sublink:hover {
	background: rgba(255, 255, 255, .06);
}
#tc-mm .tc-mm__sublink.is-featured {
	background: rgba(251, 176, 64, .16);
}
#tc-mm .tc-mm__subtext {
	display: flex;
	flex-direction: column;
}
#tc-mm .tc-mm__subtitle {
	font-size: 18px;
	font-weight: 700;
}
#tc-mm .tc-mm__subdesc {
	font-size: 14px;
	color: #D3D6F2;
}

/* ---- Footer ---- */
#tc-mm .tc-mm__foot {
	flex: none;
	padding: 16px 24px calc(28px + env(safe-area-inset-bottom));
	background: #1B2263;
	border-radius: 28px 28px 0 0;
}
#tc-mm .tc-mm__ctas {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 16px;
}
#tc-mm .tc-mm__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 10px;
	border-radius: 999px;
	font-family: "Montserrat Heading", Montserrat, sans-serif;
	font-weight: 700;
	font-size: 16px;
	text-align: center;
}
#tc-mm .tc-mm__cta--primary,
#tc-mm .tc-mm__cta--primary:hover,
#tc-mm .tc-mm__cta--primary:focus,
#tc-mm .tc-mm__cta--primary:visited {
	background: #FBB040;
	color: #212A75;
}
#tc-mm .tc-mm__cta--primary:hover {
	background: #FFC566;
}
#tc-mm .tc-mm__cta--ghost {
	border: 2px solid #FFFFFF;
}
#tc-mm .tc-mm__cta--ghost:hover {
	border-color: #FBB040;
}
/* Phone/email and social icons sit side by side when there's room;
   otherwise the icons drop to their own row instead of the email
   address breaking mid-word. */
#tc-mm .tc-mm__contact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
#tc-mm .tc-mm__contact-links {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 15px;
}
#tc-mm .tc-mm__contact-links a.tc-mm__email {
	color: #D3D6F2;
}
#tc-mm .tc-mm__contact-links a.tc-mm__email:hover {
	color: #FBB040;
}
#tc-mm .tc-mm__social {
	display: flex;
	gap: 6px;
	flex: none;
}
#tc-mm .tc-mm__social a {
	width: 44px;
	height: 44px;
	border-radius: 99px;
	background: rgba(255, 255, 255, .1);
	display: flex;
	align-items: center;
	justify-content: center;
}
#tc-mm .tc-mm__social a:hover {
	background: rgba(255, 255, 255, .2);
}

/* Small phones (iPhone SE): stack contact details above the icons. */
@media (max-width: 359px) {
	#tc-mm .tc-mm__head {
		padding-left: 20px;
	}
	#tc-mm .tc-mm__nav,
	#tc-mm .tc-mm__foot {
		padding-left: 20px;
		padding-right: 20px;
	}
	#tc-mm .tc-mm__link {
		font-size: 22px;
	}
	#tc-mm .tc-mm__cta {
		padding: 0 4px;
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#tc-mm,
	#tc-mm .tc-mm__chev {
		transition: none;
	}
}
