/* =========================================================
   AMPV LIGHTWEIGHT SLIDER
   Mockup-style version with real stacked wave layers
========================================================= */

.ampv-light-slider {
	position: relative;
	overflow: hidden;
	width: 100%;
	background: #111;
}

.ampv-light-slider,
.ampv-light-slider * {
	box-sizing: border-box;
}

.ampv-light-slider-track {
	display: flex;
	transition: transform 450ms ease;
	will-change: transform;
}

.ampv-light-slide {
	position: relative !important;
	min-width: 100%;
	min-height: 670px;
	display: flex;
	align-items: stretch;
	overflow: hidden !important;
	background: #111;
	isolation: isolate !important;
}

.ampv-light-slide-bg {
	position: absolute !important;
	inset: 0 !important;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
	z-index: 1 !important;
}

/* Dark overlay */
.ampv-light-slide::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(36deg, rgba(0, 71, 123, 0.72) 7.31%, rgba(0, 0, 0, 0.18) 83.6%);
	z-index: 2 !important;
	pointer-events: none;
}

/* Disable old pseudo wave if any cached CSS still exists */
.ampv-light-slide::before {
	display: none !important;
	content: none !important;
}

/* Main inner wrapper */
.ampv-light-slide-inner {
	position: relative !important;
	z-index: 6 !important;
	width: 100%;
	max-width: 1500px;
	margin: 0 auto;
	padding: 88px 42px 185px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
}

/* Main text block */
.ampv-light-slide-left,
.ampv-light-slide-content {
	width: 100%;
	max-width: 690px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.ampv-light-slide-subtitle:empty {
	display: none;
}

/* Title */
.ampv-light-slide-title,
.ampv-light-slide-h1 {
	margin: 0 0 18px;
	color: #fff;
	font-family: "Source Sans Pro", sans-serif;
	font-size: clamp(42px, 4.9vw, 62px);
	font-style: normal;
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: -0.02em;
	max-width: 620px;
	text-shadow: 0 2px 8px rgba(0,0,0,.18);
}

/* Intro / H2 */
.ampv-light-slide-h2,
.ampv-light-slide-text,
.ampv-light-slide-subtitle,
.ampv-light-slide-content h2,
.ampv-light-slide-inner h2 {
	margin: 0 0 20px;
	max-width: 640px;
	color: #FFF;
	font-family: "Source Sans Pro", sans-serif;
	font-size: 20px !important;
	font-style: normal;
	font-weight: 400;
	line-height: 160%;
	text-shadow: 0 1px 4px rgba(0,0,0,.18);
	text-align: left !important;
}

/* CTA button */
.ampv-light-slide-button,
.ampv-light-slider a.ampv-light-slide-button {
	color: #FFF;
	text-align: center;
	font-family: "Source Sans Pro", sans-serif;
	font-size: 24.313px;
	font-style: normal;
	font-weight: 600;
	line-height: 15.803px;
	border-radius: 6.797px;
	background: #0094FF;
	display: inline-flex;
	padding: 23.79px 21.751px;
	justify-content: center;
	align-items: center;
	gap: 14.314px;
	text-decoration: none;
	width: fit-content;
	border: 0;
	box-shadow: none;
	transition: background .2s ease, transform .18s ease, opacity .18s ease;
}

.ampv-light-slide-button:hover,
.ampv-light-slider a.ampv-light-slide-button:hover {
	background: #0086e6;
	color: #fff;
	opacity: 1;
	transform: translateY(-1px);
	text-decoration: none;
}

/* Button icon */
.ampv-light-slide-button-icon,
.ampv-light-button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	flex: 0 0 auto;
}

.ampv-light-slide-button svg,
.ampv-light-slide-button-icon svg,
.ampv-light-button-icon svg {
	width: 22px;
	height: 22px;
	display: block;
	flex: 0 0 auto;
}

/* Features wrapper sits lower like mockup */
.ampv-light-slide-right,
.ampv-light-feature-wrap {
	margin-top: 78px;
	width: fit-content;
	max-width: 750px;
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(220px, 1fr));
	column-gap: 48px;
	row-gap: 18px;
	align-items: start;
}

