/**
 * Slot fallbacks — what an unsold advertising location renders instead of
 * nothing. Sized to sit inside whatever surface hosts it (event header pill,
 * fixed footer bar, in-content slot), so it sets no width of its own.
 */

.nxtorigin-adfallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-width: 0;
}

.nxtorigin-adfallback img {
	display: block;
	max-width: 100%;
	height: auto;
}

.nxtorigin-adfallback__link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-width: 0;
	text-decoration: none;
	color: inherit;
}

.nxtorigin-adfallback--image .nxtorigin-adfallback__link {
	display: block;
}

.nxtorigin-adfallback__text {
	display: flex;
	align-items: baseline;
	gap: 8px;
	min-width: 0;
	overflow: hidden;
}

.nxtorigin-adfallback__headline {
	font-weight: 600;
	font-size: 0.92rem;
	line-height: 1.25;
	color: var(--nx-text, #e6edf7);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nxtorigin-adfallback__body {
	font-size: 0.82rem;
	line-height: 1.3;
	color: var(--nx-text-soft, #9fb3cd);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nxtorigin-adfallback__cta {
	flex: 0 0 auto;
	padding: 5px 12px;
	border-radius: 999px;
	border: 1px solid var(--nx-border, #243a56);
	background: color-mix(in srgb, var(--nx-cyan, #22d3ee) 12%, transparent);
	color: var(--nx-cyan, #22d3ee);
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	white-space: nowrap;
	transition: background 0.18s ease, border-color 0.18s ease;
}

.nxtorigin-adfallback__link:hover .nxtorigin-adfallback__cta,
.nxtorigin-adfallback__link:focus-visible .nxtorigin-adfallback__cta {
	background: color-mix(in srgb, var(--nx-cyan, #22d3ee) 22%, transparent);
	border-color: var(--nx-cyan, #22d3ee);
}

.nxtorigin-adfallback__link:focus-visible {
	outline: 2px solid var(--nx-cyan, #22d3ee);
	outline-offset: 3px;
	border-radius: var(--nx-border-radius, 12px);
}

@media (max-width: 640px) {
	.nxtorigin-adfallback__body {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nxtorigin-adfallback__cta {
		transition: none;
	}
}
