.ns-flex-competitor-hero {
	box-sizing: border-box;
	padding: 84px 0 !important;
	background: var(--ns-competitor-hero-background, #fff);
	font-family: "Barlow", sans-serif;
}

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

.ns-flex-competitor-hero__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 324px;
	grid-template-areas:
		"heading visual"
		"description visual";
	column-gap: 137px;
	align-items: start;
}

.ns-flex-competitor-hero__heading {
	grid-area: heading;
	width: 100%;
	max-width: 605px;
	margin: 0 !important;
	color: var(--ns-competitor-hero-heading-color, #231f20);
	font-family: inherit;
	font-size: 48px;
	font-weight: 700;
	line-height: 54px;
}

.ns-flex-competitor-hero__description {
	grid-area: description;
	width: 100%;
	max-width: 712px;
	margin-top: 30px;
	color: var(--ns-competitor-hero-text-color, #231f20);
	font-size: 24px;
	font-weight: 400;
	line-height: 32px;
}

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

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

.ns-flex-competitor-hero__visual {
	grid-area: visual;
	width: 324px;
	margin-left: auto;
}

.ns-flex-competitor-hero__card {
	position: relative;
	width: 100%;
	padding: 14px;
	border: 1px solid #d9d9d9;
	border-radius: 14px;
	background: #fff;
}

.ns-flex-competitor-hero__check {
	position: absolute;
	z-index: 1;
	top: -30px;
	right: -30px;
	display: block;
	width: 78px;
	height: 78px;
}

.ns-flex-competitor-hero__logotype {
	display: block;
	width: 168px;
	max-width: 100%;
	height: auto;
	max-height: 100px;
	margin: 0 auto 30px;
	object-fit: contain;
	object-position: center;
}

.ns-flex-competitor-hero__card-title {
	width: 100%;
	padding: 35px 20px 30px;
	border-radius: 8px;
	background: var(--ns-competitor-hero-card-background, #f36f25);
	color: var(--ns-competitor-hero-card-color, #fff);
	font-family: inherit;
	font-size: 32px;
	font-weight: 700;
	line-height: 52px;
	text-align: center;
	overflow-wrap: anywhere;
}

@media (max-width: 1200px) {
	.ns-flex-competitor-hero__body {
		column-gap: 40px;
	}
}

@media (max-width: 900px) {
	.ns-flex-competitor-hero {
		padding: 77px 0 84px !important;
	}

	.ns-flex-competitor-hero__body {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"heading"
			"visual"
			"description";
		column-gap: 0;
	}

	.ns-flex-competitor-hero__heading {
		max-width: none;
		font-size: 32px;
		line-height: 36px;
		text-align: center;
	}

	.ns-flex-competitor-hero__visual {
		width: 241px;
		margin: 40px auto 0;
	}

	.ns-flex-competitor-hero__description {
		max-width: none;
		margin-top: 30px;
		font-size: 20px;
		line-height: 26px;
		text-align: center;
	}

	.ns-flex-competitor-hero__check {
		top: -25px;
		right: -25px;
		width: 58px;
		height: 58px;
	}

	.ns-flex-competitor-hero__logotype {
		width: 125px;
		margin-bottom: 25px;
	}

	.ns-flex-competitor-hero__card-title {
		padding: 43px 14px 38px;
		font-size: 32px;
		line-height: 36px;
	}
}
