.ns-flex-hero {
	position: relative;
	overflow: hidden;
	padding-block: 16px 32px !important;
	background: var(--ns-flex-hero-background, #fff);
	font-family: "Barlow", sans-serif;
}

.ns-flex-hero *,
.ns-flex-hero *::before,
.ns-flex-hero *::after {
	box-sizing: border-box;
}

.ns-flex-hero__body {
	position: relative;
	z-index: 15;
}

.ns-flex-hero__title {
	margin-block: 0 16px !important;
	color: var(--ns-flex-hero-title-color, #231f20);
	font-family: inherit;
	font-size: 42px;
	font-weight: 800;
	line-height: 48px;
	text-align: center;
	letter-spacing: unset;
}

.ns-flex-hero__video {
	margin-block-end: 63px;
}

.ns-flex-hero__video-decor,
.ns-flex-hero__video-foreground {
	display: none;
}

.ns-flex-hero__video-holder {
	position: relative;
	overflow: hidden;
	border: 6px solid var(--ns-flex-hero-video-border, #231f20);
	border-radius: 12px;
	background-color: #fff;
}

.ns-flex-hero--compact .ns-flex-hero__video-holder {
	border-radius: 0;
	border: 0;
}

.ns-flex-hero__video-file {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ns-flex-hero__video-controls {
	position: absolute;
	z-index: 5;
	inset-inline-end: 12px;
	inset-block-end: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ns-flex-hero__video-control {
	position: relative;
	display: inline-flex;
	width: 40px;
	height: 40px;
	padding: 0;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.ns-flex-hero__video-control:hover,
.ns-flex-hero__video-control:focus-visible {
	background: rgba(0, 0, 0, 0.8);
	color: #fff;
}

.ns-flex-hero__video-control:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.ns-flex-hero__video-control:active {
	transform: scale(0.94);
}

.ns-flex-hero__video-control-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	width: 22px;
	height: 22px;
	margin: 0;
	transform: translate(-50%, -50%);
}

.ns-flex-hero__video-control-icon[hidden] {
	display: none !important;
}

.ns-flex-hero__video-control[hidden] {
	display: none !important;
}

.ns-flex-hero__video-control--sound [data-sound-muted] {
	display: none;
}

.ns-flex-hero__video-control--sound [data-sound-playing] {
	display: block;
}

.ns-flex-hero__video-control--sound.is-muted [data-sound-muted] {
	display: block;
}

.ns-flex-hero__video-control--sound.is-muted [data-sound-playing] {
	display: none;
}

.ns-flex-hero__video-control--fullscreen [data-fullscreen-enter] {
	display: block;
}

.ns-flex-hero__video-control--fullscreen [data-fullscreen-exit] {
	display: none;
}

.ns-flex-hero__video-control--fullscreen.is-fullscreen [data-fullscreen-enter] {
	display: none;
}

.ns-flex-hero__video-control--fullscreen.is-fullscreen [data-fullscreen-exit] {
	display: block;
}

.ns-flex-hero__video-holder:fullscreen,
.ns-flex-hero__video-holder:-webkit-full-screen {
	border: 0;
	border-radius: 0;
	background: #000;
}

.ns-flex-hero__video-holder:fullscreen .ns-flex-hero__video-file,
.ns-flex-hero__video-holder:-webkit-full-screen .ns-flex-hero__video-file {
	object-fit: contain;
}

.ns-flex-hero__video-link-row {
	position: relative;
	z-index: 25;
	display: flex;
	justify-content: flex-end;
	margin-block-start: 14px;
	top: -5px;
	right: 6px;
}

.ns-flex-hero__video-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #da1d52;
	font-size: 18px;
	font-weight: 600;
	line-height: 22px;
	text-decoration: none;
}

.ns-flex-hero__video-link:hover,
.ns-flex-hero__video-link:focus {
	color: #da1d52;
	text-decoration: none;
}

.ns-flex-hero__video-link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

.ns-flex-hero__video-link-sparkle,
.ns-flex-hero__video-link-arrow {
	flex: 0 0 auto;
}

.ns-flex-hero__video-link-arrow {
	transition: transform 0.2s ease;
}

.ns-flex-hero__video-link:hover .ns-flex-hero__video-link-arrow,
.ns-flex-hero__video-link:focus-visible .ns-flex-hero__video-link-arrow {
	transform: translateX(4px);
}

.ns-flex-hero__description {
	margin-block-end: 15px;
	padding-inline: 10px;
	color: var(--ns-flex-hero-text-color, #231f20);
	font-size: 18px;
	font-weight: 400;
	line-height: 22px;
	text-align: center;
}

.ns-flex-hero__description strong,
.ns-flex-hero__description b {
	font-weight: 700;
}

.ns-flex-hero__description > * {
	margin-block: 0 !important;
	color: inherit;
}

.ns-flex-hero__description > * + * {
	margin-block-start: 1em !important;
}

.ns-flex-hero__ribbon-wrapper {
	text-align: center;
}

.ns-flex-hero__ribbon {
	position: relative;
	display: inline-block;
	padding-inline: 17px;
	vertical-align: top;
}

.ns-flex-hero__ribbon-content {
	position: relative;
	z-index: 10;
	display: inline-block;
	padding: 7px 18px 8px;
	background-color: var(--ns-flex-hero-ribbon-background, #ffe3eb);
	color: var(--ns-flex-hero-ribbon-color, #da1d52);
	font-size: 15px;
	font-weight: 500;
	line-height: 15px;
	text-align: center;
	vertical-align: top;
}

.ns-flex-hero__ribbon-edge {
	position: absolute;
	inset-block-end: -5px;
	width: 32px;
	height: 30px;
	color: var(--ns-flex-hero-ribbon-background, #ffe3eb);
	pointer-events: none;
}

.ns-flex-hero__ribbon-edge--start {
	inset-inline-start: 0;
}

.ns-flex-hero__ribbon-edge--end {
	inset-inline-end: 0;
}

.ns-flex-hero__buttons {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-block-start: 35px;
}

.ns-flex-hero__button-item {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.ns-flex-hero__buttons .ra-btn {
	min-width: 194px;
}

.ns-flex-hero__note {
	margin-top: 0;
	color: var(--ns-flex-hero-note-color, #231f20);
	font-size: 15px;
	font-weight: 400;
	line-height: 16px;
	opacity: 0.5;
	text-align: center;
	margin-top: 2px;
}

.ns-flex-hero__mobile-background {
	position: absolute;
	z-index: 5;
	inset-block-start: 57px;
	inset-inline-start: 0;
	width: 100%;
	height: auto;
	vertical-align: top;
}

.ns-flex-hero--image .ns-flex-hero__body {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
	width: calc(100% - 30px);
	max-width: 1170px;
	margin-inline: auto;
}

.ns-flex-hero--image .ns-flex-hero__content {
	padding-inline-end: 15px;
}

.ns-flex-hero__image-media {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding-inline-start: 15px;
}

.ns-flex-hero .ns-flex-hero__image {
	display: block;
	width: min(100%, 578px);
	height: auto;
	margin: 0 0 -87px;
}

.ns-flex-hero--compact {
	padding-top: 37px !important;
}

.ns-flex-hero--compact .ns-flex-hero__title {
	margin-block-end: 42px !important;
	font-size: 42px;
	line-height: 48px;
}

.ns-flex-hero--compact .ns-flex-hero__video {
	margin-bottom: 30px;
}

.ns-flex-hero--compact .ns-flex-hero__description {
	font-size: 18px;
	line-height: 23px;
}

.ns-flex-hero--compact .ns-flex-hero__ribbon-content {
	font-size: 13px;
	line-height: 14px;
}

.ns-flex-hero--compact .ns-flex-hero__buttons .ra-btn {
	min-width: 170px;
	padding: 10px 18px 12px;
	gap: 10px;
	font-size: 18px;
	line-height: 19px;
}

.ns-flex-hero--compact .ns-flex-hero__buttons .ra-btn__icon {
	width: 18px;
	height: 18px;
}

.ns-flex-hero--compact .ns-flex-hero__note {
	font-size: 13px;
	line-height: 15px;
}

@media (min-width: 768px) {
	.ns-flex-hero__video {
		margin-block-end: 52px;
	}

	.ns-flex-hero__description {
		max-width: 360px;
		margin-inline: auto;
		margin-block-end: 32px;
		padding-inline: 0;
		font-size: 20px;
		line-height: 25px;
	}

	.ns-flex-hero__mobile-background {
		inset-block-start: -82px;
	}
}

@media (max-width: 900px) {
	.ns-flex-hero--image .ns-flex-hero__body {
		grid-template-columns: 1fr;
	}

	.ns-flex-hero--image .ns-flex-hero__content,
	.ns-flex-hero__image-media {
		padding-inline: 15px;
	}

	.ns-flex-hero--image .ns-flex-hero__content {
		width: min(100%, 747px);
		margin-inline: auto;
	}

	.ns-flex-hero__image-media {
		margin-top: 30px;
	}

	.ns-flex-hero .ns-flex-hero__image {
		width: min(100%, 384px);
		margin-left: 16px;
	}
}

@media (min-width: 992px) {
	.ns-flex-hero {
		padding-block: 62px 86px !important;
	}

	.ns-flex-hero--compact {
		padding-block: 62px 86px !important;
	}

	.ns-flex-hero__title,
	.ns-flex-hero__description,
	.ns-flex-hero__ribbon-wrapper {
		text-align: start;
	}

	.ns-flex-hero__content {
		display: flex;
		flex-direction: column;
		width: 379px;
	}

	.ns-flex-hero--image .ns-flex-hero__content {
		width: auto;
	}

	.ns-flex-hero__title {
		order: 1;
	}

	.ns-flex-hero__ribbon-wrapper {
		order: 2;
	}

	.ns-flex-hero__description {
		order: 3;
		margin-inline: 0;
		margin-block: 20px 0;
	}

	.ns-flex-hero__buttons {
		order: 4;
		align-items: flex-start;
		justify-content: flex-start;
		margin-block-start: 25px;
	}

	.ns-flex-hero__button-item {
		align-items: flex-start;
	}

	.ns-flex-hero__note {
		text-align: start;
	}

	.ns-flex-hero__video {
		position: absolute;
		inset-block-start: -56px;
		inset-inline-end: 32px;
		width: 460px;
	}

	.ns-flex-hero__video-holder {
		position: relative;
		z-index: 15;
		top: 56px;
		left: 15px;
	}

		.ns-flex-hero__video-link-row {
			top: 61px;
			right: -12px;
		}

		.ns-flex-hero__video-link {
			font-size: 18px;
			gap: 5px;
		}

	.ns-flex-hero__video-decor {
		position: absolute;
		z-index: 10;
		inset-block-start: 24px;
		inset-inline-end: 29%;
		width: 77%;
		display: block;
		height: auto;
		pointer-events: none;
	}

	.ns-flex-hero__video-foreground {
		position: absolute;
		z-index: 20;
		inset-block-end: -58%;
		inset-inline-start: -32%;
		display: block;
		width: 66%;
		height: auto;
		pointer-events: none;
	}

	.ns-flex-hero__mobile-background {
		display: none;
	}

	.ns-flex-hero--compact .ns-flex-hero__content {
		width: 530px;
		padding-block-start: 24px;
	}

	.ns-flex-hero--compact .ns-flex-hero__title {
		font-size: 48px;
		line-height: 48px;
		letter-spacing: -0.1px;

	}

	.ns-flex-hero--compact .ns-flex-hero__video {
		max-width: 630px;
		width: calc(100% - 560px - 24px);
		inset-block-start: 26px;
	}

	.ns-flex-hero--compact .ns-flex-hero__video-holder {
		border-radius: 0;
		border: 0;
	}

	.ns-flex-hero--compact .ns-flex-hero__description {
		font-size: 18px;
		line-height: 24px;
		max-width: 480px;
		margin-block: 22px 0;
	}

	.ns-flex-hero--compact .ns-flex-hero__buttons {
		margin-block-start: 35px;
	}

	.ns-flex-hero--compact .ns-flex-hero__ribbon-content {
		font-size: 14px;
		line-height: 15px;
	}

	.ns-flex-hero--compact .ns-flex-hero__buttons .ra-btn {
		min-width: 180px;
		font-size: 18px;
		line-height: 22px;
	}

	.ns-flex-hero--compact .ns-flex-hero__note {
		font-size: 14px;
		line-height: 16px;
	}
}

@media (min-width: 1200px) {
	.ns-flex-hero {
		padding-block: 57px 86px !important;
	}

	.ns-flex-hero__content {
		width: 470px;
		padding-block-start: 14px;
	}

	.ns-flex-hero--image .ns-flex-hero__content {
		width: auto;
	}

	.ns-flex-hero__title {
		margin-block: 0 24px !important;
		font-size: 64px;
		font-weight: 800;
		line-height: 61px;
	}

	.ns-flex-hero__description {
		max-width: 430px;
		margin-block: 43px 7px;
		font-size: 24px;
		line-height: 29px;
	}

	.ns-flex-hero__buttons {
		margin-block-start: 30px;
	}

	.ns-flex-hero__video {
		width: 565px;
	}

	.ns-flex-hero__video-holder {
		border-radius: 18px;
	}

	.ns-flex-hero__video-foreground {
		inset-inline-start: -28%;
	}
}

@media (max-width: 700px) {
	.ns-flex-hero__image-media {
		margin-top: 17px;
	}
}
