.banner.container-section {
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
	max-width: 1920px !important;
	height: 637px;
}

.banner-slider {
	height: 637px;
}

.slide-content__box {
	position: absolute;
	z-index: 3;
	top: 0;
	width: 100%;
	height: 100%;
}

.slide-content {
	height: 100%;
	box-sizing: border-box;
	padding: 50px 60px;
	max-width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
}


.slide-background {
	height: 100%;
}

/* Match existing backgrounds while the browser chooses one responsive source. */
.banner-slide-picture {
	display: block;
	width: 100%;
	height: 100%;
}

.slide-background img,
.banner-video {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.banner-video-slide {
	height: 100%;
	background: #000;
}

.banner-video-media {
	position: relative;
	height: 100%;
	width: 100%;
	overflow: hidden;
	background: #000;
}

.banner-video-poster,
.banner-video-poster img,
.banner-video {
	position: absolute;
	inset: 0;
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.banner-video-poster {
	display: block;
}

.banner-video-poster img {
	display: block;
}

.banner-video {
	display: block;
	object-position: center;
	pointer-events: none;
	opacity: 0;
	transition: opacity .15s ease;
}

.banner-video.is-playing {
	opacity: 1;
}

.banner-text {
	font-size: 16px;
	line-height: normal;
	color: #000;
	display: flex;
	gap: 20px;
	flex-direction: column;
	max-width: 540px;
	width: 100%;
}

.banner-text p,
.banner-text h1,
.banner-text h2,
.banner-text h3,
.banner-text h4,
.banner-text h5,
.banner-text h6 {
	margin: 0;
}

.banner-header h2:last-child:not(:first-child) {
	display: none;
}

.banner_button {
	width: fit-content;
}

.btn-banner {
	background-color: #E43417;
	border-radius: 4px;
	color: #FFFFFF;
	border-color: #E43417;
	padding: 15px 30px;
	font-size: 12px;
	min-width: 150px;
	display: block !important;
	text-align: center;
}

.btn-banner:hover {
	color: #FFFFFF;
}

.banner-header p{
	font-size: 32px;
	text-transform: uppercase;
	font-weight: 700;
	color: #000000;
}

.banner-box-text {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.banner-box-text p{
	font-size: 14px;
	font-weight: 400;
	color: #000000;
	line-height: 140%;
}

/* Настройки слайдера  */

.swiper-button-next, .swiper-rtl .swiper-button-prev {
	right: 10px !important;
}

.swiper-button-prev, .swiper-rtl .swiper-button-next {
	left: 10px !important;
}

.banner-slider .swiper-pagination-bullet {
	border: 2px solid;
	width: 12px;
	height: 12px;
	background-color: #0000e800;
	color: rgba(108, 181, 63, 1);
	opacity: 1;
	transition: .3s linear;
}

.banner-slider .swiper-pagination-bullet-active {
	background-color: rgba(108, 181, 63, 1);
}

.banner-slider .swiper-button-next,
.banner-slider .swiper-button-prev {
	width: 30px;
	height: 30px;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #6CB53F;
}

.banner-slider .swiper-button-next::after,
.banner-slider .swiper-button-prev::after {
	content: "";
	mask-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M14.4301 18.8201C14.2401 18.8201 14.0501 18.7501 13.9001 18.6001C13.6101 18.3101 13.6101 17.8301 13.9001 17.5401L19.4401 12.0001L13.9001 6.46012C13.6101 6.17012 13.6101 5.69012 13.9001 5.40012C14.1901 5.11012 14.6701 5.11012 14.9601 5.40012L21.0301 11.4701C21.3201 11.7601 21.3201 12.2401 21.0301 12.5301L14.9601 18.6001C14.8101 18.7501 14.6201 18.8201 14.4301 18.8201Z' fill='%23292D32'/%3e%3cpath d='M20.33 12.75H3.5C3.09 12.75 2.75 12.41 2.75 12C2.75 11.59 3.09 11.25 3.5 11.25H20.33C20.74 11.25 21.08 11.59 21.08 12C21.08 12.41 20.74 12.75 20.33 12.75Z' fill='%23292D32'/%3e%3c/svg%3e");
	-webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M14.4301 18.8201C14.2401 18.8201 14.0501 18.7501 13.9001 18.6001C13.6101 18.3101 13.6101 17.8301 13.9001 17.5401L19.4401 12.0001L13.9001 6.46012C13.6101 6.17012 13.6101 5.69012 13.9001 5.40012C14.1901 5.11012 14.6701 5.11012 14.9601 5.40012L21.0301 11.4701C21.3201 11.7601 21.3201 12.2401 21.0301 12.5301L14.9601 18.6001C14.8101 18.7501 14.6201 18.8201 14.4301 18.8201Z' fill='%23292D32'/%3e%3cpath d='M20.33 12.75H3.5C3.09 12.75 2.75 12.41 2.75 12C2.75 11.59 3.09 11.25 3.5 11.25H20.33C20.74 11.25 21.08 11.59 21.08 12C21.08 12.41 20.74 12.75 20.33 12.75Z' fill='%23292D32'/%3e%3c/svg%3e");
	mask-size: 10px 10px;
	width: 10px;
	height: 10px;
	background-color: #fff;
}

.banner-slider .swiper-button-prev::after {
	transform: rotate(180deg);
}

.banner.container-section .swiper-pagination {
	width: 100% !important;
}

.slide-background.mobil {
	display: none;
}


@media(max-width: 768px) {
	.banner-text {
		font-size: 14px;
	}

	.banner.container-section,
	.banner-slider {
		max-height: calc(90vh - 200px);
		box-sizing: border-box;
		min-height: 550px;
	}

	.slide-background img {
		object-position: left center;
	}
}

@media(max-width: 500px) {
	.slide-background.desktop {
		display: none;
	}

	.slide-background.mobil {
		display: block !important;
	}

	.banner-slider .swiper-button-next,
	.banner-slider .swiper-button-prev {
		display: none;
	}

	.banner.container-section .swiper-pagination {
		bottom: 20px;
	}

	.slide-content {
		justify-content: flex-start;
		align-items: flex-start;
		gap: 12px;
		padding: 30px 30px 50px;
	}

	.banner-text {
		max-width: 100%;
		gap: 10px;
	}

	.banner-header h2 {
		font-size: clamp(26px, 7.2vw, 32px);
		line-height: 1.08;
		margin: 0;
	}

	.banner-header h6 {
		font-size: clamp(13px, 3.6vw, 16px);
		line-height: 1.3;
		margin: 10px 0 0;
	}

	.banner-header h6 br:first-child {
		display: none;
	}

	.slide-content.flex-end .banner-text {
		align-self: center;
		text-align: center;
	}

	.slide-content.flex-end .banner-header h6 {
		max-width: 320px;
		margin-left: auto;
		margin-right: auto;
	}

	.slide-content.flex-end .banner_button {
		margin-top: auto;
		align-self: center;
	}
}
