/* ===== WADE X BROWSER-FOR-1000-ACCOUNTS BANNER (AB4) ===== */

.banner-carousel {
	max-width: 100%;
	width: 100%;
	min-height: 350px;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
	background: #050505;
}

.bannerab4 {
	--color-bg: #050505;
	--color-accent: #e93129;
	--color-title: #f2f8ff;
	--color-text: #f4f3f3;
	--color-muted: #979898;

	position: relative;
	display: block;
	isolation: isolate;
	/* Full-bleed on purpose: the background image is anchored to the real right
	   edge of the banner, so it must not stop at a 1440px box while the black
	   plate behind it runs the whole width. The text column is what gets capped
	   at 1440 (see .bannerab4__content in the min-width: 1200px block). */
	width: 100%;
	min-height: 350px;
	margin: 0 auto;
	overflow: hidden;
	background: var(--color-bg);
	font-family: 'Inter', sans-serif;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}

/* The whole banner is one link, so nothing inside it may re-style itself as one. */
.bannerab4:hover,
.bannerab4:focus,
.bannerab4:active {
	color: inherit;
	text-decoration: none;
}

.bannerab4:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -4px;
}

.bannerab4 *,
.bannerab4 *::before,
.bannerab4 *::after {
	box-sizing: border-box;
}

.bannerab4__bg {
	/* Single knob for the image size. The negative top offset is derived from it
	   (-8.5% of the width, as in the mock) so the framing stays the same at any
	   scale instead of drifting when the width changes. */
	--bannerab4-bg-w: min(72vw, 1280px);

	position: absolute;
	z-index: -1;
	top: calc(var(--bannerab4-bg-w) * -0.085);
	right: 0;
	width: var(--bannerab4-bg-w);
	max-width: none;
	height: auto;
	object-fit: contain;
	pointer-events: none;
}

.bannerab4__content {
	position: relative;
	z-index: 1;
	display: flex;
	width: min(100%, 960px);
	min-height: 350px;
	padding: 30px 30px 28px clamp(30px, 4.167vw, 60px);
	flex-direction: column;
	align-items: flex-start;
}

.bannerab4__title {
	max-width: 100%;
	margin: 0;
	padding: 0;
	font-family: 'Unbounded', sans-serif;
	font-weight: 400;
	font-size: clamp(32px, 3.472vw, 50px);
	line-height: 1.1;
	color: var(--color-title);
	text-transform: uppercase;
	text-wrap: balance;
}

.bannerab4__title-accent {
	color: inherit;
}

.bannerab4__subtitle {
	margin: 8px 0 0;
	padding: 0;
	font-weight: 400;
	font-size: clamp(16px, 1.343vw, 19.333px);
	line-height: 1.2;
	color: var(--color-muted);
}

.bannerab4__nav {
	display: flex;
	max-width: 100%;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 14px;
	margin-top: 31px;
}

.bannerab4__nav-item {
	font-weight: 500;
	font-size: 13px;
	line-height: 1;
	color: var(--color-text);
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-position: from-font;
	white-space: nowrap;
}

.bannerab4__btn {
	display: flex;
	width: 273.76px;
	max-width: 100%;
	height: 47.95px;
	align-items: center;
	justify-content: center;
	gap: 5px;
	margin-top: 49px;
	border: none;
	border-radius: 0;
	background: var(--color-accent);
	color: #fff;
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 12.373px;
	line-height: 1;
	letter-spacing: 0.371px;
	white-space: nowrap;
	text-decoration: none;
	transition:
		filter 0.15s ease,
		transform 0.15s ease;
}

/* The button is a <span> inside the banner-wide link: it reacts to hover/press
   anywhere on the banner, not just on itself. */
.bannerab4:hover .bannerab4__btn {
	filter: brightness(1.08);
	color: #fff;
	text-decoration: none;
}

.bannerab4:active .bannerab4__btn {
	transform: translateY(1px);
}

.bannerab4__btn-arrow {
	width: 12.373px;
	height: 12.373px;
	flex-shrink: 0;
}

.bannerab4__promo {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 15px 0 0;
	padding: 0;
	line-height: normal;
}

.bannerab4__promo-label {
	color: var(--color-muted);
	font-weight: 400;
	font-size: 12.373px;
}

.bannerab4__promo-offer {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	color: var(--color-accent);
}

.bannerab4__promo-code {
	color: inherit;
	font-weight: 600;
	font-size: 13.92px;
}

.bannerab4__promo-copy {
	width: 8.12px;
	height: 8.12px;
	flex-shrink: 0;
	transition: opacity 0.15s ease;
}

.bannerab4__promo-offer.is-copied .bannerab4__promo-copy {
	opacity: 0.35;
}

@media (min-width: 1200px) {
	/* Keeps the text column where it was before the banner went full-bleed:
	   capped at 1440 and centred, so on wide screens only the image grows. */
	.bannerab4__content {
		width: min(100%, 1440px);
		margin-inline: auto;
	}

	.bannerab4__title {
		white-space: nowrap;
		text-wrap: nowrap;
	}

	.bannerab4__subtitle {
		margin-top: 12px;
	}

	.bannerab4__nav {
		margin-top: 25px;
	}
}

@media (max-width: 1100px) and (min-width: 769px) {
	.banner-carousel,
	.bannerab4 {
		min-height: 390px;
	}

	.bannerab4__bg {
		top: -25px;
		right: -145px;
		width: 780px;
		opacity: 0.65;
	}

	.bannerab4__content {
		width: min(78%, 820px);
		min-height: 390px;
		padding-top: 30px;
		padding-bottom: 30px;
	}

	.bannerab4__nav {
		margin-top: 28px;
	}

	.bannerab4__btn {
		margin-top: 38px;
	}
}

@media (max-width: 768px) {
	.banner-carousel,
	.bannerab4 {
		min-height: 455px;
	}

	.bannerab4__bg {
		top: 86px;
		right: -42px;
		width: 714px;
		height: 402px;
		object-fit: cover;
		opacity: 0.4;
		filter: blur(1px);
	}

	.bannerab4__content {
		width: 100%;
		min-height: 455px;
		padding: 30px 20px;
	}

	.bannerab4__title {
		font-size: clamp(22px, 6.667vw, 26px);
		line-height: 1.4;
		text-wrap: wrap;
	}

	.bannerab4__subtitle {
		margin-top: 5px;
		font-size: 14px;
		line-height: 1.4;
	}

	.bannerab4__nav {
		gap: 14px;
		margin-top: 20px;
	}

	.bannerab4__nav-item {
		font-size: 12px;
	}

	.bannerab4__btn {
		width: 100%;
		height: 47.95px;
		gap: 8px;
		margin-top: 40px;
		font-size: 12.373px;
		letter-spacing: 0.371px;
	}

	.bannerab4__btn-arrow {
		width: 15.819px;
		height: 12.373px;
	}

	.bannerab4__promo {
		margin-top: 15px;
		gap: 12px;
	}
}

@media (max-width: 370px) {
	.bannerab4__content {
		padding-inline: 16px;
	}

	.bannerab4__title {
		font-size: 21px;
	}

	.bannerab4__nav {
		gap: 12px;
	}

	.bannerab4__btn {
		margin-top: 32px;
	}

	.bannerab4__promo {
		align-items: flex-start;
		flex-direction: column;
		gap: 3px;
	}
}
