.ks-slideshow {
	position: relative;
	width: 100%;
	overflow: hidden;
	background-color: #000;
	color: #fff;
	z-index: 1;
	isolation: isolate;
}

.ks-slideshow__inner {
	position: relative;
	width: 100%;
	height: calc(100vh - 100px);
	min-height: 500px;
}

.ks-slideshow__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.ks-slideshow__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ks-slideshow__overlay {
	position: absolute;
	inset: 0;
	background-color: #000;
	opacity: 0.4;
	z-index: 1;
}

.ks-slideshow__content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	text-align: left;
	z-index: 2;
	padding: 1rem 10%;
	top: -10%;
}

.ks-slideshow__title {
	font-size: clamp(1.75rem, 4vw, 3rem);
	font-weight: 700;
	max-width: 50%;
	line-height: 1.2;
	margin: 0;
}

.ks-slideshow__subtitle {
	font-size: 1.25rem;
	font-weight: 400;
	margin: 0.5rem 0 0;
}

.ks-slideshow__desc {
	margin: 1rem 0 1.5rem;
	font-size: clamp(1rem, 2vw, 1.125rem);
	max-width: 36rem;
	line-height: 1.6;
}

.ks-slideshow__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 2rem;
	margin-top: 0.75rem;
	text-transform: uppercase;
	border-radius: 9999px;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.875rem;
	transition: transform 0.4s ease, background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.ks-slideshow__btn svg {
	flex-shrink: 0;
}

.ks-slideshow__btn:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(51, 97, 89, 0.4);
}

.ks-slideshow__progress {
	position: absolute;
	bottom: 2.5rem;
	left: 15%;
	display: flex;
	gap: 0.75rem;
	z-index: 3;
	width: 200px;
}

.ks-slideshow__progress-item {
	cursor: pointer;
	width: 100%;
	height: 4px;
	background-color: rgba(255, 255, 255, 0.3);
	border-radius: 9999px;
	overflow: hidden;
}

.ks-slideshow__progress-bar {
	height: 100%;
	background-color: #fff;
	width: 0;
}

@media (max-width: 767px) {
	.ks-slideshow__content {
		padding: 1rem 8%;
		top: 0;
	}

	.ks-slideshow__title {
		max-width: 100%;
	}

	.ks-slideshow__progress {
		left: 8%;
		width: calc(100% - 16%);
		max-width: 200px;
	}
}