/* Vertical divider line */
.ampv-light-feature-wrap::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	background: #fff;
	transform: translateX(-50%);
	pointer-events: none;
}

.ampv-light-feature-column {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

/* Individual feature row */
.ampv-light-feature,
.ampv-light-feature-item {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 14px;
	min-height: 30px;
	color: #fff;
	width: fit-content;
}

.ampv-light-feature:nth-child(odd) {
	padding-right: 18px;
}

.ampv-light-feature:nth-child(even) {
	padding-left: 18px;
}

/* Feature icon */
.ampv-light-feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	line-height: 0;
	width: 44px;
	height: 44px;
}

.ampv-light-feature-icon svg {
	width: 42px;
	height: 42px;
	display: block;
}

/* Feature text */
.ampv-light-feature-text,
.ampv-light-feature span:not(.ampv-light-feature-icon),
.ampv-light-feature-item span:not(.ampv-light-feature-icon) {
	color: #FFF;
	font-family: "Source Sans Pro", sans-serif;
	font-size: 24px !important;
	font-style: normal;
	font-weight: 600;
	line-height: 1.25;
	text-shadow: 0 1px 4px rgba(0,0,0,.18);
}

/* Real stacked bottom wave layers */
.ampv-wave-stack {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 170px;
	z-index: 5;
	pointer-events: none;
	overflow: hidden;
}

.ampv-wave {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	display: block;
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: 100% 100%;
	pointer-events: none;
}

/* Top blue wave */
.ampv-wave-blue {
	height: 80px;
    bottom: 10px;
	z-index: 0;
	transform: rotate(2.024deg);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 130' preserveAspectRatio='none'%3E%3Cpath fill='%230094FF' d='M0 18C240 58 480 72 720 50C960 28 1180 -2 1440 12C1640 23 1800 54 1920 94V130H0V18Z'/%3E%3C/svg%3E");
}

/* Middle pale wave */
.ampv-wave-white-1 {
	height: 128px;
	bottom: 22px;
	z-index: 2;
	transform: rotate(359deg);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 150' preserveAspectRatio='none'%3E%3Cpath fill='%23f5f5f5' fill-opacity='0.6' d='M0 88C240 104 500 104 760 72C1030 39 1260 4 1540 18C1700 26 1840 48 1920 70V150H0V88Z'/%3E%3C/svg%3E");
}

/* Bottom main white wave */
.ampv-wave-white-2 {
	height: 145px;
	bottom: 0;
	z-index: 1;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 160' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 82C240 116 570 114 850 72C1120 32 1390 8 1660 36C1775 48 1865 66 1920 82V160H0V82Z'/%3E%3C/svg%3E");
}

/* Arrows */
.ampv-light-slider-arrow {
	position: absolute;
	top: 50%;
	z-index: 20 !important;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(255,255,255,.92);
	color: #111;
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: opacity .18s ease, transform .18s ease;
}

.ampv-light-slider-arrow:hover {
	opacity: .92;
	transform: translateY(-50%) scale(1.04);
}

.ampv-light-slider-prev {
	left: 22px;
}

.ampv-light-slider-next {
	right: 22px;
}

/* Dots positioned lower-right like mockup */
.ampv-light-slider-dots {
	position: absolute;
	right: 168px;
	left: auto;
	bottom: 258px;
	z-index: 20 !important;
	transform: none;
	display: flex;
	gap: 8px;
}

.ampv-light-slider-dot {
	width: 8px;
	height: 8px;
	border: 0;
	border-radius: 50%;
	background: rgba(255,255,255,.55);
	cursor: pointer;
	padding: 0;
}

.ampv-light-slider-dot.is-active {
	background: #fff;
}

/* Tablet */
@media (max-width: 1024px) {
	.ampv-light-slide {
		min-height: 620px;
	}

	.ampv-light-slide-inner {
		padding: 76px 28px 105px;
	}

	.ampv-light-slide-title,
	.ampv-light-slide-h1 {
		max-width: 580px;
		font-size: clamp(40px, 6vw, 56px);
	}

	.ampv-light-slide-right,
	.ampv-light-feature-wrap {
		margin-top: 56px;
		max-width: 640px;
		column-gap: 28px;
	}

	.ampv-wave-stack {
		height: 135px;
	}

	.ampv-wave-blue {
		height: 64px;
		bottom: 46px;
	}

	.ampv-wave-white-1 {
		height: 102px;
		bottom: 18px;
	}

	.ampv-wave-white-2 {
		height: 115px;
	}
}

