.homefort-title-slider {
	--hts-title-width: 42%;
	--hts-height-offset: 151.2px;
	--hts-max-height: 800px;
	--hts-min-height: 360px;
	--hts-height: min(calc(100vh - var(--hts-height-offset)), var(--hts-max-height));
	--hts-bg: #0f2c49;
	--hts-title-color: #ffffff;
	--hts-text-color: #ffffff;
	--hts-accent: var(--main);
	--hts-overlay: rgba(15, 44, 73, 0.78);
	--hts-overlay-fade: rgba(15, 44, 73, 0);
	position: relative;
	height: var(--hts-height);
	min-height: var(--hts-min-height);
	max-height: var(--hts-max-height);
	background: var(--hts-bg);
	overflow: hidden;
}

.homefort-title-slider__swiper,
.homefort-title-slider .swiper-wrapper,
.homefort-title-slider .swiper-slide {
	height: 100%;
	min-height: inherit;
}

.homefort-title-slider__swiper {
	overflow: hidden;
}

.homefort-title-slider__item {
	position: relative;
	height: 100%;
	min-height: inherit;
	overflow: hidden;
	background: var(--hts-bg);
}

.homefort-title-slider__media {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: var(--hts-bg);
}

.homefort-title-slider__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.homefort-title-slider__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: rgba(255, 255, 255, 0.72);
	font-family: var(--font-headers);
	font-weight: 700;
}

.homefort-title-slider__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(90deg, var(--hts-overlay) 0%, var(--hts-overlay) var(--hts-title-width), var(--hts-overlay-fade) 78%);
}

.homefort-title-slider__copy {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: min(var(--hts-title-width), 680px);
	height: 100%;
	min-height: inherit;
	padding: 70px 56px;
}

.homefort-title-slider__subtitle {
	margin: 0 0 12px;
	color: var(--hts-accent);
	font-family: var(--font-headers);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.homefort-title-slider__title {
	margin: 0;
	color: var(--hts-title-color);
	font-family: var(--font-headers);
	font-size: 54px;
	font-weight: 700;
	line-height: 1.04;
}

.homefort-title-slider__description {
	margin: 18px 0 0;
	color: var(--hts-text-color);
	font-size: 16px;
	line-height: 1.7;
}

.homefort-title-slider__description p:last-child {
	margin-bottom: 0;
}

.homefort-title-slider__button {
	align-self: flex-start;
	margin-top: 28px;
	padding: 13px 22px;
	color: #ffffff;
	background: var(--hts-accent);
	font-family: var(--font-headers);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.homefort-title-slider__button:hover {
	color: #ffffff;
	opacity: 0.9;
	transform: translateY(-1px);
}

.homefort-title-slider__controls {
	position: absolute;
	left: 56px;
	bottom: 44px;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 12px;
}

.homefort-title-slider__prev,
.homefort-title-slider__next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.32);
	cursor: pointer;
	transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.homefort-title-slider__prev:hover,
.homefort-title-slider__next:hover {
	color: #ffffff;
	background: var(--hts-accent);
	border-color: var(--hts-accent);
}

.homefort-title-slider__prev:before,
.homefort-title-slider__next:before {
	font-family: 'Font Awesome 5 Free';
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
}

.homefort-title-slider__prev:before {
	content: "\f053";
}

.homefort-title-slider__next:before {
	content: "\f054";
}

.homefort-title-slider__pagination {
	display: flex;
	align-items: center;
	gap: 8px;
	width: auto !important;
}

.homefort-title-slider__pagination .swiper-pagination-bullet {
	width: 9px;
	height: 9px;
	margin: 0 !important;
	background: rgba(255, 255, 255, 0.38);
	opacity: 1;
}

.homefort-title-slider__pagination .swiper-pagination-bullet-active {
	background: var(--hts-accent);
}

.homefort-title-slider__pagination.swiper-pagination-progressbar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: auto;
	width: 100% !important;
	height: 4px;
	background: rgba(255, 255, 255, 0.18);
}

.homefort-title-slider__pagination .swiper-pagination-progressbar-fill {
	background: var(--hts-accent);
}

.homefort-title-slider__scrollbar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 4;
	height: 4px;
	background: rgba(255, 255, 255, 0.16);
}

.homefort-title-slider__scrollbar .swiper-scrollbar-drag {
	background: var(--hts-accent);
}

@media (max-width: 991px) {
	.homefort-title-slider {
		--hts-title-width: 72%;
	}

	.homefort-title-slider__overlay {
		background: linear-gradient(90deg, var(--hts-overlay) 0%, var(--hts-overlay) 62%, var(--hts-overlay-fade) 100%);
	}

	.homefort-title-slider__copy {
		width: min(72%, 640px);
		padding: 52px 34px;
	}

	.homefort-title-slider__title {
		font-size: 40px;
	}

	.homefort-title-slider__controls {
		left: 34px;
		bottom: 30px;
	}
}

@media (max-width: 575px) {
	.homefort-title-slider {
		--hts-title-width: 100%;
	}

	.homefort-title-slider__overlay {
		background: linear-gradient(180deg, rgba(15, 44, 73, 0.84) 0%, rgba(15, 44, 73, 0.64) 58%, rgba(15, 44, 73, 0.18) 100%);
	}

	.homefort-title-slider__copy {
		width: 100%;
		justify-content: flex-end;
		padding: 44px 20px 112px;
	}

	.homefort-title-slider__title {
		font-size: 32px;
	}

	.homefort-title-slider__description {
		font-size: 15px;
	}

	.homefort-title-slider__controls {
		left: 20px;
		right: 20px;
		bottom: 34px;
	}
}
