/**
 * Home hero slider styles — Figma Home frame (2:105).
 */

.oten-hero {
	position: relative;
	width: 100%;
	height: 520px;
	overflow: hidden;
	background: #fff;
}

.oten-hero__viewport {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	direction: ltr;
}

.oten-hero__viewport::after {
	content: '';
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	z-index: 2;
	height: 84%;
	pointer-events: none;
	background: linear-gradient(
		to bottom,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0) 68%,
		rgba(255, 255, 255, 0.55) 86%,
		#ffffff 100%
	);
}

.oten-hero__viewport--mobile {
	display: none;
	direction: ltr;
}

.oten-hero__track {
	display: flex;
	height: 100%;
	will-change: transform;
	backface-visibility: hidden;
}

.oten-hero__track--desktop {
	width: 200%;
	direction: ltr;
}

.oten-hero__track--mobile {
	direction: ltr;
}

.oten-hero__panel {
	position: relative;
	height: 100%;
	overflow: hidden;
	flex-shrink: 0;
	min-width: 0;
}

.oten-hero__panel--col-left {
	flex: 0 0 calc(100% * 315 / 2004);
}

.oten-hero__panel--col-center {
	flex: 0 0 calc(100% * 373 / 2004);
}

.oten-hero__panel--col-right {
	flex: 0 0 calc(100% * 314 / 2004);
}

.oten-hero__slide {
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.oten-hero__image {
	display: block;
	width: calc(100% + 4px);
	height: 100%;
	margin-inline: -2px;
	object-fit: cover;
	object-position: center top;
}

.oten-hero__content {
	position: absolute;
	inset-inline: 0;
	bottom: 72px;
	z-index: 5;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	pointer-events: none;
	isolation: isolate;
}

.oten-hero__title,
.oten-hero__tagline,
.oten-hero__cta {
	pointer-events: auto;
}

.oten-hero__title {
	margin: 0 0 8px;
	font-family: IRANYekanX, Tahoma, sans-serif;
	font-size: 42px;
	line-height: 1;
	font-weight: 700;
	color: #ffffff;
	opacity: 1;
	text-shadow: none;
	-webkit-font-smoothing: antialiased;
}

.oten-hero__tagline {
	margin: 0 0 20px;
	font-family: IRANYekanX, Tahoma, sans-serif;
	font-size: 26px;
	line-height: 1.4;
	font-weight: 400;
	color: #ffffff;
	opacity: 1;
	text-shadow: none;
	-webkit-font-smoothing: antialiased;
}

.oten-hero__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 200px;
	height: 52px;
	padding: 0 24px;
	background: #fff;
	color: var(--oten-ink);
	text-decoration: none;
	font-family: Kalameh, IRANYekanX, Tahoma, sans-serif;
	font-size: 22px;
	line-height: 1;
	font-weight: 400;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.oten-hero__cta:hover,
.oten-hero__cta:focus-visible {
	background: #f5f5f5;
	color: var(--oten-brand);
	outline: none;
}

.oten-hero__nav {
	position: absolute;
	top: 50%;
	z-index: 6;
	display: flex;
	width: 21px;
	height: 36px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	transform: translateY(-50%);
	transition: opacity 0.2s ease;
}

.oten-hero__nav:hover {
	opacity: 0.75;
}

.oten-hero__nav img {
	display: block;
	width: 21px;
	height: 36px;
}

.oten-hero__nav--prev {
	left: 20px;
	right: auto;
}

.oten-hero__nav--next {
	right: 20px;
	left: auto;
}

@media (min-width: 1440px) {
	.oten-hero {
		height: 714px;
	}

	.oten-hero__content {
		bottom: 96px;
	}

	.oten-hero__title {
		margin-bottom: 10px;
		font-size: 52px;
	}

	.oten-hero__tagline {
		margin-bottom: 28px;
	}

	.oten-hero__cta {
		min-width: 250px;
		height: 64px;
	}

	.oten-hero__nav--prev {
		left: 45px;
	}

	.oten-hero__nav--next {
		right: 45px;
	}
}

@media (max-width: 767px) {
	.oten-hero {
		height: 555px;
	}

	.oten-hero__viewport--desktop {
		display: none;
	}

	.oten-hero__viewport--mobile {
		display: block;
	}

	.oten-hero__slide {
		flex: 0 0 100%;
		width: 100%;
		min-width: 100%;
	}

	.oten-hero__slide .oten-hero__image {
		width: 100%;
		margin-inline: 0;
	}

	.oten-hero__content {
		bottom: 56px;
	}

	.oten-hero__title {
		margin-bottom: 6px;
		font-size: 23px;
	}

	.oten-hero__tagline {
		margin-bottom: 16px;
		font-size: 20px;
	}

	.oten-hero__cta {
		min-width: 171px;
		height: 45px;
		font-size: 16px;
	}

	.oten-hero__nav {
		width: 18px;
		height: 30px;
	}

	.oten-hero__nav img {
		width: 18px;
		height: 30px;
	}

	.oten-hero__nav--prev {
		left: 16px;
	}

	.oten-hero__nav--next {
		right: 16px;
	}
}
