div.company-life-slider {
	--cl-accent: #960a19;
	--cl-accent-soft: rgba(150, 10, 25, 0.28);
	--cl-text: #747474;
	--cl-gap: 23px;
	--cl-visible: 3;
	--cl-radius: 6px;
	--cl-ratio: 0.693 / 1;

	position: relative;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

div.company-life-slider *,
div.company-life-slider *::before,
div.company-life-slider *::after {
	box-sizing: border-box;
}

div.company-life-slider .company-life-slider__viewport {
	width: 100%;
	overflow: hidden;
	container-type: inline-size;
}

div.company-life-slider .company-life-slider__track {
	display: flex;
	align-items: stretch;
	gap: var(--cl-gap);
	will-change: transform;
	transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

div.company-life-slider .company-life-slider__slide {
	--cl-slide-width: calc((100% - (var(--cl-gap) * (var(--cl-visible) - 1))) / var(--cl-visible));
	flex: 0 0 var(--cl-slide-width);
	width: var(--cl-slide-width);
	min-width: 0;
	margin: 0;
}

div.company-life-slider .company-life-slider__image {
	display: block;
	width: 100%;
	aspect-ratio: var(--cl-ratio);
	object-fit: cover;
	object-position: center;
	border-radius: var(--cl-radius);
	background: #e8e4df;
}

div.company-life-slider .company-life-slider__text {
	max-width: 480px;
	margin: 20px auto 0;
	padding: 0 16px;
	text-align: center;
	font-family: "TikTok Sans", sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--cl-text);
}

div.company-life-slider .company-life-slider__text p {
	margin: 0;
	letter-spacing: -0.04em;
}

div.company-life-slider .company-life-slider__controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 40px;
}

div.company-life-slider .company-life-slider__progress {
	flex: 1;
	height: 1px;
	background: var(--cl-accent-soft);
}

div.company-life-slider .company-life-slider__progress-fill {
	display: block;
	height: 100%;
	width: 0;
	background: var(--cl-accent);
	transition: width 0.45s ease;
}

div.company-life-slider .company-life-slider__nav {
	display: flex;
	flex-shrink: 0;
	gap: 10px;
}

div.company-life-slider .company-life-slider__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 1px solid var(--cl-accent);
	border-radius: 50%;
	background: transparent;
	color: var(--cl-accent);
	cursor: pointer;
	transition: opacity 0.2s ease;
}

div.company-life-slider .company-life-slider__arrow:hover:not(:disabled):not([aria-disabled="true"]),
div.company-life-slider .company-life-slider__arrow:focus-visible:not(:disabled):not([aria-disabled="true"]) {
	outline: none;
	opacity: 0.75;
}

div.company-life-slider .company-life-slider__arrow:disabled,
div.company-life-slider .company-life-slider__arrow[aria-disabled="true"] {
	opacity: 0.28;
	cursor: default;
}

@media (max-width: 991px) {
	div.company-life-slider {
		--cl-visible: 2;
		--cl-gap: 16px;
	}
}

@media (max-width: 767px) {
	div.company-life-slider {
		--cl-visible: 1;
		--cl-gap: 20px;
		--cl-ratio: 0.78 / 1;
	}

	div.company-life-slider .company-life-slider__slide {
		--cl-slide-width: min(100%, 280px);
		flex: 0 0 min(100%, 280px);
		width: min(100%, 280px);
		max-width: 280px;
	}

	div.company-life-slider .company-life-slider__text {
		margin-top: 9px;
		padding-left: 0;
		text-align: left;
		font-size: 14px;
	}

	div.company-life-slider .company-life-slider__controls {
		margin-top: 7px;
	}

	div.company-life-slider .company-life-slider__arrow {
		width: 44px;
		height: 44px;
	}
}