/* Mobile */
@media (max-width: 768px) {
	.ampv-light-slide {
		min-height: 620px;
	}

	.ampv-light-slide-inner {
		padding: 64px 18px 120px;
	}

	.ampv-light-slide-title,
	.ampv-light-slide-h1 {
		font-size: clamp(34px, 10vw, 46px);
		line-height: 1;
		margin-bottom: 16px;
		max-width: 100%;
	}

	.ampv-light-slide-h2,
	.ampv-light-slide-text,
	.ampv-light-slide-subtitle,
	.ampv-light-slide-content h2,
	.ampv-light-slide-inner h2 {
		font-size: 18px !important;
		line-height: 150%;
		max-width: 100%;
		margin-bottom: 18px;
	}

	.ampv-light-slide-button,
	.ampv-light-slider a.ampv-light-slide-button {
		font-size: 18px;
		line-height: 1;
		padding: 16px 18px;
		gap: 10px;
	}

	/* Mobile: 2-column feature grid / 3 rows */
	.ampv-light-slide-right,
	.ampv-light-feature-wrap {
		margin-top: 34px;
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		grid-auto-rows: auto;
		width: 100% !important;
		max-width: 100% !important;
		column-gap: 18px !important;
		row-gap: 8px !important;
	}

	/* Remove desktop center divider on mobile */
	.ampv-light-feature-wrap::before {
		display: none !important;
	}

	.ampv-light-feature:nth-child(odd),
	.ampv-light-feature:nth-child(even) {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.ampv-light-feature-column {
		gap: 14px;
	}

	/* Feature item */
	.ampv-light-feature,
	.ampv-light-feature-item {
		width: 100% !important;
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		gap: 8px !important;
		min-height: auto;
	}

	/* Feature icon */
	.ampv-light-feature-icon {
		width: 30px !important;
		height: 30px !important;
		flex: 0 0 30px !important;
	}

	.ampv-light-feature-icon svg {
		width: 30px !important;
		height: 30px !important;
	}

	/* Feature text */
	.ampv-light-feature-text,
	.ampv-light-feature span:not(.ampv-light-feature-icon),
	.ampv-light-feature-item span:not(.ampv-light-feature-icon) {
		font-size: 13px !important;
		line-height: 1.2 !important;
	}

	/* Wave stack */
	.ampv-wave-stack {
		height: 100px;
	}

	.ampv-wave-blue {
		height: 44px;
		bottom: 26px;
	}

	.ampv-wave-white-1 {
		height: 72px;
		bottom: 14px;
	}

	.ampv-wave-white-2 {
		height: 86px;
	}

	.ampv-light-slider-dots {
		right: 18px;
		bottom: 100px;
	}

	.ampv-light-slider-arrow {
		width: 38px;
		height: 38px;
		font-size: 20px;
	}

	.ampv-light-slider-prev {
		left: 10px;
	}

	.ampv-light-slider-next {
		right: 10px;
	}
}

@media (max-width: 480px) {
	.ampv-light-slide {
		min-height: 580px;
	}

	.ampv-light-slide-inner {
		padding-left: 16px;
		padding-right: 16px;
	}

	.ampv-light-feature-wrap {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		column-gap: 14px !important;
		row-gap: 14px !important;
	}

	.ampv-light-feature,
	.ampv-light-feature-item {
		gap: 7px !important;
	}

	.ampv-light-feature-icon {
		width: 28px !important;
		height: 28px !important;
		flex-basis: 28px !important;
	}

	.ampv-light-feature-icon svg {
		width: 28px !important;
		height: 28px !important;
	}

	.ampv-light-feature-text,
	.ampv-light-feature span:not(.ampv-light-feature-icon),
	.ampv-light-feature-item span:not(.ampv-light-feature-icon) {
		font-size: 12px !important;
		line-height: 1.2 !important;
	}

	.ampv-light-slider-arrow {
		display: none;
	}
}