/* WhizComms Hero Slider (ACF) — front-end styles */

.whs-slider-wrap {
	position: relative;
	width: 100%;
}

/* Full-bleed breakout: escapes a boxed theme container so the slider
   spans the real browser viewport. */
.whs-slider-wrap--bleed {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

.whs-slider {
	position: relative;
	width: 100%;
	height: var(--whs-height, 100vh);
	overflow: hidden;
	background: #eef4fb;
}

.whs-slider__track {
	position: relative;
	width: 100%;
	height: 100%;
}

.whs-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease;
	z-index: 1;
}

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

/* --- Slide transform (slide mode) --- */
.whs-slider[data-transition-mode="slide"] .whs-slide {
	transition: transform 0.6s ease, opacity 0.6s ease;
	transform: translateX(100%);
	opacity: 1;
	visibility: visible;
}
.whs-slider[data-transition-mode="slide"] .whs-slide.is-active {
	transform: translateX(0);
	z-index: 2;
}
.whs-slider[data-transition-mode="slide"] .whs-slide.is-prev {
	transform: translateX(-100%);
}

.whs-slide__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(255, 255, 255, 0.55);
	z-index: 1;
}

.whs-slide__inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	width: 100%;
	height: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 40px 5vw;
	box-sizing: border-box;
}

/* Layout 2 (text + buttons only) centers the content block since there's no figure */
.whs-slide__inner--centered {
	justify-content: center;
}
.whs-slide__inner--centered .whs-slide__content {
	text-align: center;
	margin: 0 auto;
	max-width: 900px;
}
.whs-slide__inner--centered .whs-badges,
.whs-slide__inner--centered .whs-buttons {
	justify-content: center;
}

.whs-slide__content {
	max-width: 640px;
	text-align: left;
}

.whs-eyebrow {
	display: inline-block;
	padding: 6px 18px;
	border: 2px solid #3692d0;
	border-radius: 999px;
	font-size: 16px;font-family: 'vag_rounded_stdlight';
	font-weight: 600;
	color: #0e2a47;
	margin-bottom: 20px;
	
}

.whs-heading {
	margin: 0 0 16px;
	line-height: 1.15;
}

.whs-heading__line,
.whs-heading__accent {
	display: block;font-family: 'VAG Rounded Bold';
	font-weight: 800;
	font-size: clamp(28px, 4vw, 44px);
}

.whs-heading__line {
	color: #0e2a47;
}

.whs-heading__accent {
	color: #0777b9;
}

.whs-subtext {
	font-size: clamp(16px, 2vw, 32px);
	font-weight: 600;
	color: #0e2a47;
	margin: 0 0 28px;display: block;font-family: 'VAG Rounded Bold';
}
.whs-subtext span{color: #0777b9;}

/* --- Trust badges row --- */
.whs-badges {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 20px !important;
	margin-bottom: 32px;
}

.whs-badge {
	display: flex;
	align-items: center;
	flex-direction:column;
	gap: 10px;
	padding-right: 20px;
	border-right: 1px solid rgba(14, 42, 71, 0.15);
}

.whs-badge:last-child {
	border-right: none;
	padding-right: 0;
}

.whs-badge__img {
	max-height: 70px;
	width: auto;
	flex-shrink: 0;
}

.whs-badge__text {
	display: flex;
	flex-direction: column;max-width: 180px;
	line-height: 1.3;
}

.whs-badge__title {
	font-weight: 700;
	font-size: 14px;
	color: #0e2a47;
}

.whs-badge__subtitle {
	font-size: 12px;
	color: #5b6b7d;
}

/* --- Buttons row --- */
.whs-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.whs-slide__inner--centered .whs-buttons {
	justify-content: center;
}

.whs-btn {
	display: flex;
	flex-direction: column;
	padding: 15px 40px;
	border-radius: 999px !important;
	text-decoration: none;
}


.whs-btn__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;text-align:center;
	font-weight: 700;display: block;
	font-size: 16px;
}

.whs-btn__caption {
	font-size: 12px;
	font-weight: 400;
	margin-top: 2px;
	opacity: 0.85;text-align:center;
}

.whs-btn--primary {
	background: linear-gradient(to right,  #1f2f60 0%,#3391d1 100%);color:#fff !important;
}

.whs-btn--secondary {
	background-color: #ffffff;
	color: #0e2a47 !important;
	border:1px solid #0777b9;
}

/* --- Layout 3: Full image only --- */
.whs-slide--image-only .whs-slide__overlay {
	display: none;
}

.whs-slide__link {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: block;
}

/* --- Arrows --- */
.whs-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #0e2a47;
	cursor: pointer;
	transition: background 0.2s ease;
}

.whs-arrow:hover {
	background: #ffffff;
}

.whs-arrow--prev { left: 24px; }
.whs-arrow--next { right: 24px; }

/* --- Dots --- */
.whs-dots {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
	display: flex;
	gap: 10px;
}

.whs-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(14, 42, 71, 0.3);
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background 0.2s ease, transform 0.2s ease;
}

.whs-dot.is-active {
	background: #0e2a47;
	transform: scale(1.3);
}

/* --- Responsive --- */
@media (max-width: 900px) {
	.whs-slide__inner {
		flex-direction: column;
		justify-content: center;
		text-align: center;
		padding: 100px 6vw 60px;
	}

	.whs-slide__content {
		max-width: 100%;
		text-align: center;
	}

	.whs-badges,
	.whs-buttons {
		justify-content: center;
	}

	.whs-arrow {
		width: 36px;
		height: 36px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.whs-slide,
	.whs-btn {
		transition: none !important;
	}
}
