.nordemo-hero {
	margin-block: 28px 48px;
	display: flex;
	align-items: stretch;
	gap: 24px;
	width: 100%;
}

.nordemo-hero__slider {
	position: relative;
	flex: 1;
	overflow: hidden;
	min-height: 484px;
	min-width: 0;
	border-radius: var(--nordemo-radius);
}

.nordemo-hero__slide {
	position: relative;
	overflow: hidden;
	border-radius: var(--nordemo-radius);
}

.nordemo-hero__image,
.nordemo-hero__overlay {
	position: absolute;
	inset: 0;
}

/* A WebP plugin may wrap the image in <picture>, so the class can land on either element. */
.nordemo-hero__image,
.nordemo-hero__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nordemo-hero__overlay {
	background: linear-gradient(46.774deg, rgba(0, 49, 38, 0.2) 15.065%, rgba(0, 49, 38, 0) 58.404%);
}

.nordemo-hero__text {
	position: absolute;
	bottom: 40px;
	left: 40px;
	right: 40px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: 680px;
	color: var(--nordemo-on-primary);
	text-shadow: 0 4px 44px rgba(0, 0, 0, 0.32);
}

.nordemo-hero__eyebrow {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 24px;
	letter-spacing: 0.0833em;
}

.nordemo-hero__heading {
	margin: 0;
	color: inherit;
}

.nordemo-hero__dots.swiper-pagination {
	bottom: 8px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 10px;
}

.nordemo-hero__dots .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	margin: 0;
	background: var(--nordemo-surface-accent);
	opacity: 1;
}

.nordemo-hero__dots .swiper-pagination-bullet-active {
	background: var(--nordemo-primary-deep);
}

.nordemo-hero__promo {
	flex: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 24px;
	width: 400px;
	padding: 48px 32px;
	background: var(--nordemo-primary);
	border-radius: var(--nordemo-radius);
}

.nordemo-hero__promo-content {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.nordemo-hero__promo-title {
	margin: 0;
	color: var(--nordemo-on-primary);
}

.nordemo-hero__promo-text {
	margin: 0;
	font-size: 17px;
	line-height: 25px;
	color: #dce0e6;
}

.nordemo-hero__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

.nordemo-hero__field-label {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	letter-spacing: 0.09375em;
	color: var(--nordemo-on-primary);
}

/* Figma draws this one 6px wider on the left and a shade darker than the shared light button. */
.nordemo-hero__button {
	padding-left: 30px;
	color: #0d1b38;
}

.nordemo-hero :focus-visible {
	outline: 2px solid var(--nordemo-on-primary);
	outline-offset: 2px;
}

@media (max-width: 991px) {
	.nordemo-hero {
		margin-block: 16px;
	}

	.nordemo-hero {
		flex-direction: column;
		gap: 16px;
	}

	/* Stacked, flex:1 no longer sizes the width and Bricks' auto side margins collapse it. */
	.nordemo-hero__slider {
		width: 100%;
		min-height: 412px;
	}

	.nordemo-hero__overlay {
		background: linear-gradient(60.639deg, rgba(0, 49, 38, 0.4) 18.768%, rgba(0, 49, 38, 0) 59.256%);
	}

	.nordemo-hero__text {
		bottom: 16px;
		left: 16px;
		right: 16px;
		max-width: 296px;
	}

	.nordemo-hero__eyebrow {
		font-size: 12px;
		line-height: 16px;
		letter-spacing: 0.125em;
	}

	.nordemo-hero__promo {
		width: auto;
		padding: 32px 24px;
	}

	.nordemo-hero__promo-text {
		font-size: 16px;
		line-height: 24px;
	}

	.nordemo-hero__button {
		width: 100%;
	}
}
