/* ==========================================================================
   Scrollytelling – Scroll Reveal Section  v2.5.0
   Elementor slider controls override these defaults via inline CSS.
   ========================================================================== */

.st-section {
	/* No background by default — set via Elementor Background Color control */
	width: 100%;
	height: auto;
	min-height: 0;
	padding: 60px 48px;
	box-sizing: border-box;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

/* --- Header (title + CTA on same row) -------------------------------------- */

.st-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-shrink: 0;
	margin-bottom: 24px;
}

.st-title {
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #ffffff;
	margin: 0;
	line-height: 1.2;
}

.st-cta {
	display: inline-flex;
	align-items: center;
	color: #ffffff;
	text-decoration: none;
	font-size: 1rem;
	letter-spacing: 0.06em;
	white-space: nowrap;
	opacity: 0.85;
	transition: opacity 0.2s ease;
	flex-shrink: 0;
}

.st-cta:hover {
	opacity: 1;
}

.st-cta-icon {
	display: inline-flex;
	align-items: center;
	margin-left: 1rem;   /* overridden by Icon Spacing slider */
	line-height: 1;
}

/* --- Description ----------------------------------------------------------- */

.st-description {
	flex-shrink: 0;
	max-width: 55%;       /* overridden by Description Width slider */
}

.st-description p {
	font-size: 1rem;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.65);
	margin: 0;
}

/* --- Cards ----------------------------------------------------------------- */

.st-cards {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	width: 100%;
	height: 200px;        /* overridden by Card Height slider */
	min-height: 0;
	flex-shrink: 0;
	margin-top: 80px;     /* overridden by Gap Before Cards slider */
}

.st-card {
	flex: 1;
	min-width: 0;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: 0 24px;
	border-left: 1px solid rgba(255, 255, 255, 0.08);
	box-sizing: border-box;
}

.st-card:first-child {
	border-left: none;
	padding-left: 0;
}

.st-card-title {
	font-size: 1rem;
	font-weight: 400;
	color: #ffffff;
	letter-spacing: 0.01em;
	line-height: 1.3;
	margin: 0;
}

.st-card-text {
	font-size: 1rem;
	line-height: 1.7;
	color: #555555;
	margin: 40px 0 0;     /* overridden by Title–Text Gap slider */
}

/* ==========================================================================
   Mobile — no pin, vertical stack, reset transforms
   ========================================================================== */

@media (max-width: 767px) {
	.st-section {
		padding: 40px 24px 48px;
		overflow: visible;
	}

	.st-header {
		align-items: flex-start;
		gap: 16px;
		margin-bottom: 20px;
	}

	.st-description {
		max-width: 100%;
	}

	.st-cards {
		flex-direction: column;
		height: auto;
		min-height: 0;
		margin-top: 40px;
	}

	.st-card {
		height: auto;
		border-left: none;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
		padding: 20px 0 0;
		margin-bottom: 20px;
	}

	.st-card:first-child {
		border-top: none;
		padding-top: 0;
	}

	.st-card-text {
		margin-top: 12px;
	}

	/* GSAP only runs on desktop — guarantee final state on mobile */
	.st-card {
		opacity: 1 !important;
		transform: none !important;
	}
}

/* ==========================================================================
   Elementor conflict fix
   If pinning breaks: select the Elementor container wrapping this widget →
   Advanced → Overflow → Default (not Hidden).
   ========================================================================== */
