/* Mobile menu (phones and tablets, below 992px). */
.aandd-mm-open {
	display: none;
	width: 44px;
	height: 44px;
	margin-left: 8px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #0b1a2b;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

@media (max-width: 991px) {
	.aandd-mm-open {
		display: inline-flex;
	}
}

.aandd-mm {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	flex-direction: column;
	background: #fafafa;
	color: #0b1a2b;
	font-family: "Work Sans", sans-serif;
}

.aandd-mm[hidden] {
	display: none;
}

html.aandd-mm-locked,
html.aandd-mm-locked body {
	overflow: hidden;
}

.aandd-mm svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.aandd-mm-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-shrink: 0;
	padding: 12px 20px;
	background: #fff;
	border-bottom: 1px solid #e6e9ee;
}

.aandd-mm-top img {
	display: block;
	width: auto;
	height: 40px;
}

.aandd-mm-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid #d9dee5;
	border-radius: 12px;
	background: #fff;
	color: #0b1a2b;
	cursor: pointer;
}

.aandd-mm-close svg {
	width: 22px;
	height: 22px;
}

.aandd-mm-body {
	flex: 1;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 16px 24px 8px;
}

.aandd-mm-search {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 48px;
	margin-bottom: 8px;
	padding: 0 14px;
	border: 1px solid #d9dee5;
	border-radius: 12px;
	background: #fff;
}

.aandd-mm-search:focus-within {
	border-color: #0066b3;
	box-shadow: 0 0 0 3px rgba(0, 102, 179, 0.15);
}

.aandd-mm-search svg {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	color: #5a6878;
}

.aandd-mm-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	outline: 0;
	box-shadow: none;
	background: transparent;
	font: inherit;
	font-size: 16px;
	color: #0b1a2b;
	-webkit-appearance: none;
	appearance: none;
}

.aandd-mm-link,
.aandd-mm-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 60px;
	padding: 0;
	border: 0;
	border-bottom: 1px solid #e6e9ee;
	background: transparent;
	font: inherit;
	font-size: 20px;
	font-weight: 500;
	color: #0b1a2b;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.aandd-mm-group .aandd-mm-toggle {
	border-bottom: 0;
}

.aandd-mm-group {
	border-bottom: 1px solid #e6e9ee;
}

.aandd-mm-link:hover,
.aandd-mm-link:focus-visible,
.aandd-mm-toggle:hover,
.aandd-mm-toggle:focus-visible {
	color: #0066b3;
}

.aandd-mm-chevron {
	width: 18px;
	height: 18px;
	stroke-width: 2;
	transition: transform 0.2s ease;
}

.aandd-mm-toggle[aria-expanded="true"] .aandd-mm-chevron {
	transform: rotate(180deg);
}

.aandd-mm-panel {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-bottom: 16px;
}

.aandd-mm-panel[hidden] {
	display: none;
}

.aandd-mm-sublink {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px 0;
	text-decoration: none;
}

.aandd-mm-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: #eaf3fb;
	color: #0066b3;
}

.aandd-mm-icon svg {
	width: 20px;
	height: 20px;
	stroke-width: 1.7;
}

.aandd-mm-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.aandd-mm-title {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.35;
	color: #0b1a2b;
}

.aandd-mm-sub {
	font-size: 13px;
	line-height: 1.4;
	color: #5a6878;
}

.aandd-mm-sublink:hover .aandd-mm-title,
.aandd-mm-sublink:focus-visible .aandd-mm-title {
	color: #0066b3;
}

.aandd-mm-cta {
	display: flex;
	gap: 12px;
	flex-shrink: 0;
	padding: 14px 24px calc(18px + env(safe-area-inset-bottom));
	border-top: 1px solid #e6e9ee;
	background: #fafafa;
}

.aandd-mm-call,
.aandd-mm-inquiry {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 52px;
	border-radius: 26px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
}

.aandd-mm-call {
	flex: 1;
	border: 1.5px solid #0b1a2b;
	color: #0b1a2b;
}

.aandd-mm-call svg {
	width: 18px;
	height: 18px;
}

.aandd-mm-inquiry {
	flex: 1.4;
	background: #0066b3;
	color: #fff;
}

.aandd-mm-call:hover,
.aandd-mm-call:focus-visible {
	color: #0066b3;
	border-color: #0066b3;
}

.aandd-mm-inquiry:hover,
.aandd-mm-inquiry:focus-visible {
	background: #0a4f8a;
	color: #fff;
}

@media (prefers-reduced-motion: reduce) {
	.aandd-mm-chevron {
		transition: none;
	}
}

/* Keep menu colours fixed after a tap: the theme's global a:visited/a:active
   colours otherwise turn visited links purple. */
.aandd-mm a.aandd-mm-link,
.aandd-mm a.aandd-mm-link:visited,
.aandd-mm a.aandd-mm-link:active,
.aandd-mm a.aandd-mm-link:focus,
.aandd-mm a.aandd-mm-call,
.aandd-mm a.aandd-mm-call:visited,
.aandd-mm a.aandd-mm-call:active,
.aandd-mm a.aandd-mm-call:focus,
.aandd-mm a.aandd-mm-sublink:visited .aandd-mm-title,
.aandd-mm a.aandd-mm-sublink:active .aandd-mm-title {
	color: #0b1a2b;
}

.aandd-mm a.aandd-mm-inquiry,
.aandd-mm a.aandd-mm-inquiry:visited,
.aandd-mm a.aandd-mm-inquiry:hover,
.aandd-mm a.aandd-mm-inquiry:focus,
.aandd-mm a.aandd-mm-inquiry:active {
	color: #fff;
}

.aandd-mm a.aandd-mm-link:hover,
.aandd-mm a.aandd-mm-link:focus-visible,
.aandd-mm a.aandd-mm-call:hover,
.aandd-mm a.aandd-mm-call:focus-visible,
.aandd-mm a.aandd-mm-sublink:hover .aandd-mm-title,
.aandd-mm a.aandd-mm-sublink:focus-visible .aandd-mm-title {
	color: #0066b3;
}

.aandd-mm a {
	-webkit-tap-highlight-color: transparent;
}
