/* ═══════════════════════════════════════════════════════════════════
   🔲 Bitghost EventOn Addons · Ticket banner · v1.8.0 "GALA"
   ───────────────────────────────────────────────────────────────────
   22px brand frame, UAC gradient, deep-ink field. Loaded only where
   [bgevo_banner] actually renders.
   ═══════════════════════════════════════════════════════════════════ */

.bgevo-banner {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--bgevo-radius);
	background: var(--bgevo-deep);
	color: #fff;
	isolation: isolate;
}

/* The 22px brand constant, rendered as a gradient edge rather than a flat
   border so it reads as the UAC mark rather than as a box. */
.bgevo-banner.has-frame {
	border: var(--bgevo-frame-w, 22px) solid transparent;
	background:
		linear-gradient(var(--bgevo-deep), var(--bgevo-deep)) padding-box,
		var(--bgevo-grad) border-box;
}

.bgevo-banner__stage {
	position: relative;
	display: grid;
	min-height: var(--bgevo-banner-h, auto);
}

/* Every slide occupies the same cell, so the bar never changes height
   mid-dissolve and the page below it never jumps. */
.bgevo-banner__slide {
	grid-area: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	flex-wrap: wrap;
	padding: 20px 24px;

	opacity: 0;
	visibility: hidden;
	transition:
		opacity var(--bgevo-banner-trans, 4000ms) ease-in-out,
		visibility 0s linear var(--bgevo-banner-trans, 4000ms);
}
.bgevo-banner__slide.is-on {
	opacity: 1;
	visibility: visible;
	transition:
		opacity var(--bgevo-banner-trans, 4000ms) ease-in-out,
		visibility 0s;
}

.bgevo-banner__body { display: grid; gap: 3px; min-width: 0; flex: 1 1 340px; }

.bgevo-banner__kicker {
	font-size: 11px; font-weight: 800; letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--bgevo-secondary);
}
.bgevo-banner__title {
	font-size: clamp(19px, 1.8vw + 14px, 26px);
	font-weight: 800; line-height: 1.2; letter-spacing: -.02em;
	color: #fff;
}
.bgevo-banner__meta {
	font-size: clamp(13px, 0.6vw + 11.5px, 15px);
	color: rgba(255, 255, 255, .76);
	line-height: 1.5;
}

.bgevo-banner__cta {
	flex: 0 0 auto;
	font-size: 15px;
	padding: 13px 26px;
	min-height: 46px;
	white-space: nowrap;
}

/* ── Controls ────────────────────────────────────────────────────── */
.bgevo-banner__nav {
	position: absolute; right: 18px; bottom: 12px;
	display: flex; align-items: center; gap: 8px;
}
.bgevo-banner__arrow {
	width: 28px; height: 28px; padding: 0;
	display: grid; place-items: center;
	border: 1px solid rgba(255, 255, 255, .26);
	border-radius: 50%;
	background: transparent;
	color: #fff; font-size: 17px; line-height: 1; cursor: pointer;
	transition: border-color .18s, background .18s;
}
.bgevo-banner__arrow:hover,
.bgevo-banner__arrow:focus-visible {
	border-color: var(--bgevo-secondary);
	background: rgba(255, 255, 255, .1);
	outline: none;
}
.bgevo-banner__dots { display: flex; gap: 6px; }
.bgevo-banner__dot {
	width: 8px; height: 8px; padding: 0;
	border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, .32);
	cursor: pointer;
	transition: background .2s, width .2s;
}
.bgevo-banner__dot.is-on { background: var(--bgevo-secondary); width: 22px; border-radius: 999px; }
.bgevo-banner__dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.bgevo-banner__close {
	position: absolute; top: 8px; right: 10px;
	width: 26px; height: 26px; padding: 0;
	border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #fff; font-size: 17px; line-height: 1; cursor: pointer;
}
.bgevo-banner__close:hover { background: rgba(255, 255, 255, .24); }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 720px) {
	.bgevo-banner.has-frame { border-width: 12px; }
	.bgevo-banner__slide { padding: 16px 16px 44px; gap: 14px; }
	.bgevo-banner__cta { width: 100%; text-align: center; justify-content: center; }
	.bgevo-banner__nav { left: 16px; right: auto; bottom: 10px; }
}

/* ── Motion & contrast ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	.bgevo-banner__slide,
	.bgevo-banner__slide.is-on { transition: none; }
	.bgevo-banner__dot { transition: none; }
}
@media (forced-colors: active) {
	.bgevo-banner { border: 1px solid currentColor; }
	.bgevo-banner__dot.is-on { background: currentColor; }
}
