/* AppPresser header mega menu (>= 1080px), menu dialog (<= 1079px) and mobile sticky CTA.
   Added 2026-11-03. Markup: inc/mega-menu.php. Behavior: assets/js/mega-menu.js. */

/* ---------- Desktop bar ---------- */
.ap-nav .ap-mm { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
/* Panels position against the whole header pill, not the nav list (theme.css sets .ap-nav > * { position: relative }). */
.ap-nav > .ap-mm { position: static; }
.ap-mm-list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.ap-mm-item { position: static; margin: 0; }
.ap-mm-top {
	display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border: 0; border-radius: 999px;
	background: none; color: rgba(255,255,255,.94); font: inherit; font-size: .9375rem; font-weight: 600; line-height: 1; letter-spacing: -.005em;
	text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s;
}
.ap-mm-top:hover, .ap-mm-item.is-open > .ap-mm-top { background: rgba(255,255,255,.18); color: #fff; text-decoration: none; }
.ap-mm-item.is-open > .ap-mm-top { box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.ap-mm-top[aria-current="page"], .ap-mm-item.is-current > .ap-mm-top { background: rgba(255,255,255,.12); }
.ap-mm-chev { display: inline-flex; opacity: .85; }
.ap-mm-item.is-open .ap-mm-chev { transform: rotate(180deg); }
.ap-mm-pill {
	display: inline-block; font-size: .65625rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; line-height: 1;
	padding: 4px 7px; border-radius: 999px; background: var(--wp--preset--color--yellow, #FDB913); color: var(--wp--preset--color--ink, #0E1B3D);
}
.ap-nav-actions .ap-login a { white-space: nowrap; }
@media (min-width: 1080px) and (max-width: 1279px) {
	.ap-mm-top { padding: 8px 10px; font-size: .875rem; }
	.ap-nav-actions .ap-login a { padding: .7em .9em; }
}

/* ---------- Panels ---------- */
.ap-mm-panel {
	display: none; position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 12px);
	grid-template-columns: minmax(0,1fr) 320px; overflow: hidden; text-align: left;
	border-radius: 26px; border: 1px solid rgba(255,255,255,.85);
	background: linear-gradient(180deg, #FFFFFF, #F6F9FE); color: var(--wp--preset--color--ink, #0E1B3D);
	box-shadow: 0 40px 80px -30px rgba(0,20,80,.55), inset 0 1px 1px #fff;
}
/* Opaque on purpose: a nested backdrop-filter inside the glass header pill cannot blur the page behind it. */
/* Invisible bridge so the pointer can travel from the button to the panel. */
.ap-mm-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.ap-mm-panel.ap-mm-c1 { left: auto; right: 120px; width: min(760px, 100%); }
.ap-mm-item.is-open > .ap-mm-panel { display: grid; animation: ap-mm-in .16s ease-out; }
html:not(.ap-mm-js) .ap-mm-item:hover > .ap-mm-panel,
html:not(.ap-mm-js) .ap-mm-item:focus-within > .ap-mm-panel { display: grid; }
@keyframes ap-mm-in { from { opacity: 0; } to { opacity: 1; } } /* fade only, no movement */
@media (prefers-reduced-motion: reduce) { .ap-mm-item.is-open > .ap-mm-panel { animation: none; } .ap-mm-chev { transition: none; } }
.ap-mm-cols { display: flex; gap: 10px; padding: 26px 24px; }
.ap-mm-col { flex: 1 1 0; min-width: 0; }
.ap-mm-col ul, .ap-mm-msub ul { list-style: none; margin: 0; padding: 0; }
.ap-mm-ch, .ap-mm-mh {
	margin: 0; padding: 0 12px 10px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5C667A;
}
.ap-mm-link, .ap-mm-mlink { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; color: inherit; text-decoration: none; }
.ap-mm-link:hover, .ap-mm-mlink:hover { background: var(--wp--preset--color--tint, #EFF4FC); text-decoration: none; }
.ap-mm-link[aria-current="page"], .ap-mm-mlink[aria-current="page"] { background: var(--wp--preset--color--tint, #EFF4FC); }
.ap-mm-ic {
	flex: 0 0 36px; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
	color: var(--wp--preset--color--primary, #004FD3); background: linear-gradient(180deg, #fff, #EFF4FC);
	box-shadow: inset 0 0 0 1px #E8EEF8, 0 2px 6px -3px rgba(0,40,120,.3);
}
.ap-mm-ic img.ap-mm-wp-mark {
	display: block;
	object-fit: contain;
}

.ap-mm-tx { min-width: 0; padding-top: 1px; }
.ap-mm-ll { display: block; font-weight: 650; font-size: .9375rem; line-height: 1.3; color: var(--wp--preset--color--ink, #0E1B3D); }
.ap-mm-dd { display: block; margin-top: 2px; font-size: .8125rem; line-height: 1.4; color: #4A5468; }

/* Featured card */
.ap-mm-feat {
	position: relative; display: flex; flex-direction: column; padding: 24px; color: #fff;
	background: linear-gradient(160deg, #0A5FE6, #003CB0 70%, #002769);
}
.ap-mm-feat::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(300px 200px at 90% 0, rgba(255,255,255,.2), transparent 70%); }
.ap-mm-feat > * { position: relative; z-index: 1; }
.ap-mm-fimg { margin: 0 0 18px; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); }
.ap-mm-fimg img { display: block; width: 100%; height: 160px; object-fit: cover; object-position: left top; }
.ap-mm-fimg.is-fit { background: rgba(255,255,255,.12); box-shadow: inset 0 1px 1px rgba(255,255,255,.4); }
.ap-mm-fimg.is-fit img { object-fit: contain; object-position: center; }
.ap-mm-ftrial { height: 160px; margin: 0 0 18px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 12px; background: rgba(255,255,255,.14); box-shadow: inset 0 1px 1px rgba(255,255,255,.4); font-weight: 600; line-height: 1.3; }
.ap-mm-ftrial b { font-size: 4rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--wp--preset--color--yellow-light, #FFD76A); }
.ap-mm-eb { margin: 0; font-size: .71875rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--yellow-light, #FFD76A); }
.ap-mm-ft { margin: 6px 0; font-size: 1.3125rem; font-weight: 750; line-height: 1.2; letter-spacing: -.01em; color: #fff; }
.ap-mm-fx { margin: 0; font-size: .875rem; line-height: 1.45; color: rgba(255,255,255,.9); }
.ap-mm-fbtn {
	align-self: flex-start; margin-top: auto; padding: 11px 16px; border-radius: 999px; background: #fff; color: #003CB0 !important;
	font-size: .875rem; font-weight: 700; line-height: 1.2; text-decoration: none !important; white-space: nowrap;
}
.ap-mm-feat .ap-mm-fbtn { margin-top: 18px; }
.ap-mm-fbtn:hover { background: var(--wp--preset--color--tint, #EFF4FC); }
/* Latest post (core/latest-posts) */
.ap-mm-feat .ap-mm-latest { margin: 10px 0 0; padding: 0; list-style: none; }
.ap-mm-feat .ap-mm-latest li { margin: 0; }
.ap-mm-feat .ap-mm-latest .wp-block-latest-posts__featured-image { margin: 0 0 14px; }
.ap-mm-feat .ap-mm-latest .wp-block-latest-posts__featured-image img { display: block; width: 100%; height: 150px; object-fit: cover; border-radius: 14px; box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); }
.ap-mm-feat .ap-mm-latest .wp-block-latest-posts__post-title { display: block; color: #fff; font-size: 1.125rem; font-weight: 700; line-height: 1.3; text-decoration: none; }
.ap-mm-feat .ap-mm-latest .wp-block-latest-posts__post-title:hover { text-decoration: underline; }

/* Focus */
.ap-mm :where(a, button):focus-visible { outline: 2px solid var(--wp--preset--color--yellow-light, #FFD76A) !important; outline-offset: 2px; }
.ap-mm-panel :where(a, button):focus-visible,
.ap-mm-sheet :where(a, button):focus-visible { outline: 2px solid var(--wp--preset--color--primary, #004FD3) !important; outline-offset: 1px; }
.ap-mm-feat :where(a):focus-visible, .ap-mm-mfeat:focus-visible, .ap-mm-dtop :where(a, button):focus-visible { outline: 2px solid var(--wp--preset--color--yellow-light, #FFD76A) !important; outline-offset: 2px; }

/* ---------- Menu button + dialog (<= 1079px) ---------- */
.ap-mm-burger { display: none; }
.ap-mm-dialog[hidden], .ap-mm-burger[hidden], .ap-mm-msub[hidden] { display: none !important; }
@media (max-width: 1079px) {
	.ap-nav .ap-mm { display: none; }
	.ap-mm-burger {
		order: 3; display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; margin-right: -6px; padding: 0;
		border: 0; border-radius: 999px; background: none; color: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent;
	}
	.ap-mm-burger:hover { background: rgba(255,255,255,.16); }
	.ap-mm-burger:focus-visible { outline: 2px solid var(--wp--preset--color--yellow-light, #FFD76A); outline-offset: 2px; }
	.ap-nav .ap-nav-actions { margin-left: auto; }
}
@media (min-width: 1080px) { .ap-mm-dialog { display: none !important; } }
html.ap-mm-open, html.ap-mm-open body { overflow: hidden; }
.ap-mm-dialog {
	position: fixed; inset: 0; height: 100vh; height: 100dvh; z-index: 100001; overscroll-behavior: none; touch-action: pan-y; font-family: var(--wp--preset--font-family--inter, Inter, system-ui, sans-serif);
	background: linear-gradient(160deg, rgba(0,60,176,.82), rgba(0,39,105,.88));
	-webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
}
.ap-mm-sheet {
	position: absolute; top: max(6px, env(safe-area-inset-top)); bottom: 0; left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right));
	max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; overflow: hidden;
	border-radius: 22px 22px 0 0; background: rgba(255,255,255,.97); color: var(--wp--preset--color--ink, #0E1B3D);
	box-shadow: 0 30px 60px -20px rgba(0,20,80,.6);
}
.ap-mm-dtop { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding: 0 8px 0 18px; border-radius: 18px; background: rgba(0,60,170,.95); }
.ap-mm-dlogo { display: flex; align-items: center; min-height: 44px; }
.ap-mm-dlogo img { display: block; height: 28px; width: auto; }
.ap-mm-close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; }
.ap-mm-close:hover { background: rgba(255,255,255,.24); }
.ap-mm-mnav { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scroll-behavior: auto !important; overflow-anchor: none; padding: 0 12px 4px; }
.ap-mm-spacer { display: block; height: 0; margin: 0; padding: 0; border: 0; list-style: none; pointer-events: none; }
.ap-mm-rows { list-style: none; margin: 0; padding: 0; }
.ap-mm-row { margin: 0; border-bottom: 1px solid #E8EEF8; }
.ap-mm-rowbtn {
	display: flex; align-items: center; gap: 8px; width: 100%; min-height: 52px; padding: 0 8px; border: 0; background: none;
	color: var(--wp--preset--color--ink, #0E1B3D); font: inherit; font-size: 1.125rem; font-weight: 700; text-align: left; text-decoration: none; cursor: pointer;
}
a.ap-mm-rowbtn:hover { text-decoration: none; }
.ap-mm-rowbtn[aria-current="page"] { color: var(--wp--preset--color--primary, #004FD3); }
.ap-mm-pm { position: relative; margin-left: auto; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 10px; background: #EFF4FC; color: #004FD3; }
.ap-mm-pm::before, .ap-mm-pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor; }
.ap-mm-pm::after { transform: rotate(90deg); }
.ap-mm-rowbtn[aria-expanded="true"] .ap-mm-pm::after { transform: rotate(0deg); }
.ap-mm-msub { padding: 0 0 14px; }
.ap-mm-mh { padding: 12px 8px 4px; font-size: .6875rem; }
.ap-mm-mlink { align-items: center; min-height: 48px; padding: 6px 8px; border-radius: 12px; }
.ap-mm-mlink .ap-mm-ic { flex-basis: 32px; width: 32px; height: 32px; border-radius: 10px; }
.ap-mm-mlink .ap-mm-ll { font-size: .96875rem; }
.ap-mm-mfeat { display: block; margin: 12px 4px 0; padding: 16px; border-radius: 16px; color: #fff; text-decoration: none; background: linear-gradient(160deg, #0A5FE6, #003CB0); }
.ap-mm-mfeat:hover { text-decoration: none; filter: brightness(1.05); }
.ap-mm-mfeat .ap-mm-eb { display: block; }
.ap-mm-mfeat-t { display: block; margin: 4px 0 10px; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; color: #fff; }
.ap-mm-mfeat .ap-mm-fbtn { display: inline-block; padding: 8px 14px; font-size: .8125rem; }
.ap-mm-mbar { flex: 0 0 auto; display: grid; gap: 6px; padding: 8px 16px max(8px, env(safe-area-inset-bottom, 0px)); border-top: 1px solid #E8EEF8; background: rgba(255,255,255,.98); }
.ap-mm-mcta, .ap-mm-mlogin { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none !important; }
.ap-mm-mcta { background: var(--wp--preset--color--yellow, #FDB913); color: var(--wp--preset--color--ink, #0E1B3D) !important; box-shadow: 0 6px 18px -6px rgba(253,185,19,.7), inset 0 1px 0 rgba(255,255,255,.6); }
.ap-mm-mlogin { min-height: 44px; color: var(--wp--preset--color--primary, #004FD3) !important; font-weight: 650; box-shadow: inset 0 0 0 1.5px #C9D8F3; }
@media (prefers-reduced-transparency: reduce) {
	.ap-mm-dialog { background: #00319a; -webkit-backdrop-filter: none; backdrop-filter: none; }
	.ap-mm-panel { background: #fff; }
}

/* ---------- Mobile sticky "Start Building" bar (<= 1079px) ---------- */
.ap-sticky-cta { display: none; }
@media (max-width: 1079px) {
	.ap-sticky-cta {
		display: block; position: fixed; z-index: 9990; left: 0; right: 0; bottom: 0;
		padding: 6px max(12px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left));
		pointer-events: none;
	}
	.ap-sticky-cta__btn {
		pointer-events: auto; display: flex; align-items: center; justify-content: center; max-width: 560px; min-height: 48px; margin: 0 auto;
		border-radius: 999px; background: var(--wp--preset--color--yellow, #FDB913); color: var(--wp--preset--color--ink, #0E1B3D) !important;
		font-size: 1rem; font-weight: 700; text-decoration: none !important;
		box-shadow: 0 10px 24px -8px rgba(0,20,80,.45), inset 0 1px 0 rgba(255,255,255,.6);
	}
	.ap-sticky-cta__btn:focus-visible { outline: 3px solid var(--wp--preset--color--primary, #004FD3); outline-offset: 2px; }
	/* Keep the last content clear of the bar: extra room at the bottom of the footer. */
	body.ap-has-sticky-cta .ap-footer { padding-bottom: calc(36px + 62px + env(safe-area-inset-bottom, 0px)) !important; }
	html.ap-mm-open .ap-sticky-cta { display: none; }
}
@media print { .ap-sticky-cta, .ap-mm-dialog, .ap-mm-panel { display: none !important; } }


/* ---------- Header unchanged when hamburger opens (Brian 2026-11-06) ----------
   Keep the real glass .ap-nav pill visible and looking the same; hide the dialog's
   duplicate .ap-mm-dtop; start the sheet below the header. Dialog is already
   body-appended so backdrop-filter on .ap-nav is not a containing-block problem. */
html.ap-mm-open .wp-site-blocks > header.wp-block-template-part,
html.ap-mm-open header.ap-header,
html.ap-mm-open .ap-header {
  position: relative;
  z-index: 100002;
}
html.ap-mm-open .ap-nav {
  -webkit-backdrop-filter: var(--ap-glass-blur, blur(20px) saturate(180%)) !important;
  backdrop-filter: var(--ap-glass-blur, blur(20px) saturate(180%)) !important;
}
html.ap-mm-open .ap-mm-dtop { display: none !important; }
@media (max-width: 1079px) {
  html.ap-mm-open .ap-mm-sheet {
    top: calc(var(--ap-header-h, 78px) + env(safe-area-inset-top, 0px));
    border-radius: 22px 22px 0 0;
  }
  /* Burger stays the close affordance while open (JS toggles). */
  html.ap-mm-open .ap-mm-burger { background: rgba(255,255,255,.16); }
}

/* ---------- Horizontal lock for the mobile menu (prehlock fix) ---------- */
.ap-mm-sheet, .ap-mm-sheet * { box-sizing: border-box; }
.ap-mm-sheet, .ap-mm-dtop, .ap-mm-mbar { touch-action: pan-y; }
.ap-mm-dialog { width: 100%; max-width: 100%; overflow: hidden; overscroll-behavior: none; }
.ap-mm-mnav { overflow-x: hidden; overflow-x: clip; overflow-y: auto; overscroll-behavior: none contain; overscroll-behavior-x: none; touch-action: pan-y; }
.ap-mm-mlink, .ap-mm-mfeat, .ap-mm-rowbtn { max-width: 100%; overflow-wrap: anywhere; }
html.ap-mm-open, html.ap-mm-open body { overflow: hidden; overflow-x: hidden; overscroll-behavior: none; }

/* Header button label: "Pricing" on phones/tablets, "Start Building" on desktop */
.ap-nav-actions .ap-lbl-mob { display: none; }
@media (max-width: 1079px) {
	.ap-nav-actions .ap-lbl-desk { display: none; }
	.ap-nav-actions .ap-lbl-mob { display: inline; }
	.ap-nav-actions .wp-block-button__link { white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
}

/* Footer: compact 2-column link grid on phones/small tablets (was one long stack) */
@media (max-width: 781px) {
	.ap-footer > .wp-block-columns { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
	.ap-footer > .wp-block-columns > .wp-block-column { flex-basis: auto !important; min-width: 0; }
	.ap-footer > .wp-block-columns > .wp-block-column:first-child { grid-column: 1 / -1; }
	.ap-footer-bottom { flex-direction: column; align-items: flex-start !important; gap: 12px; }
}


/* Header "View Pricing" fit + sticky bottom ROW (prerow) */
@media (max-width: 1079px) {
	.ap-nav-actions .wp-block-button__link { padding-left: 14px !important; padding-right: 14px !important; }
	.ap-nav .ap-logo, .ap-nav .ap-logo img { flex-shrink: 0; }
	.ap-sticky-cta { padding: 0 !important; background: rgba(0,39,105,.97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,.16); pointer-events: auto; }
	.ap-sticky-cta__btn { max-width: none !important; min-height: 50px !important; margin: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: #fff !important; gap: 8px; font-size: 1rem; font-weight: 650;
		padding: 0 max(16px, env(safe-area-inset-right)) env(safe-area-inset-bottom, 0px) max(16px, env(safe-area-inset-left)); box-sizing: content-box; }
	.ap-sticky-cta__btn:focus-visible { outline: 2px solid #FDB913 !important; outline-offset: -3px !important; }
	.ap-sticky-cta__arrow { color: #FDB913; font-weight: 700; }
	body.ap-has-sticky-cta .ap-footer { padding-bottom: calc(36px + 51px + env(safe-area-inset-bottom, 0px)) !important; }
}
@media (max-width: 360px) { .ap-nav-actions .wp-block-button__link { padding-left: 10px !important; padding-right: 10px !important; font-size: .8125rem !important; letter-spacing: -.01em; } .ap-nav-actions, .ap-nav { gap: 4px !important; } .ap-nav { padding-left: 10px !important; } .ap-mm-burger { margin-left: 0 !important; } }

/* Footer bottom: "Powered by AlphaWeb" */
.ap-footer-bottom { flex-wrap: wrap; column-gap: 28px; row-gap: 10px; }
.ap-footer-bottom > p:first-child { margin-right: auto !important; }
.ap-footer-bottom .ap-powered { margin: 0; color: rgba(255,255,255,.78); }
.ap-footer-bottom .ap-powered a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; }
.ap-footer-bottom .ap-powered a:hover { color: var(--wp--preset--color--yellow, #FDB913); text-decoration-color: currentColor; }
.ap-footer-bottom .ap-powered a:focus-visible { outline: 2px solid var(--wp--preset--color--yellow, #FDB913); outline-offset: 3px; border-radius: 2px; }
.ap-footer .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ap-footer-bottom a { white-space: nowrap; }

/* Footer bottom: "Made for WordPress · Powered by AlphaWeb" grouped at the right (preawright) */
.ap-footer-bottom { column-gap: 0; }
.ap-footer-bottom > p:first-child { padding-right: 28px; }
.ap-footer-bottom .ap-made-for { margin-left: auto; }
.ap-footer-bottom .ap-powered::before { content: "·"; margin: 0 10px; color: rgba(255,255,255,.5); }
@media (max-width: 781px) {
	.ap-footer-bottom { flex-direction: row !important; flex-wrap: wrap; justify-content: flex-start !important; align-items: center !important; row-gap: 12px; }
	.ap-footer-bottom > p:first-child { flex: 0 0 100%; padding-right: 0; }
	.ap-footer-bottom .ap-made-for { margin-left: 0; }
}
@media (max-width: 374px) { .ap-footer-bottom .ap-powered::before { content: none; } }

/* AP5 logo badge in featured card eyebrow */
.ap-mm-eb .ap-mm-badge{display:inline-block;width:28px;height:auto;vertical-align:middle;margin-right:8px;border-radius:7px}

/* ap5-sticky-glass: iOS "Liquid Glass" look for the mobile sticky bar (2026-11-04) */
@media (max-width: 1079px) {
	.ap-sticky-cta {
		background: linear-gradient(180deg, rgba(20,52,120,.70) 0%, rgba(0,32,92,.76) 100%) !important;
		-webkit-backdrop-filter: blur(22px) saturate(180%);
		backdrop-filter: blur(22px) saturate(180%);
		border-top: 1px solid rgba(255,255,255,.28) !important;
		box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(255,255,255,.06), 0 -8px 24px -6px rgba(0,16,60,.30);
	}
	.ap-sticky-cta__btn { text-shadow: 0 1px 2px rgba(0,16,60,.45); }
	@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
		.ap-sticky-cta { background: rgba(0,39,105,.97) !important; }
	}
	/* keep hero chips / last content clear of the bar */
	body.ap-has-sticky-cta { padding-bottom: calc(51px + env(safe-area-inset-bottom, 0px)); }
	body.ap-has-sticky-cta .ap-footer { padding-bottom: 36px !important; }
}
@media (max-width: 1079px) and (prefers-reduced-transparency: reduce) {
	.ap-sticky-cta { background: rgb(0,39,105) !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ap5-tabbar: iOS-style glass tab bar replacing the mobile sticky CTA (2026-11-04) */
.ap5-tabbar { display: none; }
@media (max-width: 1079px) {
	.ap5-tabbar {
		display: block; position: fixed; z-index: 9990; left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right));
		bottom: calc(8px + env(safe-area-inset-bottom, 0px)); max-width: 520px; margin: 0 auto;
		border-radius: 26px; padding: 5px;
		background: linear-gradient(180deg, rgba(22,54,124,.82) 0%, rgba(0,30,88,.88) 100%);
		-webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
		border: 1px solid rgba(255,255,255,.26);
		box-shadow: inset 0 1px 0 rgba(255,255,255,.24), inset 0 -1px 0 rgba(255,255,255,.06), 0 10px 30px -8px rgba(0,16,60,.45);
	}
	@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .ap5-tabbar { background: rgb(0,39,105); } }
	.ap5-tabbar__list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 4px; margin: 0; padding: 0; list-style: none; }
	.ap5-tabbar__item { margin: 0; min-width: 0; }
	.ap5-tabbar__link {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; padding: 6px 4px;
		border-radius: 21px; color: #fff !important; text-decoration: none !important; text-shadow: 0 1px 2px rgba(0,16,60,.45);
		font-size: 12px; font-weight: 650; line-height: 1.15; letter-spacing: -.005em; text-align: center; -webkit-tap-highlight-color: transparent;
		transition: background-color .2s ease;
	}
	.ap5-tabbar__icon { width: 24px; height: 24px; flex: none; }
	.ap5-tabbar__label { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
	.ap5-tabbar__link:hover { background: rgba(255,255,255,.10); }
	.ap5-tabbar__link.is-active { background: rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.28); }
	.ap5-tabbar__link.is-active .ap5-tabbar__icon { color: #FDB913; }
	.ap5-tabbar__link:focus-visible { outline: 2px solid #FDB913; outline-offset: -2px; }
	html.ap-mm-open .ap5-tabbar { display: none; }
	/* room for the floating bar: 5+52+5+2 border + 8 gap + 12 breathing */
	body.ap-has-sticky-cta { padding-bottom: 0 !important; }
	body.ap-has-sticky-cta .ap-footer { padding-bottom: calc(36px + 84px + env(safe-area-inset-bottom, 0px)) !important; }
}
@media (max-width: 1079px) and (prefers-reduced-transparency: reduce) {
	.ap5-tabbar { background: rgb(0,39,105); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 340px) { .ap5-tabbar__link { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .ap5-tabbar__link { transition: none; } }
@media print { .ap5-tabbar { display: none !important; } }

/* ap5-tabbar focus ring: white inner + dark outer ring (>=3:1 on navy bar and on light pages) 2026-11-04 */
@media (max-width: 1079px) {
	.ap5-tabbar__link:focus-visible { outline: 2px solid #fff !important; outline-offset: -2px !important; box-shadow: inset 0 0 0 4px #0E1B3D, 0 0 0 0 transparent !important; }
	.ap5-tabbar__link:focus:not(:focus-visible) { outline: none; }
}

/* ap5-lang: EN | ES switcher (header, mobile menu, footer). Added 2026-11-04. */
.ap5-lang__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.ap5-lang__sep { opacity: .45; padding: 0 2px; font-size: .8em; }
.ap5-lang__a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 8px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .04em; line-height: 1; text-decoration: none; color: inherit; transition: background-color .2s ease; }
.ap5-lang__a:hover { background: rgba(255,255,255,.14); }
.ap5-lang__a[aria-current="true"] { background: rgba(255,255,255,.18); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ap5-lang__a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.ap5-lang--header { margin-right: 4px; color: #fff; }
.ap5-lang--mobile { justify-self: center; color: var(--wp--preset--color--primary, #004FD3); }
.ap5-lang--mobile .ap5-lang__a[aria-current="true"] { background: rgba(11,92,255,.08); box-shadow: inset 0 0 0 1px rgba(11,92,255,.25); }
.ap5-lang--mobile .ap5-lang__a:hover { background: rgba(11,92,255,.06); }
.ap5-lang--footer { color: rgba(255,255,255,.85); }
@media (max-width: 1079px) { .ap5-lang--header { display: none; } }
@media (prefers-reduced-motion: reduce) { .ap5-lang__a { transition: none; } }
/* ap5-lang header: compact glass pill so the nav keeps its width. */
.ap5-lang--header .ap5-lang__list { gap: 0; padding: 2px; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.ap5-lang--header .ap5-lang__sep { display: none; }
.ap5-lang--header .ap5-lang__a { min-width: 30px; min-height: 26px; padding: 0 6px; font-size: 11.5px; }
.ap5-lang--header .ap5-lang__a[aria-current="true"] { box-shadow: none; background: rgba(255,255,255,.22); }
.ap-nav-actions { flex-shrink: 0; }
.ap-nav-actions .wp-block-button__link { white-space: nowrap; }
@media (max-width: 1279px) { .ap5-lang--header { display: none; } }
/* Spanish labels are longer: tighten the desktop nav only for es pages (English unaffected). */
html[lang^="es"] .ap-mm-top { padding-left: 8px; padding-right: 8px; font-size: .875rem; }
html[lang^="es"] .ap-nav-actions .ap-login a { padding-left: .6em; padding-right: .6em; }
html[lang^="es"] .ap-nav .ap-logo { flex-shrink: 0; }

/* ap5 header fit (2026-11-04): when the one-line desktop nav cannot fit (site text size 115%/130%, or Spanish labels below 1280px), use the menu button + dialog instead of overlapping. Default English at 100% is unaffected. */
@media (min-width: 1080px) {
	html.ap5-a11y-text-115 .ap-nav .ap-mm { display: none; }
	html.ap5-a11y-text-115 .ap-mm-burger { order: 3; display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; margin-right: -6px; padding: 0; border: 0; border-radius: 999px; background: none; color: #fff; cursor: pointer; }
	html.ap5-a11y-text-115 .ap-mm-burger[hidden] { display: none !important; }
	html.ap5-a11y-text-115 .ap-mm-burger:hover { background: rgba(255,255,255,.16); }
	html.ap5-a11y-text-115 .ap-mm-burger:focus-visible { outline: 2px solid var(--wp--preset--color--yellow-light, #FFD76A); outline-offset: 2px; }
	html.ap5-a11y-text-115 .ap-nav .ap-nav-actions { margin-left: auto; }
	html.ap5-a11y-text-115 .ap-nav .ap-logo, html.ap5-a11y-text-115 .ap-nav .ap-logo img { flex-shrink: 0; }
	html.ap5-a11y-text-115 .ap-mm-dialog:not([hidden]) { display: block !important; }
	html.ap5-a11y-text-130 .ap-nav .ap-mm { display: none; }
	html.ap5-a11y-text-130 .ap-mm-burger { order: 3; display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; margin-right: -6px; padding: 0; border: 0; border-radius: 999px; background: none; color: #fff; cursor: pointer; }
	html.ap5-a11y-text-130 .ap-mm-burger[hidden] { display: none !important; }
	html.ap5-a11y-text-130 .ap-mm-burger:hover { background: rgba(255,255,255,.16); }
	html.ap5-a11y-text-130 .ap-mm-burger:focus-visible { outline: 2px solid var(--wp--preset--color--yellow-light, #FFD76A); outline-offset: 2px; }
	html.ap5-a11y-text-130 .ap-nav .ap-nav-actions { margin-left: auto; }
	html.ap5-a11y-text-130 .ap-nav .ap-logo, html.ap5-a11y-text-130 .ap-nav .ap-logo img { flex-shrink: 0; }
	html.ap5-a11y-text-130 .ap-mm-dialog:not([hidden]) { display: block !important; }
}
@media (min-width: 1080px) and (max-width: 1279px) {
	html[lang^="es"] .ap-nav .ap-mm { display: none; }
	html[lang^="es"] .ap-mm-burger { order: 3; display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; margin-right: -6px; padding: 0; border: 0; border-radius: 999px; background: none; color: #fff; cursor: pointer; }
	html[lang^="es"] .ap-mm-burger[hidden] { display: none !important; }
	html[lang^="es"] .ap-mm-burger:hover { background: rgba(255,255,255,.16); }
	html[lang^="es"] .ap-mm-burger:focus-visible { outline: 2px solid var(--wp--preset--color--yellow-light, #FFD76A); outline-offset: 2px; }
	html[lang^="es"] .ap-nav .ap-nav-actions { margin-left: auto; }
	html[lang^="es"] .ap-nav .ap-logo, html[lang^="es"] .ap-nav .ap-logo img { flex-shrink: 0; }
	html[lang^="es"] .ap-mm-dialog:not([hidden]) { display: block !important; }
}
/* Spanish desktop nav: slightly tighter spacing so labels do not touch the logo or the language switcher. */
@media (min-width: 1280px) {
	html[lang^="es"] .ap-nav { column-gap: 10px; }
	html[lang^="es"] .ap-mm-top { padding-left: 6px; padding-right: 6px; }
	html[lang^="es"] .ap-nav-actions { gap: 6px; }
	html[lang^="es"] .ap-nav-actions .ap-login a { padding-left: .5em; padding-right: .5em; }
}

/* ---------- menu-1109 (2026-11-09, English menu): label link + caret button, Pricing mega menu panel ---------- */
.ap-mm-item.has-split { display: flex; align-items: center; border-radius: 999px; transition: background-color .15s; }
.ap-mm-item.has-split > .ap-mm-top { padding-right: 2px; }
.ap-mm-item.has-split > .ap-mm-top:hover, .ap-mm-item.has-split.is-open > .ap-mm-top { background: none; box-shadow: none; }
.ap-mm-item.has-split:hover, .ap-mm-item.has-split.is-open { background: rgba(255,255,255,.18); }
.ap-mm-item.has-split.is-open { box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.ap-mm-item.has-split.is-current > .ap-mm-top { background: none; }
.ap-mm-item.has-split.is-current { background: rgba(255,255,255,.12); }
.ap-mm-caret {
	display: inline-flex; align-items: center; justify-content: center; width: 26px; min-height: 44px; margin: 0 6px 0 0; padding: 0;
	border: 0; border-radius: 999px; background: none; color: rgba(255,255,255,.94); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.ap-mm-caret:hover { color: #fff; background: rgba(255,255,255,.14); }
@media (min-width: 1080px) and (max-width: 1279px) { .ap-mm-caret { width: 22px; margin-right: 3px; } .ap-mm-item.has-split > .ap-mm-top { padding-right: 0; } }
/* Pricing panel: three cards, same white glass panel as the other mega menus. */
.ap-mm-panel.ap-mm-pp { left: auto; right: 120px; width: min(860px, 100%); grid-template-columns: minmax(0,1fr); }
.ap-mm-pcs { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin: 0; padding: 22px; list-style: none; }
.ap-mm-pc {
	display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0; padding: 18px; border-radius: 18px;
	background: linear-gradient(180deg, #FFFFFF, #F3F7FD); box-shadow: inset 0 0 0 1px #E8EEF8, 0 10px 24px -18px rgba(0,40,120,.45);
}
.ap-mm-pc .ap-mm-ic { margin-bottom: 6px; }
.ap-mm-pch { margin: 0; font-size: 1.0625rem; font-weight: 750; line-height: 1.25; color: var(--wp--preset--color--ink, #0E1B3D); }
.ap-mm-pcx { margin: 0 0 8px; font-size: .875rem; line-height: 1.45; color: #4A5468; }
.ap-mm-pcta {
	margin-top: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 9px 15px; border-radius: 999px;
	background: var(--wp--preset--color--primary, #004FD3); color: #fff !important; font-size: .875rem; font-weight: 700; line-height: 1.2; text-decoration: none !important; white-space: nowrap;
}
.ap-mm-pcta:hover { background: #003CB0; }
.ap-mm-panel .ap-mm-pcta:focus-visible, .ap-mm-sheet .ap-mm-pcta:focus-visible { outline-offset: 3px !important; }
/* Mobile dialog rows: label link + caret button. */
.ap-mm-rowhd { display: flex; align-items: center; gap: 4px; }
.ap-mm-rowlink {
	flex: 1 1 auto; display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 52px; padding: 0 8px;
	color: var(--wp--preset--color--ink, #0E1B3D); font-size: 1.125rem; font-weight: 700; text-decoration: none;
}
.ap-mm-rowlink:hover { text-decoration: none; color: var(--wp--preset--color--primary, #004FD3); }
.ap-mm-rowlink[aria-current="page"] { color: var(--wp--preset--color--primary, #004FD3); }
.ap-mm-rowcaret { flex: 0 0 48px; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 12px; background: none; color: #004FD3; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ap-mm-rowcaret .ap-mm-pm { margin: 0; }
.ap-mm-rowcaret[aria-expanded="true"] .ap-mm-pm::after { transform: rotate(0deg); }
.ap-mm-pcs.is-m { grid-template-columns: minmax(0,1fr); gap: 8px; padding: 4px 4px 2px; }
.ap-mm-pcs.is-m .ap-mm-pc { padding: 14px; }
.ap-mm-pcs.is-m .ap-mm-pch { font-size: 1rem; }

/* pagefix-1109 item 4 (2026-11-09): tab bar label contrast, sitewide except the front page.
   Labels are #fff; the see-through bar (Global Styles rgba(0,60,170,.38)) let light page content show through, so labels
   measured 2.5-2.9:1. Same hue, more opaque, blur kept: worst case over pure white is 6.39:1 (active tab 4.92:1).
   Front page excluded on purpose (Eve's homepage is held for Brian). Rollback: delete this block. */
@media (max-width: 1079px) {
	body:not(.home) .ap5-tabbar { background: rgba(0, 60, 170, 0.84) !important; }
	body:not(.home) .ap5-tabbar__label { color: #fff; }
}
@media (max-width: 1079px) and (prefers-reduced-transparency: reduce) {
	body:not(.home) .ap5-tabbar { background: rgba(0, 50, 150, 0.95) !important; }
}
