/* Fixed footer advertising pill matching Event Top Navigation. */
.nxtorigin-event-footer-navigation {
	box-sizing: border-box;
	position: fixed;
	bottom: 10px;
	left: 50%;
	z-index: 50;
	/*
	 * The 24px gutter left no corner free, so the ad ran under the help
	 * launcher and the privacy pill — and because the launcher sits in a
	 * stacking context the bar wins, its z-index could not lift it clear. A
	 * 168px gutter (84px each side) is enough for a 44px button inset 22px,
	 * with room to breathe. Narrowing the ad is deliberate: it is a smaller
	 * advertisement rather than a hidden help button.
	 */
	/*
	 * Fluid width between two reservations.
	 *
	 * Three plugins drop a fixed control onto this same corner strip and none
	 * of them knows about the others: Engagement's "Live engagement" pill at
	 * bottom-left, Marketing's "Privacy choices" pill at bottom-right, and the
	 * Knowledge Base help launcher beyond it. They are not part of this
	 * layout, so the only thing that keeps them off the advertisement is space
	 * this bar declines to occupy at each end.
	 *
	 * The reservations are pixels because the things being reserved for are
	 * pixels — a pill does not grow with the window. The ADVERTISEMENT is what
	 * scales: it takes every pixel between the two reserves, so a 27-inch
	 * screen gets a big ad and a laptop gets a smaller one, with the gaps
	 * unchanged. There is deliberately no max-width; a cap is what previously
	 * made this read as a strip stranded in the middle of a large monitor.
	 *
	 * The reserve is CONSTANT at every desktop size on purpose. A proportional
	 * one (vw, clamp) looks tidier but is wrong: it shrinks below what a pill
	 * actually occupies on a 14-inch screen, which is exactly where the overlap
	 * came back. The pills are a fixed size, so the space kept for them is too
	 * — 14, 24, 26 and 27-inch screens all self-adjust because the ad takes
	 * whatever is left, not because the gap moves.
	 *
	 * --nxtorigin-footer-reserve is the single knob. Raise it if a pill grows.
	 */
	--nxtorigin-footer-reserve: 230px;
	width: calc(100% - (var(--nxtorigin-footer-reserve) * 2));
	min-width: 260px;
	max-width: none;
		transform: translateX(-50%);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 18px;
	background: rgba(8, 15, 31, .82);
	box-shadow: 0 14px 30px rgba(0, 0, 0, .3), inset 0 1px rgba(255, 255, 255, .08);
	-webkit-backdrop-filter: blur(24px) saturate(150%);
	backdrop-filter: blur(24px) saturate(150%);
	font-family: var(--nx-font-family, "Outfit", Inter, system-ui, sans-serif);
}

.nxtorigin-event-footer-navigation-inner {
	display: flex;
	align-items: center;
	min-height: 68px;
	padding: 0 22px;
}

.nxtorigin-event-footer-navigation-ad {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	width: 100%;
	height: 52px;
	border: 1px dashed color-mix(in srgb, var(--nx-text, #fff) 25%, transparent);
	border-radius: 9px;
	background: color-mix(in srgb, var(--nx-panel, #0b1a30) 65%, transparent);
	color: var(--nx-text-soft, #8ea0b8);
	font-size: 11px;
	letter-spacing: .08em;
	text-align: center;
	text-transform: uppercase;
}

.nxtorigin-event-footer-navigation-ad.is-filled {
	border-style: none;
	background: transparent;
	width: auto;
	max-width: 100%;
	margin: 0 auto;
}

.nxtorigin-event-footer-navigation-slot,
.nxtorigin-event-footer-navigation-slot a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: auto;
	max-width: 100%;
	height: 100%;
}

.nxtorigin-event-footer-navigation-slot img {
	display: block;
	width: auto;
	max-width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	border-radius: 6px;
}

.nxtorigin-event-footer-navigation-ad:hover {
	border-color: var(--nx-cyan, #22d3ee);
	color: var(--nx-text, #fff);
}

.nxtorigin-event-footer-navigation-slot a:focus-visible {
	border-radius: 6px;
	outline: 2px solid var(--nx-cyan, #22d3ee);
	outline-offset: 4px;
}

@media (max-width: 700px) {
	/*
	 * On a phone a 168px gutter would leave almost no ad. The launcher moves to
	 * bottom:76px below 480px (see the knowledge-base widget), so it no longer
	 * shares the corner and the bar can reclaim the width.
	 */
	.nxtorigin-event-footer-navigation {
		width: min(1320px, calc(100% - 24px));
	}

	.nxtorigin-event-footer-navigation-inner {
		min-height: 54px;
		padding: 0 12px;
	}

	.nxtorigin-event-footer-navigation-ad,
	.nxtorigin-event-footer-navigation-slot,
	.nxtorigin-event-footer-navigation-slot a,
	.nxtorigin-event-footer-navigation-slot img {
		height: 34px;
		min-height: 34px;
	}
}

/* The event's own footer line, shown when the bar carries no advertisement.
   Quiet by design: it exists so a page with nothing sold still ends in a
   footer rather than an empty pill. */
.nxtorigin-event-footer-navigation-meta {
	flex: 1 1 auto;
	min-width: 0;
	text-align: center;
	font-size: 0.78rem;
	line-height: 1.3;
	letter-spacing: 0.01em;
	color: var(--nx-text-soft, #9fb3cd);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* With no ad to carry, the empty slot must not hold the line off-centre. */
.nxtorigin-event-footer-navigation-ad.is-empty:empty {
	display: none;
}
