/* HD Top Bar — slim navy bar above the desktop header. Bump HDTB_VER on change. */
@property --hdtb-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* The Avada containers it sits in (header 16982, "Top Menu" and "Top Menu Phone"): black, with a faint lift in the middle. */
.fusion-tb-header .fusion-fullwidth:has(.hdtb) { background: linear-gradient(90deg, #070708 0%, #151518 50%, #070708 100%) !important; position: relative; }
.fusion-tb-header .fusion-fullwidth:has(.hdtb)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, #03a9f4 20%, #3ecfb2 45%, #ff6b4a 70%, transparent); background-size: 200% 100%; opacity: .55; animation: hdtb-line 14s linear infinite; pointer-events: none; }
@keyframes hdtb-line { to { background-position: -200% 0; } }
.fusion-tb-header .fusion-fullwidth:has(.hdtb) .fusion-column-wrapper, .fusion-tb-header .fusion-fullwidth:has(.hdtb) .fusion-layout-column { margin-top: 0 !important; margin-bottom: 0 !important; }

.hdtb {
	--navy: #001b44; --deep: #0b3a6e; --blue: #1d5fa3; --sky: #03a9f4; --ice: #b3e0f2; --aqua: #3ecfb2; --coral: #ff6b4a; --slate: #5a6172; --line: #e3e8ef; --mist: #f5f7fa;
	--e: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);
	display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 46px; width: 100%;
	font-family: var(--awb-typography3-font-family, "Lexend"), "Lexend", system-ui, sans-serif; font-size: 12.5px; line-height: 1; letter-spacing: .01em; -webkit-font-smoothing: antialiased; text-align: left;
}
.hdtb *, .hdtb *::before, .hdtb *::after { box-sizing: border-box; }
.hdtb-i { width: 14px; height: 14px; display: block; flex: none; }

/* ---- contact chips ---- */
.hdtb__info { display: flex; align-items: center; gap: 6px; min-width: 0; }
.hdtb-chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 3px; border-radius: 999px; color: rgba(255, 255, 255, .78) !important; text-decoration: none !important; white-space: nowrap; transition: color .25s, background-color .25s, box-shadow .3s; }
.hdtb-chip__ico { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(179, 224, 242, .12); color: var(--ice); transition: background-color .25s, color .25s, transform .45s var(--spring); }
a.hdtb-chip:hover, a.hdtb-chip:focus-visible { color: #fff !important; background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 1px rgba(179, 224, 242, .18), 0 0 18px rgba(3, 169, 244, .25); outline: none; }
a.hdtb-chip:hover .hdtb-chip__ico { background: var(--ice); color: var(--navy); transform: rotate(-10deg) scale(1.08); }
.hdtb-chip--here b { margin-left: 6px; padding: 3px 7px; border-radius: 999px; background: rgba(62, 207, 178, .14); color: var(--aqua); font-weight: 600; font-variant-numeric: tabular-nums; }
.hdtb-chip--here b:empty { display: none; }
.hdtb-chip--here .hdtb-chip__ico.is-night { color: #c9b8ff; background: rgba(201, 184, 255, .14); }
.hdtb-chip--here .hdtb-chip__ico.is-day { color: #ffd166; background: rgba(255, 209, 102, .14); }

/* ---- tools ---- */
.hdtb__tools { display: flex; align-items: center; gap: 12px; }

/* Search: always visible, with a slowly turning light around its edge and a hint that types itself. */
.hdtb-search { position: relative; display: flex; align-items: center; width: 280px; height: 32px; margin: 0 !important; border-radius: 999px; border: 1px solid transparent;
	background: linear-gradient(#1b1c21, #1b1c21) padding-box, conic-gradient(from var(--hdtb-a), rgba(179, 224, 242, .22) 0deg, rgba(179, 224, 242, .22) 200deg, var(--aqua) 260deg, var(--sky) 300deg, rgba(179, 224, 242, .22) 360deg) border-box;
	animation: hdtb-spin 7s linear infinite; transition: width .55s var(--spring), box-shadow .35s; }
@keyframes hdtb-spin { to { --hdtb-a: 360deg; } }
.hdtb-search:hover { box-shadow: 0 0 0 3px rgba(3, 169, 244, .14), 0 0 22px rgba(3, 169, 244, .28); }
.hdtb-search__ico { position: absolute; left: 3px; top: 50%; display: grid; place-items: center; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: linear-gradient(135deg, var(--sky), var(--aqua)); color: var(--navy); pointer-events: none; transition: transform .5s var(--spring), background .3s; }
.hdtb-search__ico .hdtb-i { width: 14px; height: 14px; stroke-width: 2.2; }
.hdtb-search__ico::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--aqua); opacity: 0; animation: hdtb-ping 6s var(--e) 2s infinite; }
@keyframes hdtb-ping { 0%, 84% { transform: scale(.8); opacity: 0; } 88% { opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.hdtb .hdtb-search__input { width: 100%; height: 30px !important; margin: 0 !important; padding: 0 34px 0 38px !important; border: 0 !important; border-radius: 999px !important; background: transparent !important; box-shadow: none !important; color: #fff !important; font: inherit !important; font-size: 13px !important; outline: none; -webkit-appearance: none; appearance: none; }
.hdtb .hdtb-search__input::-webkit-search-cancel-button { display: none; }
.hdtb .hdtb-search__input::placeholder { color: rgba(255, 255, 255, .6); }
.hdtb.is-js .hdtb-search__input::placeholder { color: transparent; }
.hdtb-search__hint { position: absolute; left: 38px; right: 34px; top: 0; bottom: 0; display: none; align-items: center; color: rgba(255, 255, 255, .62); font-size: 13px; white-space: nowrap; overflow: hidden; pointer-events: none; }
.hdtb.is-js .hdtb-search__hint { display: flex; }
.hdtb-search__hint i { margin-left: .3em; font-style: normal; color: var(--ice); }
.hdtb-search__hint u { display: inline-block; width: 1.5px; height: 14px; margin-left: 2px; background: var(--aqua); text-decoration: none; animation: hdtb-caret 1s steps(1) infinite; }
@keyframes hdtb-caret { 50% { opacity: 0; } }
.hdtb-search__key { position: absolute; right: 8px; top: 50%; margin-top: -9px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 5px; border: 1px solid rgba(179, 224, 242, .3); background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .7); font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; transition: opacity .2s; }

/* Open: the box widens, turns white and drops its suggestions. */
.hdtb-search.is-open { width: 420px; animation: none; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, var(--sky), var(--aqua)) border-box; box-shadow: 0 0 0 4px rgba(3, 169, 244, .22), 0 0 30px rgba(3, 169, 244, .35); }
.hdtb-search.is-open .hdtb .hdtb-search__input, .hdtb .hdtb-search.is-open .hdtb-search__input { color: var(--navy) !important; }
.hdtb .hdtb-search.is-open .hdtb-search__input::placeholder { color: #8a93a3; }
.hdtb-search.is-open .hdtb-search__hint, .hdtb-search.is-open .hdtb-search__key, .hdtb-search.has-text .hdtb-search__hint { display: none; }
.hdtb-search.has-text .hdtb-search__key { opacity: 0; }
.hdtb-search.is-open .hdtb-search__ico { transform: rotate(-90deg) scale(1.05); }

/* ---- shared popover card (search results and account) ---- */
.hdtb-pop { position: absolute; right: 0; top: calc(100% + 12px); z-index: 50; padding: 14px; border-radius: 18px; background: #fff; color: var(--navy); text-align: left;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .6), 0 0 26px 2px rgba(255, 255, 255, .25), 0 30px 60px -20px rgba(0, 27, 68, .5), 0 0 0 1px rgba(0, 27, 68, .06);
	opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: 85% 0; transition: opacity .2s, transform .4s var(--spring), visibility 0s linear .4s; }
.hdtb-pop::after { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.hdtb-search.is-open .hdtb-pop, .hdtb-acct.is-open .hdtb-pop { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .45s var(--spring), visibility 0s; }
.hdtb-pop--search { left: 0; right: 0; }
.hdtb-pop__eyebrow { margin: 2px 4px 8px !important; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--slate) !important; }
/* the colored band that curls round the top corners (same as the Support / Contact cards) */
.hdtb-pop__band { position: absolute; left: 0; right: 0; top: 0; height: 32px; border: 4px solid transparent; border-bottom: 0; border-radius: 18px 18px 0 0; background: linear-gradient(90deg, var(--deep), var(--sky) 55%, var(--aqua)) border-box; pointer-events: none;
	-webkit-mask: linear-gradient(#000 30%, transparent), linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: source-in, xor;
	mask: linear-gradient(#000 30%, transparent), linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); mask-composite: intersect, exclude; }

/* search results */
.hdtb-results:empty { display: none; }
.hdtb-results { display: grid; gap: 2px; }
.hdtb-res { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 9px 10px; border-radius: 11px; color: var(--navy) !important; text-decoration: none !important; transition: background-color .15s; }
.hdtb-res b { font-size: 14px; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdtb-res mark { background: rgba(62, 207, 178, .28); color: inherit; border-radius: 3px; padding: 0 1px; }
.hdtb-res small { grid-column: 1; font-size: 12px; line-height: 1.35; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdtb-res em { grid-row: 1 / span 2; grid-column: 2; align-self: center; max-width: 120px; overflow: hidden; text-overflow: ellipsis; padding: 4px 8px; border-radius: 999px; background: var(--mist); color: var(--blue); font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.hdtb-res.is-active, .hdtb-res:hover { background: #eef6fb; }
.hdtb-res.is-active em { background: #fff; }
.hdtb-noresult { margin: 4px 6px 8px !important; font-size: 13px; color: var(--slate) !important; line-height: 1.4; }
.hdtb-popular__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hdtb-popular__chips a { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy) !important; font-size: 12.5px; text-decoration: none !important; transition: border-color .2s, box-shadow .25s, transform .25s var(--spring); }
.hdtb-popular__chips a:hover { border-color: rgba(3, 169, 244, .6); box-shadow: 0 0 0 2px rgba(3, 169, 244, .15), 0 0 16px rgba(3, 169, 244, .2); transform: translateY(-1px); }
.hdtb-search.has-text .hdtb-popular { display: none; }
.hdtb-results__all { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 8px; padding: 11px 12px; border: 0; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; background: transparent; color: var(--blue); font: inherit; font-size: 13px; font-weight: 600; text-align: left; cursor: pointer; transition: background-color .15s; }
.hdtb-results__all span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdtb-results__all:hover, .hdtb-results__all.is-active { background: #eef6fb; }
.hdtb-results__all[hidden] { display: none; }

/* ---- account ---- */
.hdtb-acct { position: relative; }
.hdtb-acct__btn { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px 0 3px; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(179, 224, 242, .2); color: #fff !important; font-size: 12.5px; font-weight: 600; text-decoration: none !important; white-space: nowrap; transition: background-color .25s, box-shadow .3s; }
.hdtb-acct__av { position: relative; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--coral), #ff8a5c); color: var(--navy); overflow: hidden; }
.hdtb-acct__av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.hdtb-acct.is-in .hdtb-acct__av { box-shadow: 0 0 0 2px var(--aqua); }
.hdtb-acct__chev { color: var(--ice); transition: transform .35s var(--spring); }
.hdtb-acct__chev .hdtb-i { width: 13px; height: 13px; }
.hdtb-acct__btn:hover, .hdtb-acct.is-open .hdtb-acct__btn, .hdtb-acct__btn:focus-visible { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 107, 74, .55), 0 0 18px rgba(255, 107, 74, .3); outline: none; }
.hdtb-acct.is-open .hdtb-acct__chev { transform: rotate(180deg); }
.hdtb-pop--acct { width: 340px; padding: 18px; }
.hdtb-pop--acct .hdtb-pop__band { background: linear-gradient(90deg, var(--coral), #ff8a5c 50%, var(--ice)) border-box; }

.hdtb-hello { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.hdtb-hello__ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 13px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: var(--ice); }
.hdtb-hello__ico .hdtb-i { width: 20px; height: 20px; }
.hdtb-hello p { display: grid; gap: 4px; margin: 0 !important; line-height: 1.35; }
.hdtb-hello b { font-size: 15px; color: var(--navy); }
.hdtb-hello small { font-size: 12.5px; color: var(--slate); }
.hdtb-go { display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border-radius: 999px; background: var(--coral); color: var(--navy) !important; font-size: 14px; font-weight: 600; text-decoration: none !important; transition: box-shadow .3s, transform .3s var(--spring); }
.hdtb-go .hdtb-i { width: 16px; height: 16px; transition: transform .3s var(--spring); }
.hdtb-go:hover { box-shadow: 0 0 0 3px rgba(255, 107, 74, .25), 0 10px 24px -10px rgba(255, 107, 74, .8); transform: translateY(-1px); }
.hdtb-go:hover .hdtb-i { transform: translateX(3px); }

.hdtb-me { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.hdtb-me__av { flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--aqua); }
.hdtb-me__av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hdtb-me__txt { display: grid; gap: 3px; min-width: 0; }
.hdtb-me__txt b { font-size: 15px; color: var(--navy); }
.hdtb-me__txt small { font-size: 12px; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hdtb-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
.hdtb-tile { display: grid; justify-items: center; gap: 6px; padding: 10px 4px 9px; border-radius: 12px; background: var(--mist); color: var(--navy) !important; font-size: 11.5px; font-weight: 500; line-height: 1.2; text-align: center; text-decoration: none !important; transition: background-color .2s, transform .3s var(--spring), box-shadow .3s; }
.hdtb-tile__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: #fff; color: var(--blue); box-shadow: 0 1px 2px rgba(0, 27, 68, .08); transition: background-color .2s, color .2s, transform .4s var(--spring); }
.hdtb-tile__ico .hdtb-i { width: 16px; height: 16px; }
a.hdtb-tile:hover, a.hdtb-tile:focus-visible { background: #eef6fb; transform: translateY(-2px); box-shadow: 0 8px 18px -12px rgba(0, 27, 68, .5); outline: none; }
a.hdtb-tile:hover .hdtb-tile__ico { background: var(--blue); color: #fff; transform: rotate(-6deg); }
.hdtb-tiles--peek { margin: 12px 0 10px; opacity: .85; }

.hdtb-row { display: flex; align-items: center; gap: 12px; padding: 9px 8px; border-radius: 12px; color: var(--navy) !important; text-decoration: none !important; transition: background-color .2s; }
.hdtb-row__ico { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: color-mix(in srgb, var(--blue) 12%, #fff); color: var(--blue); }
.hdtb-row__ico .hdtb-i { width: 17px; height: 17px; }
.hdtb-row > span:last-child { display: grid; gap: 3px; line-height: 1.25; }
.hdtb-row b { font-size: 13.5px; font-weight: 600; }
.hdtb-row small { font-size: 12px; color: var(--slate); }
.hdtb-row:hover { background: var(--mist); }
.hdtb-out { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 12px 8px 2px; border-top: 1px solid var(--line); color: var(--slate) !important; font-size: 13px; font-weight: 600; text-decoration: none !important; }
.hdtb-out .hdtb-i { width: 16px; height: 16px; }
.hdtb-out:hover { color: #c2410c !important; }

@media (max-width: 1240px) {
	.hdtb-chip--here { display: none; }
	.hdtb-search { width: 230px; }
	.hdtb-search.is-open { width: 360px; }
}
@media (prefers-reduced-motion: reduce) {
	.hdtb *, .hdtb *::before, .hdtb *::after, .fusion-tb-header .fusion-fullwidth:has(.hdtb)::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ---------------- Phones and tablets: the "Top Menu Phone" bar ---------------- */
.fusion-tb-header .fusion-fullwidth:has(.hdtb--m) { padding: 0 12px !important; min-height: 0 !important; }
.fusion-tb-header .fusion-fullwidth:has(.hdtb--m) .fusion-builder-row { margin: 0 !important; width: 100% !important; max-width: none !important; }
.fusion-tb-header .fusion-fullwidth:has(.hdtb--m) .fusion-layout-column, .fusion-tb-header .fusion-fullwidth:has(.hdtb--m) .fusion-column-wrapper { margin: 0 !important; padding: 0 !important; }
.hdtb--m { height: 50px; gap: 8px; }
.hdtb--m .hdtb__info { gap: 2px; flex: none; }
.hdtb--m .hdtb-chip { height: 36px; padding: 0 4px; }
.hdtb--m .hdtb-chip__ico { width: 30px; height: 30px; }
.hdtb--m .hdtb-chip > span:last-child { display: none; }
.hdtb--m .hdtb__tools { flex: 1; min-width: 0; gap: 8px; }
.hdtb--m .hdtb-search { flex: 1; min-width: 0; width: auto; height: 36px; }
.hdtb--m .hdtb-search.is-open { width: auto; }
.hdtb--m .hdtb-search__key { display: none; }
.hdtb--m .hdtb .hdtb-search__input, .hdtb--m .hdtb-search__input { height: 34px !important; font-size: 16px !important; padding-right: 12px !important; } /* 16px keeps iOS from zooming in */
.hdtb--m .hdtb-search__hint { right: 10px; font-size: 13.5px; }
.hdtb--m .hdtb-acct__btn { height: 36px; padding: 0 3px; }
.hdtb--m .hdtb-acct__av { width: 30px; height: 30px; }
.hdtb--m .hdtb-acct__lbl, .hdtb--m .hdtb-acct__chev { display: none; }
/* Popovers span the screen under the bar. */
.hdtb--m .hdtb-acct { position: static; }
.hdtb--m { position: relative; }
.hdtb--m .hdtb-pop { position: absolute; left: 0; right: 0; top: calc(100% + 8px); width: auto; max-height: min(70vh, 560px); overflow: auto; }
/* The search keeps its own box (its icon and hint sit inside it); its list is stretched back out to the bar's edges. */
.hdtb--m .hdtb-pop--search { left: calc(-1 * var(--hdtb-pl, 0px)); right: calc(-1 * var(--hdtb-pr, 0px)); }
.hdtb--m .hdtb-pop::after { display: none; }
@media (min-width: 641px) {
	.hdtb--m .hdtb-chip:first-child > span:last-child { display: inline; }
	.hdtb--m .hdtb-chip { padding: 0 12px 0 3px; }
	.hdtb--m .hdtb-chip--here { display: inline-flex; }
	.hdtb--m .hdtb-chip--here > span:last-child { display: inline; }
	.hdtb--m .hdtb-pop--acct { left: auto; width: 360px; }
}
@media (max-width: 640px) {
	.hdtb--m .hdtb-chip--here { display: none; }
}
