@font-face {
	font-family: "Benzin";
	src:
		url("/static/fonts/Benzin-Semibold.woff2") format("woff2"),
		url("/static/fonts/Benzin-Semibold.woff") format("woff");
	font-style: normal;
	font-weight: 600;
	font-display: swap;
}

@font-face {
	font-family: "Benzin";
	src: url("/static/fonts/Benzin-Bold.woff2") format("woff2");
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}

@font-face {
	font-family: "Montserrat";
	src:
		url("/static/fonts/Montserrat-Regular.woff2") format("woff2"),
		url("/static/fonts/Montserrat-Regular.woff") format("woff");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: "Montserrat";
	src:
		url("/static/fonts/Montserrat-Medium.woff2") format("woff2"),
		url("/static/fonts/Montserrat-Medium.woff") format("woff");
	font-style: normal;
	font-weight: 500;
	font-display: swap;
}

@font-face {
	font-family: "Montserrat";
	src:
		url("/static/fonts/Montserrat-SemiBold.woff2") format("woff2"),
		url("/static/fonts/Montserrat-SemiBold.woff") format("woff");
	font-style: normal;
	font-weight: 600;
	font-display: swap;
}

@font-face {
	font-family: "Montserrat";
	src:
		url("/static/fonts/Montserrat-Bold.woff2") format("woff2"),
		url("/static/fonts/Montserrat-Bold.woff") format("woff");
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}

.native-banner {
	position: relative;
	isolation: isolate;
	min-height: 300px;
	margin: 24px 0 48px;
	padding: 32px;
	border-radius: 32px;
	background-color: #dfdffcc5;
	background-image: url(/images/blocks/wiki-banner/native-banner-background.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;

	@media (max-width: 1024px) {
		padding: 28px;
		border-radius: 24px;
	}

	@media (max-width: 767px) {
		padding: 176px 20px 24px;
		border-radius: 20px;
	}

	.native-banner__content {
		position: relative;
		z-index: 1;
		display: flex;
		width: 942px;
		flex-direction: column;
		align-items: flex-start;

		@media (max-width: 1366px) {
			width: 650px;
		}

		@media (max-width: 1024px) {
			width: 390px;
		}

		@media (max-width: 767px) {
			width: 100%;
		}
	}

	.native-banner__details {
		width: 100%;
	}

	.native-banner__title,
	.native-banner__description {
		margin: 0;
		color: #1f1f1f;
	}

	.native-banner__title {
		font-family: "Benzin", sans-serif;
		font-size: 34px;
		font-weight: 600;
		line-height: 1.2;
		text-transform: uppercase;

		@media (max-width: 1024px) {
			font-size: 28px;
		}

		@media (max-width: 767px) {
			font-size: 24px;
		}
	}

	.native-banner__description {
		margin-top: 8px;
		font-family: "Montserrat", sans-serif;
		font-size: 20px;
		font-weight: 400;
		line-height: 1.6;

		@media (max-width: 1024px) {
			font-size: 16px;
		}
	}

	.native-banner__list {
		display: flex;
		flex-wrap: wrap;
		gap: 20px;
		margin: 24px 0 0;
		padding: 0;
		list-style: none;
		
		@media (max-width: 1024px) {
			gap: 8px 16px;
		}

		@media (max-width: 767px) {
			flex-direction: column;
			gap: 8px;
		}

		& > li {
			display: flex;
			align-items: center;
			font-family: "Montserrat", sans-serif;
			font-size: 16px;
			font-weight: 500;
			line-height: 1.6;
			white-space: nowrap;

			@media (max-width: 767px) {
				font-size: 14px;
				white-space: normal;
			}
		}

		& img {
			width: 20px;
			height: 20px;
			flex: none;
			margin-right: 8px;
		}
	}

	.native-banner__button {
		display: inline-flex;
		min-height: 53px;
		align-items: center;
		justify-content: center;
		padding: 16px 40px;
		border-radius: 14px;
		background-color: #edff3e;
		color: #1f1f1f;
		font-family: "Montserrat", sans-serif;
		font-size: 18px;
		font-weight: 500;
		line-height: 1;
		margin-top: 32px;
		text-align: center;
		text-decoration: none;
		transition: background-color 160ms ease;

		@media (max-width: 1024px) {
			margin-top: 28px;
		}

		@media (max-width: 767px) {
			margin-top: 40px;
			width: 100%;
		}

		&:hover {
			background-color: #e2f52d;
		}

		&:focus-visible {
			outline: 2px solid #1f1f1f;
			outline-offset: 3px;
		}
	}

	.native-banner__image-container {
		position: absolute;
		top: 50%;
		right: -23px;
		z-index: 0;
		width: 365px;
		height: 391px;
		transform: translateY(-48%);
		pointer-events: none;

		@media (max-width: 1366px) {
			right: -38px;
			width: 310px;
			height: 430px;
			transform: translateY(-50%);
		}

		@media (max-width: 1024px) {
			right: -61px;
			top: 61%;
			width: 290px;
			height: 395px;
		}

		@media (max-width: 767px) {
			top: -20px;
			right: -28px;
			width: 374px;
			height: 220px;
			transform: none;
		}

		& img {
			position: absolute;
			inset: 0;
			display: block;
			width: 100%;
			height: 100%;
			object-fit: contain;
			object-position: center;
		}
	}
}
