/* =============================================================================
   Wexico Hero Slider Widget
   ============================================================================= */

/* Hero wrapper — full width, background image */
.whs-hero {
	position: relative;
	width: 100%;
	min-height: 420px;
	background-color: #e8f2fb;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	display: block;
	align-items: stretch;
	overflow: hidden;
	border-radius: 40px;

}

/* Semi-transparent gradient overlay on the left to keep text readable */
.whs-overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(232, 242, 251, 0.72);
	/* Fade the overlay out towards the right so the image shows through */
	-webkit-mask-image: linear-gradient(to right, black 40%, transparent 75%);
	mask-image: linear-gradient(to right, black 40%, transparent 75%);
	pointer-events: none;
	z-index: 0;
}

/* Inner flex container — full width, aligns content vertically */
.whs-inner {
	position: relative;
	z-index: 1;
	display: flex;
	width: 100%;
	align-items: inherit !important;
}

/* Content column — left 40% */
.whs-content {
	max-width: 40%;
	width: 100%;
	padding: 40px !important;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */
.whs-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 6px;
	font-size: 0.8125rem;
	color: #0093bc !important;
	margin-bottom: 20px;
	line-height: 1.4;
}

.whs-breadcrumb a,
.whs-bc-link {
	color: #0093bc !important;
	text-decoration: none;
	transition: color 0.15s ease;
}

.whs-breadcrumb a:hover {
	color: #1a4b8c !important;
	text-decoration: underline;
}

.whs-bc-current {
	color: #0093bc !important;
	font-weight: 500;
}

.whs-bc-sep {
	color: #7a9cc8;
	user-select: none;
}

/* ── Heading ─────────────────────────────────────────────────────────────── */
.whs-heading {
	margin: 0 0 16px;
	font-size: clamp(1.75rem, 3.5vw, 2.75rem);
	font-weight: 800;
	line-height: 1.15;
	color: #0d2e5a;
	word-break: break-word;
}

/* ── Subheading ──────────────────────────────────────────────────────────── */
.whs-subheading {
	margin: 0 0 32px;
	font-size: 1rem;
	font-weight: 500;
	color: #1a4b8c;
	line-height: 1.5;
}

/* ── CTA Button ──────────────────────────────────────────────────────────── */
.whs-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	background-color: #0093bc !important;
	color: #ffffff;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1;
	border-radius: 8px;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
	cursor: pointer;
	border: none;
	white-space: nowrap;
}

.whs-cta:hover {
	background-color: #163d73 !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(26, 75, 140, 0.28);
	color: #ffffff;
	text-decoration: none;
}

.whs-cta:active {
	transform: translateY(0);
	box-shadow: none;
}

.whs-cta-icon {
	display: flex;
	align-items: center;
	font-size: 0.9em;
}

.whs-cta-icon i,
.whs-cta-icon svg {
	width: 1em;
	height: 1em;
}

/* ── Bottom Image ────────────────────────────────────────────────────────── */
/* Sits inside .whs-hero (position: relative) but outside .whs-inner,
   so it spans the full hero width along the bottom */
.whs-bottom-image {
	width: 100%;
	z-index: 2;
	margin-top: 24px;
	pointer-events: none;
	padding: 40px;
}

.whs-bottom-image img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	pointer-events: auto;
}

/* =============================================================================
   Responsive
   ============================================================================= */
@media (max-width: 991px) {
	.whs-content {
		max-width: 55% !important;
	}
}

@media (max-width: 600px) {
	.whs-hero {
		min-height: unset;
	}

	/* On mobile: overlay covers full hero */
	.whs-overlay {
		-webkit-mask-image: none;
		mask-image: none;
		background-color: rgba(232, 242, 251, 0.88);
	}

	.whs-content {
		max-width: 100% !important;
		padding: 40px 20px !important;
	}

	.whs-heading {
		font-size: 1.75rem;
	}

	.whs-cta {
		width: 100%;
		justify-content: center;
	}
}
