.ast-mobile-header-v2 {
	display: none;
}

html,
body.ast-mobile-header-v2-active {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

html body.ast-mobile-header-v2-active #page {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.ast-advisor-announcement {
	position: sticky;
	top: 0;
	z-index: 11000;
	height: 32px;
	max-height: 32px;
	overflow: hidden;
	background: #00525c;
	transition: height .28s ease, max-height .28s ease, opacity .22s ease, transform .28s ease;
}

.ast-advisor-announcement.is-hidden {
	height: 0;
	max-height: 0;
	opacity: 0;
	transform: translateY(-100%);
}

.ast-advisor-announcement a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 0 16px;
	gap: 9px;
	color: #fff;
	font-size: 13px;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
}

.ast-advisor-announcement a:hover,
.ast-advisor-announcement a:focus-visible {
	color: #fff;
	background: #00444c;
	text-decoration: none;
}

.ast-advisor-announcement__new {
	position: relative;
	flex: 0 0 auto;
	overflow: hidden;
	padding: 3px 7px;
	border-radius: 999px;
	color: #3b2a15;
	background: #f6b743;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.ast-advisor-announcement__new::after {
	content: "";
	position: absolute;
	top: -45%;
	left: -70%;
	width: 44%;
	height: 190%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent);
	transform: rotate(18deg);
	animation: ast-announcement-new-shimmer 4.8s ease-in-out infinite;
}

@keyframes ast-announcement-new-shimmer {
	0%, 68% {
		left: -70%;
		opacity: 0;
	}
	72% {
		opacity: 1;
	}
	84% {
		left: 130%;
		opacity: .9;
	}
	88%, 100% {
		left: 130%;
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ast-advisor-announcement__new::after {
		animation: none;
		display: none;
	}
}

.ast-advisor-announcement strong {
	flex: 0 0 auto;
	color: #fff;
	font-size: 12px;
	white-space: nowrap;
}

.ast-advisor-announcement__copy--mobile {
	display: none;
}

.ast-advisor-announcement-modal[hidden] {
	display: none;
}

.ast-advisor-announcement-modal {
	position: fixed;
	inset: 0;
	z-index: 12000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(18, 35, 38, .58);
	backdrop-filter: blur(3px);
}

.ast-advisor-announcement-modal__dialog {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 154px;
	gap: 24px;
	width: min(610px, 100%);
	padding: 28px;
	border: 1px solid rgba(0, 82, 92, .2);
	border-radius: 18px;
	background: #fffdf9;
	box-shadow: 0 24px 70px rgba(25, 38, 40, .28);
	color: #3f3441;
}

.ast-advisor-announcement-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	color: #625660;
	font-size: 26px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
}

.ast-advisor-announcement-modal__close:hover,
.ast-advisor-announcement-modal__close:focus,
.ast-advisor-announcement-modal__close:active {
	background: #f4ece5;
	box-shadow: none;
	color: #3c303a;
	font-size: 26px;
	line-height: 1;
	transform: none;
}

.ast-advisor-announcement-modal__eyebrow {
	display: block;
	margin: 0 36px 6px 0;
	color: #a96313;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ast-advisor-announcement-modal__copy h2 {
	margin: 0 36px 10px 0;
	color: #00525c;
	font-size: 24px;
	line-height: 1.2;
}

.ast-advisor-announcement-modal__copy p {
	margin: 0 0 14px;
	color: #514650;
	font-size: 15px;
	line-height: 1.55;
}

.ast-advisor-announcement-modal__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 17px;
	border-radius: 999px;
	background: #168a68;
	color: #fff !important;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none !important;
}

.ast-advisor-announcement-modal__button:hover,
.ast-advisor-announcement-modal__button:focus,
.ast-advisor-announcement-modal__button:active {
	background: #0f6f54;
	color: #fff !important;
	text-decoration: none !important;
}

.ast-advisor-announcement-modal__copy small {
	display: block;
	margin-top: 10px;
	color: #71666f;
	font-size: 11px;
	line-height: 1.4;
}

.ast-advisor-announcement-modal__qr-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 7px;
	color: #665b64;
	font-size: 11px;
	line-height: 1.3;
	text-align: center;
}

.ast-advisor-announcement-modal__qr {
	width: 142px;
	height: 142px;
	padding: 7px;
	border: 1px solid #e3d8cd;
	border-radius: 12px;
	background: #fff;
}

.ast-advisor-announcement-modal__qr img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
}

body.ast-advisor-announcement-modal-open {
	overflow: hidden;
}

