/* ========================================
   About Page Card Slider
======================================== */

.moraway-about-card-slider-section {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 80px;
}

.moraway-about-card-slider {
	
	overflow: hidden;
	width: 100%;
}

.moraway-about-card-slider-track {
	position: relative;
	width: 100%;
	min-height: 700px;
}

.moraway-about-card-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
	background-size: cover;
	background-position: left center;
	background-repeat: no-repeat;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.8s ease, visibility 0.8s ease;
	min-height: 700px;
}

.moraway-about-card-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

.moraway-about-card-slide-overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			90deg,
			rgba(0, 0, 0, 0.45) 0%,
			rgba(0, 0, 0, 0.22) 28%,
			rgba(0, 0, 0, 0.10) 50%,
			rgba(0, 0, 0, 0.06) 100%
		);
	z-index: 1;
}

.moraway-about-card-slide-inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 1400px;
	padding: 90px 40px;
	margin: 0 auto;
	min-height: 700px;
	box-sizing: border-box;
}

.moraway-about-card-content {
	width: min(100%, 540px);
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	border-radius: 16px;
	padding: 34px 32px;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
	box-sizing: border-box;
}

.moraway-about-card-heading {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.2rem);
	line-height: 1.05;
	font-weight: 700;
	color: #1d252a;
}

.moraway-about-card-divider {
	width: 100%;
	height: 1px;
	background: rgba(29, 37, 42, 0.18);
	margin: 22px 0;
}

.moraway-about-card-body {
	font-size: 20px;
	line-height: 30px;
	color: #2b2b2b;
	margin: 0;
	font-weight: 600;
}

.moraway-about-card-body p:last-child {
	margin-bottom: 0;
}

.moraway-about-card-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;

	flex: 0 0 auto;
	width: 54px;
	height: 54px;
	padding: 0;

	border: 0;
	border-radius: 999px;

	background: rgba(255, 255, 255, 0.95);
	color: #22313b;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	cursor: pointer;

	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);

	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		opacity 0.2s ease;
}

.moraway-about-card-nav:hover,
.moraway-about-card-nav:focus {
	transform: translateY(-50%) translateY(-1px);
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
	opacity: 1;
	outline: none;
}

.moraway-about-card-nav:disabled {
	opacity: 0.4;
	cursor: default;
	transform: translateY(-50%);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.moraway-about-card-prev {
	left: 20px;
}

.moraway-about-card-next {
	right: 20px;
}

.moraway-about-card-nav span {
	font-size: 2rem;
	line-height: 1;
	color: #22313b;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.moraway-about-card-nav:hover span {
	color: #fff;
}

.moraway-about-card-dots {
	position: absolute;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 10px;
}

.moraway-about-card-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: none;
	padding: 0;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease;
}

.moraway-about-card-dot.is-active {
	background: rgba(255, 255, 255, 0.95);
	transform: scale(1.15);
}

@media (max-width: 1024px) {
	.moraway-about-card-slider-track,
	.moraway-about-card-slide,
	.moraway-about-card-slide-inner {
		min-height: 620px;
	}

	.moraway-about-card-slide-inner {
		padding: 72px 28px;
		align-items: center;
	}

	.moraway-about-card-content {
		width: min(100%, 500px);
		padding: 30px 28px;
	}
}

@media (max-width: 767px) {
	.moraway-about-card-slider-track,
	.moraway-about-card-slide,
	.moraway-about-card-slide-inner {
		min-height: 580px;
	}

	.moraway-about-card-slide {
		background-position: center center;
	}

	.moraway-about-card-slide-overlay {
		background:
			linear-gradient(
				180deg,
				rgba(0, 0, 0, 0.16) 0%,
				rgba(0, 0, 0, 0.28) 35%,
				rgba(0, 0, 0, 0.42) 100%
			);
	}

	.moraway-about-card-slide-inner {
		padding: 36px 18px 82px;
		align-items: flex-end;
	}

	.moraway-about-card-content {
		width: 100%;
		padding: 24px 20px;
		border-radius: 14px;
	}

	.moraway-about-card-body {
		font-size: 0.95rem;
		line-height: 1.6;
		margin: 0;
	}

	.moraway-about-card-nav {
		width: 44px;
		height: 44px;
		top: auto;
		bottom: 18px;
		transform: none;
	}

	.moraway-about-card-nav:hover,
	.moraway-about-card-nav:focus {
		transform: scale(1.04);
	}

	.moraway-about-card-prev {
		left: 18px;
	}

	.moraway-about-card-next {
		right: 18px;
	}

	.moraway-about-card-dots {
		bottom: 34px;
	}
}