/*
 * Reuses Widget_Hero_Search's v2 dark palette (--accent/--text/--muted:
 * #ef4939/#f5f7fa/#a1abb6), left-to-right image-fade technique, and CTA
 * button gradient verbatim, at a compact banner scale rather than the
 * hero's full-viewport one — same "redefine locally, don't cross-load"
 * reasoning wipe-countdown.css already gives. No new contrast math: every
 * color pairing here (muted/heading/eyebrow text, white-on-gradient CTA
 * text) is the exact value already checked against a background of the
 * same darkness in hero-search.css/wipe-countdown.css's own docblocks.
 */
.rusto-promo-banner {
	--accent: #ef4939;
	--text: #f5f7fa;
	--muted: #a1abb6;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: clamp(200px, 26vw, 300px);
	color: var(--text);
	background: #071017;
	border: 1px solid rgba(255, 255, 255, .06);
	border-radius: 14px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .24), inset 0 1px rgba(255, 255, 255, .03);
}

.rusto-promo-banner__media,
.rusto-promo-banner__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.rusto-promo-banner__media {
	z-index: -2;
	background-position: center right;
	background-size: cover;
	background-repeat: no-repeat;
}

.rusto-promo-banner__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(5, 12, 18, .97) 0%, rgba(5, 12, 18, .9) 32%, rgba(5, 12, 18, .55) 58%, rgba(5, 12, 18, .15) 82%, rgba(5, 12, 18, .12) 100%);
}

.rusto-promo-banner__overlay {
	z-index: -1;
	background: radial-gradient(circle at 78% 30%, rgba(239, 73, 57, .08), transparent 26rem);
}

.rusto-promo-banner__inner {
	position: relative;
	min-height: inherit;
	padding: clamp(1.75rem, 4vw, 2.75rem);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}

.rusto-promo-banner__content {
	max-width: 600px;
}

.rusto-promo-banner__eyebrow {
	margin: 0 0 8px;
	color: #ff8175;
	font-size: .74rem;
	font-weight: 850;
	text-transform: uppercase;
	letter-spacing: .12em;
}

.rusto-promo-banner__heading {
	margin: 0;
	color: var(--text);
	font-size: clamp(1.4rem, 2.6vw, 2rem);
	line-height: 1.2;
	font-weight: 850;
	letter-spacing: -.02em;
	text-wrap: balance;
}

.rusto-promo-banner__cta {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 60px;
	padding: 0 28px;
	color: #fff;
	background: linear-gradient(180deg, #f05242, #cf382d);
	border: 1px solid rgba(255, 122, 106, .5);
	border-radius: 11px;
	font-size: 1rem;
	font-weight: 850;
	text-transform: uppercase;
	letter-spacing: .02em;
	text-decoration: none;
	box-shadow: inset 0 1px rgba(255, 255, 255, .12), 0 14px 34px rgba(205, 56, 45, .23);
	transition: transform .15s ease, background .15s ease;
}

.rusto-promo-banner__cta svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}

.rusto-promo-banner__cta:hover {
	transform: translateY(-1px);
	background: linear-gradient(180deg, #fa5b4a, #dd4034);
	color: #fff;
}

.rusto-promo-banner :focus-visible {
	outline: 2px solid #ff6556;
	outline-offset: 3px;
}

@media (max-width: 640px) {
	.rusto-promo-banner {
		min-height: auto;
	}

	.rusto-promo-banner__media::after {
		background: linear-gradient(180deg, rgba(5, 12, 18, .7), rgba(5, 12, 18, .75) 40%, rgba(5, 12, 18, .96));
	}

	.rusto-promo-banner__inner {
		flex-direction: column;
		align-items: flex-start;
		padding: 1.5rem;
	}

	.rusto-promo-banner__cta {
		width: 100%;
		justify-content: center;
	}
}