@media screen and (max-width: 767px) {
	.ast-advisor-announcement-modal {
		display: none !important;
	}

	.ast-advisor-announcement {
		height: calc(34px + env(safe-area-inset-top, 0px));
		max-height: calc(34px + env(safe-area-inset-top, 0px));
		padding-top: env(safe-area-inset-top, 0px);
		box-sizing: border-box;
	}

	.ast-advisor-announcement.is-hidden {
		height: 0;
		max-height: 0;
	}

	.ast-advisor-announcement a {
		padding: 0 8px;
		gap: 6px;
		font-size: 11px;
	}

	.ast-advisor-announcement__copy--desktop {
		display: none;
	}

	.ast-advisor-announcement__copy--mobile {
		display: inline;
	}

	.ast-advisor-announcement strong {
		font-size: 10px;
	}

	body.ast-mobile-header-v2-active #header {
		margin: 0;
		padding: 0;
		background: #fff;
		border-bottom: 1px solid #eee5de;
	}

	body.ast-mobile-header-v2-active #header .container,
	body.ast-mobile-header-v2-active #header .row,
	body.ast-mobile-header-v2-active #header .col-lg-12 {
		width: 100%;
		margin: 0;
		padding: 0;
	}

	body.ast-mobile-header-v2-active #header .widget,
	body.ast-mobile-header-v2-active #header .top-menu,
	body.ast-mobile-header-v2-active #header .col-lg-12 > img {
		display: none !important;
	}

	body.ast-mobile-header-v2-active .ast-mobile-header-v2 {
		display: flex;
		align-items: center;
		min-height: 84px;
		padding: 9px 78px 8px 16px;
		background-color: #f8f8f7;
		background-image: url('../images/mobile-header-background.jpg');
		background-position: right center;
		background-repeat: no-repeat;
		background-size: cover;
	}

	body.ast-mobile-header-v2-active.ast-no-advisor-announcement .ast-mobile-header-v2 {
		min-height: calc(84px + env(safe-area-inset-top, 0px));
		padding-top: calc(9px + env(safe-area-inset-top, 0px));
	}

	body.ast-mobile-header-v2-active .ast-mobile-header-v2__brand {
		position: relative;
		z-index: 1;
		display: inline-flex;
		align-items: center;
		min-width: 0;
		padding: 5px 0;
		cursor: pointer;
		text-decoration: none;
	}

	body.ast-mobile-header-v2-active .ast-mobile-header-v2__brand img {
		display: block;
		width: min(48vw, 184px);
		height: auto;
	}

	body.ast-mobile-header-v2-active .ast-mobile-header-v2__menu.mm-header-menu-toggle,
	body.ast-mobile-header-v2-active .ast-mobile-header-v2__menu.mm-header-menu-toggle:hover,
	body.ast-mobile-header-v2-active .ast-mobile-header-v2__menu.mm-header-menu-toggle:focus-visible,
	body.ast-mobile-header-v2-active .ast-mobile-header-v2__menu.mm-header-menu-toggle:active,
	body.ast-mobile-header-v2-active .ast-mobile-header-v2__menu.mm-header-menu-toggle.is-open {
		top: 26px;
		right: 56px;
		transform: scale(1.11);
		transform-origin: center;
		color: #00525c;
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		outline: none;
	}

	body.ast-mobile-header-v2-active .ast-mobile-header-v2__menu.mm-header-menu-toggle:focus-visible span {
		text-decoration: underline;
		text-decoration-thickness: 2px;
		text-underline-offset: 2px;
	}

	body.ast-mobile-header-v2-active .ast-mobile-header-v2__menu-lines {
		display: grid;
		gap: 4px;
		width: 23px;
		margin: 0 0 4px;
	}

	body.ast-mobile-header-v2-active .ast-mobile-header-v2__menu-lines i {
		display: block;
		width: 100%;
		height: 2px;
		border-radius: 2px;
		background: currentColor;
		transition: opacity .2s ease, transform .2s ease;
	}

	body.ast-mobile-header-v2-active .ast-mobile-header-v2__menu.is-open .ast-mobile-header-v2__menu-lines i:first-child {
		transform: translateY(6px) rotate(45deg);
	}

	body.ast-mobile-header-v2-active .ast-mobile-header-v2__menu.is-open .ast-mobile-header-v2__menu-lines i:nth-child(2) {
		opacity: 0;
	}

	body.ast-mobile-header-v2-active .ast-mobile-header-v2__menu.is-open .ast-mobile-header-v2__menu-lines i:last-child {
		transform: translateY(-6px) rotate(-45deg);
	}

}
