.me-promo-bar {
	--me-promo-navy: var(--me-color-brand, #17244a);
	--me-promo-green: #08794d;
	position: relative;
	background: var(--me-promo-navy);
	color: #fff;
	font-family: inherit;
}

.me-promo-bar[hidden],
.me-promo-bar [hidden],
.me-promo-dialog:not([open]) {
	display: none !important;
}

/* Legacy theme paragraph rules specify a font without a fallback. Keep this UI coherent. */
#me-site-promotion-bar :is(p, strong, span, a, button),
#me-site-promotion-dialog :is(p, h2, button, a, dt, dd) {
	font-family: inherit;
}

.me-promo-bar__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	max-width: 1240px;
	min-height: 56px;
	margin: 0 auto;
	padding: 8px 20px;
}

.me-promo-bar__inner p {
	margin: 0;
	color: inherit;
	font-size: 13px;
	line-height: 1.5;
}

.me-promo-bar__inner strong {
	color: #fff;
	font-weight: 700;
}

.me-promo-bar__inner p > span {
	margin-left: 16px;
	color: #d9e7f4;
	white-space: nowrap;
}

.me-promo-bar__link {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8px 15px;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 5px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}

.me-promo-bar__link:hover {
	background: #fff;
	color: var(--me-promo-navy);
}

.me-promo-bar__close,
.me-promo-dialog__close {
	display: inline-flex;
	flex: 0 0 44px;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 5px;
	background: transparent;
	color: inherit;
	font-size: 28px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
}

.me-promo-bar__close:hover {
	background: rgba(255, 255, 255, .12);
}

.me-promo-modal-open {
	overflow: hidden;
}

.me-promo-dialog {
	--me-promo-navy: var(--me-color-brand, #17244a);
	--me-promo-green: #08794d;
	position: fixed;
	inset: 0;
	box-sizing: border-box;
	width: min(560px, calc(100% - 32px));
	max-width: none;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 0;
	overflow: auto;
	overscroll-behavior: contain;
	border: 1px solid #d5e2dc;
	border-top: 6px solid var(--me-promo-green);
	border-radius: 14px;
	background: #fff;
	color: var(--me-promo-navy);
	font-family: inherit;
	box-shadow: 0 24px 80px rgba(10, 23, 44, .28);
}

.me-promo-dialog::backdrop {
	background: rgba(9, 21, 40, .64);
}

.me-promo-dialog__close {
	position: absolute;
	top: 9px;
	right: 9px;
	z-index: 1;
	color: #4c5c6b;
}

.me-promo-dialog__close:hover {
	background: #eef4f1;
}

.me-promo-dialog__content {
	padding: 36px 38px 25px;
}

.me-promo-dialog__logo {
	display: block;
	width: 195px;
	height: auto;
	max-width: calc(100% - 34px);
	margin-bottom: 26px;
}

.me-promo-dialog__intro {
	margin: 0 0 9px;
	color: #08623e;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
}

.me-promo-dialog #me-promo-dialog-title {
	margin: 0 0 18px;
	color: var(--me-promo-navy);
	font-size: clamp(28px, 4vw, 38px);
	font-weight: 800;
	line-height: 1.14;
	letter-spacing: -.025em;
}

.me-promo-dialog #me-promo-dialog-description {
	margin: 0;
	color: #455569;
	font-size: 15px;
	line-height: 1.65;
}

.me-promo-dialog__packages {
	margin: 22px 0 18px;
	padding: 0;
	border-top: 1px solid #d6e5dd;
}

.me-promo-dialog__packages > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 16px;
	padding: 14px 0;
	border-bottom: 1px solid #d6e5dd;
	font-size: 15px;
	line-height: 1.5;
}

.me-promo-dialog__packages dt {
	margin: 0;
	color: var(--me-promo-navy);
	font-weight: 650;
}

.me-promo-dialog__packages dd {
	margin: 0;
	color: #08623e;
	font-weight: 750;
}

.me-promo-dialog .me-promo-dialog__date {
	margin: 0 0 8px;
	color: #233d32;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
}

.me-promo-dialog .me-promo-dialog__terms {
	margin: 0 0 22px;
	color: #586574;
	font-size: 12px;
	line-height: 1.65;
}

.me-promo-dialog__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 12px 20px;
	border: 1px solid var(--me-promo-green);
	border-radius: 7px;
	background: var(--me-promo-green);
	color: #fff;
	font-size: 15px;
	font-weight: 750;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
}

.me-promo-dialog__cta:hover {
	border-color: #075c3b;
	background: #075c3b;
	color: #fff;
}

.me-promo-dialog__later {
	display: block;
	min-height: 44px;
	margin: 8px auto 0;
	padding: 10px 18px;
	border: 0;
	background: transparent;
	color: #4b5b6a;
	font-family: inherit;
	font-size: 13px;
	line-height: 1.5;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.me-promo-bar a:focus-visible,
.me-promo-bar button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.me-promo-dialog a:focus-visible,
.me-promo-dialog button:focus-visible {
	outline: 3px solid var(--me-promo-navy);
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.me-promo-bar__inner {
		gap: 8px;
		padding: 9px 12px;
	}
	.me-promo-bar__inner p {
		flex: 1;
		font-size: 11px;
	}
	.me-promo-bar__inner p > span {
		display: block;
		margin: 4px 0 0;
		font-size: 10px;
		white-space: normal;
	}
	.me-promo-bar__link {
		min-height: 44px;
		padding: 8px 10px;
		font-size: 11px;
	}
	.me-promo-bar__close {
		flex-basis: 36px;
		width: 36px;
	}
	.me-promo-dialog__content {
		padding: 30px 22px 18px;
	}
	.me-promo-dialog__logo {
		width: 165px;
		margin-bottom: 24px;
	}
	.me-promo-dialog__packages > div {
		font-size: 13px;
	}
}
