/* region tns nums */
.tns-nums-custom {
	font-weight: 600;
	line-height: 1;
	display: flex;
	gap:2.75em;
}
.tns-nums-custom-btn + .tns-nums-custom-btn::before {
	content: '';
	display: block;
	position: absolute;
	left: -2.4375em;
	top:50%;
	width: 2.125em;
	height: 1px;
}
.tns-nums-custom-btn {
	cursor: pointer;
}
.tns-nums-custom-btn.tns-nav-active {
	color: white;
	cursor: default;
}

@media all and (max-width: 1023px) {
	.tns-nums-custom {
		font-size: min(16px, 3vw);
	}
	
	:root {
		--tns-control-height: 40px !important;
		--tns-control-width: 40px !important;
	}
}

@media all and (min-width: 1024px) {
	.tns-nums-custom {
		font-size: min(16px, 1vw);
	}
}
/* endregion tns nums */

.first-screen-title {
	font-weight: 600;
	color: var(--title-color);
	line-height: 1.166;
}
.first-screen-slogan {
	color: var(--text-color2);
}

.first-screen-banner {
	background: var(--theme-blue);
	border-radius: var(--border-radius);
	overflow: hidden;
	height: 100%;
	display: flex;
}
.first-screen-banner__img {
	background: 50% 50% / cover no-repeat;
}
.first-screen-banner__title {
	line-height: 1.166;
	font-weight: bold;
	color: white;
	margin-bottom: 0.5625em;
}
.first-screen-banner__description {
	font-weight: 500;
	color: var(--theme-blue-3);
	margin-bottom: 2.5em;
}
.first-screen-banner._1 .first-screen-banner__description {
	max-width: 22em;
}
.first-screen-banner._2 .first-screen-banner__description {
	max-width: 27em;
}
.first-screen-banner._3 .first-screen-banner__description {
	max-width: 25em;
}

.first-screen-banners .tns-nums-custom {
	position: absolute;
	color: rgba(255, 255, 255, 0.5);
}
.first-screen-banners .tns-nums-custom-btn + .tns-nums-custom-btn::before {
	background: rgba(255, 255, 255, 0.5);
}

.first-screen-feature {
	padding-left: 5.045em;
	min-height: var(--icon-size);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.first-screen-feature__icon {
	background: var(--theme-yellow);
	aspect-ratio: 1;
	width: var(--icon-size);
	border-radius: var(--border-radius);
	position: absolute;
	top:0;
	left:0;
	font-size: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.first-screen-feature__icon svg {
	width: 64%;
}
.first-screen-feature__icon path {
	fill: none;
	stroke: var(--theme-blue);
}
.first-screen-feature__title {
	font-weight: 600;
	font-size: 1.2727em;
	margin-bottom: 0.1785em;
	line-height: 1.166;
}
.first-screen-feature__description {
	color: var(--text-color2);
	font-weight: 300;
}


@media all and (max-width: 1023px) {
	.first-screen-title {
		margin-top: 1em;
		margin-bottom: 0.3em;
		font-size: clamp(2rem, 6vw, 2.5714rem);
	}
	.first-screen-slogan {
		margin-bottom: 1.5em;
		font-size: min(4vw, 1.2857rem);
	}
	
	.first-screen-banner {
		flex-direction: column-reverse;
	}
	.first-screen-banner__img {
		aspect-ratio: 5 / 3;
		flex-shrink: 0;
	}
	.first-screen-banner__decor {
		display: none;
	}
	
	.first-screen-banner__info {
		padding: 0 min(60px, 6.388vw) min(100px, 17vw);
		flex-grow: 1;
	}
	.first-screen-banner__title {
		font-size: min(6vw, 36px);
		margin-top: 1.5em;
	}
	.first-screen-banner__description {
		font-size: min(4vw, 18px);
	}
	
	.first-screen-banners .tns-nums-custom {
		left: calc(var(--tns-control-width) + 15px);
		right: calc(var(--tns-control-width) + 15px);
		height: var(--tns-control-height);
		bottom: 5px;
		align-items: center;
		justify-content: center;
	}
	
	.first-screen-banners .slider-gallery-one-controls {
		top: auto;
		bottom: 5px;
		height: var(--tns-control-height);
	}
	.first-screen-banners .tns-control-custom {
		box-shadow: none;
	}
	
	.first-screen-features {
		font-size: min(22px, 4vw);
		margin-top: min(40px, 11vw);
		
		--icon-size: min(86px, 16.28vw);
	}
	.first-screen-feature + .first-screen-feature {
		margin-top: 1em;
	}
}

@media all and (min-width: 1024px) {
	.first-screen-header {
		margin-top: 60px;
		margin-bottom: 23px;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	.first-screen-title {
		font-size: min(2.8vw, 2.5714rem);
	}
	.first-screen-slogan {
		font-size: min(1.4vw, 1.2857rem);
		max-width: 23em;
	}
	
	.first-screen-banner {
		align-items: center;
	}
	.first-screen-banner__img {
		position: absolute;
		top:0;
		right: 0;
		bottom:0;
		clip-path: shape(from 15% 34%, curve to 36% 0 with 20% 2%, hline to 100%, vline to 100%, hline to 0, close);
	}
	.first-screen-banner._1 .first-screen-banner__img {
		width: 61.728%;
	}
	.first-screen-banner._2 .first-screen-banner__img {
		width: 50%;
	}
	.first-screen-banner._3 .first-screen-banner__img {
		width: 62%;
	}
	
	.first-screen-banner__decor {
		position: absolute;
		top:-2px;
		bottom:-16px;
		aspect-ratio: 24618 / 51895;
		background: 50% 50% / contain no-repeat;
	}
	.first-screen-banner._1 .first-screen-banner__decor {
		left:35.5%;
	}
	.first-screen-banner._2 .first-screen-banner__decor {
		left:46%;
	}
	.first-screen-banner._3 .first-screen-banner__decor {
		left:35%;
	}
	
	.first-screen-banner__info {
		padding: 3.1486vw 3.1486vw 7.1391vw;
	}
	.first-screen-banner._1 .first-screen-banner__info {
		width: 45.3%;
	}
	.first-screen-banner._2 .first-screen-banner__info {
		width: 56%;
	}
	.first-screen-banner._3 .first-screen-banner__info {
		width: 43%;
	}
	
	.first-screen-banner__title {
		font-size: 2.5196vw;
	}
	.first-screen-banner__description {
		font-size: 1.05vw;
	}
	
	.first-screen-banner__btn.btn_l {
		--button-min-height: 3.1496vw;
		--button-font-size: 1.05vw;
	}
	
	.first-screen-banners .tns-nums-custom {
		left:3.1486vw;
		bottom: 1.7322vw;
	}
	
	.first-screen-banners .slider-gallery-one-controls {
		display: none;
	}
	
	@media (hover: hover) and (pointer: fine) {
		.first-screen-banners:hover .slider-gallery-one-controls {
			display: block;
		}
	}
	
	.first-screen-features {
		margin-top: 1.82em;
		font-size: min(22px, 1.15vw);
		display: flex;
		justify-content: space-between;
		gap: 1em;
		
		--icon-size: min(86px, 4.51vw);
	}
}
