/* Wisdom Slide Show */

.wsw-wrap {
	position: relative;
	box-sizing: border-box;
	--wsw-speed: 800ms;
	--wsw-delay: 300ms;
	--wsw-kb: 8000ms;
}

.wsw-wrap *,
.wsw-wrap *::before,
.wsw-wrap *::after {
	box-sizing: border-box;
}

/* Layout: full page width vs boxed */
.wsw-layout-full {
	width: 100vw;
	max-width: 100vw;
	position: relative;
	left: 50%;
	margin-left: -50vw;
}

.wsw-layout-boxed {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

body:has(.wsw-layout-full) {
	overflow-x: clip;
}

/* Slider */
.wsw-slider {
	position: relative;
	overflow: hidden;
	height: 650px;
	background-color: #0a3d24;
	touch-action: pan-y;
}

.wsw-track {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.wsw-slide {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	overflow: hidden;
}

.wsw-slide picture {
	display: block;
	width: 100%;
	height: 100%;
}

.wsw-slide img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center center;
	user-select: none;
	-webkit-user-drag: none;
}

.wsw-overlay {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: #000;
	opacity: 0.35;
	pointer-events: none;
}

/* Slide text */
.wsw-content-wrap {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding: 40px 60px 140px;
}

.wsw-valign-top .wsw-content-wrap { align-items: flex-start; }
.wsw-valign-middle .wsw-content-wrap { align-items: center; }
.wsw-valign-bottom .wsw-content-wrap { align-items: flex-end; }

.wsw-align-left .wsw-content-wrap { justify-content: flex-start; text-align: left; }
.wsw-align-center .wsw-content-wrap { justify-content: center; text-align: center; }
.wsw-align-right .wsw-content-wrap { justify-content: flex-end; text-align: right; }

.wsw-content {
	width: 100%;
	max-width: 650px;
	position: relative;
	z-index: 3;
}

.wsw-title {
	margin: 0 0 16px;
	color: #fff;
	font-size: clamp(28px, 4.5vw, 56px);
	font-weight: 700;
	line-height: 1.15;
}

.wsw-subtitle {
	margin: 0 0 24px;
	color: #fff;
	font-size: 18px;
	line-height: 1.6;
}

.wsw-btn {
	display: inline-block;
	padding: 12px 28px;
	border: 2px solid #0bbf5f;
	border-radius: 6px;
	background-color: #0bbf5f;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.wsw-btn:hover,
.wsw-btn:focus {
	background-color: #fff;
	border-color: #fff;
	color: #0bbf5f;
}

/* Effects: fade / zoom / ken burns share the stacked-slide approach */
.wsw-fx-fade .wsw-slide,
.wsw-fx-zoom .wsw-slide,
.wsw-fx-kenburns .wsw-slide {
	opacity: 0;
	visibility: hidden;
	z-index: 1;
	transition: opacity var(--wsw-speed) ease, visibility 0s linear var(--wsw-speed);
}

.wsw-fx-fade .wsw-slide.is-active,
.wsw-fx-zoom .wsw-slide.is-active,
.wsw-fx-kenburns .wsw-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
	transition: opacity var(--wsw-speed) ease, visibility 0s linear 0s;
}

/* Fade + zoom in */
.wsw-fx-zoom .wsw-slide img {
	transform: scale(1.18);
	transition: transform 0s linear var(--wsw-speed);
}

.wsw-fx-zoom .wsw-slide.is-active img {
	transform: scale(1);
	transition: transform calc(var(--wsw-speed) * 1.8) ease-out;
}

/* Ken Burns: slow zoom while the slide is showing */
.wsw-fx-kenburns .wsw-slide img {
	transform: scale(1);
	transition: transform 0s linear var(--wsw-speed);
}

.wsw-fx-kenburns .wsw-slide.is-active img {
	transform: scale(1.15);
	transition: transform var(--wsw-kb) linear;
}

/* Slide effect: JS positions the slides */
.wsw-fx-slide .wsw-slide {
	transition: transform var(--wsw-speed) cubic-bezier(0.65, 0, 0.35, 1);
	will-change: transform;
}

.wsw-fx-slide:not(.wsw-ready) .wsw-slide:not(.is-active) {
	visibility: hidden;
}

/* Text animation */
.wsw-has-ta .wsw-content {
	opacity: 0;
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.wsw-ta-fade-up .wsw-content { transform: translateY(30px); }
.wsw-ta-fade-down .wsw-content { transform: translateY(-30px); }
.wsw-ta-slide-left .wsw-content { transform: translateX(60px); }
.wsw-ta-slide-right .wsw-content { transform: translateX(-60px); }
.wsw-ta-zoom .wsw-content { transform: scale(0.9); }

.wsw-has-ta .wsw-slide.is-active .wsw-content {
	opacity: 1;
	transform: none;
	transition-delay: var(--wsw-delay);
}

/* Arrows */
.wsw-arrow {
	position: absolute;
	top: 50%;
	z-index: 6;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.35);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.wsw-arrow:hover {
	background-color: rgba(0, 0, 0, 0.6);
}

.wsw-arrow[disabled] {
	opacity: 0.35;
	cursor: default;
}

.wsw-arrow svg {
	display: block;
	width: 1em;
	height: 1em;
}

.wsw-prev { left: 20px; }
.wsw-next { right: 20px; }

/* Dots */
.wsw-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 110px;
	z-index: 6;
	display: flex;
	justify-content: center;
	gap: 10px;
	pointer-events: none;
}

.wsw-dot {
	width: 10px;
	height: 10px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	pointer-events: auto;
	transition: background-color 0.25s ease, transform 0.25s ease;
}

.wsw-dot.is-active {
	background-color: #fff;
	transform: scale(1.25);
}

/* Info bar overlapping the bottom of the slider */
.wsw-bar-wrap {
	position: relative;
	z-index: 10;
	margin-top: -80px;
	padding: 0 15px;
}

.wsw-bar {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	max-width: 1170px;
	margin: 0 auto;
	overflow: hidden;
	border-radius: 8px;
	background-color: #06c25a;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.wsw-col {
	padding: 35px 30px;
	color: #fff;
}

.wsw-col-icon {
	display: block;
	margin-bottom: 12px;
	color: #fff;
	font-size: 28px;
	line-height: 1;
}

.wsw-col-icon svg,
.wsw-col-phone .wsw-ico svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.wsw-col-title {
	margin: 0 0 18px;
	color: #fff;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
}

.wsw-col-phone {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
	color: #fff;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
}

.wsw-col-phone .wsw-ico {
	display: inline-flex;
	color: #fff;
	font-size: 24px;
	line-height: 1;
}

.wsw-col-text {
	color: #fff;
	font-size: 15px;
	line-height: 1.7;
}

.wsw-col-text p {
	margin: 0 0 10px;
}

.wsw-col-text p:last-child {
	margin-bottom: 0;
}

.wsw-col-text hr {
	height: 0;
	margin: 12px 0;
	border: 0;
	border-top: 1px dashed rgba(255, 255, 255, 0.85);
	background: none;
}

.wsw-col-btn {
	display: inline-block;
	margin-top: 18px;
	padding: 8px 18px;
	border: 2px solid #fff;
	border-radius: 4px;
	background-color: transparent;
	color: #fff;
	font-size: 13px;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.wsw-col-btn:hover,
.wsw-col-btn:focus {
	background-color: #fff;
	color: #05a84c;
}

.wsw-empty {
	padding: 40px;
	border: 2px dashed #bbb;
	color: #666;
	text-align: center;
}

/* Eyebrow (small line above the title) */
.wsw-eyebrow {
	display: block;
	margin: 0 0 14px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-transform: uppercase;
}

/* Per-slide vertical text position override */
.wsw-slide.wsw-sv-top .wsw-content-wrap { align-items: flex-start; }
.wsw-slide.wsw-sv-middle .wsw-content-wrap { align-items: center; }
.wsw-slide.wsw-sv-bottom .wsw-content-wrap { align-items: flex-end; }

/* Slider height follows the active slide (set by JS) */
.wsw-ready .wsw-slider {
	transition: height 0.5s ease;
}

.wsw-no-anim .wsw-slider {
	transition: none !important;
}

/* Info bar hidden on slides that opt out */
.wsw-bar-hidden .wsw-bar-wrap {
	display: none;
}

.wsw-bar-wrap {
	animation: wsw-barin 0.4s ease;
}

@keyframes wsw-barin {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1024px) {
	.wsw-slider { height: 500px; }
	.wsw-bar-wrap { margin-top: -60px; }
	.wsw-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wsw-dots { bottom: 90px; }
}

@media (max-width: 767px) {
	.wsw-slider { height: 420px; }
	.wsw-bar-wrap { margin-top: 0; padding-top: 0; }
	.wsw-bar { grid-template-columns: 1fr; border-radius: 0; }
	.wsw-dots { bottom: 20px; }
	.wsw-content-wrap { padding: 30px 24px 60px; }
	.wsw-arrows-hide-mobile .wsw-arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.wsw-respect-rm *,
	.wsw-respect-rm *::before,
	.wsw-respect-rm *::after {
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
	}
}
